6 lines
578 B
Mcfunction
6 lines
578 B
Mcfunction
title @s[tag=emk-owns-blackwhite] actionbar "Selected black and white firework."
|
|
playsound minecraft:ui.button.click ambient @s[tag=emk-owns-blackwhite]
|
|
execute if score @s[tag=!emk-owns-blackwhite] emk-points matches 50.. at @s run function emk:shop/buy/blackwhite
|
|
title @s[tag=!emk-owns-blackwhite] actionbar [{"text":"You only have ","color":"#ff2222"},{"score":{"name":"*","objective":"emk-points"}}," of the 50 required points."]
|
|
playsound minecraft:entity.arrow.hit ambient @s[tag=!emk-owns-blackwhite] ~ ~ ~ 1 0
|
|
scoreboard players set @s[tag=emk-owns-blackwhite] emk-fw 7 |