Jump to content

Skript click event help


ItzarReal

Recommended Posts

so i want a /modmode command where it gives u a ban hammer and if you click a player with it, it bans them. Heres my code:

command /modmode:
    trigger:
        execute console command "/give %player% netherite_axe 1 name:&cBan Hammer"
        on right click:
            player is holding a stick:
                execute player command "/ban %clicked player%"

the error message is: cant understand this condition: on right click

Its an event tho, not a condition. help PLEASE PLZ PLZ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...