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

Is it possible to force first person at a certain time?

I need this for my game. Is it possible to make a script that forces every player in the game to go first person?

3 comments

0

set player.cameraminzoomdistance and player.cameramaxzoomdistance to 5

0

thanks

0

set the player's camera mode to lockfirstperson

1 answer

✓ Accepted answer

If you wanted it as such it happens upon an event, ROBLOX has a neat feature where you can use LockFirstPerson.

An example would be:

game.Players.PlayerAdded:Connect(function(Player)
	Player.CameraMode = Enum.CameraMode.LockFirstPerson
end)

Sources: https://developer.roblox.com/en-us/api-reference/property/Player/CameraMode

If you have any other questions, feel free to reply to this answer and I'll try as best as possible to answer it.

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