So I wrote this script which changes the character appearance in game. The only problem is that it will only work when I reset. Before I reset, the clothes are already here but not the skin colors and face. Also, the my hats aren't removed until I reset. So basically I need it to so once I enter the game, it automatically changes my appearance without me having to reset.
game.Workspace.ChildAdded:connect(function(plr)
local name = plr.Name
local playerinplayers = game.Players:FindFirstChild(plr.Name)
if playerinplayers ~= nil then
playerinplayers.CanLoadCharacterAppearance = false
plr.Head.face.Texture = "rbxassetid://64064193"
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("Cashmere")
bodycolors.LeftArmColor = BrickColor.new("Cashmere")
bodycolors.LeftLegColor = BrickColor.new("Cashmere")
bodycolors.RightLegColor = BrickColor.new("Cashmere")
bodycolors.TorsoColor = BrickColor.new("Cashmere")
bodycolors.HeadColor = BrickColor.new("Cashmere")
local shirt = Instance.new('Shirt',plr)shirt.ShirtTemplate = "rbxassetid://276318635"
local pants = Instance.new('Pants',plr)pants.PantsTemplate = "rbxassetid://276318699"
end
end)
