Hello there.
I’ve bumped into an error which I think is on the side of roblox but I’m not sure, which is why I’m here.
I was trying to make a place for teleportation to private servers to my games to possibly use for gamenights, I read the api for it etc. but it ended up with an error: 679
The script:
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local DSS = game:GetService("DataStoreService")
local DS = DSS:GetGlobalDataStore()
local code = DS:GetAsync("ReservedServer")
if type(code) ~= "string" then
code = TS:ReserveServer(5800091927)
DS:SetAsync("ReservedServer", code)
end
function Joined(plr)
plr.Chatted:Connect(function(msg)
if msg == "EpicPrivateServer" then
TS:TeleportToPrivateServer(5800091927, code, {plr})
end
end)
end
Players.PlayerAdded:Connect(Joined)
for i, v in pairs(Players:GetPlayers()) do
Joined(v)
end
(11/16) Joining Games Issue (Resolved) This has been an issue in the past (apparently a roblox bug), so I’m wondering if it’s on my side, and in the other case, could we get contact with roblox staff here?
Thanks for reading!