Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function teleportPlayers(partCFrame)
- local players = game.Players:getPlayers()
- for _,player in pairs(players) do
- if player.Character then
- if player.Character.HumanoidRootPart.Anchored == false then
- player.Character.Humanoid.Jump = true
- end
- end
- end
- wait(.5)
- for _,player in pairs(players) do
- if player.Character then
- if player.Character.HumanoidRootPart.Anchored == false then
- player.Character:SetPrimaryPartCFrame(partCFrame)
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment