how do i fix this command i am making

  • 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 /ninjabow:
    permission: op
    trigger:
        give player 1 of unbreakable bow named "&3&lNinja's &1&lGodly &6&lBow" with lore "&2The &5Power to &c&lobliterate a &2&lHacker" and "&5Power: ""&c+90T""" and "&3Strength: &c+10T" and "&6&lgold &2&lcost: 120T" and "&1&l✦GODLY✦"

on right click:
    if player's tool is bow named "&3&lNinja's &1&lGodly &6&lBow" with lore "&2The &5Power to &c&lobliterate a &2&lHacker" and "&5Power: ""&c+90T""" and "&3Strength: &c+10T" and "&6&lgold &2&lcost: 120T" and "&1&l✦GODLY✦"
    shoot arrow at speed 5
    
on damage:
    if damage was caused by projectile:
        if projectile is an arrow:
            if attacker is player:
                if attacker's tool is bow named "&3&lNinja's &1&lGodly &6&lBow" with lore "&2The &5Power to &c&lobliterate a &2&lHacker" and "&5Power: ""&c+90T""" and "&3Strength: &c+10T" and "&6&lgold &2&lcost: 120T" and "&1&l✦GODLY✦":
                    if victim is player:
                        cancel event
                    else:
                        set damage to 90000000000000
 
You've done this twice with two different scripts. Please don't post it in requests, and also list the errors it gives you.