Edited because I've solved an issue and ran into another. I've added a skull in the GUI, made the lores as I wanted but after I add lores the skull loses the skin and it's back to Alex. I've deleted the lores adding part and it works perfectly, skull has skin but no lores. No idea what to do anymore, tried everything. I've also tried format, but it gives me "Can't understand condition/effect" error. Using SkQuery 4.17 and Skript 2.6.3. Here's the code:
Any help is appreciated.
Code:
set slot 9 of {_gui} to skull of {Mayors::Head_Name::1} parsed as offline player named "&e%{Mayors::Mayor_Name::1}%"
format slot 10 of {_gui} with {Mayors::Head_Name::1}'s skull named "test name"
delete {_Mayors::Lore::*}
add {Mayors::Perk_1_Name::1} to {_Mayors::Lore::*}
add {Mayors::Perk_1_Description_1::1} to {_Mayors::Lore::*}
add {Mayors::Perk_1_Description_2::1} to {_Mayors::Lore::*}
add {Mayors::Perk_1_Description_3::1} to {_Mayors::Lore::*}
add {Mayors::Perk_2_Name::1} to {_Mayors::Lore::*}
add {Mayors::Perk_2_Description_1::1} to {_Mayors::Lore::*}
add {Mayors::Perk_2_Description_2::1} to {_Mayors::Lore::*}
add {Mayors::Perk_2_Description_3::1} to {_Mayors::Lore::*}
add {Mayors::Perk_3_Name::1} to {_Mayors::Lore::*}
add {Mayors::Perk_3_Description_1::1} to {_Mayors::Lore::*}
add {Mayors::Perk_3_Description_2::1} to {_Mayors::Lore::*}
add {Mayors::Perk_3_Description_3::1} to {_Mayors::Lore::*}
loop {_Mayors::Lore::*}:
if {Mayors::Lore::%loop-index%} is not " ":
add "%{_Mayors::Lore::%loop-index%}%" to lore of slot 9 of {_gui}
delete {_Mayors::Lore::*}
Any help is appreciated.
Last edited: