Hey, I can detect when a key is pressed with player.KeyPressed(), but player.KeyReleased() doesn’t seem to work, or I’m doing it wrong.
I’m trying to make it so that holding down the fire button will give you an effect (like lower gravity, increased health, etc.) but pressing the key seems to not work. If I try to set gravity on a player while holding down the key, I can’t get it to have any effect. Any idea? Or am I going about this the wrong way.