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: My leaderboard script is broken D:

Previous Thread :: Next Thread 
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 06:17 PM
game.Players.PlayerAdded:connect(function(p)

L = Instance.new("IntValue")
L.Name = "leaderstats"

E = Instance.new("IntValue")
E.Name = "Dara"
if p.Name == "Bluedragon463" then
E.Value = 1000
else
E.Value = 30
end
E.Parent = L

L.Parent = p

end)
Anyone know whats wrong with it?
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 06:18 PM
for some reason it doesnt show the players money(dara) thing when ingame
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 06:23 PM
bump
Report Abuse
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
24 Jun 2012 06:26 PM
Erm..
I think that it is..


Instance.new("Leaderstats")
Report Abuse
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
24 Jun 2012 06:27 PM
DERP..

FORGET THAT..

I'm sorry<3
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
24 Jun 2012 06:29 PM
Your missing and end, put one right above "end)"
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 07:08 PM
still not working D:
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
24 Jun 2012 07:17 PM
Game.Players.PlayerAdded:connect(function(p)

Instance.new("IntValue", p).Name = "leaderstats"

Instance.new("IntValue", p.leaderstats).Name = "Dara"

if p.Name == "Bluedragon463" then --Change this to check userid; names can get changed.
p.leaderstats.Dara.Value = 1000
else
p.leaderstats.Dara.Value = 30
end
end)


If it doesn't work, I just don't know.
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 08:50 PM
i'm guessing roblox leaderboard is acting weird i guess cuz i noticed alot fo leaderboard stuff in places dont work no more
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 08:56 PM
its working ..thank you :D
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
24 Jun 2012 09:05 PM
[ Content Deleted ]
Report Abuse
abaw7 is not online. abaw7
Joined: 23 Oct 2009
Total Posts: 745
24 Jun 2012 09:55 PM
They can hack to do it.
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
24 Jun 2012 09:58 PM
you do realsie they would have to do it before they enter to make it work
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
24 Jun 2012 10:38 PM
@All of the above;
Two mods got name changes, actually, if you count admins as mods.

I'm saying that anything can happen, and it's best to future-proof.
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