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: local sound

Previous Thread :: Next Thread 
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:24 AM
how would i make a sound only play if the player is near the brick


- RBXDev Manager and Game Developer.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
11 Aug 2015 09:27 AM
"RBXDev manager and game developer"

That should answer your question.
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:28 AM
I'm asking for help. Not for a stupid thought on my signature.


- RBXDev Manager and Game Developer.
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
11 Aug 2015 09:29 AM
looool
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
11 Aug 2015 09:29 AM
But you're a 'game developer' you should at least know something simple like this.
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:30 AM
I am a game developer so will you just answer my question or leave the Scripters forum if you don't want to help people.


- RBXDev Manager and Game Developer.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
11 Aug 2015 09:31 AM
wow, being a 'game developer' now means that everybody must obey you?
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
11 Aug 2015 09:31 AM
the only scripting you need is sound:Play()

pstwikicouldhelpyou
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:31 AM
I tried that lol it plays when im far away


- RBXDev Manager and Game Developer.
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
11 Aug 2015 09:32 AM
pstwikicouldhelpyou [2]

owait are you too lazy to go there
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:33 AM
wiki doesnt help it just puts random words that mean nothing to help you it just defines the thing and doesnt show how to use it


- RBXDev Manager and Game Developer.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
11 Aug 2015 09:34 AM
if you understood how to script, then the wiki would make more sense.
Report Abuse
TheDEVmans is not online. TheDEVmans
Joined: 27 Jul 2015
Total Posts: 145
11 Aug 2015 09:34 AM
Like really if your not going to help someone just stfu k? Like this is the help forums you dont have to be rude to someone for something so childish.
And You would have to make a block that is being touch but that is transparent and Can be walked through then add the script to that i think you would be a touch script so when they touch it it will call a function which would be the sound.
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
11 Aug 2015 09:35 AM
i can script now shush let this post die out


- RBXDev Manager and Game Developer.
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
11 Aug 2015 09:35 AM
"And You would have to make a block that is being touch but that is transparent and Can be walked through then add the script to that i think you would be a touch script so when they touch it it will call a function which would be the sound."

you didnt help either
you should just stfu
Report Abuse
TheDEVmans is not online. TheDEVmans
Joined: 27 Jul 2015
Total Posts: 145
11 Aug 2015 09:39 AM
part = script.parent

function lol(hit)
print(hit.Name) -- this prints the name of the part that touched it
end

part.Touched:connectlol()

This would be the simple syntax now instead of the print command play your sound k.
Report Abuse
omegashawn123 is not online. omegashawn123
Joined: 27 Sep 2013
Total Posts: 269
11 Aug 2015 09:42 AM
bump
Report Abuse
DivinePheonix is not online. DivinePheonix
Joined: 30 Mar 2011
Total Posts: 11190
11 Aug 2015 09:54 AM
Your forum signature really makes me doubt you're in the real RBXDev.
Anyways you should've checked the wiki article on Sounds and read that putting a sound in a brick is local, and plays relative to players position.
Report Abuse
DJ3SkullsOfficial is not online. DJ3SkullsOfficial
Joined: 05 Oct 2014
Total Posts: 101
11 Aug 2015 10:07 AM
One does not simply post a reply to a question asking for help and not give any helpful information. The "Wiki" doesn't always help people, so do me, and possibly a large fraction of the forums a favour: Stop trying to be an imperative little drib then that'd be greeeaaat and we'd all get along, thanks. c:
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
11 Aug 2015 10:09 AM
If you mean 3D sound, that's built into the game already. Just play an audio from a part in workspace.
Report Abuse
sharpchain1 is not online. sharpchain1
Joined: 05 Aug 2013
Total Posts: 1009
11 Aug 2015 10:14 AM
p = workspace.Part
plr = workspace.AdvancedDrone
sound = Instance.new("Sound", p)
sound.SoundId = "SoundIdhere"


while true do
wait(0.1)
if (plr.Torso.Position - p.Position).magnitude <= 10 then
sound:Play()
wait(sound.TimeLength)
sound:Stop()
end
end

And btw remove your dumb signature if you cant figure out something simple like this you are no Game Developer or Roblox Dev Manager


You like Clash of Clans? Play here: http://www.roblox.com/games/269441119/Clash-of-Bloxians-Beta
Report Abuse
FloweryMonkeyboy5 is not online. FloweryMonkeyboy5
Joined: 19 Sep 2012
Total Posts: 528
11 Aug 2015 10:22 AM
Use filteringenabled and insert the sound via a localscript


VB.NET, C#, C++, PHP and much more
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