How to make a netherite sword with the Name ''&dBlade of Gaia'' earn 1 sharpness level per player kill,maxxing out at sharpness 10?

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

  • LOOKING FOR A VERSION OF SKRIPT?

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

Yushaa

Member
Oct 19, 2023
41
2
8
26
Can anyone make a skript that does this for me,it is fine if you dont want to or are unable to i'd really appreciate it though
 
Hey, i made something, should work, hope it will help :emoji_wink:
Code:
on death of player:
    if attacker is a player:
        if tool of attacker is netherite sword:
            if name of tool of attacker is "&dBlade of Gaia":
                set {_ench} to level of sharpness of tool of attacker + 1
                if {_ench} is less than 11:
                    enchant tool of attacker with "sharpness %{_ench}%" parsed as enchantment type