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: Script wont work IN A SERVER Please help!

Previous Thread :: Next Thread 
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Feb 2014 04:54 PM
Bump.
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
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
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Feb 2014 05:01 PM
? Value is a property of a StringValue
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
01 Feb 2014 05:02 PM
I know that.
I'm asking if the script is IN the stringvalue.
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Feb 2014 05:04 PM
Yes
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
01 Feb 2014 05:06 PM
One moment, I'll take a look at your game.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Feb 2014 05:08 PM
Sometime...

I can't be in anymore... xD ill post soon!
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Feb 2014 12:14 PM
--ScreenGui
--Frame
--Name
--Script
--Joey
--Coconuts
--What?
--Script
--Close
--Script
--Sound
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Feb 2014 12:15 PM
Sorry I mean

-ScreenGui
--Frame
---Name
----Script
---Joey
---Coconuts
---What?
----Script
--- Close
----Script
---Sound

Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Feb 2014 05:57 PM
Bump.
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Feb 2014 06:34 PM
Bump.
Report Abuse
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
02 Feb 2014 06:41 PM
I am checking the output now.
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Feb 2014 06:45 PM
Kk.
Report Abuse
ASCORE is not online. 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 is not online. 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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
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 is not online. 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
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