Random Player Chooser [Help] + I need a clock?
So I got this, but it seems to crash my ROBLOX Studio when I test it. I also need to figure out how to add a Timer Gui to it. I dragged my timer Gui into the script but it doesn't show up when a random players are chosen how would I add it?
09 | local c = game.Players:GetChildren() |
11 | table.insert(dft, c [ i ] .Name) |
17 | local d = math.random( 1 , #dft) |
19 | local rndm = game.Players:FindFirstChild(dft [ s ] ) |
21 | local Player = rndm.Character |
22 | Player:MoveTo(Vector 3. new( 8 , 0.59 , 14.5 )) |
23 | Player:MoveTo(Vector 3. new(- 15 , 0.59 , 14.5 )) |