set {_item} to leather Leggings
dye {_item} yellow
if {_p} has permission "evolve.4" or "evolve.5":
if name of {DONOR::Leggings::%{_p}%} does not contain "Yellow Leggings":
format gui slot 14 of {_p} with {_item} named "&eYellow Leggings" with lore "", "&8» &cDISABLED", "" and "&f&lLEFT CLICK TO TOGGLE" to run:
I'm going to explain this bug the best i can, So basically if you set a variable with an item and then put that item in a GUI it'll give an error saying the following:
{DONOR::LEGGINGS::%the player%} is not a types.recipe
This skript was working perfectly before minehut's skript was updated, I hadn't changed it since.
Hopefully you fix this asap, Thank you.
FOUND A TEMPORARY FIX
Adding "Glowing" at the start of the variable will fix this issue but will force you to have a glowing item in the GUI until this issue is fixed