Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1- Crear scoreboard: /scoreboard objectives add Dinero dummy
- 2- Dar dinero: /scoreboard players add @p Dinero 10
- 3- Detectar: /testfor @p[score_Dinero_min=20]
- 4- Dar: /give killercreeper_55 minecraft:diamond_sword
- 5- Restar Dinero: /scoreboard players remove @p Dinero 20
- 6- Mensaje:
- /tellraw @p[score_Dinero_min=0,score_Dinero=19] ["",{"text":"- TIENDA - ","color":"dark_aqua","bold":"true"},{"text":"No tienes suficiente dinero","color":"white","bold":"true"}]
- 7- Sonido: /playsound random.levelup @a[score_Dinero_min=5]
- 8- Colocación: http://prntscr.com/7qqh3t
Advertisement
Add Comment
Please, Sign In to add comment