I heard that you can make it yourself almost as a plugin if you use a script, so I'm doing it while looking on YouTube, but it seems a little strange.
on left click:
send "%player%" started with this syntax, but it didn't work, so I looked for something in the server cmd window and found out that there was a problem with this syntax. So I changed the send "%player%" part to send "1" and it worked. Even after this, set player's health to 6, set player's hunger level to 6, feed player, heal player These phrases don't work well. Looking at the problem, it seems that it will be difficult in the future. I hope that experts will solve it.
my minecraft version is 1.20.1, and I use GomSK InvSK SharpSK SharpSKUpdater SkBee SkChoke Skellett SkRayFall TuSKe
Skript version is 2.7.0