Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

HumanoidDescription won't work anymore. Please help?

Hi, I made this script to load the character with a set avatar and it worked for a while but now it won't for some reason. There's nothing in the console either.

game.Players.CharacterAutoLoads = false

local function onPlayerAdded(player)
	local humanoidDescription = Instance.new("HumanoidDescription")
	humanoidDescription.HatAccessory = "1915075589"
	humanoidDescription.Shirt = "249291407"
	humanoidDescription.Pants = "249291430"
	player:LoadCharacterWithHumanoidDescription(humanoidDescription)
end


game.Players.PlayerAdded:Connect(onPlayerAdded)

Please help.

1 answer

✓ Accepted answer
game.Players.PlayerAdded:Connect(onPlayerAdded)
for _,v in ipairs(game.Players:GetPlayers())do
onPlayerAdded(v)
end

1 comment

0

Didn't work, had to use the script from the wiki. Thank you for your help though.

This discussion is preserved as it was. New answers, comments, and votes are closed.