Macky Posted August 8, 2021 Share Posted August 8, 2021 (edited) What I would like you to add in the Skript: Â /sell command Only sells Prismarine I want one block of Prismarine to be worth $50,000 Â And thats all I can think of at the moment. Please make this skript for me asap Edited August 8, 2021 by Macky Link to comment Share on other sites More sharing options...
Echology Posted August 9, 2021 Share Posted August 9, 2021 function sell(inv: inventory, p: player): loop items of {_inv} where [input is prismarine]: remove loop-value from {_inv} add 50000 to {_p}'s balance something like this, super simple. i would suggest reading the docs and doing a quick search for "inventory" to find the list of items in an inventory. just loop those and for each that is a prismarine, give a player 50k. idk what your balance system is, but this is just for vault.  [PATRON] Echology  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