Im trying to put the default avatars face on a custom avatar. The custom avatar is just an R6 Rig.
This is what i have. I dont understand why this doesn’t work. Let me know if anyone can see the issue with this.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
-- Removes existing face decal from StarterCharacter
local existingFace = head:FindFirstChild("face")
if existingFace then
existingFace:Destroy()
end
-- Clone the player's face decal
local face = game.Players:GetHumanoidDescriptionFromUserId(player.UserId).Face
if face and face ~= 0 then
local newFace = Instance.new("Decal")
newFace.Name = "face"
newFace.Texture = "rbxassetid://" .. tostring(face)
newFace.Parent = head
end
end)
end)
Extra.
→ This is a ServerScript located in ServerScriptService
→ This is done on a Roblox Default R6 Rig Custom Character. (Rig Isn’t Custom. Its made by Roblox)