Kulh
|
  |
| Joined: 25 May 2015 |
| Total Posts: 295 |
|
|
| 13 Apr 2017 10:17 PM |
function Click() local gui = game.ServerStorage.WARNING local gui2 = gui:Clone() gui2.Frame.REASON.Text = ""..script.Parent.Parent.WARNPLAYERReason gui2.Parent = game.Players:FindFirstChild(script.Parent.Parent.WARNPLAYERHOLDER.Text).PlayerGUI end
script.Parent.MouseButton1Down:connect(Click)
|
|
|
| Report Abuse |
|
|
| |
|
Kulh
|
  |
| Joined: 25 May 2015 |
| Total Posts: 295 |
|
|
| 13 Apr 2017 10:19 PM |
So could i just put a space between the quotes??
|
|
|
| Report Abuse |
|
|
|
| 13 Apr 2017 10:19 PM |
Use a local script
Capitalist atheist |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2017 10:20 PM |
Actually, I have absolutely no idea why you're concatenating a (I assume...) string value to an empty string.
|
|
|
| Report Abuse |
|
|
Kulh
|
  |
| Joined: 25 May 2015 |
| Total Posts: 295 |
|
|
| 13 Apr 2017 10:24 PM |
Ive tried all your suggestions, still won't work..
|
|
|
| Report Abuse |
|
|
|
| 13 Apr 2017 10:26 PM |
All I suggested was for you to look at the output. Did you try fixing anything?
Also, if you actually explain what you're trying to do and include what the output says and what you've already tried, you're much more likely to get a reply that'll fix your code on the first try.
|
|
|
| Report Abuse |
|
|
Kulh
|
  |
| Joined: 25 May 2015 |
| Total Posts: 295 |
|
|
| 13 Apr 2017 10:33 PM |
| Ive got a gui with a text button that says "Warn Player". Beside that is a text box, where you input the user to be affected's name. Under that is another text box, where you input a reason for the warning. When you press "Warn Player", it is supposed to clone the main gui, and change the text label (in the main gui) to the #### ## the reason input. Then it is to put the parent of the main gui clone into the players GUI screen. |
|
|
| Report Abuse |
|
|