i don't know how i can make a player go to the nearest part, can somebody tell me how I can do that?
I See You Can Use Is MAGNITUDE For Example
local Part1 = script.Parent local Part2 = script.Parent.Parent.Part2 local Magnitude = (Part1.Position - Part2.Position).Magnitude print(Magnitude) -- To Test This Be Sure That The Script Is In The Part Or You Can Just Change The Part1's Path And Make Sure You Have A Part Called Part2 Or Again Change Its Path