I have tried to implement a feature in my game to where your torso, and leg colors will change colors to where they correspond with their team color. I've tried this before and it worked, however for some reason it won't now... I have a script in the Server Script Service, and here's my code.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
repeat wait() until player.Team ~= nil
local team = player.Team
local bodyColors = character:WaitForChild("Body Colors")
bodyColors.TorsoColor = team.TeamColor
bodyColors.LeftLegColor = team.TeamColor
bodyColors.RightLegColor = team.TeamColor
player:GetPropertyChangedSignal("Team"):Connect(function()
bodyColors.TorsoColor = team.TeamColor
bodyColors.LeftLegColor = team.TeamColor
bodyColors.RightLegColor = team.TeamColor
end)
end)
end)

6 comments
does the game use R15
No
idk then :^))))
you could try actually setting the color of each limb instead of using Body Colors
Will it work with it being R15???
no, Body Colors only works with r6