I am trying to make it so when you do /mkit (class) it clears your inventory, gives you the class permission, makes you execute the kit command, tells you the kit message and then promptly removes the message. In the middle of the skripting process before I added most of the effects I tried making it so it gives you the permission but it says "permissions of the player can't have anything added to it". I have the latest version of LuckPerms, Skript, and SkQuery installed.
script options:
$ use permissions
command /mkit <text>:
trigger:
if arg 1 is "brute":
add "greatkits.kits.Brute" to player's permissions
message "<orange>Equipped kit Brute"
script options:
$ use permissions
command /mkit <text>:
trigger:
if arg 1 is "brute":
add "greatkits.kits.Brute" to player's permissions
message "<orange>Equipped kit Brute"