Plus Health to Player

I need a script that makes the box give health to player. And then after collision, destroy the box. I’m using GUI Texture. I already have an enemy that applies damage to player. So I need I just need a health box.

Tell me if you need the player health script.

  • Felipe

You don’t need to invert anything, you’re using if statements so when you add health to the player, the proper if statement will be called and the appropriate texture will be assigned to g_Health.guiTexture.texture