hey i was working on my sell command but everytime i tryed to reload it it just crashed and now idk what to do its just that one skript my /sell skript i hope someone can help me with it!
```
options:
cactus: 20
redmushroom: 35
pupmkinseeds: 1
netherwart: 40
melonseeds: 1
sugarcane: 30
wheat: 5
carrot: 10
potato: 15
beetroot: 20
sweetberries: 25
kelp: 22
twistedvines: 30
bamboo: 30
pumpkin: 25
melonslice: 10
melon: 50
pps: 100
seeds: 1
beetrootseeds: 1
function sell1(p: player):
set {_p} to player
set {_u} to {_p}'s uuid
set {_cactus} to number of cactus in {_p}'s inventory
set {_cactus} to {_cactus} * {@cactus}
set {_redmushroom} to number of red mushroom in {_p}'s inventory
set {_redmushroom} to {_redmushroom} * {@redmushroom}
set {_pupmkinseeds} to number of pumpkin seeds in {_p}'s inventory
set {_pupmkinseeds} to {_pupmkinseeds} * {@pupmkinseeds}
set {_netherwart} to number of nether wart in {_p}'s inventory
set {_netherwart} to {_netherwart} * {@netherwart}
set {_melonseeds} to number of melon seeds in {_p}'s inventory
set {_melonseeds} to {_melonseeds} * {@melonseeds}
set {_sugarcane} to number of sugar cane in {_p}'s inventory
set {_sugarcane} to {_sugarcane} * {@sugarcane}
set {_seeds} to number of wheat seeds in {_p}'s inventory
set {_seeds} to {_seeds} * {@seeds}
set {_carrot} to number of carrot in {_p}'s inventory
set {_carrot} to {_carrot} * {@carrot}
set {potato} to number of potato in {_p}'s inventory
set {_potato} to {_potato} * {@potato}
set {_pps} to number of poisonous potato in {_p}'s inventory
set {_pps} to {_pps} * {@pps}
set {_beetrootseeds} to number of beetroot seeds in {_p}'s inventory
set {_beetrootseeds} to {_beetrootseeds} * {@beetrootseeds}
set {_sweetberries} to number of sweet berries in {_p}'s inventory
set {_sweetberries} to {_sweetberries} * {@sweetberries}
set {_kelp} to number of kelp in {_p}'s inventory
set {_kelp} to {_kelp} * {@kelp}
set {_twistedvines} to number of twisting vines in {_p}'s inventory
set {_twistedvines} to {_twistedvines} * {@twistedvines}
set {_bamboo} to number of bamboo in {_p}'s inventory
set {_bamboo} to {_bamboo} * {@bamboo}
set {_pumpkin} to number of pumpkin in {_p}'s inventory
set {_pumpkin} to {_pumpkin} * {@pumpkin}
set {_melonslice} to number of melon slice in {_p}'s inventory
set {_melonslice} to {_melonslice} * {@melonslice}
set {_melon} to number of melon in {_p}'s inventory
set {_melon} to {_melon} * {@melon}
set {_wheat} to number of wheat in {_p}'s inventory
set {_wheat} to {_wheat} * {@wheat}
set {_beetroot} to number of beetroot in {_p}'s inventory
set {_beetroot} to {_beetroot} * {@beetroot}
remove all cactus, red mushroom, pumpkin seeds, nether wart, melon seeds, sugar cane, wheat seeds, carrot, potato, poisonous potato, beetroot seeds, sweet berries, kelp, twisting vines, bamboo, pumpkin, melon slice, melon, wheat and beetroot from {_p}'s inventory
add {_cactus} + {_redmushroom} + {_pumpseeds} + {_netherwart} + {_melonseeds} + {_sugar} + {_seeds} + {_carrot} + {_potato} + {_pps} + {_beetrootseeds} + {_kelp} + {_twisting} + {_sweetberries} + {_bamboo} + {_pumpkin} + to {_melonslice} + {_melon} + {_wheat} + {_beetroot} to {_total}
set {_total} to {_total} * {multi::%{_u}%}
set {bal::%{_u}%} to {_total} + {bal::%{_u}%}
send action bar "&8&l[<##009DCF>&lEconomy&8&l] &aYou have earned $%format({_total})%!" to {_p}
play sound "entity.experience_orb.pickup" with volume 1.5 to {_p}
command /sell:
trigger:
sell1(player)
```
```
options:
cactus: 20
redmushroom: 35
pupmkinseeds: 1
netherwart: 40
melonseeds: 1
sugarcane: 30
wheat: 5
carrot: 10
potato: 15
beetroot: 20
sweetberries: 25
kelp: 22
twistedvines: 30
bamboo: 30
pumpkin: 25
melonslice: 10
melon: 50
pps: 100
seeds: 1
beetrootseeds: 1
function sell1(p: player):
set {_p} to player
set {_u} to {_p}'s uuid
set {_cactus} to number of cactus in {_p}'s inventory
set {_cactus} to {_cactus} * {@cactus}
set {_redmushroom} to number of red mushroom in {_p}'s inventory
set {_redmushroom} to {_redmushroom} * {@redmushroom}
set {_pupmkinseeds} to number of pumpkin seeds in {_p}'s inventory
set {_pupmkinseeds} to {_pupmkinseeds} * {@pupmkinseeds}
set {_netherwart} to number of nether wart in {_p}'s inventory
set {_netherwart} to {_netherwart} * {@netherwart}
set {_melonseeds} to number of melon seeds in {_p}'s inventory
set {_melonseeds} to {_melonseeds} * {@melonseeds}
set {_sugarcane} to number of sugar cane in {_p}'s inventory
set {_sugarcane} to {_sugarcane} * {@sugarcane}
set {_seeds} to number of wheat seeds in {_p}'s inventory
set {_seeds} to {_seeds} * {@seeds}
set {_carrot} to number of carrot in {_p}'s inventory
set {_carrot} to {_carrot} * {@carrot}
set {potato} to number of potato in {_p}'s inventory
set {_potato} to {_potato} * {@potato}
set {_pps} to number of poisonous potato in {_p}'s inventory
set {_pps} to {_pps} * {@pps}
set {_beetrootseeds} to number of beetroot seeds in {_p}'s inventory
set {_beetrootseeds} to {_beetrootseeds} * {@beetrootseeds}
set {_sweetberries} to number of sweet berries in {_p}'s inventory
set {_sweetberries} to {_sweetberries} * {@sweetberries}
set {_kelp} to number of kelp in {_p}'s inventory
set {_kelp} to {_kelp} * {@kelp}
set {_twistedvines} to number of twisting vines in {_p}'s inventory
set {_twistedvines} to {_twistedvines} * {@twistedvines}
set {_bamboo} to number of bamboo in {_p}'s inventory
set {_bamboo} to {_bamboo} * {@bamboo}
set {_pumpkin} to number of pumpkin in {_p}'s inventory
set {_pumpkin} to {_pumpkin} * {@pumpkin}
set {_melonslice} to number of melon slice in {_p}'s inventory
set {_melonslice} to {_melonslice} * {@melonslice}
set {_melon} to number of melon in {_p}'s inventory
set {_melon} to {_melon} * {@melon}
set {_wheat} to number of wheat in {_p}'s inventory
set {_wheat} to {_wheat} * {@wheat}
set {_beetroot} to number of beetroot in {_p}'s inventory
set {_beetroot} to {_beetroot} * {@beetroot}
remove all cactus, red mushroom, pumpkin seeds, nether wart, melon seeds, sugar cane, wheat seeds, carrot, potato, poisonous potato, beetroot seeds, sweet berries, kelp, twisting vines, bamboo, pumpkin, melon slice, melon, wheat and beetroot from {_p}'s inventory
add {_cactus} + {_redmushroom} + {_pumpseeds} + {_netherwart} + {_melonseeds} + {_sugar} + {_seeds} + {_carrot} + {_potato} + {_pps} + {_beetrootseeds} + {_kelp} + {_twisting} + {_sweetberries} + {_bamboo} + {_pumpkin} + to {_melonslice} + {_melon} + {_wheat} + {_beetroot} to {_total}
set {_total} to {_total} * {multi::%{_u}%}
set {bal::%{_u}%} to {_total} + {bal::%{_u}%}
send action bar "&8&l[<##009DCF>&lEconomy&8&l] &aYou have earned $%format({_total})%!" to {_p}
play sound "entity.experience_orb.pickup" with volume 1.5 to {_p}
command /sell:
trigger:
sell1(player)
```