Densuu
(DenSuu)
October 3, 2022, 12:59am
#1
Hi I was looking on how do I add hair from the local roblox skin on my customize character kinda like rogue lineage. https://gyazo.com/3fdb7edde3a02912898208a8b2cf81d2
result that I want : https://gyazo.com/5da8915fa15828392c0d539b7adf0b97
( this was my roblox avatar hair)
1 Like
Slac3r
(Slac3r)
October 3, 2022, 2:48am
#2
Have a script that when a player joins, you check if they have a hair, if not add it, or if they do, change the asset id of their hair to yours.
Densuu
(DenSuu)
October 3, 2022, 5:18am
#3
I understand but it not exacly what I wanted.
Slac3r
(Slac3r)
October 3, 2022, 5:20am
#4
Yeah, I just noticed. Try inserting a accessory and put your hair’s asset id on it, then position it.
Densuu
(DenSuu)
October 10, 2022, 11:41pm
#5
sorry for late reply but I dont want everyone having my hair but they roblox avatar hair.
Slac3r
(Slac3r)
October 11, 2022, 1:59am
#6
Are you making something that gives everyone someones hair when like a button is pressed?
Densuu
(DenSuu)
October 14, 2022, 6:23pm
#7
like when they spawned theyre gonna have they roblox hair like as usual but now with the base character that I added in StarterCharacter
Slac3r
(Slac3r)
October 15, 2022, 2:49am
#8
Oh ok I understand now, you have a special character and you want to have the players existing hair to get on your special character?
Slac3r
(Slac3r)
October 15, 2022, 2:50am
#9
Does your starter character already have hair built in? Or do you have to add it?
Densuu
(DenSuu)
October 16, 2022, 11:35pm
#10
there is no hair on my special character so I have to add it. ( also thx for trying to help me )
Slac3r
(Slac3r)
October 17, 2022, 3:16am
#11
Insert a accesory into your starter character (not with a script) position it, and then add a script that will change the starter characters accesories asset id to the hair they have on their character.
Densuu
(DenSuu)
October 18, 2022, 9:28pm
#12
idk how to get the local player hair asset ID
Slac3r
(Slac3r)
October 20, 2022, 1:29am
#13
You could try this, it looks through the accessories and checks if it has a HairAttachment
for i, accessory in pairs(character:GetChildren()) do
if accessory:IsA("Accessory") then
if accessory.Handle:FindFirstChild("HairAttachment") do
print(accessory.Name) -- Change this so it changes the hair in your startercharacter
end
end
end