Hello, I want to rotate the character along the z axis

hello again, I am developing a project about extreme sports scooter skate and so on, on the asset A Skateboard Kit I will give you a link if it is not difficult to take a look https://www.youtube.com/watch?v=p8DlWGb24ts
this is an example of what I want to achieve at 2 minutes 13 seconds there is free rotation, I want to implement rotation on the button I already have sideways in fact the same as rotating the character left to right only up and down