Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why won't this music play?

Just to let you know I am a beginner in LUA.

while true do wait(60) script.Music.Pitch = 1 script.Music:play() end

while true do wait(100) script.Music:play() end

This is the sound in the script: http://www.roblox.com/The-Opening-MitiS-item?id=142320162

The sound will not play.

1 comment

0

You should use " while wait(time) do' instead, and also you should check out preloading in the wiki.

1 answer

while true do
wait(60)
script.Parent.Music:Play()
script.Parent.Sound.Pitch = 1
end

+1 up if this worked

This discussion is preserved as it was. New answers, comments, and votes are closed.