How can Teleport a Player from the Starter Place, to another Place, and back to the Same place while remaining in the Private Server?

Question is in the Topic Title

Not asking for code, just asking how I could do this, unless in missing something

2 Likes

Do you want to teleport a player to the current server or send them to another server?
If it is to send it to another server, the script would be as follows:

local TeleportService = game:GetService("TeleportService")
local gameID = 5623717642  --URL server
 
function onTouched(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        TeleportService:Teleport(gameID, player)
    end
end
 
script.Parent.Touched:connect(onTouched)

Place this server script in a part
Sorry I still made a script lol

2 Likes

turns out all I had to do was Reserve some Servers.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.