Advertisement
JustQuit194

Untitled

Apr 14th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. /scoreboard objectives add Click stat.useItem.minecraft.carrot_on_a_stick
  2.  
  3.  
  4. testfor @a[score_Click_min=1]
  5. /scoreboard players set @a[score_Click_min=1] Click 0 (MIT REDSTONE DELAY!)
  6. /clone X Y Z X2 Y2 Z2 ZIELBLOCK ZIELBLOCK ZIELBLOCK
  7. /testfor @a[score_Click_min=1] {Inventory:[{tag:{display:{Name:"Normale-Crate"}}}]}
  8. /scoreboard players set @a[score_Click_min=1] ClickGew 1
  9. /execute @r[type=ArmorStand,name=NormalRandom] setblock ~ ~-2 ~ redstone_block
  10.  
  11. # +------+ ArmorStands +------+ #
  12.  
  13. NAME hat geöffnet: /tellraw @a ["",{"text":"[","color":"dark_gray"},{"text":"Custom","color":"yellow"},{"text":"Crates","color":"gold"},{"text":"] ","color":"dark_gray"},{"selector":"@a[score_ClickGew_min=1]","color":"yellow"},{"text":" hat","color":"gray"},{"text":" eine","color":"gray"},{"text":" Normale","color":"gold"},{"text":"-","color":"gray"},{"text":"Crate ","color":"yellow"},{"text":"geöffnet","color":"green"}]
  14. Du hast gewonnen: /tellraw @a[score_Click_min=1] ["",{"text":"[","color":"dark_gray"},{"text":"Custom","color":"yellow"},{"text":"Crates","color":"gold"},{"text":"] ","color":"dark_gray"},{"text":"Du hast ","color":"gray"},{"text":"ANZAHL ","color":"yellow"},{"text":"ITEM ","color":"aqua"},{"text":"gewonnen","color":"green"},{"text":"!","color":"gray"}]
  15. Item geben (CMD für CMD-Block): give @a[score_Click_min=1] ITEM ANZAHL
  16. ClearCMD: /clear @a[score_ClickGew_min=1] minecraft:carrot_on_a_stick 0 1 {display:{Name:"§6Normale§8-§eCrate",Lore:["§7Rechtsklicke die §eCrate §7um sie zu §aöffnen"]},ench:[{id:0,lvl:1}],HideFlags:7}
  17. setblock X Y Z air
  18. Crate zum öffnen: /give @p minecraft:carrot_on_a_stick 1 0 {display:{Name:"§6Normale§8-§eCrate",Lore:["§7Rechtsklicke die §eCrate §7um sie zu §aöffnen"]},ench:[{id:0,lvl:1}],HideFlags:7}
  19. Crate-Testfor (Name): /testfor @a[score_Click_min=1] {Inventory:[{tag:{display:{Name:"§6Normale§8-§eCrate"}}}]}#
  20. /scoreboard players set @a[score_ClickGew_min=1] ClickGew 0
  21.  
  22.  
  23. (Diese CMDS (# +------+ ArmorStands +------+ #) am besten 10 mal machen (10 ArmorStand's) logisch auch mehr arbeit aber besser
  24. und man kann viel mehr items bekommen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement