Compact this crap with a for loop, fix a glaring layering bug occuring due to not measuring against the monsters spawnhealth but their current max health instead