Solved Recycler

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

CringeBoy

Active Member
May 20, 2021
65
0
6
Romania
Code:
on right click:
  if clicked block is hopper:
    cancel event
    wait 1 ticks
    open chest with 3 rows named "&aRecycler" to player
This is my currently code. Can someone tell me how I can make something like: If you put inside the gui of the hopper that i've created, a orange dye and you get back 10 iron? not a shop, an instantly trading system. if you put the orange dye inside you get instantly back 10 iron
 
Are you using SkQuery GUIs again?
[doublepost=1621801202,1621800665][/doublepost]And the event you are searching for is
Code:
on inventory close
 
But how do I make it if player will add a orange dye in the gui, to receive 10 iron back and the orange dye to disappear
 
Status
Not open for further replies.