7 lines
548 B
Mcfunction
7 lines
548 B
Mcfunction
title @s[tag=emk-owns-strider] actionbar "Selected strider kart."
|
|
playsound minecraft:ui.button.click ambient @s[tag=emk-owns-strider]
|
|
execute if score @s[tag=!emk-owns-strider] emk-points matches 50.. at @s run function emk:shop/buy/strider
|
|
title @s[tag=!emk-owns-strider] 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-strider] ~ ~ ~ 1 0
|
|
scoreboard players set @s[tag=emk-owns-strider] emk-kart 3
|