I want to make it so people have to find food and water to survive how would i do that?
How do I make a hunger and thirst G.U.I?
1 answer
Scripting helpers is a website where people help others fix their scripts, not so guide them to make ones from scratch.
But i'll help you a bit.
Of course, i'm going to be vague and not give you any scripts, but i'll tell you what to do.
Look up tutorials for custom health bar GUIs. essentially, make a health bar that doesn't show your health, but rather shows your hunger.
The hunger bar should display an the value of an int value that represents your hunger.
Make a local script under that int value that reduces it over time.
*Hint, use the wait command and then subract the int value's value by what ever you want. Loop this
Finnaly, make models of food and water. Put a script in them that increases the player's int value whenever a players touches it
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks so much it helped a lot!!! The tutorials show me how to make it but don't tell me how to make it minus it every 5 seconds or so. I searched how to do it but couldn't find anything! Any ideas?
sorry i didn't realize you answered this already!