Advertisement
HaroGamer

Teleport to Another Game Roblox Script

Mar 9th, 2019
10,735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. --CREDITS--
  2. --[D-E-B_Hero THE CREATOR]
  3. --D3BHer0
  4. --------------------------------------------------------------
  5.  
  6.  
  7. local TeleportService = game:GetService("TeleportService")
  8. local gameID = --Game ID-- --<<Remove This And Put The Second Game "ID"<<
  9.  
  10. function onTouched(hit)
  11. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  12. if player then
  13. TeleportService:Teleport(gameID, player)
  14. end
  15. end
  16.  
  17. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement