I'm trying to increase the cooldown of an OP ability which occurs when crouching and using right-click (Mutant Monster's Ender Hand), but
1. How do I detect if the player is crouching in this event instance?
2. How do I actually apply the right-click-cooldown in the first place? (The ability already has a cooldown, but its only for 1 second, but I figured applying a longer cooldown should overwrite it)
if (// 1. condition if player is crouching) {
// 2. apply cooldown of 10 seconds
}
})```