I want to make a game in which one part of the game will be teleported to another so that after exiting the game, in the "CONTINUE" tab of the roblox website, everything is shown in one game (for example, as in story games in which they teleport from the lobby to the game), but I don't really understand how to do this. I searched half the internet, but I didn't find anything.
#Why can't I teleport from the lobby to the game?
1 messages · Page 1 of 1 (latest)
** You are now Level 1! **
first of all teleport service doesnt work
in studio
so test in production
to do this, I wrote a script in which, in case of failure, a certain text is output.
Nothing works in the game itself either.
Yo i have the same issue i really hope this gets an answer. btw if you get a answer please @ me in this chat 😊
ok
did you republish the game before testing
yes
HTTP 403 (Forbidden) (x4)
I figured out how it's done, thanks to those who tried to help.
@shell ether
you need to go to your game settings in the creator hub, click Places, Add Place, find the game you want to add, if you can't add the game you want, then you need to go to the game settings via roblox studio, click Places, Create there. Then you need to write a script for teleportation.
local part = script.Parent
local TS = game:GetService('TeleportService')
local placeId = 'Place ID'
part.CanTouch = false
part.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TS:Teleport(placeId, player)
end
end)
if you still have any questions, write to me personally and I will explain it again.
** You are now Level 2! **
okay thank you so much. ill see later if it works! dont remove this thing so i dont forget it pls! thanks for remembering!