Okay, so I'm trying to get a block to change when something happens. I have the command execute as @a[scores={hunger=6}] run say you cant do that anymore
to detect when your hunger is low.
I also have setblock -308 4 46 minecraft:stone
just to place the block the player mines
What I'm needing, is when your hunger bar is at 0, the block changes to bedrock and shows a message You cant do that anymore
so far, just having the execute hunger command, I have it on a repeating command block, it only shows when your hunger is at 0, but it spams the chat instead.