📅  最后修改于: 2022-03-11 14:57:49.100000             🧑  作者: Mango
--returns a number value of the distance between 2 Vector3 (Position) values in studs
local magnitude = (workspace.Part1.Position - workspace.Part2.Position).Magnitude
print(magnitude)