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

Re: Music Brick that is only heard in Edit mode

Previous Thread :: Next Thread 
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
22 Sep 2013 11:41 PM
I made a music brick that contains a legit Sound audio file and contains a script that has only one line of code, which plays the music.

The problem is that the music can only be heard in Edit mode. Why is this? I checked it in Build mode, and it is obviously Playing but I can't hear it.
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
22 Sep 2013 11:41 PM
(If this belongs in Scripting Help or Technical Issues then please redirect)
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
23 Sep 2013 02:08 AM
le bump
Report Abuse
tahu157 is not online. tahu157
Joined: 16 Nov 2008
Total Posts: 15045
23 Sep 2013 10:12 AM
How long is the sound?

You can't hear a sound unless you are there for the very beginning of the sound.

The sound starts playing at time T, so If you join at time T+1, then you won't hear the sound until it is finished playing and starts over again.

So if you have a long sound, like a song, and you miss the start, then you won't hear anything until the sound has finished.

Try waiting awhile and see if you can hear the sound after the time the sound normally takes to play has passed. Or you could make the sound wait awhile before playing so that you don't miss the start in the first place.
Report Abuse
laughablehaha is not online. laughablehaha
Joined: 19 Apr 2012
Total Posts: 2495
23 Sep 2013 04:02 PM
You actually answered my question I have been storing for a few weeks!

I recommend that this thread should be posted in Scripting Helpers because you don't build music!
Report Abuse
tahu157 is not online. tahu157
Joined: 16 Nov 2008
Total Posts: 15045
23 Sep 2013 06:45 PM
You don't script sounds either.

Any "how to" questions that are not about a script belong in BH.
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
23 Sep 2013 09:13 PM
I'm doing everything right... so i'm wondering if i'm doing something that is only available for Edit mode only?

Recap: in Edit mode, the music plays correctly and loops normally. In Build/Play, it doesn't do anything. It claims its Playing but there is no audio.
Report Abuse
tahu157 is not online. tahu157
Joined: 16 Nov 2008
Total Posts: 15045
23 Sep 2013 09:27 PM
Hmm.

You said you are using a one line script? Presumably:

script.Parent:Play()


Try using this instead:

while (true) do
wait (3)
script.Parent:Play()
wait(1)
script:destroy()
end
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
23 Sep 2013 09:31 PM
I rewrote the script to include "while true do"/"end" and "script.Disable" (ONCE the music starts playing).

It doesn't work, but i'll try out your idea.
Report Abuse
tahu157 is not online. tahu157
Joined: 16 Nov 2008
Total Posts: 15045
23 Sep 2013 09:36 PM
If you have already tried running it in a loop, then my script won't change anything.

I'm not sure what to tell you.
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
23 Sep 2013 09:39 PM
Not sure if this is a Roblox issue or just not scripted correctly
Report Abuse
tahu157 is not online. tahu157
Joined: 16 Nov 2008
Total Posts: 15045
23 Sep 2013 09:41 PM
Some other people have complained about this problem recently.

I haven't experienced it myself, but you are not the only one.
Report Abuse
Elaborative is not online. Elaborative
Joined: 05 Apr 2012
Total Posts: 1799
23 Sep 2013 09:42 PM
Can someone please help? (oh btw thanks @above for the attempted help)

I have tried everything I can but its not working. If anyone can get a Mod, they can probably see to the issue with better knowledge.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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