|
| 25 Mar 2012 06:36 AM |
How would i make this restart when all the players are dead? Would i have to create a table or something like that? (I'm not a very good scripter) function EditGui(MainText) for _, pl in pairs(game.Players:GetPlayers()) do local mgui = game.StarterGui.GameStats.Main.GameShow local gui = pl.PlayerGui:findFirstChild("GameStats") local tod = gui.Main:findFirstChild("GameShow") if gui ~= nil then tod.Text = MainText mgui.Text = MainText end end end
for i = 30, 1, -1 do if i == 1 then EditGui("Game will start in "..i.." second") else EditGui("Game will start in "..i.." seconds") end wait(1) end EditGui("Game is starting!") |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
|
| 25 Mar 2012 06:41 AM |
| How would i fit it in the script, Im really only just started scripting so :L |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 06:42 AM |
| well wat the other guy siad i basicly just started too C: |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 06:45 AM |
It doesn't seem to do anything, Plus i dont know how that would make it reset. I just want it to reset, Then ive finished. |
|
|
| Report Abuse |
|
|