I'm currently working on a skript right now where it would open up a kit gui, and i'd like it so if the player doesn't have the permission "kit.legend" the kit would say: "unavailable" but if the player has the permission it would say "available" The problem i'm having is that when i give the player the permission it says the correct thing: "Available", but when they don't have it, it just doesn't show anything at all.
What I have so far:
https://pastebin.com/kCAe8QKm
What I have so far:
https://pastebin.com/kCAe8QKm