how do you add a attribute modifier to this

  • 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!

Madoc

Member
Jun 6, 2022
14
0
1
20
Code:
 command /godsw:
    permission: op
    permission message: &cYou do not have permission to do this!
    trigger:
        give player 1 of unbreakable iron sword named "&1▁ ▂ ▄ ▅ ▆ ▇ █ Gods Warrior █ ▇ ▆ ▅ ▄ ▂ ▁" with lore "&6Damage: &c+10000" and "&6Ability: ""Instant Transmission &e&lRIGHT CLICK""" and "&7Teleport &a8 blocks &7ahead of you" and "&8gain +50 &r♢ speed &7for &a10 seconds" and "&7Mana cost: &350" and "&5&lMythical"
 
on damage:
    if name of attacker's held item is "&1▁ ▂ ▄ ▅ ▆ ▇ █ Gods Warrior █ ▇ ▆ ▅ ▄ ▂ ▁":
        add 10000 to the damage
        
on right click:
    if name of player's held item is "&1▁ ▂ ▄ ▅ ▆ ▇ █ Gods Warrior █ ▇ ▆ ▅ ▄ ▂ ▁":