Grates
|
  |
| Joined: 25 Mar 2010 |
| Total Posts: 5934 |
|
|
| 09 Mar 2015 04:06 PM |
New to scripting searched it up everywhere, can't find out how to do this. I want it so when you die a sound plays, preferably the sad airhorn song.
I'm not sure why this doesnt work.
if game.Players.LocalPlayer.Character.Humanoid.Health == 0 do s = Instance.new("Sound") s.Name = "SadAirhorn" s.SoundId = "http://www.roblox.com/Asset/?id=168209643" s.Volume = 1 s.Looped = false s.archivable = false s.Parent = game.Workspace wait(0) s:play() end
Help? |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 09 Mar 2015 04:08 PM |
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
Give me suggestions on the sniper rifle in this game: [http://www.roblox.com/Animations-place?id=200667607] |
|
|
| Report Abuse |
|
|
Grates
|
  |
| Joined: 25 Mar 2010 |
| Total Posts: 5934 |
|
| |
|
Grates
|
  |
| Joined: 25 Mar 2010 |
| Total Posts: 5934 |
|
| |
|
parkiet3
|
  |
| Joined: 16 Jul 2011 |
| Total Posts: 832 |
|
| |
|
Grates
|
  |
| Joined: 25 Mar 2010 |
| Total Posts: 5934 |
|
| |
|