How do you prevent a player from seeing around the map?

How do you prevent a player from seeing around the map?
Im making a 2.5D game.

Probably the best way to implement this is to use RunService.RenderStepped, then have the camera follow the player on the X and Y axis, but not the Z axis.

In fact, Roblox already has a tutorial on how to do this, Controlling the User's Camera | Roblox Creator Documentation

1 Like