Hello, I think this has an easy fix but
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key:lower() == "l" or key:upper() == "L" then
game.SoundService.TheBox.Play = true --The sound
end
end)
I am trying to access a sound in SoundService by pressing the key "L" or "l" but it doesn't work...
More Information
-It is a local Script
-The Local script is inside a text label
-"The Box" Music is found in "SoundService"

2 comments
I recommend posting the error as well. If you have one in the output. It helps a decent amount in solving the issue.
you ars trying to know if the player pressed L in keyboard? why need the nouse then? cause if so, you can use UserInputService