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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
ajhockeyfan is not online. ajhockeyfan
Joined: 29 Nov 2008
Total Posts: 14336
18 Sep 2011 10:49 AM
[ Content Deleted ]
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
18 Sep 2011 10:50 AM
Wheres the script?
Report Abuse
ajhockeyfan is not online. ajhockeyfan
Joined: 29 Nov 2008
Total Posts: 14336
18 Sep 2011 11:00 AM
[ Content Deleted ]
Report Abuse
ajhockeyfan is not online. ajhockeyfan
Joined: 29 Nov 2008
Total Posts: 14336
18 Sep 2011 11:03 AM
[ Content Deleted ]
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
18 Sep 2011 11:04 AM
points.Parent = "leaderstats"
cash.Parent = "leaderstats"
Report Abuse
greatestdan is not online. greatestdan
Joined: 08 Sep 2008
Total Posts: 504
18 Sep 2011 11:09 AM
@jon. stats would be correct since the variable "stats" applies to the new leaderstats that were inserted.


This script looks like it should work perfectly. maybe the problem is the antivirus scripts.
Report Abuse
greatestdan is not online. greatestdan
Joined: 08 Sep 2008
Total Posts: 504
18 Sep 2011 11:14 AM
I will rewrite a leaderboard script for you just incase the script is the problem

game.Players.ChildAdded:connect(function(newp)
local stats = Instance.new("IntValue")
local cash = Instance.new("IntValue")
local pts = Instance.new("IntValue")
stats.Name = "leaderstats"
cash.Name = "Money"
pts.Name = "Points"

cash.Value = 100
pts.Value = 0

stats.Parent = newp
cash.Parent = stats
pts.Parent = stats

end)
Report Abuse
ajhockeyfan is not online. ajhockeyfan
Joined: 29 Nov 2008
Total Posts: 14336
18 Sep 2011 11:16 AM
[ Content Deleted ]
Report Abuse
greatestdan is not online. greatestdan
Joined: 08 Sep 2008
Total Posts: 504
18 Sep 2011 11:18 AM
yea just insert that into a script and put it in the game. and remove the old leaderboard script. btw this is my first leaderboard I made from scratch but I am almost certain it will work. if it doesn't then it is something else in the game.
Report Abuse
ajhockeyfan is not online. ajhockeyfan
Joined: 29 Nov 2008
Total Posts: 14336
18 Sep 2011 11:19 AM
[ Content Deleted ]
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