why i cant change the Rank on the leaderboard when i get 10 Points?
Asked by
5 years ago Edited 5 years ago
i want to change the rank to beginner when a player get 10 points but the ranking does not change any help?
1 | local player = game.Players.LocalPlayer |
3 | if player.leaderstats.Points.Value = = 10 then |
4 | player.leaderstats.Rank.Value = "Beginner" |
and this is my leaderboard script
01 | game.Players.PlayerAdded:Connect( function (player) |
03 | local stats = Instance.new( "Folder" , player) |
04 | stats.Name = "leaderstats" |
06 | local Points = Instance.new( "IntValue" , stats) |
07 | Points.Name = "Points" |
10 | local Rank = Instance.new( "StringValue" , stats) |