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

[Answered] When I take my songs folder (with a script) the script won't work, why?

this is the script (if you need to know). this script and the folder are in replicated storage when i clone, but then when i clone it into workspace it wont work. or just give me a script that activates another script ty

while true do
	local kk = math.random(1,4)

	print(kk)
	
	if kk == 1 then
		script.Parent.Songs.megalovania:Play()
		wait(316)
		script.Parent.Songs.megalovania:Stop()
	end
	
	if kk == 2 then
		script.Parent.Songs.Instrumental:Play()
		wait(77)
		script.Parent.Songs.Instrumental:Stop()
	end
	
	if kk == 3 then
		script.Parent.Songs.Insomnia:Play()
		wait(190)
		script.Parent.Songs.Insomnia:Stop()
	end
	
	if kk == 4 then
		script.Parent.Songs.Happy:Play()
		wait(114)
		script.Parent.Songs.Happy:Stop()
	end
end

3 comments

0

Where are you storing the sound?

0

workspace

0

and replicated storage

1 answer

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