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

New Sound Property?

Hi, I heard there is a new Sound Property called "Time.Lenght" and I never knew how to use it even though it's on the wiki but it shows no example.

Is it still in Development or just not written anywhere?

Thanks.

1 answer

✓ Accepted answer

I'm thinking you would use it like any other property.

	print(Sound.TimeLength)

According to the wiki, it returns the time in milliseconds, so if you wanted to find the length of a sound in seconds, you would do:

	print(Sound.TimeLength / 1000) -- 1000 ms = 1 second

1 comment

0

Alright, thanks.

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