0786ideal
(ideal)
August 12, 2023, 11:20am
#1
Hi, i try to make teleport and any time i wan’t to make code for reserving server the error 403 forbidden appears, this is problem in line TPS:ReserverServer() i tried many place ids and nothing, even my games don’t work, help!
Code:
task.wait(1)
local tp = game:GetService("TeleportService")
local code = tp:ReserveServer(14397856095) -- here is error 403 forbidden
tp:TeleportAsync(14398026441,{game.Players["0786ideal"]})
4 Likes
RetroPect
(Glyph)
August 12, 2023, 12:00pm
#2
Is Allow Third Party Teleports in the game settings enabled?
4 Likes
okay soo we can add a players waiting table that we can use for enum what about that?
3 Likes
but we need to do in when a people joins script if you have that
3 Likes
0786ideal
(ideal)
August 12, 2023, 12:23pm
#5
everything is on, and then , this is test script
task.wait(3)
local TeleportService = game:GetService("TeleportService")
local options = Instance.new("TeleportOptions")
options.ShouldReserveServer = true
options.ReservedServerAccessCode = TeleportService:ReserveServer(14397856095) -- here is problem
TeleportService:TeleportAsync(14397856095, game.Players:GetChildren(),options)
1 Like
make a new local code that for teleport service like this
local server = TeleportService:ReserveServer(14397856095) --you can remove the code from options
then put reserved server access code to options* like this
options.ReservedServerAccessCode = server
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:31pm
#7
but it can be only fired from server, you know?
1 Like
0786ideal
(ideal)
August 12, 2023, 12:33pm
#8
and i have acces to place, but this don’t work, everytime i try, in any game
1 Like
0786ideal
(ideal)
August 12, 2023, 12:35pm
#9
i think this is roblox faulth, because it can’t be anything else, place is mine, place is public , everything is enabled
1 Like
it would be roblox fault but it can be my fault too,i tried my best to do maybe you should get checked from other users
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:40pm
#11
idk, i used normal script, and when i try to put only TeleportService:ReserveServer() it gives me error
it not depends on place id
1 Like
0786ideal
(ideal)
August 12, 2023, 12:42pm
#12
Yep, for me roblox fault, this is basic code, that runs without anything , it teleports to my game main place that is public
local TeleportService = game:GetService("TeleportService")
local code = TeleportService:ReserveServer(11671985490)
this is only lines of code xd, soo roblox, please fix it
1 Like
wait can you send me your game copy?
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:47pm
#14
if you wan’t
game.rbxl (38.8 KB)
1 Like
0786ideal
(ideal)
August 12, 2023, 12:48pm
#15
you have to make this two lines once more again, because i deleted scripts , its only local code = TPS:reserveserver ect…
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:53pm
#16
if you see something, tell me , maybe its my fault
1 Like
can i ask you something where did you originally put the scripts before you deleted them
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:55pm
#18
oh, in workspace, it was only test, and inside model in workspace
2 Likes
0786ideal
(ideal)
August 12, 2023, 12:56pm
#19
let me think, i put this in wrong place yea?
1 Like
it might be the problem if you putted in workspace
2 Likes