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

removing hats when a player joins?

i am making a game where players are only legs. i want to remove hats from the player when they join but i am unsure how, help?

1 answer

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAppearanceLoaded:Connect(function(char)
		local hum = char:WaitForChild("Humanoid")
		hum:RemoveAccessories()
	end)
end)

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