When I try and teleport I get a http error how can I fix this.
Code:
local TPS = game:GetService("TeleportService")
local Addplr = script.Parent.AddPlayer
local Plrs = {}
local Event = script.Parent.TeleportEvent
local ActivateFor = 3
Event.Event:Connect(function()
TPS:TeleportToPrivateServer(14729312681, TPS:ReserveServer(14729312681), Plrs)
end)
Addplr.Event:Connect(function(plr)
table.insert(Plrs, plr)
print(Plrs)
end)
What am i doing wrong?