Universal Script 📌
35.9k Views
414 Executions

Change Appearance

Universal Script 📌
Lover_idIe
Lover_idIePublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Change Avatar's Appearance. Not FE though. Basically, add accessories to the character. Thanks to the person who responded to my thread in v3rm. So, you can use catalog IDs instead of asset IDs. Woooo! In the Head part, is where you can add Face, Head accessories, etc. For the Torso Part is for the Shoulder, Neck Accessories. Still trying to figure out how to add layered clothing.

View Raw
getgenv().Time = 0.5

getgenv().Head = {
    6532260109,
    6086548659,
}

getgenv().Torso = {
    16988847156,
    15884282892,
}

local function weldParts(part0, part1, c0, c1)
    local weld = Instance.new("Weld")
    weld.Part0 = part0
    weld.Part1 = part1
    weld.C0 = c0
    weld.C1 = c1
    weld.Parent = part0
    return weld
end

local function findAttachment(rootPart, name)
    for _, descendant in pairs(rootPart:GetDescendants()) do
        if descendant:IsA("Attachment") and descendant.Name == name then
            return descendant
        end
    end
end

local function addAccessoryToCharacter(accessoryId, parentPart)
    local accessory = game:GetObjects("rbxassetid://" .. tostring(accessoryId))[1]
    local character = game.Players.LocalPlayer.Character

    accessory.Parent = game.Workspace

    local handle = accessory:FindFirstChild("Handle")
    if handle then
        handle.CanCollide = false
        local attachment = handle:FindFirstChildOfClass("Attachment")


Comments

4
Log in to join the conversation. Login
Lover_idIe's profile picture
Lover_idIeUploader2 years ago(edited)

So, Shirts, Jackets, And Pants (3D) mostly attach to the Torso.

2
Izimcool's profile picture
Izimcool1 year ago

Why doesn't shoulder accessorys work?

1
Lover_idIe's profile picture
Lover_idIeUploader2 years ago(edited)

No. Sadly

1
3343983497's profile picture
33439834972 years ago(edited)

Can anyone else see it?

1

Tags

More universal scripts

See all
Script hub
268.8k
114.4k
Bumped 25 minutes ago
Key System
Script hub
628
54
Bumped 2 hours ago
Script hub
171.1k
1.4M
Bumped 3 hours ago
Key System
Script hub
16.5k
3.2k
Bumped 5 hours ago
Key System
Paid
Script hub
17.1k
87.3k
Bumped 5 hours ago