Is anyone able to give me tips and fixes for the game Im currently making?

What’s problem you are encountering? A: making an object that changes the health variables through randomization when a certain key was pressed, This has to apply to the sprite’s health values on clones not the base health value.

What have you tried that didn’t work? A: I recoded the script but it gave the same issue

Post a project example, link, or screenshot: Survive an ambush of tanks Build 32 by matthewak | Snap! Build Your Own Blocks

NOTE!: Press “see source code” on the top right corner

Typo in the link, the game is Survive an ambush of tanks Build 33 WIP by matthewak | Snap! Build Your Own Blocks

would this work?

Sorry but hurt is supposed to hurt the player not the enemy, I should probably add specification

Updated it. it should tell you what is the issue. find the commented script in “Enemy tank”

It isnt shared :wink:

Try the second link