execute if score #cam security matches 1 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a1"}}}
execute if score #cam security matches 2 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a2"}}}
execute if score #cam security matches 3 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a3"}}}
execute if score #cam security matches 4 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a4"}}}
execute if score #cam security matches 5 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a5"}}}
execute if score #cam security matches 6 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_a6"}}}

execute if score #cam security matches 7 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b1"}}}
execute if score #cam security matches 8 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b2"}}}
execute if score #cam security matches 9 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b3"}}}
execute if score #cam security matches 10 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b4"}}}
execute if score #cam security matches 11 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b5"}}}
execute if score #cam security matches 12 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_b6"}}}

execute if score #cam security matches 13 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c1"}}}
execute if score #cam security matches 14 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c2"}}}
execute if score #cam security matches 15 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c3"}}}
execute if score #cam security matches 16 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c4"}}}
execute if score #cam security matches 17 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c5"}}}
execute if score #cam security matches 18 run data merge entity @e[type=minecraft:item_display,tag=security_screen,limit=1] {item:{id:"minecraft:carrot_on_a_stick",count:1,components:{"minecraft:item_model":"fog:cam_c6"}}}