Clothes UV error

I’m using Greresh’s UV character clothes thingy and I’m getting error…
His plugin works amazingly by the way usually.

It was the solution I was needing to avoid humanoids

local module = {}

local players = game:GetService("Players")

function module.characterAtire(player)
    local dummy = game.ReplicatedStorage.Dummy:Clone()
    dummy.Parent = workspace
    
    local dummyHumanoid = dummy.Humanoid
    
    local humanoidDescription = players:GetHumanoidDescriptionFromUserId(player.UserId)
    dummyHumanoid:ApplyDescription(humanoidDescription, Enum.AssetTypeVerification.Default)
    
    local shirtID = dummy.Shirt.ShirtTemplate
    local pantsID = dummy.Pants.PantsTemplate
    
    local characterDescendants = player.Character:GetDescendants()
    
    for count, item in characterDescendants do
        if item.Name == "Shirt" then
            item.ColorMap = shirtID
        end
        if item.Name == "Pants" then
            item.ColorMap = pantsID
        end
    end
    
    dummy:Destroy()
end

return module

“The current thread cannot write ‘ColorMap’ (lacking capability Plugin)” error

1 Like

turns out you cant modify it during runtime

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.