So im making a gui and i want the buttons to play a sound when somebody click on it i tried doing
Helpbutton.MouseButton1Click:Connect(function()
Help.Sound:Play
wait(.1)
Help.Sound:Stop
end)
but then this error comes
Players.Noman538.PlayerGui.Help.LocalScript:3: Expected '(', '{' or <string>, got 'wait'
