Hello there, i want to make a team color, basically when a player loads in the inventory color will change to the teams color. I tried everything, but nothing works. Whoever can help me please respond. Thanks in advance.
Try something like this:
Players = game:GetService("Players") Player = Players.LocalPlayer Frame = game.StarterGui.ScreenGui.Frame --Change to whatever GuiObject you want to change the color of local brickColor = Player.TeamColor local color = Color3.new(brickColour.r, brickColour.g, brickColour.b) Frame.BackgroundColor3 = color
Hope this helps!