I'm wondering how to copy and remove and place the item into a gui slot.
This is what I'm meaning:
You grab a item from your inventory, you place it into a GUI Slot (when doing that It will remove the item from your cursor and copy that item and place it into the gui slot)
I highly doubt you will need the code but I will give the code that is stopping me from placing it into the slot:
If what you say is not the correct code you can add me in discord to get in-depth into what I'm trying to say.
[doublepost=1590220886,1590213823][/doublepost]I legit had to remove 1 line of code smh xD
This is what I'm meaning:
You grab a item from your inventory, you place it into a GUI Slot (when doing that It will remove the item from your cursor and copy that item and place it into the gui slot)
I highly doubt you will need the code but I will give the code that is stopping me from placing it into the slot:
Code:
# This will fill the entire GUI (I have other things that stop this fill for other items too so not the entire but most)
loop 54 times:
wait 1 tick
add 1 to {_x}
format gui slot {_x} of {_p} with black stained glass pane to do nothing
# The gui air slot:
if {_x} is 28:
wait 1 tick
add 1 to {_x}
format gui slot {_x} of {_p} with air to do nothing
if {_x} is 32:
wait 1 tick
add 1 to {_x}
format gui slot {_x} of {_p} with air to do nothing
If what you say is not the correct code you can add me in discord to get in-depth into what I'm trying to say.
[doublepost=1590220886,1590213823][/doublepost]I legit had to remove 1 line of code smh xD