Solved Two Issues with making a inventory menu thing

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

    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!

symbolx

Member
Jan 12, 2025
2
0
1
24
So no matter how hard I try I can't seem to fix this:

In my code I am telling it to make the slot red dye named whatever but everytime i've tried it it isn't working at all and i am just lost
set slot integers from 0 to 8 of {chestgui} to grey stained glass pane named " "
set slot 0 of {chestgui} to red dye named "&4reddyetest"

Second issue (and full part of script):
It is letting players right click with anything while I want it to be only with that
on right click:
if player's tool is amethyst shard named "&7test":
set {chestgui} to a new chest inventory with 1 row named "test"
set slot integers from 0 to 8 of {chestgui} to grey stained glass pane named " "
set slot 0 of {chestgui} to red dye named "&4reddye test"
open {chestgui} to player