Try to resist the food by not tapping it. If you just can't resist, and you tap the food, it is game over!
I would like to thank Eva2317 and ratgirl6. ratgirl6 for giving me the idea from her project untitled and Eva2317 for her game having scripts similar to mine for me to look at. I hope you all enjoy my game and please tell me how far you get!