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

How do I fix first person mouse lock from moving out of the center?

Asked by 6 years ago
Edited 6 years ago

When I go in first person the mouse moves out the center

It might be because of an invisible gui that covers the screen but I don't know how to fix my mouse from it

i actually use the gui, so once u spawn in the frame appears and it covers the whole screen

0
show you're code WideSteal321 773 — 6y
0
I don't have code?? Bloxulen 88 — 6y
0
there isn't any code that causes this Bloxulen 88 — 6y
1
Do you have any GUIs with the “Modal” property checked? If so, try unchecking them. That property “unlocks” the mouse when it’s supposed to move in the center. Also, if that doesn’t work and you have a whole GUI covering your screen, like a frame, try disabling the “Active” property. User#20279 0 — 6y
0
frame is not active but still is doing the same thing Bloxulen 88 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago

Do not make the Gui invisible go to the screen gui's property's and there you are able to toggle the Enabled checkmark or do it like this in a script

game:GetService("Players").LocalPlayer.PlayerGui."GuiName".Enabled = true

or

game:GetService("Players").LocalPlayer.PlayerGui."GuiName".Enabled = false
0
i actually use the gui, so once u spawn in the frame appears and it covers the whole screen Bloxulen 88 — 6y
0
then try to un check the checkbox "visible" of the Frame EnderPowerHD 98 — 6y
Ad

Answer this question