How would I create a Random Player Picker With a Timer Gui?
** 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.**
07 | local c = game.Players:GetChildren() |
09 | table.insert(dft, c [ i ] .Name) |
15 | local d = math.random( 1 , #dft) |
17 | local m = Instance.new( "Message" , game.Workspace) |
18 | m.Text = "The random player is ... " ..dft [ s ] .. "!" |
21 | local rndm = game.Players:FindFirstChild(dft [ s ] ) |
23 | local Player = rndm.Character |
24 | Player:MoveTo(Vector 3. new(pos)) |