Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't script teleport players?

Asked by 3 years ago
Edited 3 years ago
local remote = game.ReplicatedStorage.GameTP
local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")

remote.OnServerEvent:Connect(function(plr, codeyesthingbru)

    if plr.UserId == 58642965 then

        local dippp = tonumber(codeyesthingbru)
        if dippp ~= nil then

            local playerList = Players:GetPlayers()
            TeleportService:TeleportPartyAsync(dippp, playerList)

        end

    else

        plr:Kick()

    end

end)

The output says The Source Place and the Destination Place are not in the same Universe. I have third party teleports on.

0
Are you testing this in game or in studio, because you can't teleport in studio SpiralRBX 224 — 3y
0
in game TheExtraDip 19 — 3y

Answer this question