Humanoid Description Bug Killing Player?
Asked by
4 years ago Edited 4 years ago
So basically when a player joins my game I am trying to default them to normal body parts. "The normal cubical ones". To do this I am cloning their current HumanoidDescription and then changing all the bodyType values to 0. But I came to a problem for certain people with "special" bodyTypes, it keeps killing them every time I :ApplyDescription()
01 | game.Players.PlayerAdded:Connect( function (Player) |
02 | Player.CharacterAppearanceLoaded:Connect( function (Character) |
04 | local Humanoid = Character and Character:FindFirstChild( "Humanoid" ) |
05 | local HumDesc = Humanoid:FindFirstChild( "HumanoidDescription" ) |
12 | Humanoid:ApplyDescription(HumDesc) |
Does anyone know why it kills certain people or is it just a bug I have to report?
Or is there another way to achieve what I am doing?