|
| 10 Oct 2011 10:10 AM |
script.Parent.MouseButton1Click:connect(action)(function(s) s.Chatted:connect(function(l) z= Instance.new("Message", workspace) z.Text = l game:service("Debris"):AddItem(z, 3) end)end)
What I'm trying to do is make it so that when you click the button, you get a "mic". Whatever you say it converted into a message displayed on the screen. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 10 Oct 2011 10:12 AM |
| script.Parent.MouseButton1Click:connect(function() - thats what was wrong. You use one () for connectionlines. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 10 Oct 2011 10:13 AM |
script.Parent.MouseButton1Click:connect(function(s) s.Chatted:connect(function(l) z= Instance.new("Message", workspace) z.Text = l game:service("Debris"):AddItem(z, 3) end) end) |
|
|
| Report Abuse |
|
|
Juniperr
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 6094 |
|
|
| 10 Oct 2011 10:14 AM |
Forgive me if I'm wrong but I think this will work. I'm not that experienced with these things.
cript.Parent.MouseButton1Click:connect(action(function(s))) |
|
|
| Report Abuse |
|
|