I am already using teams, but I would like to have separate roles in the teams which would be shown on the leaderboard. I know it is most likely a problem with IntValue, as it only supports numbers, but I would like to display text on the leaderboard instead. How would I do that?
Code Below
-- Leaderboard Roles local function onPlayerJoin(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local role = Instance.new("IntValue") role.Name = "Role" role.Value = "Test" role.Parent = leaderstats end game.Players.PlayerAdded:Connect(onPlayerJoin)
You Know. Free reputation? I'll just post!
local Math = 2+2 equal fish print(Math)