#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

execute positioned ~ ~1.5 ~ run function f:game/store/bonegun_raycast
playsound minecraft:entity.dragon_fireball.explode master @s ~ ~ ~ 1000000 2
playsound minecraft:entity.zombie.break_wooden_door master @s ~ ~ ~ 1000000 2
execute positioned ~ ~1.5 ~ run particle minecraft:smoke ^-0.3 ^ ^0.8 0 0 0 0.1 100
item replace entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:10}}}] weapon.mainhand with air