#execute as @e[type=item,distance=..2,predicate=survivalplus:item/slotmoney] run data merge entity @s {CustomNameVisible:1b,CustomName:{"text":"10 item only"}}
execute if entity @e[tag=placedbet] run title @a[distance=..5] actionbar {"text": "Error: Slot machine in use "}
execute unless entity @e[tag=placedbet] if entity @e[predicate=survivalplus:item/slotmoney,distance=..2,nbt={OnGround:1b}] run function survivalplus:finale/slots/accept
execute unless entity @e[predicate=survivalplus:item/slotmoney,distance=..2,nbt={OnGround:1b}] run playsound minecraft:block.note_block.didgeridoo block @a ~ ~ ~ 1 .5