|
| 14 Jul 2007 06:31 AM |
================================
Music = game.Workspace.Music
function onChatted(msg, recipient, speaker)
-- convert to all lower case
local source = string.lower(speaker.Name) msg = string.lower(msg)
if (msg == "music please") then Music:play() end
================================
It just doesn't work! I say music please and I get no sound! It saddens me. |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2007 06:54 AM |
Music = game.Workspace.Music --does this already exist? did you make it and put it in explorer?
function onChatted(msg, recipient, speaker) local source = string.lower(speaker.Name) msg = string.lower(msg)
if msg == "music please" then Music:play() elseif msg == "music stop" then Music:stop() -- actually it might be Music:pause() I forget which it is... end end --you forgot this end
function playeradded(player) player.Chatted:connect(onChatted) end game.Players.ChildAdded:connect(playeradded) |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 09:17 PM |
im srry but ima ruin dis in some while
I am the #5 Top Poster, I will be #1 one day - Max // 102963651 |
|
|
| Report Abuse |
|
|
NeverSaved
|
  |
| Joined: 30 May 2009 |
| Total Posts: 100259 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
|
| 27 Jun 2013 02:57 PM |
| i like higher rap trades. so send me maybe? |
|
|
| Report Abuse |
|
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
|
| 27 Jun 2013 02:58 PM |
| send me a friend. request! |
|
|
| Report Abuse |
|
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|
LostWinds
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 9140 |
|
| |
|