Advertisement
IIFredTheGamerII

Teleport Players Between Games In Roblox!

Sep 21st, 2019
3,889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --CREDITS--
  2. --Fredxre-
  3.  
  4. local TeleportService = game:GetService("TeleportService")
  5. local gameID = --Game ID--    --<<Remove This And Put The Second Game "ID"<<
  6.  
  7. function onTouched(hit)
  8.     local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  9.     if player then
  10.         TeleportService:Teleport(gameID, player)
  11.     end
  12. end
  13.  
  14. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement