Jump to content

Making an autocompress skript that works with a telepathy enchanted item.


GoldenDoge237

Recommended Posts

Ok so basically im thinking you can create a /compress command so here is what that would look like:

command /compress:
  trigger: 
   if player has 64 andesite: #change the andesite to whatever you want and the number
    remove 64 andesite from player # andesite and number has to be changed if you change the one above
    give player 1 andesite named "&8Super Andesite" # this can obviously be changed aswell

hope im not too late!

Link to comment
Share on other sites

on break:
 if event-block is andesite:
  cancel event
  set event-block to air
  give player 1 andesite 
  if player has 64 andesite:
   execute player command "/compress"

command /compress:
 trigger:
  if player has 64 andesite: #change the andesite to whatever you want and the number
   remove 64 andesite from player # andesite and number has to be changed if you change the one above
   give player 1 andesite named "&8Super Andesite" # this can obviously be changed aswell

Link to comment
Share on other sites

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