krusebear
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 26 |
|
|
| 05 Jun 2015 08:32 PM |
Append is not a valid member of TextButton
Thanks, Kruse |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 05 Jun 2015 08:34 PM |
| What are you trying to do? Mind posting the code? |
|
|
| Report Abuse |
|
|
krusebear
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 26 |
|
|
| 05 Jun 2015 08:37 PM |
Just something simple.
local main = script.Parent.Main local screen = game.Workspace.AnnouncementScreens:GetChildren() for _, screen in ipairs(screen) do main.Broadcast.Append.MouseButton1Click:connect(function() screen.Screen.a.b.Message.Text = main.MessageBox.Message.Text screen.Screen.a.b.Name.Text = script.Parent.Parent.Parent.Name end) end
Thanks, Kruse |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 05 Jun 2015 08:41 PM |
In that context, your error means that Append isn't something that is inside of Broadcast.
Double check to make sure it is. |
|
|
| Report Abuse |
|
|
krusebear
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 26 |
|
|
| 05 Jun 2015 08:45 PM |
But it is a text button?
Thanks, Kruse |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 05 Jun 2015 08:46 PM |
| The error isn't saying that Broadcast isn't a TextButton. It is saying that Append isn't a child of Broadcast. |
|
|
| Report Abuse |
|
|
krusebear
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 26 |
|
|
| 05 Jun 2015 08:47 PM |
Oh ok thank you.
Thanks, Kruse |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 05 Jun 2015 08:48 PM |
| amanda check your messages please. |
|
|
| Report Abuse |
|
|