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: Preloads sound, reloads anyway

Previous Thread :: Next Thread 
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 02:03 PM
Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=1280463")

I load this sound on spawn in a localscript, but when I play the sound, the game freezes temporarily anyway, why does this happen if I already loaded the sound?
Report Abuse
TheGuestSix is not online. TheGuestSix
Joined: 15 Feb 2013
Total Posts: 22
22 Apr 2013 02:04 PM
1st
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 02:18 PM
Bump
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
22 Apr 2013 02:19 PM
Happened to me before, though sounds never crashed my game
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 02:31 PM
I just want to eliminate a freezing problem when I load this huge sound.
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 02:54 PM
Bump, the game freezes when it loads the sound, and resumes.

The thing is the sound should already be loaded?
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 03:15 PM
Srs bump, please help
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 03:30 PM
If it helps, the sound is in the Players Gui. Would it work if it was in Soundscape?
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 04:01 PM
Bump!
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 04:20 PM
Bump!!
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 04:27 PM
Wow ForeverAlone
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
22 Apr 2013 05:40 PM
Does this only work online

because I only tried this in Start Server > Start Player
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
23 Apr 2013 06:33 PM
Bump
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 06:34 PM
Are you talking about when the thing goes down, and the round starts, it freezes?

Please fix that, because it makes you a little late on starting the round...
Report Abuse
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
23 Apr 2013 06:36 PM
http://www.roblox.com/asset/?id=1280463

Isn't a sound is it?

-Shedletsky is 1 kool kat!~
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
23 Apr 2013 06:38 PM
Yes it is
http://www.roblox.com/Chrono-Trigger-Theme-item?id=1280463
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
23 Apr 2013 06:38 PM
Idk, but this is what is was meant to be

http://www.roblox.com/asset/?id=11420933

I'm trying to fix the lag for when the game starts by preloading this on spawn, but it totally disregards it and just reloads anyway.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 06:39 PM
Try loading it when the player gets in the lift
Report Abuse
jhend27513 is not online. jhend27513
Joined: 17 Sep 2011
Total Posts: 3369
23 Apr 2013 06:40 PM
Never messed with sounds. Also never had this problem!
Can't you just do :

while true do
wait(0.03)
--script
end

?
I don't really know what is wrong.

-Shedletsky is 1 kool kat!~
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
23 Apr 2013 06:41 PM
try loading the sound yoursef, it freezes the game temporarily. I'm only following what the wiki says and it's failing badly.
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
23 Apr 2013 06:41 PM
@Blox
Now its not a sound lol

http://www.roblox.com/TOPW-item?id=11420933
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
23 Apr 2013 06:46 PM
I'm tired, i'm interpetting what you said as "Its not valid"'

When the game starts it plays that id. It freezes though during the loading, and thats what i told the game to preload earlier, but it appears like it didnt.
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
23 Apr 2013 06:47 PM
Use Preload everytime the game loads it, then wait?
Report Abuse
crazyblox is not online. crazyblox
Joined: 16 Mar 2008
Total Posts: 6139
23 Apr 2013 06:51 PM
I did have it preload about 7 seconds before use, but still it reloads the sound.

and spawning too, im really confuzzled
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 07:26 PM
is the sound on looped
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