I’m having a problem with HumanoidDescriptions. This is my code, it’s a server script and it’s inside a part in the workspace.
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local description = hit.Parent.Humanoid:GetAppliedDescription()
description.HeadScale = 2
hit.Parent.Humanoid:ApplyDescription(description)
print("applied")
end
end)
“applied” prints but nothing happens. I’m using an R6 character.
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local description = hit.Parent.Humanoid:GetAppliedDescription()
description.HeadScale = 2
description.Parent = nil
hit.Parent.Humanoid:ApplyDescription(description)
print("applied")
end
end)
The change being this: description.Parent = nil before applying the description.
Instead of nil try workspace (or some other container like ReplicatedStorage), if nil doesn’t work.