Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

0
set player.cameraminzoomdistance and player.cameramaxzoomdistance to 5 Fifkee 2017 — 4y
0
thanks guywithapoo 81 — 4y
0
set the player's camera mode to lockfirstperson theking48989987 2147 — 4y

1 answer

Log in to vote
0
Answered by
pwx 1581 Moderation Voter
4 years ago

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.

Ad

Answer this question