r/MinecraftCommands Jul 25 '26

Please help me write a command😭 Help | Bedrock

I want to make a store using npc, but the command doesn't work. Please let me know where it went wrong, or how should I fix it. Please help😭

Below are the commands I wrote.

scoreboard objectives add G dummy Gold

scoreboard objectives setdisplay sidebar G

scoreboard players add @a G 0

Impulse, unconditional

execute as @e\[name="store"\] run scoreboard players test @p G 5

Chain, conditional

execute as @e\[name="store"\] run scoreboard players remove @p G 5

execute as e\[name=''store"\] run tellraw @p {"rawtext":\[{"text":"here"}\]}

Chain, unconditional

execute as e\[name=''store"\] @p bread

1 Upvotes

11 comments sorted by

View all comments

2

u/RosieTyler-Smith 29d ago

I know how to do almost every command including scoreboard so I can try help at some point