Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to force the shiftlock when a tool is equipped?

guys i need help to force the shiftlock when a tool is equipped and when we unequip the tool the shift lock disable

1 answer

u can do that theres an event when the player has it equipped then he set by starterplayer that he there change enable mouselock ( i guess)

the script:

oh ye u need a localscript

``

local parent = script.parent

parent.equipped:connect(function()

game.starterplayer.EnableMouslock = true --enablemouslock or something

end)

``

4 comments

0

can u do the script please i dont understand

0

set the script ( localscript) in the tool

0

and how to do when we unequip ?

0

this doesn't work

This discussion is preserved as it was. New answers, comments, and votes are closed.