Solved Help with skript

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

    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!

Status
Not open for further replies.

_m1

Member
Feb 27, 2018
12
0
0
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
 
I mean, one thing is that your pasted version has the 'else' block indented one too many levels. Not sure if that's your problem since you didn't mention any reload errors but that's the first & most obvious issue with the code as it's pasted.
 
Status
Not open for further replies.