tsutitire2

Untitled

Apr 28th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Variables:
  2. {%player%.var4} = 0
  3. {%player%.val3} = 0
  4. {count3} = 0
  5. {count4} = 0
  6. On rightclick on gold block:
  7. loop all items in the player's inventory:
  8. loop-item is enchanted with flame 110
  9. loop-item is paper
  10. remove 1 paper from the player
  11. set {%player%.val3} to random integer between 1 and 20000
  12. if {%player%.val3} = 1:
  13. send title "あたり...っ!!"
  14. wait 5 seconds
  15. broadcast "%player% さんがっ...! あてたっ! 沼大当たりっ...!!"
  16. set {%player%.val4} to {count3} * 1
  17. broadcast "賞金なんと...!! %{%player%.val4}%NTSM...!!!"
  18. set {count4} to {count3} * 0.0011
  19. while {count4} is more than 0:
  20. give a iron block of efficiency 90 to the player
  21. set {count4} to {count4} - 1
  22. set {count3} to 0
  23. if {%player%.val1} is not 1:
  24. send title "外れ★ %{count3}%"
  25. set {count3} to {count3} + 1
Add Comment
Please, Sign In to add comment