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

how do i make the player be able to move the mouse while in first person mode?

Asked by
Teeter11 281 Moderation Voter
9 years ago

im making a first person game and u have to use the mouse and you cant go out of first person

2 answers

Log in to vote
2
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

You have two options.

The easiest method is to add an invisible GUI element with the Modal property ticked.

The other method is to set the ModalEnabled property of the UserInputService to true.

Both of these will do exactly what you need. :)

Ad
Log in to vote
-2
Answered by 9 years ago
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson

Put this in a script in workspace. should work, im pretty sure.

0
Oh wait, fully read what you were asking, and what I said is wrong. Destr0i 0 — 9y

Answer this question