Hi, I got this script, and it wont work because it keep giving an error.
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local code = TS:ReserveServer(3533731366)
local players = game.Players:GetPlayers()
function onTouched(hit)
if hit.Parent:FindFirstChild("Humanoid") then
TS:TeleportToPrivateServer(3533731366, code, [game.Players:FindFirstChild(hit.Parent.Name)])
end
end
script.Parent.Touched:Connect(onTouched)
if you look at the line that says:
TS:TeleportToPrivateServer(3533731366, code, [game.Players:FindFirstChild(hit.Parent.Name)])
the output keeps putting out that the first [ is not supposed to be there.
Thanks, guy

2 comments
this will error...
^