Jump to content
  • 0
xienne15

simple mining

Question

I want to request a mining script.

 

This is how it works:

1) The player should have Pick (ID:25000)

    if (countitem(25000 > 1) {
It will mine different minerals with % chances

Minerals

25001 20% chance to get

25002 50% chance to get

25003 80% chance to get

25004 2% chance to get

 

there is also a chance that it will fail. 50%

 

2) When the player mined 25001 it will say after mining

mes "You successfully mined a 25001";close;

and when the mined 25002 it will say

mes "You successfully mined a 25002";close;

and so on

 

And when it failed to mine it will say

mes "You failed to mine.";close;

After each use of the Pick 25000, it will be deleted

delitem 25000,1;

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.