So I have created a flight system that allows users to purchase a ticket for a specific flight using in game currency. The only issue is that it keeps telling me that I’m not authorised to play the game (Errror message in F9 Console). Can someone help me out?
The game will feature multiple biomes where the player can buy flights to that biome.
The places have access to API, Are public and allow 3rd party teleports. Am i scripting it incorrectly or something?
Here’s the code that teleports the player:
local ts = game:GetService(“TeleportService”)
local PlaceId_Main = 6867404497
local PlaceId_Desert = 13507136522
local PlaceId_New – for when next biome is in place ig
script.Parent.Letsgo.OnServerEvent:Connect(function(plr, Destination)
if Destination == “City” then
ts:TeleportAsync(PlaceId_Main, {plr})
elseif Destination == “Desert” then
ts:TeleportAsync(PlaceId_Desert, {plr})
end
end)
If anyone can help me out i would really appreciate it (I’m not asking for people to code for me btw).
Is http service allowed, is the game a place in your game, is it another game, is that game/place public?
btw u can just use :Teleport(playerid, gameid)
Yes http service is allowed, its a experience and teleports u to a place. But would it have to be put in the actual experience to ensure it lets u teleport to the place? I made it on a separate testing game.
I have tried using :Teleport() however it didnt work.
If it is enabled then maybe that game is private? or archived? either way one more solution is:
Go to the place → File → Publish To Roblox As → Game Name → Add as a new place