raycast: type: world events: on player right clicks block with:AWP: - define start_location - define target_location <[start_location].ray_trace[range=32;default=air;ignore=;raysize=.4]> - playeffect crit <[start_location].points_between[<[target_location]>].distance[2]> quantity:1 visibility:100 offset:0 - playsound sound:entity_firework_rocket_blast pitch:.7 volume:.3 shot_sniper: type: world events: on player right clicks block with:AWP: - define hit - define Target - if <[hit]> >= && <[hit]> <= : - hurt 100 <[Target]> source: - else if <[hit]> >= && <[hit]> <= : - hurt 100 <[Target]> source: AWP: type: item material: carrot_on_a_stick display name: <&l>AWP mechanisms: custom_model_data: 2 flags: gun: stats: