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

How do i lock 1rst person?

Asked by 10 years ago

I want a camera lock in my game

4 answers

Log in to vote
1
Answered by
Sublimus 992 Moderation Voter
10 years ago

Put this in a LocalScript that clones inside of the player's PlayerGui:

game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
Ad
Log in to vote
1
Answered by
Hybric 271 Moderation Voter
10 years ago

Make a Local Script into StarterPack, Then Type this line into that script:

script.Parent.Parent.CameraMode = "LockFirstPerson"
0
doesnt work :/ but thnx for support happymoon5 0 — 10y
Log in to vote
1
Answered by 10 years ago

You need to put this line in a local script that is imported into the playergui, player, or player character.

game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson

Log in to vote
0
Answered by 10 years ago

Script.Parent.Parent.CameraMode = LockFirstPerson

I may be wrong......

Answer this question