I’m making a avatar changer with a rig showing you your avatar within the ui.
Inside the rig model I changed the color of the skin tones but it’s not showing the skin tone in the viewpoint Frame it just shows the grey dummy.
local Viewport = script.Parent.ViewportFrame;
local Dummy = Viewport:WaitForChild("Dummy");
local Sword = Dummy:WaitForChild("HumanoidRootPart");
local Camera = Instance.new("Camera")
Camera.Parent = Viewport
Viewport.CurrentCamera = Camera
local c = 0;
game:GetService("RunService").Heartbeat:Connect(function()
local cframe = Sword.CFrame * CFrame.Angles(0, math.rad(c), 0) * CFrame.new(0, 0, -5)
cframe = CFrame.new(cframe.p, Sword.Position)
Viewport.CurrentCamera.CFrame = cframe;
c = c + 1;
end)