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

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

Asked by
8_HM -5
4 years ago
Edited 4 years ago

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

1
This is not a request site, this is a site to help others with problems in their script jediplocoon 877 — 4y
0
You dont need a script, you can change a properties THELFCMAN 9 — 4y

Closed as Not Constructive by jediplocoon, killerbrenden, Nguyenlegiahung, ScuffedAI, and JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

3 answers

Log in to vote
0
Answered by
moo1210 587 Moderation Voter
4 years ago

Change the cameramode property in starterplayer from classic to lockfirstperson

0
player.CameraMode = Enum.CameraMode.LockFirstPerson  (if you want to do it in a script)   Gabygoo 0 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Do this:

game.Players.PlayerAdded:Connect(function(p)
p.CameraMode = Enum.CameraType.LockFirstPerson
end)
Log in to vote
0
Answered by
Thetacah 712 Moderation Voter
4 years ago
Edited 4 years ago

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!