of     1   

anlt
#186270027Monday, March 28, 2016 9:40 PM GMT

No output.When the player enters the magnitude, absolutely nothing happens.local pad = script.Parentlocal tp = game:GetService("TeleportService")--------------------------function RiseAndTeleport(player) player.Character.Torso.Anchored = true for i = 1,15 do player.Character.Torso.CFrame = player.Character.Torso.CFrame + Vector3.new(0, 1, 0) if i == 8 then tp:Teleport(script["Dispatch ID"], player) end wait(1) endend--------------------------while wait(1) do for i,v in pairs(game.Players:GetPlayers()) do playermagnitude = (v.Character.Torso.Position - pad.Position).magnitude if playermagnitude <= 5 then RiseAndTeleport(v) end endend
TimeTicks
#186270085Monday, March 28, 2016 9:41 PM GMT

debug with prints
9001and1337
#186272299Monday, March 28, 2016 10:11 PM GMT

the script is way to messy to understand. put a line break when you reach the end of a line.
9001and1337
#186272387Monday, March 28, 2016 10:13 PM GMT

also, are you running the script exactly like how it is right now?

    of     1