due to the new ways to create a ctrl lock system and the fact the old method will stop working in a little bit I thought to make this (not sure if anyone else has yet )
just place it in game.StarterPlayer.StarterPlayerScripts
THIS WILL ONLY WORK IF YOU HAVE
game.Workspace.PlayerScriptsUseInputActionSystem = true
https://create.roblox.com/store/asset/116809795743643/NEW-CtrlLock
READ THESE TO FULLY UNDERSTAND THE NEW UPDATES:
Hi Creators!
Input Action System (IAS) is now fully released, with robust support for hardware bindings and action types universally available to support all your games . IAS unlocks a future where input on Roblox is modular, scalable, and cross-platform – you can build a shooter, driving simulator, or action game whose control schemes adapt on the fly if a player switches hardware mid-game, like plugging a Gamepad into their laptop. IAS also serves as a foundational pillar for our next…
Note: I will have to edit this guide once there is more info about InputBinding:Fire and Scriptable. InputAction:Fire was deprecated.
Introduction
This here is a guide on how to migrate the old PlayerModule to the new one. This is only relevant to you if you have scripts in your game that depend on the PlayerModule, e.g. :GetControls as mentioned here:
I tried to look for code bases to cover most cases that used PlayerModule in some way.
But there isn’t really a lot that has to be changed.…