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

[Answered] When I take my songs folder (with a script) the script won't work, why?

Asked by 3 years ago
Edited 3 years ago

this is the script (if you need to know). this script and the folder are in replicated storage when i clone, but then when i clone it into workspace it wont work. or just give me a script that activates another script ty

while true do
    local kk = math.random(1,4)

    print(kk)

    if kk == 1 then
        script.Parent.Songs.megalovania:Play()
        wait(316)
        script.Parent.Songs.megalovania:Stop()
    end

    if kk == 2 then
        script.Parent.Songs.Instrumental:Play()
        wait(77)
        script.Parent.Songs.Instrumental:Stop()
    end

    if kk == 3 then
        script.Parent.Songs.Insomnia:Play()
        wait(190)
        script.Parent.Songs.Insomnia:Stop()
    end

    if kk == 4 then
        script.Parent.Songs.Happy:Play()
        wait(114)
        script.Parent.Songs.Happy:Stop()
    end
end
0
Where are you storing the sound? iOwn_You 543 — 3y
0
workspace GameStealerKid 79 — 3y
0
and replicated storage GameStealerKid 79 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

I just made the sounds 0, soz for all the trouble

Ad

Answer this question