Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {%player%.var4} = 0
- {%player%.val3} = 0
- {count3} = 0
- {count4} = 0
- On rightclick on gold block:
- loop all items in the player's inventory:
- loop-item is enchanted with flame 110
- loop-item is paper
- remove 1 paper from the player
- set {%player%.val3} to random integer between 1 and 20000
- if {%player%.val3} = 1:
- send title "あたり...っ!!"
- wait 5 seconds
- broadcast "%player% さんがっ...! あてたっ! 沼大当たりっ...!!"
- set {%player%.val4} to {count3} * 1
- broadcast "賞金なんと...!! %{%player%.val4}%NTSM...!!!"
- set {count4} to {count3} * 0.0011
- while {count4} is more than 0:
- give a iron block of efficiency 90 to the player
- set {count4} to {count4} - 1
- set {coun3} to 0
- if {%player%.val1} is not 1:
- send title "外れ★ %{count3}%"
- set {count3} to {count3} + 1
Add Comment
Please, Sign In to add comment