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

**First person mode for my fps game. Could you help me?**

Hi i made an fps game. But i need help for a script that makes you first person the whole time. Could anyone please help? And send a script that makes me first person

2 comments

1

This is not a request site, this is a site to help others with problems in their script

0

You dont need a script, you can change a properties

3 answers

Change the cameramode property in starterplayer from classic to lockfirstperson

1 comment

0

player.CameraMode = Enum.CameraMode.LockFirstPerson  (if you want to do it in a script)  

Do this:

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

Good day,

Firstly, I will remind you that this not a request site. No thread should ever be created on this site before you, the poster, have tried solving your problem yourself. Before posting on here, I also ask that you please do a quick google search, as you could have easily figured out how to accomplish a "FirstPerson" camera that way.

Now that that's out of the way:

If you wish to not use a script:

  1. Navigate to the "Explorer" window, and ensure the "Properties" tab is also open

  2. Click on the "StarterPlayer" directory

  3. Change the "CameraMode" property to "LockFirstPerson". (Property of StarterPlayer)

  4. Finished

Since this is a scripting site:

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

end)

Happy learning!

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