function onTouched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then game.GetService("TeleportService"):Teleport(116211000, player) end end script.Parent.Touched:connect(onTouched)
Help!
You forgot your colon :
function onTouched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then game:GetService("TeleportService"):Teleport(116211000, player)-- on this line i fixed it end end script.Parent.Touched:connect(onTouched)