Vritix
|
  |
| Joined: 01 Jan 2011 |
| Total Posts: 2790 |
|
|
| 08 Aug 2015 05:42 PM |
You know how on your phone, when you play music it shows how the long the song is, and that bar that moves slowly towards the end so you know when it finishes..
How can I make that in ROBLOX? |
|
|
| Report Abuse |
|
|
East98
|
  |
| Joined: 17 Jun 2012 |
| Total Posts: 418 |
|
|
| 08 Aug 2015 05:46 PM |
Lets see youll need a ScreenGui, some Frames, a Sound to be played, and a local script that uses the Changed event to view the progress of the sound being played
--East98 |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 05:46 PM |
http://wiki.roblox.com/index.php?title=Sound#os.time http://wiki.roblox.com/index.php?title=API:Class/Sound/TimeLength http://wiki.roblox.com/index.php?title=API:Class/Sound/TimePosition |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 08 Aug 2015 05:46 PM |
| You write some stuff in a script that causes gui objects to do stuff based on information it gets from a Sound. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 05:46 PM |
| whoops, didn't mean to post the link to os.time, ignore htat |
|
|
| Report Abuse |
|
|
Vritix
|
  |
| Joined: 01 Jan 2011 |
| Total Posts: 2790 |
|
|
| 08 Aug 2015 05:47 PM |
| I know screenguis, TimeLength, TimePosition... just asking how to make the bar moving according to the amount of time left in the sound. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 05:49 PM |
| timeposition / soundlength |
|
|
| Report Abuse |
|
|
Vritix
|
  |
| Joined: 01 Jan 2011 |
| Total Posts: 2790 |
|
|
| 08 Aug 2015 07:03 PM |
| I know that, but how do I make it so the line size changes, depending on the TimePosition |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
| |
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 08 Aug 2015 07:17 PM |
| Honestly, if you know all that, and still can't think of even one way to do it, you should be gearing yourself up for more simple, repetitive tasks like factory work or tv watching. |
|
|
| Report Abuse |
|
|
Vritix
|
  |
| Joined: 01 Jan 2011 |
| Total Posts: 2790 |
|
|
| 08 Aug 2015 07:37 PM |
I can think of a way to do it, I just don't think it'll work.
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2015 07:38 PM |
TimeLength and TimePosition do not work in live servers, just in studio. C'mon admins, finish your own features!
BatMan.AncestryChanged:connect(function(child, parent) print(child,parent) end) > BatMan nil |
|
|
| Report Abuse |
|
|