Advertisement
TotallyGames

Teleporter script

Apr 3rd, 2025
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | Source Code | 0 0
  1. local TeleportService = game:GetService("TeleportService")
  2. local targetPlaceId = 98478818876957 --ID  вашего плейса
  3.  
  4. script.Parent.Touched:Connect(function(hit)
  5.     local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  6.     if player then
  7.         TeleportService:Teleport(targetPlaceId, player)
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement