HeadHunting Skript

Discussion in 'Skript' started by KrappySGS, Jun 4, 2017.

  1. Hello!
    So I am currently trying to make a HeadHunting system in skript, but I can't do something. What is wrong with the next code? Thanks.

    on right click with a head:
    cancel event
    if player is sneaking:
    if player is holding 1 head named "&c&nChicken Head":
    send "something"
     
  2. can you show the error log?
     
  3. Replace if player is holding 1 head named "&c&nChicken Head": with if name of player's tool is "&c&nChicken Head":
     
    • Like Like x 1
  4. As stated by DMEpepperoni simply change it to
    Code (Text):
    on right click with a head:
        cancel event
        if player is sneaking:
            if name of player's tool is "&c&nChicken Head":
                send "something"
    (Tested 100% working)
     
  5. this one does work