|
| 03 Apr 2013 05:44 PM |
| I made a humanoid touch a brick and it played the sound. I went on build mode and touched the brick and it played the sound. I went on play mode and touch the brick and it DIDN'T play the sound. Why? Thanks! |
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 03 Apr 2013 05:46 PM |
| You may have to try to touch the brick multiple times, Since the sound has to load into the player's client. If not post the script so that we can see if there are any things that would make it not run on play mode. |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 05:48 PM |
function onPlayer(hit) game.Soundscape.SoundCLICK:Play() end
script.Parent.Touched:connect(onPlayer)
That's the script. The sound in the Soundscape is named "SoundCLICK". |
|
|
| Report Abuse |
|
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 05:51 PM |
Manually create a sound and play it on touch or put the sound in Workspace name it something like dark and in the functions block you'd do dark:play()
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|
| |
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 05:59 PM |
Well since you didn't understand what I said before I wrote up a quick song script for you.
I made it have only 2 playlists that you can edit and add or remove easily for new ones.
--Made By Darkggod mario = "http://www.roblox.com/asset/?id=1280470" rpg = "http://www.roblox.com/asset/?id=1372259"
g = Instance.new("Sound") g.Parent = game.Workspace g.Name = "darkg" g.SoundId = mario g.Volume = 1 g.Pitch = 1 g.Looped = true g.Archivable = false wait(1) g:play() end end
Add this into a functions block, and to remove it you can simply do, g = game.Workspace:findFirstChild("darkg") wait() g:Remove()
Or any other method of removing.
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 06:00 PM |
| OH. I already know how to do this. You just made it kind of complicated with your words. XD |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 06:01 PM |
| Do you have some sort of vehicle health script? |
|
|
| Report Abuse |
|
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 06:04 PM |
What do you mean by that?
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 06:07 PM |
Kind of like this one: http://www.roblox.com/RobloxInstructives-Hangout-place?id=60562296
Not exactly. But can you tell me the basics of making one of these vehicle health scripts? Thank you. |
|
|
| Report Abuse |
|
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 06:10 PM |
I'd guess you'd use NumberValues and for every time its hit the value would lower, and once it reach' a cretin number preferably, 0 it would break its joints etc..
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 06:10 PM |
| How about the billboard gui part? |
|
|
| Report Abuse |
|
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 06:11 PM |
I didn't check out that place I was generally answering the 'vehicle health' question.
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 06:12 PM |
| Do you still know how to make some sort of billboard gui health? |
|
|
| Report Abuse |
|
|
darkggod
|
  |
| Joined: 04 Feb 2011 |
| Total Posts: 8316 |
|
|
| 03 Apr 2013 06:14 PM |
Well you'd make its name correspond to the NumberValues, value I'd assume.
~LS Emperor Darkggod~ |
|
|
| Report Abuse |
|
|