Getting the player's avatar locally

I was making a main menu with a rig with the player’s avatar but I couldn’t find a way to do it locally so i made this script

local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Dummy = Players:CreateHumanoidModelFromUserId(Player.UserId)
Dummy.Parent = game.Workspace
Dummy:FindFirstChild("HumanoidRootPart").Anchored = true
Dummy:WaitForChild("HumanoidRootPart").CFrame = workspace:WaitForChild("AttachHere").CFrame
Dummy.Name = Player.Name
Dummy:WaitForChild("Humanoid"):WaitForChild("Animator"):LoadAnimation(script.Animation):Play()

but because I had an R6 anim and the Players:CreateHumanoidModelFromUserId would also copy R15 avatars the anim wouldn’t work if someone had their avatar on R15
is there any way I can copy the player’s avatar locally and force the rig to be R6?

I’m pretty sure you can just work around this by converting it from R15 to R6

What is “it”? The game? I have my game in R6 already and it didn’t do anything.

It as in the humanoid model your creating, aka a character

1 Like

Oh yeah i tried changing it on the script with “dummy.humanoid.RigType == Enum.HumanoidRigType.R6” but it didnt work it just changed the rig type but not the actual body mesh. Maybe I’m doing something wrong? I’ve never tried to modify a character’s rig type.