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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Is there a way to play certain music in a certain area?

Previous Thread :: Next Thread 
DanGalaxy is not online. DanGalaxy
Joined: 17 May 2016
Total Posts: 169
03 Sep 2016 06:16 PM
I'm working on this complex obby with the a storyline, but I'm trying to figure out how to play one song in only a certain area or radius. Does anyone know how to do that? If so, can you paste the command here and explain it through?


Report Abuse
DanGalaxy is not online. DanGalaxy
Joined: 17 May 2016
Total Posts: 169
03 Sep 2016 06:21 PM
B1.


Report Abuse
xxsquidisrarexx is online. xxsquidisrarexx
Joined: 06 Feb 2014
Total Posts: 118
03 Sep 2016 06:23 PM
Just put the sound in an invisible brick in the area turn the volume down so when you leave the room it fades out.
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
03 Sep 2016 06:28 PM
@squid

worst idea ever

just do

local sound = game.Workspace.Sound
local sound1 = game.Workspace.Sound1

local part = game.Workspace.Part

part.TouchBegan:connect(function(player)
sound:Play()
end

part.TouchEnded:connect(function(player)
sound1:Stop()
end

Report Abuse
seliso is online. seliso
Joined: 30 Jan 2011
Total Posts: 6443
03 Sep 2016 06:34 PM
you could use Region3 to see if a player is in an area or you could use magnitude.
Report Abuse
seliso is online. seliso
Joined: 30 Jan 2011
Total Posts: 6443
03 Sep 2016 06:35 PM
http://wiki.roblox.com/index.php?title=API:Region3

http://wiki.roblox.com/index.php?title=Magnitude
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