Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to make a script that in a few second the script will teleport you to a random game?

the script will teleport player to a random game,i need that script

1 comment

0

You need to use teleport service to do that.

1 answer

local TeleportService = game:GetService("TeleportService") local gameId = 120345079 --The game Id-- game.Players.PlayerAdded:Connect(function() local player = game.PlayerAdded.Name wait(5)-- The second you want before teleporting-- TeleportService:Teleport(gameId, player) --------------------------------------------------------------------------------------------------------------------------------The script might work. If not, I'm sorry.

This discussion is preserved as it was. New answers, comments, and votes are closed.