Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Code made by Aydenbluewells. Put in the ScreenGUI text button and make it a local script.
- local music = game.Workspace.Music -- Name the song "Music"
- script.Parent.MouseButton1Click:Connect(function()
- if music.Volume == 0 then
- music.Volume = 1
- else
- music.Volume = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement