scoreboard players add eatGoldenFoodWithShift svm_ep.gamerule 1

execute if score eatGoldenFoodWithShift svm_ep.gamerule matches 2.. run scoreboard players set eatGoldenFoodWithShift svm_ep.gamerule 0

execute if score eatGoldenFoodWithShift svm_ep.gamerule matches 0 run tellraw @s ["",{"text":"| ","color":"gray"},{"text":"Ea","color":"aqua"},{"text":"ting G","color":"#73FFFF"},{"text":"olden Fo","color":"#91FFFF"},{"text":"od with shift is no","color":"#73FFFF"},{"text":"w","color":"aqua"},{"text":": [","color":"gray"},{"text":"OFF","bold":true,"color":"red"},{"text":"]","color":"gray"}]
execute if score eatGoldenFoodWithShift svm_ep.gamerule matches 1 run tellraw @s ["",{"text":"| ","color":"gray"},{"text":"Ea","color":"aqua"},{"text":"ting G","color":"#73FFFF"},{"text":"olden Fo","color":"#91FFFF"},{"text":"od with shift is no","color":"#73FFFF"},{"text":"w","color":"aqua"},{"text":": [","color":"gray"},{"text":"ON","bold":true,"color":"green"},{"text":"]","color":"gray"}]
execute at @s run playsound minecraft:ui.button.click master @s