Oh, I’m not really an expert on avatar loading but I think these posts should help.
And for the accessories, hum:AddAccessory() and in the parentheses put an Accessory
To remove accessories you use this
for _, Hat in pairs(character:GetChildren()) do
if Hat:IsA('Accessory') then
Hat:Destroy()
end
end
Sorry it took long but let me know if you need anymore help!