script.Parent.MouseButton1Click:Connect(function()
local Name = script.Parent.Parent.Parent.Parent.Parent.Parent.Name
local Player = game.Workspace:FindFirstChild(Name)
Player.Head.Rank.Username.TextColor3 = Color3.fromRGB(script.Parent.Parent.ColourDisplay.ImageColor3)
end)
the script sets a players rank colour based on a gui colour however the colour of the rank just turns to black when the script is ran
