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

How can i make the game start with shiftlock? [closed]

Asked by 4 years ago

I want to start the game with shiftlock or when i equip a tool shiftlock turn on automatically. Can someone lend me a guiding hand?

Closed as Not Constructive by Lakodex, killerbrenden, User#32819, and JakyeRU

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 4 years ago
Edited 4 years ago

Refer to this for the answer. A quick google search and you would have found this. https://devforum.roblox.com/t/how-can-i-force-shift-lock/239206/10

Ad
Log in to vote
0
Answered by
JesseSong 3916 Moderation Voter Community Moderator
4 years ago

To turn of shiftlock automatically you have to do this

game.StarterPlayer.EnableMouseLockOption = true

Note: I didn't script it when a player equipped a tool but all you have to do is when the tool is activated then do the same thing.

Log in to vote
0
Answered by
Lakodex 711 Moderation Voter
4 years ago

Hello there! I am HeyItzscoop. This is not an Asking website so I cannot assist you as its against the community Guildelines to answer to questions and not let the person try to make a script themselfs! Please read Community Guildelines Before using this platform! The important Community guidelines part for this post is in the Website Guidelines in Community Guidelines in 2, 3