How do I make the game not load the characters pants and shirt and hat without doing
CanLoadCharacterAppearance = false
How do I make the game not load the characters pants and shirt and hat without doing
CanLoadCharacterAppearance = false
EDIT: Someone said about you not wanting to do this, so here is a way of doing that!
What I will be doing is taking the player and waiting for the character to load. Once that happens, I wait for their pants, shirt, and hats to load, then :Remove() them.
game.Players.PlayerAdded:connect(function (player)
player.CharacterAdded:connect(function (char)
for _, object in pairs(char:GetChildren()) do
if object:IsA("Pants") or object:IsA("Shirt") or object:IsA("Hat") then
object:Remove()
end
end
end)
end)
Hope this helps :)
Hey! First off here is a wiki page to the player object! This has some information about it AND the stuff about the character loading stuff!
Okay to begin this is how I believe you can set it up as:
game.Players.PlayerAdded:connect(function (player)
player.CanLoadCharacterApparence = false
end
That is server side, so I'm not positive it will work! So here a little snippet of code for a local script instead!
game.Players.LocalPlayer.CanLoadCharacterApparence = false
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
The OP asked not to use the CanLoadCharacterAppearance property.
Oh, let me fix that.