Having trouble for a while now:
if game.Workspace:FindFirstChild("Music") then game.Workspace:WaitForChild("Music"):Stop() game.Workspace:FindFirstChild("Music"):remove() end
I added prints inbetween and they both ran ("Stopped"), ("Removed") yet the sound continued to play..? before their was a Sound called 'Instance' in workspace and it was removed but wasn't stopped, not sure why it's not stopping.
This is how it's created:
function CreateSound() Music = Instance.new("Sound") Music.Name = "Music" Music.Looped = false Music.Parent = game.Workspace Music.PlayOnRemove = false end