Switching player rig

Hi

I have a character creation system set up with the male rig in starter player titled “StarterCharacter”. All of the features such as hair, skin colour etc is applied after they finish. How could I make the player turn into the female rig with the animations working and the camera working as normal? This is the code I have now but it really doesn’t work.

if CharacterValuesFolder.Gender.Value == "Female" then
		
	game:GetService("StarterPlayer").StarterCharacter:Destroy()
	local female = ReplicatedStorage:WaitForChild("Female"):Clone()
	female.Name ="Starter Character"
	female.Parent = game:GetService("StarterPlayer")
	player:LoadCharacter()
		
end

Any help appreciated

Hello, i must be honest by starting with saying that idk where to start about it, but i have found a post that might help :slight_smile: