• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

IViddyy

Member
Apr 17, 2022
17
1
3
Hi im trying to make a ban hammer with Skript.This is all i have for now
Code:
command /banhammer:
    trigger:
        give player unbreakable iron axe named "&6&lBan Hammer" with lore "&4&lDa Ban Hammer"
        
on right click with iron axe:
 
Code:
command /banhammer:
    permission: op
    trigger:
        give player unbreakable iron axe named "&6&lBan Hammer" with lore "&4&l&kaa &4&lDa Ban Hammer &4&l&kaa&r"

on damage:
    if attacker's weapon is iron axe named "&6&lBan Hammer":
        ban victim
 
Code:
command /banhammer:
    permission: op
    trigger:
        give player unbreakable iron axe named "&6&lBan Hammer" with lore "&4&l&kaa &4&lDa Ban Hammer &4&l&kaa&r"

on damage:
    if attacker's weapon is iron axe named "&6&lBan Hammer":
        ban victim
is there a way to make it so its on right/left click?
 
Status
Not open for further replies.