command /abilitysword: trigger: give player netherite sword named "Owethu's Sword" with lore "Double sneak ability storm circle" and "Passive lightning stun 10%" send "&aYou got Owethu's Sword" on toggle sneak: if player is sneaking: if {last.%player%} is set: if difference between now and {last.%player%} < 10 ticks: if {cooldown.%player%} is set: if difference between now and {cooldown.%player%} < 90 seconds: set {_time} to 90 seconds - difference between now and {cooldown.%player%} send "&cCooldown left: %{_time}%" stop set {cooldown.%player%} to now send "&6Storm Ability Activated" apply strength 2 to player for 9 seconds loop 3 times: wait 3 seconds strike lightning at player loop 200 times: set {_angle} to loop-number * 1.8 set {_x} to cos({_angle}) * 20 set {_z} to sin({_angle}) * 20 spawn particle flame at location of player offset by {_x}, 0.2, {_z} loop all entities in radius 20 around player: if loop-entity is not player: strike lightning at loop-entity apply slowness 10 to loop-entity for 3 seconds set {last.%player%} to now on damage: attacker is a player victim is a living entity if attacker's tool is netherite sword: add 4 to damage chance of 10%: strike lightning at victim apply slowness 10 to victim for 3 seconds send "&cLightning stun!" send "&7Passive: 10% chance lightning stun on hit"