Rapster2
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1865 |
|
|
| 29 Mar 2014 08:22 PM |
| I'm making a GUI timer, but I don't know how to make it so that if a person dies, the timer doesn't reset for them. Any help? |
|
|
| Report Abuse |
|
|
Dummiez
|
  |
| Joined: 07 Feb 2009 |
| Total Posts: 326 |
|
|
| 29 Mar 2014 08:25 PM |
| You can have a variable stored within the Player and just have a script in the GUI that gets the variable value and reduce it. |
|
|
| Report Abuse |
|
|
Rapster2
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1865 |
|
| |
|
| |
|
Rapster2
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1865 |
|
|
| 29 Mar 2014 09:10 PM |
| How exactly do I make my GUI into the CoreGui? |
|
|
| Report Abuse |
|
|
Rapster2
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1865 |
|
| |
|
Rapster2
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1865 |
|
|
| 29 Mar 2014 10:20 PM |
bump2
I need this fairly quickly. |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 10:38 PM |
If this timer is a game timer, have an IntValue in workspace in your script, change that intvalue for your seconds. in the gui.textlabel have...
while wait() do script.Parent.Text = workspace.IntValue.Value end --NON local script |
|
|
| Report Abuse |
|
|