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

How Do Put A Players Camera In FirstPerson?

Just like any horror game, you need a FirstPerson script. But the problem is: how do I do that? Any Suggestions?

2 answers

I believe this will work.

game.Players.PlayerAdded:connect(function(player)
    player.CameraMode = "LockFirstPerson"
end)
while wait() do
if script.Parent.Parent.Character.Humanoid.Health~=0 then
script.Parent.Parent.CameraMode = 1
else
script.Parent.Parent.CameraMode = 0
end
end

This script is to reset people's cameras to normal on death and FPS on respawn, THIS MUST BE PUT IN A LOCAL SCRIPT UNDER STARTERGUI OR STARTERPACK.

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