generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Help me get this to a parent (Why doesn't this work?)

Previous Thread :: Next Thread 
Kulh is online. 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
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
13 Apr 2017 10:18 PM
Don't ignore the output.


Report Abuse
Kulh is online. 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
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
13 Apr 2017 10:19 PM
Use a local script


Capitalist atheist
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
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 is online. 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
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
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 is online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image