Ok so. I made a game teleporter but when it teleports you between games it shows the game you are teleported to on the recently played page and in friend activity but I want to make it so it doesnt show up there.
I believe if the place is within the same game/universe, it will not show up as a separate game. If youâre teleporting them outside of your game, then thatâs not possible.
Yes but, I cant find a way to teleport between games that are in universes since this problem shows up:
Are you sure youâre using the correct place id? You may be copying down the universe id.
Im pretty sure I have the correct place ID
Could you show us code, and the place id you are trying to teleport to?
Here is some pictures and instructions.
You right click âPlacesâ.
Now, click âAdd New Placeâ
Now, you can see that.
If you want them to teleport to your game.
You need to edit your game. (which is simply âConfigure your gameâ).
Now, click on that blue link.
And then, copy and paste the ID to your script.
I did that. Still doesnt work.
The real script is:
button = script.Parent
tele = game:GetService(âTeleportServiceâ)
button.MouseButton1Down:connect(function()
local player = game.Players.LocalPlayer
tele:Teleport(ID HERE, player)
end)
function die ()
script.Parent.Parent.Parent.TextBox.Visible = false
script.Parent.Parent.Parent.TextBox.Visible = true
end
script.Parent.MouseButton1Down:connect(die)
Your script does the same thing as his, except itâs longer and you connect an event that probably wonât work because itâs made for a gui that isnât his. Also, for future reference you should use code blocks. ```code```
I am trying to. Although nothing seems to work its only does this.
button = script.Parent
tele = game:GetService(âTeleportServiceâ)
button.MouseButton1Down:connect(function()
local player = game.Players.LocalPlayer
tele:Teleport(ID HERE, player)
end)
function die ()
script.Parent.Parent.Parent.TextBox.Visible = false
script.Parent.Parent.Parent.TextBox.Visible = true
end
script.Parent.MouseButton1Down:connect(die)
Do I put it in a local script or a script?
I canât say for sure, however I believe you probably copied the wrong ID for the place you are trying to teleport to.
In your game explorer, you should see the âPlacesâ, select that and right click the place you are trying to teleport to and select âCopy ID to Clipboardâ.
Replace the ID in your script with the one you just copied.
You need to put it into a script.
I checked, it seems they copied the right one.
The place theyâre trying to teleport to: isarvety's Place Number: 61 - Roblox
The place theyâre teleporting from: https://www.roblox.com/games/3523281876/isarvetys-Place-Number-61
Due to how games and places work, the game name is shown for all places, but the link will still show the place name itself. Iâm not sure whatâs happening here, maybe theyâre trying to teleport from a LocalScript and thereâs some protection in place?
Also please do not copy the script, write down the script cause the script is different then I wrote down.
I have tried both of your scripts and they dont work
I also rewrote them to fit my GUI
No, it works fine in LocalScripts. I tested it in my game just now. The only thing I could think being an issue is using the wrong id, I really donât know. His code works fine for me.
Could you possibly double check the ID? Your code works perfectly fine for me, so I donât really know what could be the issue.