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

how can i make a countdown script? [closed]

Asked by 8 years ago

that will countdown and then replace everyone back into a lobby?

also if any scripter would be kind enough to friend me s i have lots of scripting questions.

Closed as Not Constructive by Teeter11, M39a9am3R, and evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by 8 years ago

for the countdown i use for loop

for i = 60, 0 - 1 do print(i) wait(1) end

that will make a countdown 60 to 0

and for the player tp to lobby im not sure how to make a player tp.

and ill friend you my name is space1188

Ad
Log in to vote
0
Answered by
ItsMeKlc 235 Moderation Voter
8 years ago
for i=1,60 do
print(i)
wait(1)
end

local players = game.Players:GetChildren()
for i=1,#players do
players[i]:LoadCharacter()
end