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

My sound keeps cutting?

Asked by 10 years ago

Hi there. I'm fairly new to scripting anything at all. 0w0 Though I've played around with the audio files. I've uploaded some of my own and put them into my game. At first, I tried one song, had it edited to under 120 seconds. It played all that was cut. Then I decided to add on three more songs, cut to fit under 120 seconds. I used this (http://www.roblox.com/Multiple-Songs-item?id=160578350) for multiple songs, and I guess it kinda works? I don't know if it's this that's the problem, or if I'm doing something wrong. Anyway, it won't fully play the amount of time I cut into the song, like it did the first time with only one song. It just cuts in the middle of it and skips to the next file, and doing it to that one as well. Can anyone help me?

1 answer

Log in to vote
1
Answered by 10 years ago

First of all. The music is limited. Second of all. If you are new at this. It would be much easier to just do

while true do script.Music1:Play() wait(120) script.Music2:Play() end

To check how long the music is. Turn on the console and write this on a script and time it perfectly I suggest creating a second script first one will be the music itself

while true do script.Music1:Play() wait(120) --Or set longer if you don't know how long it is and it wouldn't play over the first one end

Second script x = 0 while true do x = x + 1 print (x) end

That second one is going to write how long it has been. After you set up everything. It should work. If you still don't know how. Contact me either on Roblox (OGAgenys) Or on Skype (artutis100) And we can see what we can do.

Ad

Answer this question