Today i made pollution system, when player is exposed to magical energy it’s level will increase, when it reaches critical point player will start taking damage, player can hide from energy by reducing exposure to sky (for now), those two lines will show you how values change, any suggestions how to improve the system?
NOTE: Those gui bars are test only, i made them to easier test the game’s logic