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

how to enable teleporting between games with different owners?

Asked by 3 years ago

How can I make it so teleporting scripts in a game can get you to my game? do I need to change it from my games side or the game sending people to me. this is for me and my brothers game that we are working on btw.

1 answer

Log in to vote
0
Answered by 3 years ago

you will need the roblox game id like for example for adopt me is the game id 920587237 by the url link u see a code with 9 numbers

go to your roblox game settings

go to security and enable "allow third party teleports" on set this settings on in wich game u want to set it the game now insert a localscript in the startergui or starterpack

script:

local TeleportService = game:GetService("TeleportService")
local  gameid = "set her ur game id "
local player = game.Players.LocalPlayer 
-- player we need for instance who is gonna teleport

TeleportService:Teleport(gameid,player)

Ad

Answer this question