"Mirror" script for my puzzle game

The code is intended to reflect the player’s actions across the mirror. However, it only works on one axis, is fairly buggy, and the code is a bit messy. It does not need to reflect the player’s model as the game will force the player into a blocky body and it will be in first person, and the mirror reflection being what it is, is important to the story.

I’ve considered using CFrames but, well, I’m terrible with them and don’t fully understand them, I’d like for the mirror to perfectly reflect the player’s actions over it no matter the axis, for example, a box-like mirror could exist and the player could walk all the way around it and still have the reflection on the exact opposite side.

Any and all advice/help is greatly appreciated, thank you.

View Port.rbxm (6.5 KB)