Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

0
You need to use teleport service to do that. uiuiuiuihauahua67 15 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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.

Ad

Answer this question