teleport to random player and instantly go back
Key RequiredUniversal

teleport to random player and instantly go back

Universal Scripttrellurrtrellurr 6.8K views 53 executesUpdated Jun 24, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•25 lines (801 chars)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local TeleportService = game:GetService("TeleportService")

local function teleportToRandomPlayer()
    local players = Players:GetPlayers()
    if #players < 2 then
        warn("Not enough players to teleport")
        return
    end

    local randomPlayer
    repeat
        randomPlayer = players[math.random(1, #players)]
    until randomPlayer ~= LocalPlayer

    local originalPosition = LocalPlayer.Character.HumanoidRootPart.CFrame
    LocalPlayer.Character.HumanoidRootPart.CFrame = randomPlayer.Character.HumanoidRootPart.CFrame

    wait(0.1)  -- The time after which we returned to our starting position.

    LocalPlayer.Character.HumanoidRootPart.CFrame = originalPosition
end

teleportToRandomPlayer()

Features & Information

useful for bypassing bad anti-teleport scripts

Community Comments (2)

vxstyvxstyJun 24, 2024(edited)

W chatgpt for making this

DortonDortonJun 25, 2024(edited)

AAAAAAAAAAAAAAAAAAAAA CHATGPT

More Scripts for Universal Scripts