I am trying to get the player to take damage from an object in this case it is an acid puddle, it is supposed to deal 1 heart of damage, but instead, it deals 1 damage every second
What is the expected result
I want the player to have some time to have time to get out of the puddle instead of dying instantly on collision.I have tried damage cooldown but then the player can just stand on the spikes without taking damage (the cooldown was 1 second)