local User = script.User
local Rank = script.Rank
User.Parent = script.Parent.Head
Rank.Parent = script.Parent.Head
User.UserName.Text = script.Parent.Name
local function getPlayerFromCharacter(character)
for e, player in pairs(game:GetService("Players"):GetPlayers()) do
if player.Character == character then
TeamColor = player.TeamColor
return player
end
end
end
local Color = TeamColor.Color
User.UserName.TextColor3 = Color3.new(Color)
Rank.RankName.TextColor3 = Color3.new(Color)
This is a WIP ranking script, but when I run it the TextColor3 doesn't work?
