Guest User

Untitled

a guest
Jul 5th, 2014
671
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. #Double or Nothing
  2. #Skripted by Winter
  3.  
  4. options:
  5. Pre: [&2Double &7or &4Nothing!]
  6. PreMess: [&2Double &7or &4Nothing!] You can't use that command, guy!
  7.  
  8. command /don <text>:
  9. description: Enables, Disables, or Toggles "Double or Nothing"
  10. usage: "/don <enable:disable:toggle>"
  11. aliases: /doubleornothing
  12. permission: don.admin
  13. trigger:
  14. if arg 1 is "enable":
  15. set {don} to true
  16. broadcast "&8[&6Double &0or &4Nothing&8] &aEnabled!"
  17. loop all players:
  18. execute console command "/playsound random.levelup %loop-player%"
  19. if arg 1 is "disable":
  20. set {don} to false
  21. broadcast "&8[&6Double &0or &4Nothing&8] &aDisabled!"
  22. loop all players:
  23. execute console command "/playsound random.levelup %loop-player%"
  24.  
  25. on mine of diamond ore:
  26. if {don} is true:
  27. set block to air
  28. cancel the event
  29. chance of 50%:
  30. drop 2 diamonds
  31. stop
  32.  
  33. on mine of gold ore:
  34. if {don} is true:
  35. set block to air
  36. cancel the event
  37. chance of 50%:
  38. drop 2 gold ore
  39. stop
  40.  
  41. on mine of iron ore:
  42. if {don} is true:
  43. set block to air
  44. cancel the event
  45. chance of 50%:
  46. drop 2 iron ore
  47. stop
  48.  
  49. on mine of emerald ore:
  50. if {don} is true:
  51. set block to air
  52. cancel the event
  53. chance of 50%:
  54. drop 2 emeralds
  55. stop
Advertisement
Add Comment
Please, Sign In to add comment