I want to change the shiftlock’s icon/crosshair (not the BoundKeys)
I already attempted to playtest my game and then copy paste the ModuleScript, then go over to PlayerModule > CameraModule > MouseLockController
to change this value specifically:
local DEFAULT_MOUSE_LOCK_CURSOR = "rbxasset://textures/MouseLockedCursor.png"
local CONTEXT_ACTION_NAME = "MouseLockSwitchAction"
local MOUSELOCK_ACTION_PRIORITY = Enum.ContextActionPriority.Medium.Value
The first line of code, where I would change this for example to…
local DEFAULT_MOUSE_LOCK_CURSOR = "rbxasset://textures/MouseLockedCursor.png"
to
local DEFAULT_MOUSE_LOCK_CURSOR = "rbxassetid://11783958279"
.
When I change it, the shiflock simply doesn’t work…
Sorry, I had a long time cropping some parts of the video, here’s a litttle showcase, and the ModuleScript is now in StarterPlayerScripts.
Edit: at the end I am pressing shiftlock.<
Not sure what the problem is now but I assume you can’t get into Shift Lock, you have to activate the Shift Lock Switch in the Setting when you play test