How can I make this script change the avatar of the current player into the classic ROBLOX noob, by deleting all accessories and changing the skin colour?
local plrs = game.Players
local survivors = {}
while wait(5) do
local chosen = plrs:GetChildren()[math.random(1, #plrs:GetChildren())]
chosen.PlayerGui.Picker.Background.RoleGiven.Text = "Noob"
chosen.PlayerGui.Picker.Background.RoleGiven.TextColor3 = Color3.fromRGB(0, 170, 255)
chosen.PlayerGui.Picker.Background.Visible = true
print(chosen)
char = game.Workspace:FindFirstChild(chosen.Name)
print(char)
-- here is where I would change the avatar, I've started changing the
-- colours here and it's been tested and works
char["Body Colors"].HeadColor = BrickColor.new("Bright yellow")
char["Body Colors"].LeftArmColor = BrickColor.new("Bright yellow")
char["Body Colors"].RightArmColor = BrickColor.new("Bright yellow")
end