How would I make a a block show what block sees

Hello so i was woundering how I would make a block show what a block is seeing a bit like a mirror but using viewport frame.
I have tried many ways but can’t seem to do it.
when I do try fnd a way its like cloing the players avatar and I dont want that.

Many thanks for any help
If you want any more infomation please ask