I’m currently building my hometown, starting with a small shop. I used a scripted door which teleports you to the shop and there is a window, but how can one make it so the user can not zoom out past transparent objects such as windows.
I tried using some help from a few years or months ago but it is outdated and sometimes when the user logs in, their camera spawns elsewhere on the map without being able to move and having their camera locked in one place. (I fixed that bug by removing the script)
1.- Add a part behind the transparent part.
2.- Add a SpecialMesh to the part behind it.
3.- Make the Mesh invisible.
4.- Make sure the part is anchored