So I have my script, and I want to figure out how to make the sound play locally.
I have been trying to work out how to make a sound play locally once I click a brick, but nothing will work due to my very basic understanding of lua.
Frame.Visible = true wait (5) Frame.Visible = false end)
This is the part of the script I want to edit.
I want to make it so that, once my GUI pops up, a sound plays as well. So its something like
Frame.Visible = true --(right here is where the local sound playing script would be) wait (5) Frame.Visible = false end)
Also, I wont be trying to make it so that the GUI and the local sound script are separate scripts, because I think one of them will interfere with the GUI script.
To play a sound locally you should use a localscript to play it. In your case, I would put it inside the GUI and then play it with a localscript.