Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I script a Wins section in Leaderboader?

Asked by 10 years ago

This script below does not work, why??

game.Players.PlayerAdded:connect(function(plr)
Wins = Instance.new("IntValue")
Wins.Parent = plr
Wins.Value = 0


end)

1 answer

Log in to vote
1
Answered by
HexC3D 830 Moderation Voter
10 years ago

Hope this works for you

game.Players.PlayerAdded:connect(function(plr)
leaderstats = Instance.new("Model")
leaderstats.Parent = plr
Wins = Instance.new("IntValue")
Wins.Parent = leaderstats
Wins.Value = 0


end)

Ad

Answer this question