Players = game:GetService("Players")
Players.PlayerAdded:connect(function(i)
i.CharacterAdded:connect(function(q)
if i.TeamColor == BrickColor.new("White")then
repeat wait(1) until game.Workspace[i.Name] == game.Workspace[i.Name]
local char = game.Workspace[i.Name]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
if i:GetRankInGroup(5094668) == 20 then
for _,v in pairs (char:GetChildren()) do
char:FindFirstChildOfClass("Shirt").ShirtTemplate = "rbxassetid://"
char:FindFirstChildOfClass("Pants").PantsTemplate = "rbxassetid://"
if v.Name == "ShirtGraphic" then
char:FindFirstChildOfClass("ShirtGraphic").Graphic = "rbxassetid://"..0
end
end
-------------------------------------------------------------------------------------------------------------------------------------------------------
end
end
end
end
end)
end)
COMMUNITY QUESTION
Group uniform script not working, what's the issue? (Filtering is Enabled) (Assume templates filled)
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Why are you defining local char if you have "q" from CharacterAdded