|
| 21 Jun 2012 08:13 PM |
Hello, I have been working on a "Haxor" disaster for my "Survive the Disasters!" game.. I was wondering.. is there a way to make music play for 45 seconds, then stop? Also I have a problem with my follow script but I can try to fix that myself, if not I will make another post.. If you want to check it out yourself it is here
http://www.roblox.com/Model-99-item?id=84315422
Thanks |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2012 08:16 PM |
| well possibly but i think roblx took off the custom sound input due to dirty music |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2012 08:18 PM |
| I have tested the sound and it works 100% |
|
|
| Report Abuse |
|
|
Uuvinu
|
  |
| Joined: 19 Apr 2012 |
| Total Posts: 2206 |
|
|
| 21 Jun 2012 08:56 PM |
Yes.
wait(45) sound:Stop()
or something like that. i dunno. |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Jun 2012 09:24 PM |
Alright so.. "Haxor" starts out in lighting and goes into workspace when its his turn for disaster.
Haxor = game.Workspace.Haxor Music = game.Workspace.Sound
if Haxor == nil then Music:Stop() else Music:Play() end |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2012 09:49 PM |
Nevermind I got it ... you will laugh if i show you how easy it was...
Music = game.Workspace.Sound
Music:Play() wait(40) Music:Stop() |
|
|
| Report Abuse |
|
|
Uuvinu
|
  |
| Joined: 19 Apr 2012 |
| Total Posts: 2206 |
|
|
| 21 Jun 2012 10:09 PM |
| ... That's exactly what I gave to you.. -_- |
|
|
| Report Abuse |
|
|
CrasyTrex
|
  |
| Joined: 13 Mar 2011 |
| Total Posts: 761 |
|
|
| 21 Jun 2012 10:15 PM |
| Uuvinu you forgot the :Play you just put the :Stop |
|
|
| Report Abuse |
|
|
Uuvinu
|
  |
| Joined: 19 Apr 2012 |
| Total Posts: 2206 |
|
|
| 21 Jun 2012 10:17 PM |
| You could have added the :Play() yourself. |
|
|
| Report Abuse |
|
|