Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TeleportService = game:GetService("TeleportService")
- local targetPlaceId = 98478818876957 --ID вашего плейса
- script.Parent.Touched:Connect(function(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player then
- TeleportService:Teleport(targetPlaceId, player)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement