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

Another sound error?

Asked by 10 years ago

It says MusicBlock is not a valid member of Workspace? It says this is the script on the roblox wiki to play audio. What do I do? I'm confused.

local sound = Instance.new("Sound") sound.SoundId = "http://www.roblox.com/The-Opening-MitiS-item?id=142320162" sound.Parent = game.Workspace.MusicBlock

0
First off, SoundId is a NUMBER, so remove the link and put the soundId which is the numbers at the end of the link. Also, the error is saying MusicBlock is NOT in Workspace. Lacryma 548 — 10y

Answer this question