local Mag = (script.Parent.Center.Position-Player.Character.HumanoidRootPart.Position).magnitude
and if needed:
local Mag = (Door.Center.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude
Parent.Center only accepts one part of the same name, however I need it to accept all parts of the same name. How do I achieve this?