minerace/data/emk/functions/shop/sign/gay.mcfunction

6 lines
519 B
Mcfunction

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