Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding paper:
- name of held item contains "§a宝くじ"
- message "くじを引きました"
- remove 1 of held item from player
- chance of 9%:
- message "小当たり"
- execute console command "/give %player% minecraft:stained_glass 1 1"
- chance of 2%:
- message "中当たり"
- execute console command "/give %player% minecraft:stained_glass 1 5"
- chance of 0.01%:
- broadcast "%player% §aさんが§e§n宝くじ§r§aで大当たりを引きました!"
- execute console command "/give %player% minecraft:stained_glass 1 11"
Add Comment
Please, Sign In to add comment