Jump to content
  • 0

Skript


rewfwefwefewfewfew

Question

I need help.

Because I want to make an auto compressor, and it isnt working. It gives compressed stone when done but it don't work when you already have compressed stone because it can take 63 cobblestone and 1 compressed cobblestone. Anyways heres the script:

every 1 seconds:
    loop all players:
        if loop-player's inventory contains gray dye named "&7&lCobblestone AutoCompressor" with lore "&7Automatically compress cobblestone with this item!":
            if loop-player's inventory contains 64 cobblestone:
                remove 64 Cobblestone from loop-player
                give loop-player 1 cobblestone named "&x&B&2&0&0&F&B&lC&x&B&2&0&0&F&B&lo&x&B&2&0&0&F&B&lm&x&B&2&0&0&F&B&lm&x&B&2&0&0&F&B&lp&x&B&2&0&0&F&B&lr&x&B&2&0&0&F&B&le&x&B&2&0&0&F&B&ls&x&B&2&0&0&F&B&ls&x&B&2&0&0&F&B&le&x&B&2&0&0&F&B&ld &x&B&3&0&2&F&2&lC&x&B&5&0&5&E&1&lo&x&B&8&0&9&D&0&lb&x&B&A"
                send "&6Successfully auto-compressed cobblestone!" to loop-player

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...