#by AroveDev #=-=-=-=-=-=-=-=-=-=-=-=-< #High Quality Skripts #Opcje options: NazwaGUI: &6Menu - Kowal NazwaItemu: &a&lULEPSZENIE #Code command /kowal: trigger: if player's tool is not any sword: send "&cMusisz trzymac miecz!" to player stop wait 1 tick set {_num} to -1 open chest with 1 row named "{@NazwaGUI}" to player loop 9 times: add 1 to {_num} wait 1 tick format slot {_num} of player with red stained glass pane named " " to be unstealable format slot 4 of player with nether star named "{@NazwaItemu}" with lore "&7&lULEPSZENIE||&7Masz 50 procent szans na||uzyskanie zaklecia &5Sharpness (+5)||&7Jezeli szczescie Ci nie dopisze||&7stracisz swoj miecz!" to close then run [execute player command "upgrade"] if player's tool is not diamond sword: send "&cMusisz trzymac miecz!" to player stop command /upgrade: trigger: if player's tool is not any sword: send "&cMusisz trzymac miecz!" to player stop if player's tool is any sword of sharpness 0: wait 1 tick chance of 50%: enchant the player's tool with sharpness 5 broadcast "&c&l%player% &7ulepszyl miecz do &5SHARPNESS 5&7!" stop else: remove any sword of sharpness 0 from player broadcast "&c&l%player% &7stracil swoj miecz podczas ulepszania!" stop if player's tool is any sword of sharpness 5: wait 1 tick chance of 50%: enchant the player's tool with sharpness 10 broadcast "&c&l%player% &7ulepszyl miecz do &5SHARPNESS 10&7!" stop else: remove any sword of sharpness 5 from player broadcast "&c&l%player% &7stracil swoj miecz podczas ulepszania!" stop if player's tool is any sword of sharpness 10: wait 1 tick chance of 50%: enchant the player's tool with sharpness 15 broadcast "&c&l%player% &7ulepszyl miecz do &5SHARPNESS 15&7!" stop else: remove any sword of sharpness 10 from player broadcast "&c&l%player% &7stracil swoj miecz podczas ulepszania!" stop if player's tool is any sword of sharpness 15: send "&7Twoj miecz ma maksymalny Enchant!" to player