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

How would I create a Random Player Picker With a Timer Gui?

Asked by 10 years ago

** Is the script right? Also how would I make it select two people with a Countdown Gui that works I tried dragging the Gui in the script, but it didn't work.**

01pos = 0, 0, 0 -- The position that the random player will be moved to.
02WaitTime = 30 -- The time in-between each player getting picked.
03 
04dft = {}
05 
06function GetPlayers()
07local c = game.Players:GetChildren()
08for i = 1, #c do
09table.insert(dft, c[i].Name)
10end
11end
12 
13function Randomize()
14GetPlayers()
15local d = math.random(1, #dft)
View all 31 lines...

Answer this question