Hello. The following script does not entirely work:
local player = game.Players.LocalPlayer
local leaderstats = player:WaitForChild("leaderstats")
local Rank = leaderstats:WaitForChild("Rank")
local playerRank = Rank.Value
local setText = "Rank: "
script.Parent.Text = setText..playerRank
Rank:GetPropertyChangedSignal("Value"):Connect(function()
script.Parent.Text = setText..playerRank
end)
Line 8 does work, the TextLabel updates to the player’s leaderstat upon entry to the game. However, the problem lies in lines 10-13 as the TextLabel does not update when the leaderstat value changes.