So I am developing a game that starts with a GUI intro and when you press play it will teleport you to a game which I have linked as an other game in the game settings. I want this place to be a start place and be able to teleport the player to the linked game. It keeps coming up with this error:
15:11:54.485 - httpGet http://assetgame.roblox.com/Game/PlaceLauncher.ashx?request=RequestGame&placeId=344603152&isPartyLeader=false&gender=&isTeleport=true failed. Trying again. Error: HTTP 400 (HTTP/1.1 400 Bad Request). Elapsed time: 0.261374 15:11:54.719 - Teleport exception: HTTP 400 (HTTP/1.1 400 Bad Request)
the code I have so far is:
script.Parent.Options.Button.MouseButton1Click:connect(function() if Deb == 0 then Deb = 1 script.Parent.Title.Text = "" for i = 1,50 do script.Parent.Title.BackgroundTransparency = script.Parent.Title.BackgroundTransparency -0.02 script.Parent.Title.TextTransparency = script.Parent.Title.TextTransparency -0.02 script.Parent.Title.TextStrokeTransparency = script.Parent.Title.TextStrokeTransparency -0.02 wait(0.1) end script.Parent.CameraIntro.Disabled = true script.Parent.Title2.Visible = false script.Parent.Options.Visible = false local camera=game.Workspace.Camera script.Parent.Title.Text = "Time warp in progress, see you soon!" wait(1) game:GetService("TeleportService"):Teleport(344603152, game.Players.LocalPlayer) --344603152 is the place i'm trying to teleport to script.Parent.IntroM:Stop() -- music script.Parent:Destroy() -- destroy the intro end end)
I want to keep it so that people can only join the starting place to join actual game rather than being able to just join or press play. I have also looked at The guide on the wiki but it has not been of any use. The goal is to make it like in the plaza minigames, you press a play button and it will teleport you to a go karting or infection game
Any help will be appreciated