I tried wiki and it didn't help nothing. I just need like a variable saying like:
distance = [Disance Here]
Does anyone know how to do that?
It says it quite clearly on the wiki here: http://wiki.roblox.com/index.php?title=Magnitude
local magnitude = (part1.Position - part2.Position).magnitude print(magnitude)