Kqleo Posted July 19 Share Posted July 19 I've asked alot for a skript for an Auto Compressor, and I've gotten much feedback and I still haven't gotten anywhere to be honest. I just want an auto compressor that if a player has a chest in their inventory named auto compressor, when player mines 16 wood they get wood that is enchanted with mending 1 (enchantment is hidden) that is called Compressed Wood. If anyone has the skript to something like that it would be helpful. Link to comment Share on other sites More sharing options...
Pryzmm Posted July 19 Share Posted July 19 13 minutes ago, Kqleo said: I've asked alot for a skript for an Auto Compressor, and I've gotten much feedback and I still haven't gotten anywhere to be honest. I just want an auto compressor that if a player has a chest in their inventory named auto compressor, when player mines 16 wood they get wood that is enchanted with mending 1 (enchantment is hidden) that is called Compressed Wood. If anyone has the skript to something like that it would be helpful. Please go to the marketplace for this; topic moved. Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
PrecedingMC Posted July 20 Share Posted July 20 1 hour ago, gabinun said: on script load: set {shinyoak wood} to shiny oak wood named "<##3C3005>&lc<##403206>&lo<##443406>&lm<##483607>&lp<##4B3808>&lr<##4F3A09>&le<##533C09>&ls<##573E0A>&ls<##5B3F0B>&le<##5F410B>&ld<##63430C>&l <##66450D>&lw<##6A470E>&lo<##6E490E>&lo<##724B0F>&ld" every 1 ticks: loop players: if loop-player has 16 oak log: remove 16 oak log from loop-player's inventory give loop-player {shinyoak wood} this 100% works I use and I even named the wood for you but you do need skrayfall plugin for the shiny part I posted this in the post where you released this script, but: it's not really efficient to loop through all players every single tick, or even every second. I've never had to create a script like this, but I think that checking if the player has 16 oak logs when the player picks up an item would be much more efficient for what you're doing. Preceding Java & Kotlin Developer Link to comment Share on other sites More sharing options...
gabinun Posted September 13 Share Posted September 13 (edited) on break: player has 32 oak log: remove 32 oak log from player's inventory give player {shinyoak wood} good enough? also use on break: player has 32 oak log: remove 32 oak log from player's inventory give player shiny oak wood if you dont want to use skript addon Edited September 13 by gabinun Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now