Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Random Player Teleport Script For Roblox
- -- SoulessRex Was Here
- function teleportfunction()
- Selected = false
- repeat
- for i, v in pairs(game.Workspace:GetChildren()) do
- wait()
- local randommath = math.random(1,2)
- if v:IsA("Model") then
- local plr = game.Players.LocalPlayer
- local newplr = game.Players:FindFirstChild(v.Name)
- if newplr ~= nil and Selected == true then
- if randommath == 2 and newplr.Name ~= plr.Name then
- Selected = true
- plr.Character:MoveTo(newplr.Character.Torso.Position)
- end
- end
- end
- end
- until Selected == true
- end
- teleportfunction()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement