Hello everyone, I am making a Gui shop and I want one button to open the shop Gui. That part of my script works and all but I also added a part that plays a sound when you click it because it adds to the button hugely. It doesn't ruin the script but, it doesn't play the sound..
function die() script.Parent.Parent.ShopGui.Visible = true Game.Workspace.StartGui.Sound:Play() wait() end script.Parent.MouseButton1Down:connect(die)
Specific Line:
Game.Workspace.StartGui.Sound:Play()
I put the sound in StarterGui because I only want the person who clicked it hear it, that may be a the problem but if you can help I would really appreciate it! Thanks!