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

CanLoadCharacterAppreance = false... Not Working?

CanLoadCharacterAppreance = false

game.Players.PlayerAdded:connect(function(player)
    g = game.ReplicatedStorage.Main:Clone()
    g.Parent = player.PlayerGui
	wait(2)
	local players = game.Players:GetPlayers()
	zombie = players[ math.random(1, #players)]
	zombie.CanLoadCharacterAppearance = false 
end)

	




1 answer

✓ Accepted answer

You're setting the property CanLoadCharacterAppearance to false AFTER the character's appearance has already been loaded. The method you are looking for is ClearCharacterAppearance. You could also load a certain appearance using LoadCharacterAppearance.

game.Players.PlayerAdded:connect(function(player)
	g = game.ReplicatedStorage.Main:Clone()
	g.Parent = player.PlayerGui
	wait(2)
	local players = game.Players:GetPlayers()
	zombie = players[ math.random(1, #players)
	zombie:ClearCharacterAppearance()
	-- You may want to change body colours or load an appearance.
end)

1 comment

0

THANKS!

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