1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Hypixel Skyblock Collection Skript (Error)

Discussion in 'Skript' started by dreike, Aug 7, 2019.

Thread Status:
Not open for further replies.
  1. dreike

    dreike New Member

    Joined:
    Aug 7, 2019
    Messages:
    7
    Likes Received:
    1
    So, I'm remaking the Hypixel Skyblock Collection but for rankup. And sometimes, when I try to open the wheat collection, the Wheat is not there. :/

    > Code: https://pastebin.com/CC6SGMTz

    > Print: (When it works)
    upload_2019-8-7_15-11-31.png

    (when it doesnt)
    upload_2019-8-7_15-11-58.png
     
  2. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Show code... anyways your issue MIGHT be not waiting a tick before setting the item on the GUI, like this:
    Code (Text):
    1. open chest etc...
    2. wait a tick
    3. set slot x of y to z
     
  3. dreike

    dreike New Member

    Joined:
    Aug 7, 2019
    Messages:
    7
    Likes Received:
    1
    well... if it was that, none of the other stuff would appear right? But I'll test it.

    Se não der, eu aviso. (If It doesn't work, I'll tell you)
    --- Double Post Merged, Aug 7, 2019, Original Post Date: Aug 7, 2019 ---
    Nop. It didn't work. :/
     
  4. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Show code...
     
  5. dreike

    dreike New Member

    Joined:
    Aug 7, 2019
    Messages:
    7
    Likes Received:
    1
  6. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Code (Text):
    1. if {collection.wheat.%player%} is set:
    2. if {level.wheat.%player%} is 1:
    Besides you wrongly waiting a tick before setting the slot to something, you should also wait a tick in every case (after opening chest) anyways even if that doesn't fix it then something is wrong with those 2 lines
     
  7. dreike

    dreike New Member

    Joined:
    Aug 7, 2019
    Messages:
    7
    Likes Received:
    1
    k. I'll check that, do you have discord, so if I need help again I can ask you? Or you just don't do that?
     
  8. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    You can always @ me at skUnity's official Discord (dopamine#1337)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...