I have this line in my function:
[37m$[35mexecute [34mstore result score [36m.scoreData [0msaveDataCalc [34mrun [35mscoreboard [34mplayers get [36m.scoreData [34m$[33m([0msaveData_Type[33m)
In game, I use this command:
[37m/[35mfunction [33msoniflare:sbm1/savedata/savedata_get {[37msaveData_Type[34m:[32msaveData_items[34m,[37mdataIndex[34m:[32m5[33m}
The scoreboard saveData_items does exist, and is assigned to the "player" .scoreData, but for some reason, it is not referencing any existing scoreboard. I'm not sure what I'm doing wrong syntax-wise.