Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TeleportService = game:GetService("TeleportService")
- local PlaceId = 13772394625 -- Replace this with the PlaceId of the game you want to teleport to
- local CodeToRun = "print('Hello from the other game!')" -- Replace this with the code you want to run in the other game
- function TeleportAndRunCode()
- TeleportService:Teleport(PlaceId, game.Players.shafto00, CodeToRun)
- end
- TeleportAndRunCode()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement