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

would this sound script work?

Asked by 10 years ago
local sound = game.Workspace.Sound1
local soundt = game.Workpsace.Sound2
wait(1)
while true do
script.Parent.sound:Play()
sound.Looped = true

wait(121)
script.Parent.sound:Stop()
script.Parent.soundt:Play()
soundt.Looped = true

wait(241)
script.Parent.soundt:Stop()

end
0
Don't ask us, test it. If it doesn't work tell the error from output. Vividex 162 — 10y
0
^ But it looks like it should work Tempestatem 884 — 10y
0
^ Vividex 162 — 10y
0
I agree that it should be tested, but it doesn't look like it would work...script.Parent.game.Workspace.Sound1...? Aethex 256 — 10y

1 answer

Log in to vote
0
Answered by
MrFlimsy 345 Moderation Voter
10 years ago

This would work as long as there is an object called sound, and an object called soundt inside the script's parent.

The 2 variables set at the start are useless, as you never end up using them in the code.

Ad

Answer this question