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 » Scripting Helpers
Home Search
 

Re: One of my disasters are broken

Previous Thread :: Next Thread 
DarkZendar is not online. DarkZendar
Joined: 15 Aug 2010
Total Posts: 222
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
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
21 Jun 2012 08:16 PM
well possibly but i think roblx took off the custom sound input due to dirty music
Report Abuse
DarkZendar is not online. DarkZendar
Joined: 15 Aug 2010
Total Posts: 222
21 Jun 2012 08:18 PM
I have tested the sound and it works 100%
Report Abuse
Uuvinu is not online. 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
DarkZendar is not online. DarkZendar
Joined: 15 Aug 2010
Total Posts: 222
21 Jun 2012 09:10 PM
I tried that
Report Abuse
DarkZendar is not online. DarkZendar
Joined: 15 Aug 2010
Total Posts: 222
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
DarkZendar is not online. DarkZendar
Joined: 15 Aug 2010
Total Posts: 222
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 is not online. 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 is not online. 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 is not online. Uuvinu
Joined: 19 Apr 2012
Total Posts: 2206
21 Jun 2012 10:17 PM
You could have added the :Play() yourself.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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