How would I go about disabling first person?

Im trying to disable first person, any way to help with that? I usually would go in depth or would atleast try to provide a script, but I am stumped

4 Likes

There’s a property of Player named “CameraMinZoomDistance”.

If you change the CameraMinZoomDistance of StarterPlayer to something like 15, you won’t be able to zoom-in in first person.

13 Likes

game.Players.PlayerAdded:Connect(function(plr)

plr.CameraMinZoomDistance = 1.5

end)

–Inside a server script

You could also do:

game.StarterPlayer.CameraMinZoomDistance = —Whatever amount you want.
1 Like

This should be in #development-support:scripting-support

2 Likes

Thank you all for your replies!

1 Like

yep! I just don’t tend to use starter player due to habits but this is shorter code if u dont already have a player added function

1 Like