function OnClick(clicked)
while true do
script.Parent.Parent.Sound1:Play()
wait(120)
script.Parent.Parent.Sound1:Stop()
wait(.1)
script.Parent.Parent.Sound2:Play()
wait(120)
script.Parent.Parent.Sound2:Stop()
wait(.1)
script.Parent.Parent.Sound3:Play()
wait(120)
script.Parent.Parent.Sound3:Stop()
wait(.1)
script.Parent.Parent.Sound4:Play()
wait(120)
script.Parent.Parent.Sound4:Stop()
wait(.1)
script.Parent.Parent.Sound5:Play()
wait(120)
script.Parent.Parent.Sound5:Stop()
wait(.1)
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
What's wrong?

1 comment
Is it supposed to be 0nClick instead of onClicked or is that just a typo?