Jump to content

i need help making a autocompressor skript


Recommended Posts

Im trying to autocompress some items into a player head lik e64 diamond blocks into a diamond block with the named &6Compressed diamond Block. I have the skulls plugin but cant figure out how to get them to give me a item with it already named in skript. Please help me as i been stuck for a couple of hours.

btw i meant to compress into a player head


Link to comment
Share on other sites

on load:
	set {StoneNbt} to "Your Head Id"

on block break:
	if player's inventory contains 32 of cobblestone:
		remove 32 cobblestone from player's inventory:
			give player skull named "&6Compressed Stone" with nbt {StoneNbt} and all flags hidden

smth like this?

Minecraft Developer 4+ years
Discord: HugeAdventure


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