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 = false 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