Toggle Shift lock

I want to be able to force shift lock but be able to disable it. I have seen topics about this but they are either outdated or i can’t figure it out. I want it to lock it when you are in game but be disabled when you are in the lobby like Rumble Quest. A step by step guide or something simular would be really
appreciated. Thanks in advance!

5 Likes

Toggle StarterPlayer.EnableMouseLockOption

That just does so you can have shift lock, i want the character to be automaticly put in to shift lock.

game.StarterPlayer.EnableMouseLockOption = true
1 Like

As i said, that is just giving you the option to have shift lock, i want to make so when you move your mouse the player turns, and i want to be able turn that on and off.

1 Like

Please search before you make posts:

As i also said, i did find those topics but it didn’t work for me and they are to old to get any help.

1 Like

July 29th isn’t exactly outdated, anything from 2017 should still work as long as it relies on filteringenabled.

4 Likes

Thank you so much, i did not find that topic before and it worked, i am sorry that i am a noob.

1 Like