Hello Everyone so im getting better and better at scripting in days but i still dont know how to make that if you click Q button in your keyboard and its be detected by roblox so its play sound i tried like this but its dont work.. Help Play Sound When KeyDown? And Stop when clicked again
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "q" then
game.Workspace.Sounds.MENU:play()
I tried this script in localScript,And Normal Script.. Thanks If you will help me! And good luck.

3 comments
did you put 'end)' at the end of the script?
nop
but its still dont works.