Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How to play two Audios at the same time?

Asked by
woodengop 1134 Moderation Voter
10 years ago

When I tried Make 2 audios play at the same time, By using this:

Game.Workspace.Sound:Play()
then
Game.Workspace.Sound:Play()

end

It didn't work. Please Reply back.

2 answers

Log in to vote
1
Answered by
Xianon 105
10 years ago

Remove the "then" statement.

0
But how should I separate the 2 audios? woodengop 1134 — 10y
0
You don't need to separate them. Just put a space beetwen them. Xianon 105 — 10y
0
Oh ok Thanks. woodengop 1134 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

This is my own way of playing two Audios at once. :P

wait(0)
c=workspace:children()
for i=1,#c do
if c[i].className=="Sound"then
if c[i].Name=="NAME"or c[i].Name=="NAME"then
c[i]:Play()
end end end

Answer this question