Hello! I am attempting to get all of a player’s hair off of their UserID alone. Is this possible? I have tried avoiding loading the hair in onto a seperate Humanoid and then loading it again. Does anyone have any ideas? Thanks in advance.
Yes Humanoid Description is what your looking for.
1 Like
Something like this;
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild("Humanoid")
if not Humanoid:IsDescendantOf(workspace) then
Humanoid.AncestryChanged:Wait()
end
local CurrentDescription = Humanoid:GetAppliedDescription() -- Gets how the player looks normally
CurrentDescription.BackAccessory = "" -- As you can see, we remove every accessory besides head accessories
CurrentDescription.FrontAccessory = ""
CurrentDescription.NeckAccessory = ""
CurrentDescription.ShouldersAccessory = ""
CurrentDescription.WaistAccessory = ""
CurrentDescription.ClimbAnimation = 0 -- All the below just turns everyone into a default character, with the ability to change everything if we so desire
CurrentDescription.FallAnimation = 0
CurrentDescription.IdleAnimation = 0
CurrentDescription.JumpAnimation = 0
CurrentDescription.RunAnimation = 0
CurrentDescription.SwimAnimation = 0
CurrentDescription.WalkAnimation = 0
CurrentDescription.Head = 0
CurrentDescription.Torso = 0
CurrentDescription.LeftArm = 0
CurrentDescription.RightArm = 0
CurrentDescription.LeftLeg = 0
CurrentDescription.RightLeg = 0
CurrentDescription.GraphicTShirt = ""
CurrentDescription.Pants = ""
CurrentDescription.Shirt = ""
CurrentDescription.BodyTypeScale = 0.3
CurrentDescription.DepthScale = 1
CurrentDescription.HeadScale = 1
CurrentDescription.HeightScale = 1
CurrentDescription.ProportionScale = 1
CurrentDescription.WidthScale = 1
local Color = Player.TeamColor.Color
CurrentDescription.HeadColor = Color
CurrentDescription.LeftArmColor = Color
CurrentDescription.LeftLegColor = Color
CurrentDescription.RightArmColor = Color
CurrentDescription.RightLegColor = Color
CurrentDescription.TorsoColor = Color
Humanoid:ApplyDescription(CurrentDescription)
end)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.