Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how do i make it where theres a gui that when you click it it teleports you to a different game?

i made a gui that says new game and i want it to teleport you to a new game of mine and i dont know how ive looked a lot on youtube and forums and cant find anything plz help im new to scripting

1 answer

✓ Accepted answer

Really? REALLY? I've found lots of videos when i searched it up. Heres how you do it.

local Tp = game:GetService("TeleportService")
local GameId = 12345678 --Insert your game id here.
local PlayerToTelerport = nil --Insert player to teleport. The parent must in the Player service.

Tp:Teleport(GameId, PlayerToTelerport)

For a video, click here.

This discussion is preserved as it was. New answers, comments, and votes are closed.