you will also need to use either nbt tags or global player persistent variables to 'remember' what skill a player has selected. you can either cycle through variable states when R is pressed, or you could open a gui that has all options. both of those are possible and described elsewhere on this website.
You will need to use procedure and key binding mod elements.
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
you will also need to use either nbt tags or global player persistent variables to 'remember' what skill a player has selected. you can either cycle through variable states when R is pressed, or you could open a gui that has all options. both of those are possible and described elsewhere on this website.
alr ty guys