Frage
Diese command's must du nur ein mal ausführe
/scoreboard objectives add money<Oder anders> dummy "money"<Oder anders>
/scoreboard players add #Preis<Oder anders, aber das # muss vorne bleiben !> money<Der Name des Scoreboard's> 50
Diese command's müssen beim Kauf ausgeführt werden Z.B. durch einen comandblock, ich mache es Hier mal mit einem commandblock
Dieser command muss in einen Impulse commandblock
/execute unless score @p money matches ..1 run scoreboard players operation @p money -= #Preis Money
Dieser command muss in einen Chain(Verketteten)comandblock der auf Conditional(Bedingt) gestellt ist
/give @p minecraft:player_head{SkullOwner:{Der Name des Spielers}}
ich Hofe ich konnte dir Helfen 😃