|
| 01 Feb 2014 06:49 AM |
Namer = script.Parent.Parent.NameChange.TextBox
Namer.Changed:connect(function() script.Parent.Value = Namer.Text end)
I have an output in the game so I can see errors the error is this script is says Value is nil or something.
You can test it here, the Output is at the bottom left hand corner of the screen : http://web.roblox.com/Upcoming-RPG-place?id=142928224 |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Feb 2014 04:57 PM |
Output: Attempt to index field 'Value' (a nil value).
The Value is an instance of a StringValue. |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:01 PM |
Value does not exist in that area. Your script implicates that it is within a value, if it's not then check it out |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:01 PM |
| ? Value is a property of a StringValue |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:02 PM |
I know that. I'm asking if the script is IN the stringvalue. |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Feb 2014 05:06 PM |
| One moment, I'll take a look at your game. |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:07 PM |
The output isn't visible. Never mind. Can you list the relevant directory here? For example:
-Workspace --Model ---Part ---Part ---Part |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:08 PM |
Sometime...
I can't be in anymore... xD ill post soon! |
|
|
| Report Abuse |
|
|
|
| 02 Feb 2014 12:14 PM |
--ScreenGui --Frame --Name --Script --Joey --Coconuts --What? --Script --Close --Script --Sound |
|
|
| Report Abuse |
|
|
|
| 02 Feb 2014 12:15 PM |
Sorry I mean
-ScreenGui --Frame ---Name ----Script ---Joey ---Coconuts ---What? ----Script --- Close ----Script ---Sound
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
ASCORE
|
  |
| Joined: 19 Oct 2013 |
| Total Posts: 246 |
|
|
| 02 Feb 2014 06:41 PM |
| I am checking the output now. |
|
|
| Report Abuse |
|
|
| |
|
ASCORE
|
  |
| Joined: 19 Oct 2013 |
| Total Posts: 246 |
|
|
| 02 Feb 2014 06:48 PM |
So its
>ScreenGui >>Frame >>>Name >>>>Script
Where is the stringvalue located in that tree? |
|
|
| Report Abuse |
|
|
ASCORE
|
  |
| Joined: 19 Oct 2013 |
| Total Posts: 246 |
|
|
| 02 Feb 2014 06:49 PM |
| Can you place the GUI in a model and send me the link? Then I can fix it for you. |
|
|
| Report Abuse |
|
|
|
| 02 Feb 2014 07:02 PM |
Its all lined up and parents are correct it says that its a Value (a nil value)
Output: - Players.Player1.PlayerGui.Chat.Frame.Name.Script:3: attempt to index field 'Value' (a nil value) - Script 'Players.Player1.PlayerGui.Chat.Frame.Name.Script', Line 3
Script:
Name = script.Parent.Parent.Parent.Parent.GUI.Name
Name.Value.Changed:connect(function() script.Parent.Text = Name.Value end) |
|
|
| Report Abuse |
|
|
ASCORE
|
  |
| Joined: 19 Oct 2013 |
| Total Posts: 246 |
|
|
| 02 Feb 2014 07:10 PM |
--[[Try putting this in a localscript where the original script is and make sure name is a stringvalue.--]]
name = game.Players.LocalPlayer.GUI["Name"]
name.Value.Changed:connect(function() script.Parent.Text = name.Value end) |
|
|
| Report Abuse |
|
|