checkDistance
local bankLocation = {x = 150.0, y = -1040.0, z = 29.0}
if ps.checkDistance(source, bankLocation, 5.0) then
print("Player is near the bank")
endLast updated
local bankLocation = {x = 150.0, y = -1040.0, z = 29.0}
if ps.checkDistance(source, bankLocation, 5.0) then
print("Player is near the bank")
endLast updated