How do you find the distance between a part and another part through a script?
✓ ANSWER ACCEPTED
Find the distance between two things?
1 answer
✓ Accepted answer
To find how many studs are between two parts, you would use Magnitude
Example:
local magnitude = (part1.Position - part2.Position).magnitude
print(magnitude)
This discussion is preserved as it was. New answers, comments, and votes are closed.
