Not_1yo
(Not_1yo)
#1
What I’m making: a gui frame that is the same color as the player’s teamcolor
What I tried: Team.BrickColor
it was either the first part or the second part that went wrong
The script is like:
Script.Parent.BackGroundColor3 = Player.Team.BrickColor
1 Like
EntryRoot
(EntryRoot)
#2
https://developer.roblox.com/en-us/api-reference/property/Player/TeamColor
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
script.Parent.BackgroundColor3 = Player.TeamColor.Color
3 Likes
synical4
(Synical)
#3
1 Like
Not_1yo
(Not_1yo)
#4
I thought you had to do Player.Team.TeamColor