Hello! I'm making a game, so all that is left for beta is to make a character appereance override. Which means I need the characters to be the way I want them to be.
Head = Pastel Brown Left Arm = Pastel Brown Right Arm = Pastel Brown Torso = Random Color everytime you respawn Left Leg = Brown Right Leg = Brown Face = https://www.roblox.com/cute-anime-face-decal-item?id=74247277 -//- 74247277
So that is how I want it to be.
game.Workspace.ChildAdded:connect(function(plr)
local name = plr.Name
local playerinplayers = game.Players:FindFirstChild(plr.Name)
if playerinplayers ~= nil then
game.Players[plr.Name].CanLoadCharacterAppearance = false
wait(2)
plr.Pants:Destroy() plr.Shirt:Destroy() plr.Torso.roblox:Destroy()
plrChar = plr:GetChildren() for i=1, #plrChar do if plrChar[i]:IsA("Hat") or plrChar[i]:IsA("ShirtGraphic") or plrChar[i]:IsA("CharacterMesh")then plrChar[i]:Remove() end end
plr.Head.face.Texture = "rbxassetid://28257733"
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("Pastel brown")
bodycolors.LeftArmColor = BrickColor.new("Pastel brown")
bodycolors.LeftLegColor = BrickColor.new("Dark stone grey")
bodycolors.RightLegColor = BrickColor.new("Dark stone grey")
bodycolors.TorsoColor = BrickColor.Random()
bodycolors.HeadColor = BrickColor.new("Pastel brown")
end
game.Workspace.ChildAdded:connect(function(plr) local name = plr.Name local playerinplayers = game.Players:FindFirstChild(name) if playerinplayers ~= nil then game.Players[name].CanLoadCharacterAppearance = false wait() plr.Pants:Destroy() plr.Shirt:Destroy() plr.Torso.roblox:Destroy() plrChar = plr:GetChildren() for i=1, #plrChar do if plrChar[i]:IsA("Hat") or plrChar[i]:IsA("ShirtGraphic") or plrChar[i]:IsA("CharacterMesh")then plrChar[i]:Remove() end end plr.Head.face.Texture = "rbxassetid://28257733" local bodycolors = Instance.new("BodyColors", plr) bodycolors.RightArmColor = BrickColor.new("Pastel brown") bodycolors.LeftArmColor = BrickColor.new("Pastel brown") bodycolors.LeftLegColor = BrickColor.new("Dark stone grey") bodycolors.RightLegColor = BrickColor.new("Dark stone grey") bodycolors.TorsoColor = BrickColor.Random() bodycolors.HeadColor = BrickColor.new("Pastel brown") end
Not much to touch up. I'm not sure if you'll be running this as a LocalPlayer script, but here is another version in LocalScript:
local plr = game.Players.LocalPlayer local chr = plr.Character plr.CanLoadCharacterAppearance = false chr.Pants:Destroy() chr.Shirt:Destroy() chr.Torso.roblox:Destroy() chrChildren = chr:GetChildren() for i=1, #chrChildren do if chrChildren[i]:IsA("Hat") or chrChildren[i]:IsA("ShirtGraphic") or chrChildren[i]:IsA("CharacterMesh") then chrChildren[i]:Destroy() end end local bColors = Instance.new("BodyColors", plr) bColors.RightArmColor = BrickColor.new("Pastel Brown") bColors.LeftArmColor = BrickColor.new("Pastel Brown") bColors.LeftLegColor = BrickColor.new("Dark stone grey") bColors.RightLegColor = BrickColor.new("Dark stone grey") bColors.TorsoColor = BrickColor.Random() bColors.HeadColor = BrickColor.new("Pastel brown")