local PLR = game.Players.PlayerAdded:Connect(function(plr)
local masdis = 30
local CHAR = plr.Character or plr.CharacterAdded:Wait()
local humrpos = CHAR:WaitForChild("HumanoidRootPart").Position
local par = script.Parent
local dis = (humrpos - par.Position).Magnitude
print(dis)
end)