Playerlist fix
Jack fix
Real name
level over head
local function CharacterAdded(player, character, level) if not character then return end local gui = character:WaitForChild("Head"):WaitForChild("name"):WaitForChild("name") local newName = gui:Clone() newName.Name = "realName" newName.Text = "[" .. level .. "] " .. player.DisplayName newName.Position = UDim2.new(0, 0, 0, -24) newName.Parent = gui.Parent end local function PlayerAdded(player) local level = Instance.new("NumberValue") level.Name = "Level" local maxLevel = Instance.new("NumberValue") maxLevel.Name = "MaxLevel" local stats = game:GetService("HttpService"):JSONDecode(player:WaitForChild("Stats").Value) level.Value = stats.MasteryLevel maxLevel.Value = stats.Potential player:WaitForChild("Stats").Changed:Connect(function() local stats = game:GetService("HttpService"):JSONDecode(player:WaitForChild("Stats").Value) level.Value = stats.MasteryLevel maxLevel.Value = stats.Potential if player.Character and player.Character:FindFirstChild("Head") and player.Character:FindFirstChild("Head"):FindFirstChild("name") and player.Character:FindFirstChild("Head"):FindFirstChild("name"):FindFirstChild("realName") then local name = player.Character:FindFirstChild("Head"):FindFirstChild("name"):FindFirstChild("realName") name.Text = "[" .. stats.MasteryLevel .. "] " .. player.DisplayName end end) level.Parent = player:WaitForChild("leaderstats") maxLevel.Parent = player:WaitForChild("leaderstats") player.CharacterAdded:Connect(function(character) local stats = game:GetService("HttpService"):JSONDecode(player:WaitForChild("Stats").Value) CharacterAdded(player, character, stats.MasteryLevel) end) CharacterAdded(player, player.Character, stats.MasteryLevel) end game:GetService("Players").PlayerAdded:Connect(function(player) PlayerAdded(player) end) for index, player in pairs(game.Players:GetPlayers()) do PlayerAdded(player) end