How do i make people teleport from my game to another?
last i used this, it worked for me ...
function onTouched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then game:GetService("TeleportService"):TeleportToSpawnByName((281925931), "(SpawnLocation)", player) end end script.Parent.Touched:connect(onTouched)
:) hope it helps