"hungerbar" help

i need help to make a hunger bar (doing this too)

hunger = 100

every 60 sek this -1

if hunger = 0, pet , gotoAndPlay(death):ko:

if food hit pet, hunger +10, pet gotoAndPlay (eat)

i cant even make a bar so a full tutorial is great:D:D(or a file with codes, i can edit)


and, yeah. max 100,
if hunger is 100,if food hit pet +10 hunger = false :smiley:

i just write something a little look like codes :stuck_out_tongue:

the food should be dragable, so when eating, it may turn grey and become undragable?

OK, im asking for MUCH but i really need help. thanks thanks thanks :slight_smile: