#Why can't I teleport from the lobby to the game?

1 messages · Page 1 of 1 (latest)

cobalt cave
#

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.

grim oracleBOT
#

studio** You are now Level 1! **studio

errant siren
#

in studio

#

so test in production

cobalt cave
#

Nothing works in the game itself either.

shell ether
#

Yo i have the same issue i really hope this gets an answer. btw if you get a answer please @ me in this chat 😊

cobalt cave
#

ok

soft flame
cobalt cave
#

yes

soft flame
#

can you check the console in the game

#

see what error it brings up

cobalt cave
#

HTTP 403 (Forbidden) (x4)

cobalt cave
#

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.

grim oracleBOT
#

studio** You are now Level 2! **studio

shell ether