Jump to content

Skript Custom Armor (Help)


Pancake123
 Share

Recommended Posts

I made an armor skript so when people attack you it spawns a bat. It should only happen when wearing a leather piece of armor named something but happens with any piece of armor. Here is some test code with the same issue. Please help. It gives no errors. I just realized when they are wearing named that thing, it doesn't work. I don't know why its doing it in reverse.

 

on damage:
    if victim is wearing netherite helmet named "&3Test":
        damage attacker by 2

Edited by Pancake123
bumping
Link to comment
Share on other sites

  • Pancake123 changed the title to Skript Custom Armor (Help)
  • 3 weeks later...

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
 Share



×
×
  • Create New...