How can I get it so that a sound plays in a certain radius and then gets softer as you get farther away from it. If it were in a part and I got next to it I would here the sound.
http://wiki.roblox.com/index.php?title=Sounds
By using the script below, you don't have to worry about preloading.(To my knowledge, since it is created on startup, it is loaded. Please correct me if my thinking is incorrect.)
local sound = Instance.new("Sound") sound.SoundId = "http://www.roblox.com/asset/?id=159688676" --Change the last numbers of the link to the id of your audio. sound.Parent = script.Parent sound:play()
If you need more help, feel free to PM me on Roblox!
I forgot to mention to put the script as a parent of a part, how silly of me!