|
| 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 |
|
|
|
| 11 Aug 2015 09:27 AM |
"RBXDev manager and game developer"
That should answer your question. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
| |
|
|
| 11 Aug 2015 09:29 AM |
| But you're a 'game developer' you should at least know something simple like this. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 11 Aug 2015 09:31 AM |
| wow, being a 'game developer' now means that everybody must obey you? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 11 Aug 2015 09:31 AM |
I tried that lol it plays when im far away
- RBXDev Manager and Game Developer. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 11 Aug 2015 09:34 AM |
| if you understood how to script, then the wiki would make more sense. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 11 Aug 2015 09:35 AM |
i can script now shush let this post die out
- RBXDev Manager and Game Developer. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|