Compression Skript

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

dChiz

Member
Jul 26, 2023
1
0
1
I have been trying for a while to make a compression skript for my server. When i tried making a conversion skript, it will not detect the nbt data of the item i am trying to convert, and will only look for if i have the block instead of its nbt data. Here is my current skript:

Code:
on break:

    if {compwheat.%uuid of player%} = 1:

        if player has 48 hay block named "&eCompact Wheat" in their inventory:

            remove 48 hay block named "&eCompact Wheat" from player's inventory

            give player 1 hay block of power 1 named "&ePacked Haybale" with all flags hidden

My current plugins are SkBee, Skript, Morkazsk