execute as @s[scores={svm_ep.menu=1000}] run tellraw @s [{"text":"| [","color":"gray"},{"text":"Block Breaking","color":"yellow","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1005"}},{"text":"] ["},{"text":"Lose Hearts","color":"yellow","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1021"}},{"text":"] ["},{"text":"Lose Mana","color":"yellow","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1022"}},{"text":"]\n"},{"text":"| Give Golden","color":"gray"},{"text":": ["},{"text":"Beetroot","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1008"}},{"text":"] ["},{"text":"Bone","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1009"}},{"text":"] ["},{"text":"Eye","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1010"}},{"text":"] ["},{"text":"Flesh","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1011"}},{"text":"] ["},{"text":"Heart","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1012"}},{"text":"] ["},{"text":"Pearl","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1013"}},{"text":"] ["},{"text":"Steak","color":"gold","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1014"}},{"text":"]\n"},{"text":"| [","color":"gray"},{"text":"+1 XP LVL","color":"green","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1007"}},{"text":"] [","color":"gray"},{"text":"+10 XP LVL","color":"green","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1018"}},{"text":"]","color":"gray"},{"text":"\n"},{"text":"| [","color":"#8A8A8A"},{"text":"GM0","color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1004"}},{"text":"] [","color":"#8A8A8A"},{"text":"GM1","color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1003"}},{"text":"]\n| [","color":"#8A8A8A"},{"text":"Mana","color":"aqua","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1002"}},{"text":"] [","color":"#8A8A8A"},{"text":"Heal","color":"aqua","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1001"}},{"text":"] [","color":"#8A8A8A"},{"text":"Reset CD","color":"aqua","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1016"}},{"text":"] [","color":"#8A8A8A"},{"text":"TP To Death","color":"aqua","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1017"}},{"text":"]","color":"#8A8A8A"},{"text":"\n"},{"text":"| [","color":"gray"},{"text":"Power Chooser","color":"red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1020"}},{"text":"] [","color":"gray"},{"text":"Trap Realm","color":"red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1019"}},{"text":"] [","color":"gray"},{"text":"Random Sword","color":"red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1015"}},{"text":"] [","color":"gray"},{"text":"God Sword","color":"red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1024"}},{"text":"] [","color":"gray"},{"text":"Tengu Fan","color":"red","clickEvent":{"action":"run_command","value":"/trigger svm_ep.menu set 1025"}},{"text":"]","color":"gray"}]
execute as @s[scores={svm_ep.menu=1001}] run function a:heal
execute as @s[scores={svm_ep.menu=1002}] run function a:get_mana
execute as @s[scores={svm_ep.menu=1003}] run gamemode creative @s
execute as @s[scores={svm_ep.menu=1004}] run gamemode survival @s
execute as @s[scores={svm_ep.menu=1005}] run function a:gamerule/block_breaking
execute as @s[scores={svm_ep.menu=1007}] run xp add @s 1 levels
execute as @s[scores={svm_ep.menu=1008}] run loot give @s loot svm_ep:items/golden/beetroot
execute as @s[scores={svm_ep.menu=1009}] run loot give @s loot svm_ep:items/golden/bone
execute as @s[scores={svm_ep.menu=1010}] run loot give @s loot svm_ep:items/golden/eye
execute as @s[scores={svm_ep.menu=1011}] run loot give @s loot svm_ep:items/golden/flesh
execute as @s[scores={svm_ep.menu=1012}] run loot give @s loot svm_ep:items/golden/heart
execute as @s[scores={svm_ep.menu=1013}] run loot give @s loot svm_ep:items/golden/pearl
execute as @s[scores={svm_ep.menu=1014}] run loot give @s loot svm_ep:items/golden/steak
execute as @s[scores={svm_ep.menu=1015}] run loot replace entity @s weapon loot svm_ep:items/random_sword

execute as @s[scores={svm_ep.menu=1016}] run function a:reset_cds
execute as @s[scores={svm_ep.menu=1017}] run function a:tp_to_death
execute as @s[scores={svm_ep.menu=1018}] run xp add @s 10 levels
execute as @s[scores={svm_ep.menu=1019}] run tellraw @s "not available yet"
#loot give @s loot svm_ep:items/trap_realm
execute as @s[scores={svm_ep.menu=1020}] run loot give @s loot svm_ep:items/power_chooser
execute as @s[scores={svm_ep.menu=1021}] run function a:gamerule/lose_hearts
execute as @s[scores={svm_ep.menu=1022}] run function a:gamerule/lose_mana
execute as @s[scores={svm_ep.menu=1024}] run tellraw @s "not available yet"
#loot give @s loot svm_ep:items/god_sword
execute as @s[scores={svm_ep.menu=1025}] run loot give @s loot svm_ep:items/tengu_fan

