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

How can i overlap sounds?

for i=1,10 do
    Tens.Text = math.random(0,9)
    Ding:Play() --Sound Effect
    wait(0.1)
end

How do i play the same sound effect multiple times without stopping the same currently playing sound effect? Basically how do i overlap the same sound effect multiple times.

P.S. If its possible.

4 comments

0

Clone the sound and make it play..

0

that is litterly the answer. u clone if to the player and then tell the script to play the sound over and over

0

clone the sound and use multiple scripts

0

Where did you define 'Tens

1 answer

For overlapping, it is simple. It is mainly possible with 4 lines, but with your 'Tens.text', it will become 5.

while true do
    Tens.text = math.random(0,9)
    Ding:Play()
    wait(0.1)
end

Hope this helped! If it didn't, reply to this answer, and I will try to fix the problem.

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