This error is thrown Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket.

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

CatCosYT

Member
Nov 20, 2023
2
0
1
23
Here is the code (this is only the part for issuing nbt):
code_language.skript:
set {stellrap} to iron sword
        add nbt compound from "{AttributeModifiers:[{Amount:-2.1d,AttributeName:""minecraft:generic.attack_speed"",Name:""Attack Speed"",Operation:0,Slot:""mainhand"",UUID:[I;2104322211,-1159772058,-1615450746,615311383]},{Amount:3.0d,AttributeName:""minecraft:generic.attack_damage"",Name:""Attack Damage"",Operation:0,Slot:""mainhand"",UUID:[I;979656416,861292788,-1657870924,-1065933190]}],CustomModelData:1000005,Damage:0,HideFlags:2,display:{Lore:[""{'text':""""}"",""{""extra"":[{""italic"":false,""color"":""gold"",'text':""Пронизывающий защиту""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""gray"",'text':""- +5% урон за каждую часть ""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""gray"",'text':""   брони вашего противника ""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""gray"",'text':""   (суммируется мультипликативно)""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""gray"",'text':""- Отключает щиты на 2 секунды.""}],'text':""""}"",""{'text':""""}"",""{""extra"":[{""italic"":false,""color"":""gray"",'text':""Если в основной руке:""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""blue"",'text':"" 4 Урон""}],'text':""""}"",""{""extra"":[{""bold"":false,""italic"":false,""underlined"":false,""strikethrough"":false,""obfuscated"":false,""color"":""blue"",'text':"" 1.9 Скорость атаки""}],'text':""""}""],Name:""{""extra"":[{""italic"":false,""color"":""white"",'text':""Стальная рапира""}],'text':""""}""}}" to nbt compound of {stellrap}
 

This error is thrown Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket.