Get a Player's Accessories For Custom Rig?
So I'm making a custom character rig, and I want to add the player's accessories and shirts.
However, using a StarterCharacter won't allow me to put their personal accessories and shirts on the StarterCharacter. Setting the player's character to another model after getting the assets will freeze the camera.
01 | game.Players.PlayerAdded:Connect( function (plr) |
02 | plr.CharacterAdded:Connect( function (char) |
03 | local things = char:GetChildren() |
04 | local charClon = game.StarterPlayer.StarterCharacter:Clone() |
05 | charClon.Name = plr.Name |
06 | for i, v in pairs (things) do |
07 | if v:IsA( "Accessory" ) then |
09 | elseif v:IsA( "Shirt" ) or v:IsA( "Pants" ) then |
11 | elseif v:IsA( "BodyColors" ) then |
15 | plr.Character = charClon |