Jump to content
  • 0

hi so i need a skript for making it so that when a player mines a certain block theres a 10% chance to get a mine key (golden crates).Please help me i need it real quick


_MyFamily_

Question

4 answers to this question

Recommended Posts

  • 0
11 hours ago, _MyFamily_ said:

im using it for stone iron and coal too but it does not work ? cn u tell why

 

You replace stone with coal ore or iron ore, but you have to do it like this:
For coal ore, it's the same thing just copy paste stone to execute console command then replace it with "coal ore"

on mine:
    if event-block is stone: # the even block here Ex: wheat
        chance of 10%:
            execute console command "# Do the stuff here"
    if event-block is iron ore:
        chance of 10%:
            execute console command "# Do the stuff here"
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...