Hi! I am working on a little coin hunt for a few friends and I need some help. In order to reach some of the coins, the user needs to have shift lock enabled. I tried to have a Local Script in StarterPlayerScripts check if it was disabled then if it was it would show a UI. However, it won’t work for some reason. Any help?
local usettings = UserSettings():GetService("UserGameSettings")
while wait(1) do
if usettings.ControlMode == false then
game.StarterGui.ShiftLockDisabled.Frame.Visible = true
else
game.StarterGui.ShiftLockDisabled.Frame.Visible = false
end
end
I do not receive any errors either.