function hpbar() --Can anyone help me? (LUA)

that guy2 - Adventure level - Sep 8, 2015 from Windows
Revision #2, updated Jan 1, 1970
Play Edit 3 players liked this.

-=-=-=-=-=-=-=-=-=-=-=-=-=-
I want a health bar that is put on top of robots like DanKaz' but doesn't react with 1 signals, but instead, with the signal sent to that IN socket. I want to use HP control to show life percentage of a robot. And when it receives a 0 signal, it dissapears/dissipates.

EX: whenever a .67 signal is sent to INX, the health bar shows 67% of the full HP. It can be rounded if you want it to be.

Downloads: 101 - Level ID: 17921

Derivatives