So basically I created a script so if a player is a certain rank or lower in the group they can't use Shift Lock. I tested it with making it so it equals 255 which is my rank but it' still not working. I can still change my shift lock. Why?
game.Players.PlayerAdded:Connect(function(player)
if player:GetRankInGroup(4525647) <= 1 then
game.Players:WaitForChild(player).EnabledMouseLockOption = false
end
end)
