okkunsyouta

Untitled

Oct 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. on rightclick holding paper:
  2. name of held item contains "§a宝くじミニ"
  3. message "くじを引きました"
  4. remove 1 of held item from player
  5.  
  6. chance of 10%:
  7. command "/give %player% minecraft:gold_nugget 3 0 {display:{Name:"1000円",Lore:["この世界の通貨"]},ench:[{id:0s,lvl:0s}],HideFlags:1}
  8. message "小当たり"
  9.  
  10. chance of 5%:
  11. command "/give %player% minecraft:gold_ingot 1 0 {display:{Name:"10000円",Lore:["この世界の通貨"]},ench:[{id:0s,lvl:0s}],HideFlags:1}
  12. message "中当たり"
  13.  
  14. chance of 0.1%:
  15. command "/give %player% minecraft:emerald_block 1 0 {display:{Name:"100万円",Lore:["この世界の通貨"]},ench:[{id:0s,lvl:0s}],HideFlags:1}
  16. broadcast "%player% §bさんが§c§n宝くじミニ§r§bで大当たりを引きました!"
Advertisement
Add Comment
Please, Sign In to add comment