Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Music script doesn't work anymore since yesterday?

Asked by 8 years ago
Edited 8 years ago

2 days ago this was working just fine but yesterday it stopped.It's a music script.


local currentSong = Instance.new("Model") currentSong.Name = "CurrentSong" currentSong.Parent = game:GetService("ReplicatedStorage") function playSong(song) local c = currentSong:GetChildren() for i = 1, #c do if c[i]:IsA("Sound") then c[i]:Destroy() end end local newsong = song:clone() newsong.Parent = currentSong local hint = Instance.new("Hint") hint.Text = "Now playing: "..song.Name hint.Parent = game.Workspace game.Debris:AddItem(hint, 5.5) newsong.Playing = true if song:FindFirstChild("Length") then wait(song:FindFirstChild("Length").Value) else wait(120) end end
0
Have you done anything to the script what so ever since yesterday? Async_io 908 — 8y
0
No brokenrares 48 — 8y
0
Not nearly enough information is given to provide an accurate answer. ScriptGuider 5640 — 8y
0
When I go to ReplicatedStorgae and in the model, if I click the sound and go to properties it shows me that playing is true, volume is good but it won't play it brokenrares 48 — 8y

2 answers

Log in to vote
0
Answered by 8 years ago
Edited 8 years ago

If your sound in gui is broken make sure its in a local script!

Roblox has updatingsound alot.. take a look at this link it may can help be sure to read to comments too their helpfull too.

My sound was broken too a couple of days ago but I already fixed it by reading this.

I hope this helps you too.

Ad
Log in to vote
0
Answered by 8 years ago

ROBLOX usually does this, the best option would be to insert a sound in the explorer, and then do a script like this to see if it is truly broken:

script.Parent:Play()

If nothing plays, wait until the next patch :)

Answer this question