execute if entity @s[tag=slot1] run playsound minecraft:block.note_block.bell block @a ~ ~ ~ 1 .8
execute if entity @s[tag=slot2] run playsound minecraft:block.note_block.bell block @a ~ ~ ~ 1 1
execute if entity @s[tag=slot3] run playsound minecraft:block.note_block.bell block @a ~ ~ ~ 1 1.2
execute as @s run loot replace entity @s container.0 loot survivalplus:rng/slotitem

execute if data entity @s {item:{id:"minecraft:dead_bush"}} run scoreboard players add @e[tag=placedbet] dropmoss 5
execute if data entity @s {item:{id:"minecraft:copper_ingot"}} run scoreboard players remove @e[tag=placedbet] itemcount 1
execute if data entity @s {item:{id:"minecraft:iron_ingot"}} run scoreboard players remove @e[tag=placedbet] itemcount 2
execute if data entity @s {item:{id:"minecraft:gold_ingot"}} run scoreboard players remove @e[tag=placedbet] itemcount 1
execute if data entity @s {item:{id:"minecraft:emerald"}} run scoreboard players add @e[tag=placedbet] itemcount 1
execute if data entity @s {item:{id:"minecraft:diamond"}} run scoreboard players add @e[tag=placedbet] itemcount 2
execute if data entity @s {item:{id:"minecraft:totem_of_undying"}} run scoreboard players add @e[tag=placedbet] itemcount 3
execute if data entity @s {item:{id:"minecraft:nether_star"}} run scoreboard players add @e[tag=placedbet] days 2
execute if data entity @s {item:{id:"minecraft:wither_skeleton_skull"}} run scoreboard players add @e[tag=placedbet] burst 1