I put a clickdetector in the part, and then put the script in the model as well. But nothing happens. This is the script.
connect(function() Sound1-Play() wait(26) --Wait Sound2-Play() wait(300) Sound2-Stop() wait(1) Sound3-Play() end)
And i put the audio in the script.
Uhhh... You forgot to format your code in a Lua Code Block. Just click the Lua button and place your code between the ~~~~.
Anyway, for your code, you need to make a reference to the Sounds! Also, you can just make the code to wait for the sound to end as well. Let me show you!
script.Parent.MouseButton1Click:connect(function() script.Sound1:Play() script.Sound1.Ended:wait() script.Sound2:Play() script.Sound2.Ended:wait() script.Sound3:Play() end)
If you have any questions, please leave a comment below. Thank you and I hope this will help you!
You said you put the clickdetector in a model. Or do you mean a part?