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 » Scripting Helpers
Home Search
 

Re: GUI button issue

Previous Thread :: Next Thread 
jknite is not online. jknite
Joined: 30 Nov 2007
Total Posts: 614
02 Jan 2013 07:18 PM
I have prior GUI knowledge and it baffles why this doesnt work.


TextIn = script.Parent.InterviewPerson.TextIn
Interviewee = game.Workspace.TalkShow.Interviewee
Host = game.Workspace.TalkShow.Host
function NameIn()
Interviewee.Value = TextIn.Text
Host.Value = script.Parent.Parent.Parent.Parent.Name
end


script.Parent.InterviewPerson.TextButton.MouseButton1Click:connect(NameIn)

--[[
As you can see, this is supposed to make the values of two string values in the model TalkShow be the Text of a value and the button presser. I would post an error, but nothing appears in the output.
]]--
Report Abuse
jknite is not online. jknite
Joined: 30 Nov 2007
Total Posts: 614
02 Jan 2013 07:47 PM
I really could use help to find the issue, is it a problem that it is a StringValue?
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
02 Jan 2013 07:48 PM
Interviewee.Value = tostring(TextIn.Text) <-- Maybe try that?
Report Abuse
jknite is not online. jknite
Joined: 30 Nov 2007
Total Posts: 614
02 Jan 2013 07:52 PM
Nope, still doesn't work.
Report Abuse
jknite is not online. jknite
Joined: 30 Nov 2007
Total Posts: 614
02 Jan 2013 07:58 PM
OMFG, total failure on my part, I editted the StarterGui's script and not my Player's Gui. Your fix did work, thanks!
-Jknite
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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