Sepncer Posted January 4, 2022 Share Posted January 4, 2022 i need help making a customisable auto compress thanks Link to comment Share on other sites More sharing options...
Wyndexx Posted January 4, 2022 Share Posted January 4, 2022 You need skRayFall for the 'shiny' item effect Just copy and paste the if statement and what is below and replace cobblestone with your item This is not tested, but it should work on pickup: if player's inventory contains 32 cobblestone: remove 32 cobblestone from player's inventory give player shiny cobblestone named "&eCompacted Cobblestone" Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
Sepncer Posted January 5, 2022 Author Share Posted January 5, 2022 (edited) thankyou so much it works great and is easy to customize Edited January 5, 2022 by Sepncer Link to comment Share on other sites More sharing options...
Sepncer Posted January 5, 2022 Author Share Posted January 5, 2022 12 hours ago, Gam3rBoi said: You need skRayFall for the 'shiny' item effect Just copy and paste the if statement and what is below and replace cobblestone with your item This is not tested, but it should work on pickup: if player's inventory contains 32 cobblestone: remove 32 cobblestone from player's inventory give player shiny cobblestone named "&eCompacted Cobblestone" a slight problem though it doesnt stack if i have a compressed in my inventory and the gain 32 cobblestone it will delete the old compressed one and replace it 12 hours ago, Gam3rBoi said: Link to comment Share on other sites More sharing options...
Wyndexx Posted January 5, 2022 Share Posted January 5, 2022 I will have to test it later and fix it. Meanwhile, you could try remove 32 cobblestone named "&fCobblestone" from player's inventory I don't really know how to fix this right now, so this is my best guess Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
Pryzmm Posted January 5, 2022 Share Posted January 5, 2022 7 hours ago, Gam3rBoi said: I will have to test it later and fix it. Meanwhile, you could try remove 32 cobblestone named "&fCobblestone" from player's inventory I don't really know how to fix this right now, so this is my best guess skript added a new expression called "plain item" on pickup: if player's inventory contains 32 plain cobblestone: remove 32 plain cobblestone from player's inventory give player shiny cobblestone named "&eCompacted Cobblestone" 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...
Wyndexx Posted January 5, 2022 Share Posted January 5, 2022 Oh cool. Didn't know that Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
Sepncer Posted January 8, 2022 Author Share Posted January 8, 2022 this skript works but creates a different problem it wont remove the shiny cobble but it will now not remove the normal plain cobblestone so every block after 32 gives me another shiny. i have no idea why it wont remove the cobble. thanks for your help on pickup: if player's inventory contains 32 cobblestone: remove 32 plain cobblestone from player's inventory give player shiny cobblestone named "&eCompacted Cobblestone" Link to comment Share on other sites More sharing options...
TheDocs_ Posted January 8, 2022 Share Posted January 8, 2022 (edited) on pickup: set {_item} to 1 of shiny cobblestone if player's inventory contains 31 of cobblestone: remove 32 of plain cobblestone from player's inventory give player {_item} #can be made easier if u dont want to use {_item} #instead of {_item} use give player 1 of shiny cobblestone Edited January 8, 2022 by TheDocs_ 1 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