of     1   

tardysauce
#143966668Tuesday, August 19, 2014 1:10 AM GMT

game.Players.PlayerAdded:connect(function(player) stats = Instance.new("IntValue", player) stats.Name = "leaderstats" Points = Instance.new("IntValue", leaderstats) Points.Name = "Points" Points.Value = 0 asdf = Instance.new("IntValue", leaderstats) asdf.Name = "Total Points" asdf.Value = 0 end)
tardysauce
#143966831Tuesday, August 19, 2014 1:12 AM GMT

bump
XXahraternotXX
#143966915Tuesday, August 19, 2014 1:13 AM GMT

--Try: game.Players.PlayerAdded:connect(function(player) stats = Instance.new("IntValue") stats.Name = "leaderstats" Points = Instance.new("IntValue", stats) Points.Name = "Points" Points.Value = 0 asdf = Instance.new("IntValue", stats) asdf.Name = "Total Points" asdf.Value = 0 stats.Parent = player end)
Prehistoricman
#143966919Tuesday, August 19, 2014 1:13 AM GMT

output? What do you see? What do you not see?
tardysauce
#143967341Tuesday, August 19, 2014 1:18 AM GMT

No output and @XX didn't work
Prehistoricman
#143967422Tuesday, August 19, 2014 1:19 AM GMT

What do you see? What do you not see?
tardysauce
#143967584Tuesday, August 19, 2014 1:21 AM GMT

@Pre Nothing, thats why I bothered to reply again
EgoMoose
#143967606Tuesday, August 19, 2014 1:21 AM GMT

You need to let the character load first. game.Players.PlayerAdded:connect(function(player) repeat wait() until player.Character ~= nil stats = Instance.new("IntValue", player) stats.Name = "leaderstats" Points = Instance.new("IntValue", stats) Points.Name = "Points" Points.Value = 0 asdf = Instance.new("IntValue", stats) asdf.Name = "Total Points" asdf.Value = 0 end)
tardysauce
#143967881Tuesday, August 19, 2014 1:24 AM GMT

@Moose Didn't work
XXahraternotXX
#143968360Tuesday, August 19, 2014 1:30 AM GMT

I don't understand why mine didn't work. Where is the script located?
tardysauce
#143968406Tuesday, August 19, 2014 1:31 AM GMT

Workspace
TheBenSquare
#143968512Tuesday, August 19, 2014 1:32 AM GMT

I've tried that before, strangely those scripts broke. I used a free model, copy/pasted the source code into another script and the new one didn't work. I'd just find a free model, fresh ones broke for some reason. And yes, I hate using free models too.
EgoMoose
#143968765Tuesday, August 19, 2014 1:35 AM GMT

What type of script are you using?
tardysauce
#143968832Tuesday, August 19, 2014 1:35 AM GMT

Regular
XXahraternotXX
#143968963Tuesday, August 19, 2014 1:37 AM GMT

-- I gave it another try, this is how I would do it function OnEnter(plr) stats = Instance.new("IntValue") stats.Name = "leaderstats" p = Instance.new("NumberValue") p.Name = "Points" p.Value = 0 p.Parent = stats a = Instance.new("NumberValue") a.Name = "Total Points" a.Value = 0 a.Parent = stats stats.Parent = plr game.Players.PlayerAdded:connect(OnEnter)
EgoMoose
#143969022Tuesday, August 19, 2014 1:37 AM GMT

Hmm, well then it should be working. You could try increasing the yield time. I think in the standard roblox leaderboards they wait 5 seconds. As a side note, I know mine works I tested it before I posted it. So now it's just a matter of why it isn't working for you :D
tardysauce
#143972256Tuesday, August 19, 2014 2:18 AM GMT

bump
TickerOfTime
#143972866Tuesday, August 19, 2014 2:27 AM GMT

game.Players.PlayerAdded:connect(function(player) local stats = Instance.new("Model", player) stats.Name = "leaderstats" local points = Instance.new("IntValue", stats) points.Name = "Points" points.Value = 0 end) Regular script; place in Workspace. You had the actual stats good, but not the leaderstats object. Add more stats the way you were the ones you had. leaderstats is a Model. Make sure you are using the right value. ie, StringValue, IntValue. Don't know if you can use BoolValue in leaderstats...
TickerOfTime
#143973006Tuesday, August 19, 2014 2:29 AM GMT

Xx, that's very inefficient.
XXahraternotXX
#143973281Tuesday, August 19, 2014 2:33 AM GMT

@Mod Well I am old school
TickerOfTime
#143973670Tuesday, August 19, 2014 2:39 AM GMT

@Xx lol not sayin it's bad, it's just a little bit slower and sloppier.

    of     1