local player = game.Players.LocalPlayer
local v = workspace.RedZone
while true do
wait(0.01)
local mag = (v.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude
if mag < 10 then
mag = "Inbound"
end
script.Parent.Text = mag
end
I currently have this script which gets the magnitude between a part and the player. The magnitude always pops up as 10.34323331232 or smth. How can I round the magnitude to the nearest whole?
