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.
✓ ANSWER ACCEPTED
Change frame color based on players team?
1 answer
✓ Accepted answer
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!
This discussion is preserved as it was. New answers, comments, and votes are closed.
