It sends a error that says Character is not a valid member of Player? Code:
local Mouse = game:GetService("Players").LocalPlayer:GetMouse() local Audio = Instance.new("Sound") Sound.Parent = player.Character Sound.SoundId = "9858343944" Mouse.KeyDown:Connect(function(Key) if Key == "W" then Mouse.KeyDown:Connect(playsound) Sound:Play() Mouse.KeyUp:Connect(stopsound) Sound:Stop() end end)
