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

How to skip a certain part of a sound file?

There's a part in a sound file that i'd like to use but it's in the middle of the sound playing.

Is there a way to skip the part that i don't need?

2 comments

0

If I answered your question, PLEASE ACCEPT IT.

0

whoops sorry about that i don't jave internet during the holiday

1 answer

✓ Accepted answer
local sound = script.Sound
local whenToSkip = 10	 -- 10 seconds into the sound
local howMuchToSkip = 5

wait(1)

sound:Play()

wait(whenToSkip) -- Wait until the song plays for this long

sound.TimePosition = sound.TimePosition + howMuchToSkip

Feel free to change the whenToSkip and howMuchToSkip variables as you like.

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