im trying to get the closest character to my player but it wont work
local mg = (v.HumanoidRootPart.Position - lplayer.CharacterAdded:wait().HumanoidRootPart.Position).magnitude
here is the script