wait(1)
print("FOUND IT")
if game.Players.LocalPlayer.leaderstats.Hunger.Value <= 10 then
e = true
print("1234")
while e do
wait(2)
print("UGH")
game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health - 10
end
end
--[[if player.Character.Humanoid.Health <= 0 then
e = false
--]]
all this does is print found it. i changed my leaderstats hunger value to 1, and it didnt do anything. i've tried this in both server script and local script. lines 13-15 are in comments because i wanted to handle one problem at a time.

2 comments
Why not just run it when the hunger changes?
wow, i didnt even think of a a loop when i typed that