Jump to content

Enchantment Skirpt!


Recommended Posts

This Script Is Going To Include The Enchantments: Wither, Explosion, Poison, Levels 1- 5 I Also Made Blindness 1-10 And A Little Extra I Added For Admins Is The Enchantment Level "M" (1000) It Makes The Effect Do Either 9999999 damage Or 9999999 Effect Time. But Anyway Here's The Scripts:
 

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither I"
    apply wither 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion I"
    create fake explosion at location of victim
    remove damage/1 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison I"
    apply poison 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither II"
    apply wither 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion II"
    create fake explosion at location of victim
    remove damage/2 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison II"
    apply poison 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither III"
    apply wither 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion III"
    create fake explosion at location of victim
    remove damage/4 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison III"
    apply poison 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither IV"
    apply wither 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion IV"
    create fake explosion at location of victim
    remove damage/8 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison IV"
    apply poison 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither V"
    apply wither 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion V"
    create fake explosion at location of victim
    remove damage/15 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison V"
    apply poison 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness I"
    apply blindness 1 to victim for 1 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness II"
    apply blindness 1 to victim for 2 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness III"
    apply blindness 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IV"
    apply blindness 1 to victim for 4 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness V"
    apply blindness 1 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VI"
    apply blindness 1 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VII"
    apply blindness 1 to victim for 7 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VIII"
    apply blindness 1 to victim for 8 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IX"
    apply blindness 1 to victim for 9 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness X"
    apply blindness 1 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness M"
    apply blindness 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither M"
    apply wither 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion M"
    create fake explosion at location of victim
    remove damage/9999999 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison M" 
    apply poison 1000 to victim for 9999999 seconds
# to create more effects use this copy paste template and change same parts of it 
# on damage:
#    attacker is a player
#    lore of attacker's held item contains "&e<Effect Name> <Effect roman numeric level>"
#    apply <Effects Real Name EX: regeneration> <effects numeric level> to victim for <amount of seconds> seconds

Edited by _Mr_Puppy_
Link to comment
Share on other sites

21 hours ago, _Mr_Puppy_ said:
This Script Is Going To Include The Enchantments: With, Explosion, Poison, Levels 1- 5 I Also Made Blindness 1-10 And A Little Extra I Added For Admins Is The Enchantment Level "M" (1000) It Makes The Effect Do Either 9999999 Or 9999999 Effect Time. But Anyway Here's The Scripts:
 

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither I"
    apply wither 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion I"
    create fake explosion at location of victim
    remove damage/1 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison I"
    apply poison 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither II"
    apply wither 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion II"
    create fake explosion at location of victim
    remove damage/2 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison II"
    apply poison 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither III"
    apply wither 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion III"
    create fake explosion at location of victim
    remove damage/4 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison III"
    apply poison 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither IV"
    apply wither 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion IV"
    create fake explosion at location of victim
    remove damage/8 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison IV"
    apply poison 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither V"
    apply wither 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion V"
    create fake explosion at location of victim
    remove damage/15 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison V"
    apply poison 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness I"
    apply blindness 1 to victim for 1 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness II"
    apply blindness 1 to victim for 2 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness III"
    apply blindness 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IV"
    apply blindness 1 to victim for 4 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness V"
    apply blindness 1 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VI"
    apply blindness 1 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VII"
    apply blindness 1 to victim for 7 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VIII"
    apply blindness 1 to victim for 8 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IX"
    apply blindness 1 to victim for 9 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness X"
    apply blindness 1 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness M"
    apply blindness 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither M"
    apply wither 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion M"
    create fake explosion at location of victim
    remove damage/9999999 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison M" 
    apply poison 1000 to victim for 9999999 seconds
# to create more effects use this copy paste template and change same parts of it 
# on damage:
#    attacker is a player
#    lore of attacker's held item contains "&e<Effect Name> <Effect roman numeric level>"
#    apply <Effects Real Name EX: regeneration> <effects numeric level> to victim for <amount of seconds> seconds

This is nice, maybe make an if statement to shorten the skript

2021-06-09_20_22_08.jpg.422c39613f8b72de894e5ec1f3377dca.jpg

Yo who actually reads these

[Vip] - 12/29/2020
[Pro] - 1/25/2022
 

 

 

Link to comment
Share on other sites

On 8/22/2021 at 11:23 AM, _Mr_Puppy_ said:
This Script Is Going To Include The Enchantments: With, Explosion, Poison, Levels 1- 5 I Also Made Blindness 1-10 And A Little Extra I Added For Admins Is The Enchantment Level "M" (1000) It Makes The Effect Do Either 9999999 Or 9999999 Effect Time. But Anyway Here's The Scripts:
 

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither I"
    apply wither 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion I"
    create fake explosion at location of victim
    remove damage/1 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison I"
    apply poison 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither II"
    apply wither 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion II"
    create fake explosion at location of victim
    remove damage/2 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison II"
    apply poison 2 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither III"
    apply wither 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion III"
    create fake explosion at location of victim
    remove damage/4 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison III"
    apply poison 3 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither IV"
    apply wither 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion IV"
    create fake explosion at location of victim
    remove damage/8 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison IV"
    apply poison 4 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither V"
    apply wither 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion V"
    create fake explosion at location of victim
    remove damage/15 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison V"
    apply poison 5 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness I"
    apply blindness 1 to victim for 1 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness II"
    apply blindness 1 to victim for 2 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness III"
    apply blindness 1 to victim for 3 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IV"
    apply blindness 1 to victim for 4 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness V"
    apply blindness 1 to victim for 5 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VI"
    apply blindness 1 to victim for 6 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VII"
    apply blindness 1 to victim for 7 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness VIII"
    apply blindness 1 to victim for 8 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness IX"
    apply blindness 1 to victim for 9 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness X"
    apply blindness 1 to victim for 10 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eBlindness M"
    apply blindness 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eWither M"
    apply wither 1000 to victim for 9999999 seconds

on damage:
    attacker is a player
    lore of attacker's held item contains "&eExplosion M"
    create fake explosion at location of victim
    remove damage/9999999 from victim's health

on damage:
    attacker is a player
    lore of attacker's held item contains "&ePoison M" 
    apply poison 1000 to victim for 9999999 seconds
# to create more effects use this copy paste template and change same parts of it 
# on damage:
#    attacker is a player
#    lore of attacker's held item contains "&e<Effect Name> <Effect roman numeric level>"
#    apply <Effects Real Name EX: regeneration> <effects numeric level> to victim for <amount of seconds> seconds

Pretty good for a starter script but I would recommend putting this all into one `on damage:` event to lower lines and make it less laggy

One of the most unique Minehut servers. Soon™

 

Link to comment
Share on other sites

On 8/22/2021 at 8:15 PM, Gam3rBoi said:

honestly this is cool

 

On 8/23/2021 at 7:40 AM, ItsKirby said:

This is nice, maybe make an if statement to shorten the skript

 

On 8/23/2021 at 10:31 PM, ghfsfgdfhdf said:

Pretty good for a starter script but I would recommend putting this all into one `on damage:` event to lower lines and make it less laggy

thanks for the complements and suggestions I really appreciate it :s

 

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...