How to make a tricks system

Okay so like I’m making a skateboarding game complete with rail grinding, but my problem is I want to make a tricks system but I have absolutely no idea how to go about doing this. So I want it to be like if you double jump you do a cool trick and you get a point that goes to a mana like system (I already know how to make the mana system, but not the tricks) and like if you’re in the air and press a button you do a trick.
Here’s my code so far down below:
///////////////////////////