crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
|
| 18 Nov 2012 10:11 PM |
| Where would I put a sound if I want it so only 1 person hears it? |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2012 10:19 PM |
| Clone it to their PlayerGui |
|
|
| Report Abuse |
|
|
crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 18 Nov 2012 10:25 PM |
| Parent it to the Player or one of it's childs. |
|
|
| Report Abuse |
|
|
crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
|
| 18 Nov 2012 10:26 PM |
So would the rickroll part of this work?
admins = {"crouton04","cvc3cameron","cvc3"} commands = {"kill/, respawn/, rickroll//, and cmds/"} game.Players.PlayerAdded:connect(function (plr) for c = 1,#admins do if admins[c].Name == plr.Name then plr.Chatted:connect(function (msg) if msg:lower():sub(1,5) == "kill/" then victim = game.Players[msg:sub(6)]; if victim then victim.Character.Humanoid.Health = 0 end elseif msg:lower():sub(1,8) == "respawn/" then victim = game.Players[msg:sub(9)]; if victim then victim:LoadCharacter() end elseif msg:lower():sub(1,10) == "rickroll//" then victim = game.Players[msg:sub(12)]; if victim then ricklol = Instance.new("Sound") ricklol.Parent = victim.StarterGui ricklol.Volume = 1 ricklol.Pitch = 1 ricklol:Play() wait(20) ricklol:Remove() end elseif msg:lower():sub(1,5) == "cmds/" then lol = Instance.new("Message") lol.Parent = plr.StarterGui lol.Text = commands[1] wait(10) lol:Remove() end end) end end end) |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2012 11:16 PM |
1.)
To stop a sound, you do :Stop() not :Remove() because it keeps playing e_e
2.) You didn't put the soundid |
|
|
| Report Abuse |
|
|
crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
|
| 19 Nov 2012 12:32 AM |
| Lawl it deleted, and thanks.. |
|
|
| Report Abuse |
|
|