I am trying to create a in-game soundboard system where players can trigger sounds like cheers or laughs by pressing buttons. I’m not great at programming & have not found much information on this.
Any chance you could help or point me in the right direction? Thanks!
Make a localscript, put it in starterGui or somewhere similar, add a sound into the script called ‘Sound’. Now, if you press Q it’ll play that
local UserInputService = game:GetService('UserInputService')
UserInputService.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.Q then
script.Sound:Play()
end
end)