doodle435
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 43 |
|
|
| 02 Aug 2015 05:13 AM |
-- made by doodle435
board = game.Workspace.DeparturesBoardSystem screen = board.Screen info = screen.SurfaceGui._01.Information airline = info.Airline dest = info.Destination flightnum = info.FlightNumber gate = info.Gate status = info.Status Button = script.Parent
Button.MouseButton1Down:connect(function(change) airline.Text = script.Parent.Name.Text dest.Text = script.Parent.Dest.Text gate.Text = script.Parent.Gate.Text status.Text = script.Parent.Status.Text end)
This is meant to change text but here is error message
11:08:25.709 - Players.Player1.PlayerGui.ScreenGui.Frame.TextButton.LocalS:18: bad argument #3 to 'Text' (string expected, got nil) |
|
|
| Report Abuse |
|
doodle435
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 43 |
|
| |
doodle435
|
  |
| Joined: 10 Oct 2012 |
| Total Posts: 43 |
|
|
| 02 Aug 2015 05:42 AM |
| Fixed problem just need to do FindFirstChild |
|
|
| Report Abuse |
|