01 | local hungerGui = script.Parent |
02 | local player = game.Players.LocalPlayer.Character:FindFirstChild( "Humanoid" ) |
03 | maxHunger = Instance.new( "IntValue" ) |
04 | maxHunger.Name = "maxHunger" |
05 | maxHunger.Value = 300 |
06 | maxHunger.Parent = game.Players.LocalPlayer |
07 | currHunger = Instance.new( "IntValue" ) |
08 | currHunger.Name = "currHunger" |
09 | currHunger.Value = 300 |
10 | currHunger.Parent = game.Players.LocalPlayer |
11 | minHunger = Instance.new( "IntValue" ) |
12 | minHunger.Name = "minHunger" |
13 | minHunger.Value = 0 |
14 | minHunger.Parent = game.Players.LocalPlayer |
15 |
We cant answer this, don't bother posting unless you can say 'The hunger bar will not deplete' or 'I get an error when trying to modify hunger' The big issue i can see, is it's a LOCAL SCRIPT. If you dont use a server script too, and turn fe on, your gonna have big exploiters.