CommandBlock
Mả lệnh code Slot machine minecraft vision 1.7.2
Code :
Phần lệnh 1 :
testfor @a[score_state_min=1,r=50]
Phần lệnh 2 :
scoreboard players remove @p[r=10,score_credits_min=100] credits 100
Phần lệnh 3 :
tell @p[score_credits=99] Bạn không đủ số coint để chơi game này
Phần lệnh 3>4 :
tell @p[r=50,score_state_min=1,score_state=1] Hãy bấm nút để khởi động game
Phần Lệnh 5 :
scoreboard players set @p[r=10] state 1
Phần lệnh 6 :
testfor @p[score_state_min=1,score_state=1]
testfor @p[score_state_min=2,score_state=2]
testfor @p[score_state_min=3,score_state=3]
testfor @p[score_state_min=4,score_state=4]
Phần lệnh 7 :
scoreboard players set @a state 0
Phần lệnh 8 :
scoreboard players set @p[score_state_min=1,score_state=1] state 2
scoreboard players set @p[score_state_min=2,score_state=2] state 3
scoreboard players set @p[score_state_min=3,score_state=3] state 4
Phần lệnh 9 :
scoreboard players set @a wonlast 0
Phần lệnh 10 :
testforblock 1084 7 -116 57
testforblock 1080 7 -116 57
testforblock 1080 7 -116 57
Phần lệnh 11 :
testforblock 1084 7 -116 41
testforblock 1084 7 -116 41
testforblock 1084 7 -116 41
Phần lệnh 12 :
testforblock 1084 7 -116 42
testforblock 1084 7 -116 42
testforblock 1084 7 -116 42
Phần lệnh 13 :
say Better luck next time!
testfor @a[score_wonlast_min=1]
Phần lệnh 14 :
/setblock 1084 7 -116 173
/setblock 1080 7 -116 173
/setblock 1076 7 -116 173
Phần lệnh 12 :
setblock 1080 8 -78 0
setblock 1084 4 -63 152
setblock 1079 6 -63 152
setblock 1074 4 -63 152
Phần lệnh 13 :
/setblock 1084 7 -116 42
/setblock 1084 7 -116 41
/setblock 1084 7 -116 57
/setblock 1084 7 -116 42
/setblock 1084 7 -116 41
/setblock 1084 7 -116 57
/setblock 1084 7 -116 42
/setblock 1084 7 -116 41
/setblock 1084 7 -116 57
- Phần lệnh code slot machine
- code bán hàng tự động
- Phần mềm bán Hàng minecraft
/give @p[r=3,score_Money_min=10] minecraft:stone 10/scoreboard players remove @p[r=3,score_Money_min=0] Money 10
- Code
- /clear @p[r=3] minecraft:stone 0 10
- /scoreboard players add @p Money 7
Không có nhận xét nào:
Đăng nhận xét