execute @a[hasitem={item=target, location=slot.weapon.mainhand}, rx=-80, rxm=-90] ~ ~ ~ camera @s set minecraft:third_person
execute @a[hasitem={item=target, location=slot.weapon.mainhand}, rx=-80, rxm=-90] ~ ~ ~ title @s actionbar §l§bThird Person View
execute @a[hasitem={item=target, location=slot.weapon.mainhand}, rx=90, rxm=80] ~ ~ ~ camera @s clear
execute @a[hasitem={item=target, location=slot.weapon.mainhand}, rx=90, rxm=80] ~ ~ ~ title @s actionbar §l§bFirst Person View