Instead of the player just floating in water, I would like it if the player slowly goes down underwater unless the player holds space, and if the player is underwater for 10 seconds the player will begin to lose health, 5 hp a second.
If the player is holding space in water the player will get tired after a while, if the player gets tired holding space wont do anything, causing the player to be underwater and drown unless they find land