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: What is wrong with this single line of code?

Previous Thread :: Next Thread 
EcIiptic is not online. EcIiptic
Joined: 12 Aug 2009
Total Posts: 13737
27 Dec 2013 12:17 PM
I'm making a minigame and somethings going wrong.


AlivePlayers = {playername, playername, playername, ect, ect}


m.Text = "The Winner(s) are:" ..table.concat(AlivePlayers, ",")


Error Output: Workspace.Minigame:50 :Invalid value(userdata) at index 1 in table for 'concat'
Report Abuse
ozzzyt is not online. ozzzyt
Joined: 08 Jan 2013
Total Posts: 3576
27 Dec 2013 12:18 PM
Not sure.
Report Abuse
EcIiptic is not online. EcIiptic
Joined: 12 Aug 2009
Total Posts: 13737
27 Dec 2013 12:21 PM
great
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
27 Dec 2013 12:21 PM
could u post the rest of it(that is,if its not 60000 lines of code..)
Report Abuse
Vuva is not online. Vuva
Joined: 22 Jan 2010
Total Posts: 1102
27 Dec 2013 12:49 PM
Well the names in the table should be strings...
aka:
AlivePlayers = {"playername", "playername", "playername"}
otherwise they are being read as variables with no value
Report Abuse
EcIiptic is not online. EcIiptic
Joined: 12 Aug 2009
Total Posts: 13737
27 Dec 2013 01:10 PM
How do I convert everything into a string?
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