#-- Object Movement --

2 messages · Page 1 of 1 (latest)

next robin
#

You could use .Magnitude to find the distance between another part.

#

Lets say you have two parts, Part1 and Part2, you could do..

local p1 = workspace.Part1
local p2 = workspace.Part2

if (p2.Position - Player.Position).Magnitude > p1.Position.Magnitude then
    --parent logic here
end