Im working on a rouge type game where you’re a hunter trying to live in the woods, but for some weird reason after I added the HP code each time to wolf goes into the proximity the game crashes. Could someone please explain how this is happening?
Game screenshot
Code screenshot