function MouseButton1Down()
script.Parent.Parent.Parent.Music = false --Music is the name of the script that holds the music
end
MouseButton1Down:connect()
i have this script in a button because i want the button to toggle the music in the game on and off. i have no idea what to do from here though! i think something is incomplete. help please.
local Music = script.Parent.Parent.Parent.Music function onClick() Music:Play() end script.Parent.MouseButton1Down:connect(onClick)
That will make it play...