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: can i trust audio to not delay?

Previous Thread :: Next Thread 
iHypered is not online. iHypered
Joined: 09 Nov 2010
Total Posts: 2751
20 Aug 2017 03:39 PM
im adding audio to some places, for example countdown. like im using smash bros 3 2 1 go sound with the text saying 3 2 1 go, and its completely synced with my pc, but will it always be synced? it is in the same script that changes the text that plays the audio


Report Abuse
hokyboy is not online. hokyboy
Joined: 31 Jan 2014
Total Posts: 115
20 Aug 2017 03:42 PM
use a this
game.Players.PlayerAdded:connect(function(player)
here your first script
wait()
here your second script
end
this will work i think
Report Abuse
Zued is online. Zued
Joined: 18 May 2015
Total Posts: 506
20 Aug 2017 03:43 PM
If you preload the sounds you should be fine. unless the audio has a 1 second delay before it plays the countdown.


Report Abuse
iHypered is not online. iHypered
Joined: 09 Nov 2010
Total Posts: 2751
20 Aug 2017 03:44 PM
@hokey, im playing the sound within the main game script


Report Abuse
Ajastra is not online. Ajastra
Joined: 01 Aug 2017
Total Posts: 1461
20 Aug 2017 03:46 PM
Yeah, you're going to want to preload the sounds.


Report Abuse
iHypered is not online. iHypered
Joined: 09 Nov 2010
Total Posts: 2751
20 Aug 2017 03:47 PM
can i preload in a local script in like startgui and then play the audio in main game script, or does preload have to take place in the same script?


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