So I tried making an obby game / a simulator combined into one. (I used cam guy’s pet system since I’m new to coding) but anyways I found a bug and I don’t know how to fix it at all. I’ve searched for more then 3 hours and tried multiple different scripts and even checked every single button if modal was enabled. None of that worked. My problem is that you can move your mouse during shift lock and it doesn’t turn with your cursor unless your holding down your mouse. I have attached a video to show the problem as well. I would like for someone to help me as I have no clue how to fix this and I need shift lock for my game.
2 Likes
There are two possibilities,
- This is a system bug - For awhile certain actions on Mac would temporarily break shiftlock in this way, needing you to reset your character, or sometimes reload the game.
- You missed a modal.
You can try running this code to disable all modals in StarterGui;
local StarterGui = game.StarterGui
local descendants = StarterGui:GetDescendants()
for i,v in pairs(descendants) do
if v:IsA("GuiButton") then
if v.Modal == true then
v.Modal = false
warn(v," had modal enabled.")
end
end
end
Run that in the console to disable all modals.
4 Likes
I will try this when I wake up thank you
1 Like
I tried that script today and the shift lock is still broken. I did find these and I wonder if these have something to do with it.
1 Like
This helped me with a current issue, thank you so much
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.