So that if the Player walks over it then they Teleport there.
Also I can't find a Good Rbx Lua Tutorial Site
function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
game:GetService("TeleportService"):TeleportToSpawnByName("SpawnLocation1", player)
end
end
script.Parent.Touched:connect(onTouched)
This is the Code ..
I want to have many different teleport to different areas .

1 comment
This is not a request site, please show us your attempt at the script.