Advertisement
foxywolf233

change shiftlock key

Jun 28th, 2022
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local NewLockKey = "E"
  3. local MouseLockController = Players.LocalPlayer.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("CameraModule"):WaitForChild("MouseLockController")
  4. local Object = MouseLockController:FindFirstChild("BoundKeys")
  5. if Object then
  6. Object.Value = NewLockKey
  7. else
  8. Object = Instance.new("StringValue")
  9. Object.Name = "BoundKeys"
  10. Object.Value = NewLockKey
  11. Object.Parent = MouseLockController
  12. end
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement