IIFredTheGamerII

Teleport Players Between Games In Roblox!

Sep 21st, 2019
480
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)
RAW Paste Data