Making a Damage system where you get hurt or get killed depending on if you have a pickup or not

Hey there need a bit of help. Im trying to get my player to play a hurt animation if the player has 1 or more pickup points or play a death animation if the player has 0 pickup points. ( im not looking to record health for a HUD or anything like that)

Heres some screens of what ive tried to do, not sure if the green damage on event any damage should be connected to something?

Why don’t you check if the pickup integer is zero instead of converting it to a float?

Thanks alperenakyuz and Omnicypher! Got it working.