Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a script where all the players in the game have a set avatar that I pick ?

So if I want all the players in the game to be noobs, they all should look the same. Pls help and thank you.

2 answers

Remove their clothes and change the body colours to the colours you wish.

You could use ClearCharacterAppearance to remove their hats, shirts, pants, character meshes, and body colors. Then you could loop through the players character using a for loop and change all their body colors seen here:

local player = game:GetService("Players").LocalPlayer -- Gets the clients player

player.CharacterAppearanceLoaded:Connect(function() -- Fires when all assets on character is loaded
	game.Players.LocalPlayer:ClearCharacterAppearance() -- Clears Appearance
	for _,BodyPart in pairs(player.Character:GetChildren()) do -- Loops through the characters body
		if BodyPart:IsA("BasePart") then -- Checks if the BodyPart variable is an actual part
			BodyPart.BrickColor = BrickColor.new("Bright yellow") -- Changes the body part to Bright Yellow
		end
	end
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.