I have this script, which is a LEVEL up gui, that pops up when your leaderstats.lvl changes.
Anyways, i want it to make a level up sound. But where the sound is preloaded from a storage.
gui.Parent = player.Character.Head for i=0.01, 6 do wait(0.025) gui.ExtentsOffset = Vector3.new(0,3+i,0) end
You want the Preload method of the ContentProvider service.
--stolen straight from the wiki; this puts the asset into the content loading queue. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=12222058")
Put that at the top of this LocalScript, or in any LocalScript.