How can i change character r6/r15 in game?

Hello, I have been making experiences and places with r6. I want to keep some places in r6 without separating the places within the experience into another experience.

Is it possible to set the avatar part to r15 by default in the experience game settings, and to allow only some places to be played with r6 without separating the internal places into other experiences?

3 Likes

It is suprisingly not too complicated -
To R6:

    local Main = game.Players:GetHumanoidDescriptionFromUserId(PLAYER.CharacterAppearanceId)
	local morph =game.Players:CreateHumanoidModelFromDescription(Main,Enum.HumanoidRigType.R6)
	morph:SetPrimaryPartCFrame(PLAYER.Character.PrimaryPart.CFrame)
	morph.Name = PLAYER.Name
	PLAYER.Character = morph
	morph.Parent = workspace	

To R15:

    local Main = game.Players:GetHumanoidDescriptionFromUserId(PLAYER.CharacterAppearanceId)
	local morph =game.Players:CreateHumanoidModelFromDescription(Main,Enum.HumanoidRigType.R15)
	morph:SetPrimaryPartCFrame(PLAYER.Character.PrimaryPart.CFrame)
	morph.Name = PLAYER.Name
	PLAYER.Character = morph
	morph.Parent = workspace	
10 Likes

Thank you very much. The existing characters remain, but we will try our best based on what you have told us.

2 Likes