gui

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

  1. RealNetwork

    Solved Skript GUI HELP

    Hello. I have been trying to make a punish GUI for my anticheat, it will show all online players and when you click on a player, It will open another GUI with some other tools(ban, kick, other stuff). Here is my code so far: if arg 1 is "punish": if arg 2 is not set: wait 3 ticks...
  2. N

    Admin Items Skript (Need Help)

    Hey, I made a Admin Items Skript, so that normal players can see them but only Admins can edit them. The Skript worked in 1.12.2 but the saving mechanism wont work in 1.16.4. Can somebody help me with that? [EDIT] Also there is no error message if i reload the Skript [EDIT] command /adminitems...
  3. FoxCraftGaming

    Solved gui error

    hey everyone, can someone help me with this skript cuz i dont get it to work with whatever i try command /bwgui: permission: sk.bwgui permission message: &8&l(&c&l!&8&l)&7 &cUnknown&7 command, type &c/help&7 for help trigger: set {bwps} to number of players in world...
  4. N

    Tuske GUI Update

    format gui slot 10 of player with 5 of red wool named "&4&l-5 Diamanter" with lore "" to run: remove 5 from {_antal} send "%{_antal}%" format gui slot 11 of player with 1 of red wool named "&4&l-1 Diamant" with lore "" to run: remove 1 from {_antal}...
  5. Squarebuilder

    Solved Custom Head in a GUI

    Hi there, I've been trying to get custom heads (e.g. https://minecraft-heads.com/custom-heads/miscellaneous/4318-twitter) into a GUI for a few weeks now. I tried this code among others: command /gui: trigger: open virtual chest inventory with 1 row named "&6GUI" to the sender...
  6. N

    Variable do not "communicate"

    My script do not communicate as it should. It is suppose to add x to {_antal} when the green wool is clicked but the diamond in the middle don't change command /coinflip: trigger: set {_antal} to 1 open chest with 1 row named "&4&lCoinFlip" to player wait 1 tick set slot 0 of...
  7. D

    Click on a item to open something

    The error is: "when right click on nether_star" when right click on nether_star: trigger: open virtual chest inventory with size 6 named "&e&lMENU" to player format gui slot 4 of player with skull of player named "&e%player%" format gui slot 10 of player with diamond...
  8. W

    Shiny not working : "format slot 1 of player with shiny paper"

    This is my skript: # SKRIPT LAVET AF WALLHACK27 # DISCORD: WALLHACK27::1111 command /kits: trigger: wait 3 ticks open chest with 3 rows named "&6&lKITS" to player format slot 13 of player with glowing glass named "&eTag dit kit." with lore "&7- Klik her for at tage...
  9. S

    Switch item in gui?

    This code works on one item, but when you need to press another item, it just makes it unstealable. Please, help me if there is a fix for this. Thanks in advance. on rightclick on painting: if {Tasks.%player%::*} contains "Shields - Prime Shields": if "%region at player%" contains...
  10. fasteR

    Solved Need help for my GUI

    Hi there, I am new at Skript and skQuery. I want to learn it and trying to write some skripts. I need your help at that skript: command /ada <player>: description: Ada ile ilgili komutları gösterir. trigger: if arg-1 is set: wait 0.2 seconds open chest...
  11. M

    My shop skript's buyable stuff (stone, logs, etc) not showing

    Skript Version: Skript 2.51 (dev20c) Skript Author: Bensku Minecraft Version: 1.16.3 --- Full Code: Code (Skript): command /gh: trigger: set {money::%uuid of player%} to 1000 command /gy: trigger: set {money::%uuid of player%} to 0 command /shop: trigger: open virtual...
  12. BadName

    Is there any way to make arguments work work with vanilla GUI?

    Hi, im trying to make a /report plugin/script with a GUI. I was wondering if the is any way to make arguments(%arg-#%) work with Vanilla GUIs.
  13. D

    Formatting Inventory Slots

    Hey guys. I'm new to skunity, and skript in general. im using SkQuery v4.1.4 and Skript 2.5, and was wondering how to detect an item in the inventory, like for example format slot 12 of player with slot 56 of player, or something like that. I'm making it so that a gui will copy the...
  14. G

    Set slot item bugged

    Hello everyone! so i make a skript when a player click on anvil crafting gui showed, but when i close the gui the item in 3rd slot of my toolbar cant be move it only happend with stone blocks please help! on inventory click: if inventory name of current inventory of player is...
  15. S

    gui lock status breaking.

    Anyone knows if "/skript reload scripts" break the "set the gui-lock-status to true" ? I'm testing guis from skript-gui, and I don't know if gui lock status break in a random circunstance or when I reload the scripts. Thanks.
  16. Arownic

    Solved Are Chest Menus Broken?

    Server Version: git-Paper-129 1.16.1 Skirpt Version 2.5-alpha6-MH Server Host: Minehut Yesterday, I was starting to work on a teleport menu for the nether, I stopped working on it for the night because it was getting late. I reloaded the skirpt (skript below). And then I got this error...
  17. S

    Solved Multiple Item Gui

    Hey there! I've just started using Skript and I can't seem to find a way to make a GUI with multiple items in it. I've managed to make one item, but wouldn't know how to add more. Skript Version: 2.5-alpha6-MH Installed Skript Addons: TuSKe v1.8.2 Server Host: Minehut All suggestions...
  18. Qurao

    inventory GUI

    I have a code, but it doesn't work and gives an error: [15:36:04 ERROR]: [Skript] In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state. Code: on rightclick on player: if...
  19. devsucs

    Solved Gui in Gui Not working :(

    hello i am trying to make a gui open another gui but for some reason it just closes the first gui i have made an example with 2 options of command execution i tryed and did not work for me i did allsoo check if everything was okey with the alinement and that did just be fine no problems with...
  20. U

    loop items from GUI and add only items to list variable, not air

    i've been trying to find a solution for a few hours now, and i can't find anything. this is the part that generates the list variable from the GUI inventory loop 54 times: set {_loop} to loop-value - 1 set {bingo.%{_loop}%} to slot {_loop} of player's current inventory...