So I have an intro for my game that has intro music. I am trying to find out how to make it to where when the player clicks play In the main menu the music stops.
To make something happen when you click a button, use the
GuiButton.MouseButton1Click:Connect()
event.
To make the music stop playing, do this:
--In a LocalScript or else it won't work GuiButton.MouseButton1Click:Connect(function() Music:Stop() end)