Not Allowing Players' Cameras to Go Through a Specific Part

I have a transparent part that I don’t want players’ cameras to be able to go through, but I don’t know how I would do this.

Could anyone tell me how I would get this done?

1 Like

Try making its Transparency .999 instead of 1.

You could have a localscript check the camera’s cframe on RenderStepped and if it would collide with the object then set the cframe to the offset of the part.

https://developer.roblox.com/en-us/api-reference/property/Camera/CFrame