generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: What's wrong with Sound.TimeLength?

Previous Thread :: Next Thread 
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
18 Sep 2015 05:46 PM
Has it not even been added yet?
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
18 Sep 2015 05:47 PM
It works for me. The only tests I've done with it are in local audio files though, but I'd assume that that doesn't really have much to do with it. I assume it works by loading the data into memory, and then getting the length from that data there. Maybe you just have to wait for it to load.
Report Abuse
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
18 Sep 2015 05:51 PM
how do i wait for it to load i tried waiting 10 whole seconds and it still returned timelength 0
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
18 Sep 2015 05:53 PM
Are you sure that you actually load an audio file with a proper sound id? Try playing the Sound object and see if it does anything. If it's not that, then I'd assume it's something to do with FE and improper client/server communication.
Report Abuse
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
18 Sep 2015 05:56 PM
It's a proper soundId, the sound object plays, and the whole thing is done on a server script within serverscriptservice
XD

are you sure that update has even been added?
its not working at all and it really should
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
18 Sep 2015 05:57 PM
It only works in localscript/modulescript required by localscript
Report Abuse
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
18 Sep 2015 06:02 PM
that is stupid as hell, why would they make it so difficult to just play a damn song
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
18 Sep 2015 06:05 PM
It's logical to play the sound on the client, considering that the server doesn't have speakers.

This is why you can't access things like the Camera and Mouse from the server, cause that is just plain dumb
Report Abuse
CLIMAXIMUS is not online. CLIMAXIMUS
Joined: 22 Jun 2012
Total Posts: 1738
18 Sep 2015 06:06 PM
uhg ok
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image