![]() ![]() 525 subscribers Subscribe 5.2K views 2 years ago how to add hats, wigs and custom. ![]() Local attachmentCFrame = CFrame.new(0, 0. 0:00 / 3:27 how to add custom hats, wigs and faces into roblox studio gfx tutorial ethereal kiara. Local head = character:FindFirstChild("Head") WeldAttachments(characterAttachment, accoutrementAttachment) Local characterAttachment = findFirstMatchingAttachment(character, accoutrementAttachment.Name) Local accoutrementAttachment = handle:FindFirstChildOfClass("Attachment") Local handle = accoutrement:FindFirstChild("Handle") Local foundAttachment = findFirstMatchingAttachment(child, name)įunction addAccoutrement(character, accoutrement) If child:IsA("Attachment") and child.Name = name thenĮlseif not child:IsA("Accoutrement") and not child:IsA("Tool") then - Don't look in hats or tools in the character Local function findFirstMatchingAttachment(model, name)įor _, child in pairs(model:GetChildren()) do ![]() Local function buildWeld(weldName, parent, part0, part1, c0, c1) Here is some code you can use to add an Accessory to a humanoid locally: function weldAttachments(attach1, attach2) This is intended right now but we might change it to make this easier to work with when using FilteringEnabled. This is because Accessory welds are currently created on the server only, never the client. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |