Okay. There is a game when you look through the door bricks appear. I don't know how to set if the player is looking that way then it appears. All I know is to put this in a local script
P = Instance.new("Part", game.Workspace.CurrentCamera)
P.CFrame = CFrame.new(xVal,zVal,yValw)
P.Size = Vector3.new(xVal,yVal,zVal)

2 comments
I am only a beginner scripter.
Putting into CurrentCamera sets it so only the LocalPlayer can see it.