Fojut
|
  |
| Joined: 09 Aug 2013 |
| Total Posts: 8 |
|
|
| 11 Aug 2013 04:37 AM |
Hi. How to add in-game bar fatigue, hunger ? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2013 04:39 AM |
| By scripting a GUI for it... Duh. |
|
|
| Report Abuse |
|
|
Fojut
|
  |
| Joined: 09 Aug 2013 |
| Total Posts: 8 |
|
| |
|
pomopaul
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 174 |
|
|
| 11 Aug 2013 06:45 AM |
Graphical User Interface.
TextBox that says hunger/ thirst/ etc. num value script that limits the number value (i hope you know how to make that) script that when the value is under 0 player dies in the text box have this script:
local numValue = (the number value. Make sure you get the actual Value)
while wait(a number) do numValue = numValue - 1 end
and you also need this script:
local numValue = (the number value. Make sure you get the actual Value) local textBox = (the textbox)
while wait() do textBox.Size = {0, numValue} {0, 10} textBox .Postion = {0.4, numValue} {0.9, 0} end
i hop this helps. |
|
|
| Report Abuse |
|
|
Fojut
|
  |
| Joined: 09 Aug 2013 |
| Total Posts: 8 |
|
| |
|