Im trying to make it so when you press W a GUI gets disabled but it says Expected ')' (to close '(' at line 2), got
i don't really understand scripting that well but i tried to fix it but couldn't
here is the script btw
local m = game.Players.LocalPlayer:GetMouse()
m.KeyDown:connect(function(k)
k = k:lower()
if k == "w" then
script.Parent.Fist.Enabled = false
end
end
i tried adding ) to all around the second line but wouldn't help
(the title is weird because i had to make it "specific")

3 comments
Don't use keydown, it is deprecated (old code), instead use UserInputService
It's because you're trying to use a Roblox Utilized key with the deprecated KeyDown service. Roblox will prevent you from using keys 0-9, W, A, S, D, I, O, (I believe L for whatever reason) due to core scripts already using them. Use UserInputService InputBegan.
^