How do i make myself take damage

How do you do the gray line connector?
I thnik that is thee glitch.

think*

That was the previous version of flowlab- grey lines meant it only changes a variable, and doesn’t cause an output

well the game crashes whenever the character is about to get hit by a damaging object

What can I do?
I need to know soon because It is for a class project.
Here is the url http://www.flowlab.io/game/play/423334

https://flowlab.io/game/view/207935 check out the bird thing. He should have a hp bar with a collision detector attached to a number and then to the hp bar.

Still confused? ill make a simpler one, just ask :smiley:

How the frikin heck do u do it Afro Pixel i treid it and it ruined my project!