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 with a script error

Previous Thread :: Next Thread 
coolkid78877 is not online. coolkid78877
Joined: 01 Sep 2015
Total Posts: 32
03 Jun 2017 12:26 PM
attempt to concatenate field 'name' (a nil value)

script.Parent.Sn.Value = Asset.name..""
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
03 Jun 2017 12:28 PM
script.Parent.Sn.Value=Asset.Name..""
Report Abuse
coolkid78877 is not online. coolkid78877
Joined: 01 Sep 2015
Total Posts: 32
03 Jun 2017 12:29 PM
thank you
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
03 Jun 2017 12:29 PM
It returns this error because the part doesn't have a property or instance named "name". So it returns that error because you are trying to concatenate an empty spring to nothing.
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
03 Jun 2017 12:30 PM
Just get rid of the .."", you dont need to concat an empty string
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