Trying to index stuff but I keep getting the following error
18:02:40.197 - An error occurred 18:02:40.197 - Script 'Players.Player1.CirrusBin.mouseLockCheck', Line 9 - global check 18:02:40.198 - Script 'Players.Player1.CirrusBin.mouseLockCheck', Line 18 18:02:40.198 - stack end
Here is my code. (I'm using the Cirrus Framework designed by Team Rudimentality)
--[[ Check if the player's MouseLock is on. --]] function check() if UserSettings().GameSettings.ControlMode.MouseLock == true then print("IT WORKS?!") else print("AWW...") end end while true do wait(1) check() end
It seems that UserSettings() is locked (requires level 4 elevation)