I tried coding an autocompressor that works in offhand but i get this error:
this is the code:
Skript ver: 2.8.0
this is the code:
Code:
on join:
if loop-player's offhand tool is hopper minecart named "&6Autocompresser &7[&a1&7]":
every 1 ticks:
loop all players:
if loop-player has 32 oak log:
remove 32 oak log from loop-player's inventory
give loop-player shiny oak button named "<##796E6E>&lᴄ<##766C6C>&lᴏ<##736A6A>&lᴍ<##706767>&lᴘ <##6B6363>&lᴡ<##686161>&lᴏ<##655E5E>&lᴏ<##625C5C>&lᴅ"
Last edited: