|
| 02 Apr 2015 03:40 AM |
script.Parent.MouseButton1Click:connect(function() game.Workspace.TextBox.Text = 'Centrifuge: OFFLINE' end)
I'm not sure what I'm doing wrong exactly. If anyone could help. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Apr 2015 03:41 AM |
Why would the TextBox be in workspace? Where is the textbox? |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Apr 2015 03:43 AM |
| Wait that didn't work and it still isn't displaying text, sorry I suck at Lua. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Apr 2015 03:43 AM |
| I asked you a question, not gave you an answer? wat |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2015 03:45 AM |
| Textbox is in the SurfaceGUI, SurfaceGUI is on the part. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Apr 2015 03:46 AM |
so you might wanna do:
script.Parent.SurfaceGUI.TextBox.Text = "blah" if that's the correct parenting stuff |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2015 03:48 AM |
| It still isn't working, and also I'm using a TextButton to do this. |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2015 03:51 AM |
| The TextButton is in the Surface GUI As well as the TextBox, The SurfaceGui is in the part, I don't know what I'm doing wrong. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Apr 2015 03:53 AM |
| There is no error, it just isn't showing. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Apr 2015 03:56 AM |
| Did you set the Adornee property? |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Apr 2015 04:00 AM |
| Nevermind, I found it but how do I set it? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Apr 2015 04:00 AM |
| Wait never mind I think that's only for Billboard GUIs |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2015 04:02 AM |
| Ok, what's the problem then? |
|
|
| Report Abuse |
|
|
| |
|