Help making something

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

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

ElictGG

Member
Dec 1, 2024
1
0
1
I need help, can someone make me a netherite axe where if you right click it gives you strengh 2 and speed 2 with a cooldown of 5 minutes? enchantments of sharp 5 efficiency 5 mending and unbreaking 3
 
I need help, can someone make me a netherite axe where if you right click it gives you strengh 2 and speed 2 with a cooldown of 5 minutes? enchantments of sharp 5 efficiency 5 mending and unbreaking 3
Hello, I may be able to help. I haven't tested this code but I will when I get home. Feel free to reply to this if you have any issues or errors!

Code:
command /axe:
    permission: op
    trigger:
        give player netherite axe named "&4&lSkull Crusher" of sharpness 5 and unbreaking 3 and efficiency 5 and mending 1

on right click:
    if player's held item is netherite axe named "&4&lSkull Crusher":
        if {SkullAxeCooldown::%player's uuid%} >= 0:
            send "&cYour cooldown has not ended! Wait until your cooldown ends! &eSeconds Remaining: &a%{SkullAxeCooldown::%player's uuid%%" to player
        
        else:
            apply strength of tier 2 to player for 2 minutes
            apply speed of tier 2 to player for 2 minutes
            set {SkullAxeCooldown::%player's uuid%} to 300

every 1 second:
    loop all players:
        if {SkullAxeCooldown::%player's uuid%} is not >= 0
            remove 1 from {SkullAxeCooldown::%player's uuid%}