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: Players is not a valid member of DataModel

Previous Thread :: Next Thread 
alexander390 is not online. alexander390
Joined: 20 Sep 2009
Total Posts: 1286
24 Aug 2012 08:53 PM
Please help, I keep getting that error in the command bar because of the Admin commands and Leaderboard. How do I fix it?
Report Abuse
alexander390 is not online. alexander390
Joined: 20 Sep 2009
Total Posts: 1286
24 Aug 2012 08:57 PM
help
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
24 Aug 2012 09:36 PM
Dude, don't use the command bar for this... Players is not a valid member because it doesn't exist, and all of that stuff.
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
24 Aug 2012 09:39 PM
The DataModel is what is commonly referred to as "Game" in scripts. If, for some reason, there isn't a Player in DataModel, you've got a serious problem. Is there anymore information you can tell us?
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
24 Aug 2012 09:40 PM
there isn't a "Players"*
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
24 Aug 2012 09:53 PM
Instead of using:
game.Players.plr
Then use:
game:GetService('Players').plr
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
25 Aug 2012 12:20 AM
The problem now is that ROBLOX changed it to Player and some random number...
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
25 Aug 2012 04:12 AM
I think that they done that to simulate a random playing joining the game, that way you can check if scripts work properly.

☜▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬☞
MrChickens, another bird which doesn't fly.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
25 Aug 2012 04:40 AM
I agree.
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