So I'm trying to give players who buy the minicopter low grade fuel I had this code and it worked a few times but now it has just stopped working

"Minicopter": {
"buy": "5000",
"cmd": ["give lowgradefuel 150"],
"img": "https://i.imgur.com/chcXStc.png",
"cmd": ["spawn minicopter.entity $player.x,$player.y,$player.z"],
"sell": ""
},


any idea why this isnt working consistently