Hunger System Question

Should I make my hunger system on the client or on the server, Im kind of confused where to set it up

Needs to be done on both, because only the client can draw the hunger bar on the client, and only the server can ensure exploiters won’t cheat their hunger to full forever (plus other factors, never trust the client). You can either create a RemoteEvent sending the hunger data downstream telling the client how much they have everytime it changes, or a RemoteFunction doing it the other way around (asking the server how much a client has left, “polling”).

1 Like

Alright @emojipasta sounds good thats the type of answer I was looking for.