GuilhermeP Posted January 13, 2018 Share Posted January 13, 2018 Does anyone know a script that players feel hungry and thirsty? I wanted to leave the issue more rigorous and generate this dispute for supplements! Link to comment
Slim Posted January 13, 2018 Share Posted January 13, 2018 (edited) Just add a timer for like 30 minutes or so, then enable a different timer when that one ends, the second timer could be one that slowly drops the players health until he starts to eat. Edited January 13, 2018 by Justin|X5| Link to comment
itHyperoX Posted January 14, 2018 Share Posted January 14, 2018 setTimer(function() local hunger = getElementData(localPlayer, "hunger") setElementData(localPlayer, "hunger", hunger - 5) end, 30000, 0) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now