Keep Posted May 24, 2020 Share Posted May 24, 2020 Hello everyone! I’m trying to do this skript but I don’t know how to do it When you sell with /sell 1 time out of 100 drop 1 diamond Thank you! Link to comment Share on other sites More sharing options...
KJPAKA Posted May 25, 2020 Share Posted May 25, 2020 Hey @Keep, I'm not sure exactly what you mean by this. However, here is the code to make it a 1 out of 100 chance for it to drop 1 diamond on the command /sell! command /sell: set {_chance} to a random integer between 1 and 100 if {_chance} is between 1 and 3: drop 1 diamond at location of player send "&aYou got lucky and got a diamond!" to player If you have any more questions I highly recommend you look at some tutorials on YouTube. For instance, Minehut Skript tutorials are good to watch to get the basics. Then its self teaching from there. Minehut Skript Tutorials: Active Minehut Player since 2016 Advanced at Skript - Know a lot about running a server If you need help with anything contact me @ KJPAKA#0001 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