Healthbar gets 1 shot but HP not zero

Updated on October 12, 2017 in [A] GUI
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on October 12, 2017

I followed the directions in this video and it worked so I copy and pasted it onto another enemy but the 2nd one on any kind of damage has it’s health bar go straight to EMPTY even though I can see it’s health is still full minus a few points..

 

https://www.youtube.com/watch?v=GfuxWs6UAJQ

 

any ideas? i dont know where or how to copy and paste entire scripts

  • Liked by
Reply
0 on October 12, 2017

never mind I figured it out after some sleep. my max and current HP variables were in Integers not floats on the 2nd script. derp

  • Liked by
Reply
Cancel