Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Allowing a player to zoom out a certain amount?

I've looked through the wiki on CameraMaxZoomDistance, but still failed to find out how to do what the title of this question says. There, I see that it's a property of Player or StarterPlayer, but I cannot find a script that explains how to do it. Help?

Also, here is the link on CameraMaxZoomDistance.

1 comment

0

It's a property of StarterPlayer as well a Player object. You can just change the property in StarterPlayer.

1 answer

✓ Accepted answer

LocalScript Inside StarterPack.

local Player = game.Players.LocalPlayer

local Max = 0
Player.CameraMaxZoomDistance = Max

2 comments

0

Actually, it's a property of StarterPlayer in the game. But, thanks for giving me the idea. Also, you did the codeblock wrong o;

0

The Player object has a CameraMaxZoomDistance too.

This discussion is preserved as it was. New answers, comments, and votes are closed.