Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't my player character change when I join?

Asked by
alibix123 175
8 years ago

I have this code to clear the player's appearance and at the same time not allow the player to load their appearance:

local plr = game.Players.LocalPlayer
plr:ClearCharacterAppearance()

game.Players.PlayerAdded:connect(function(player)
    player:ClearCharacterAppearance()
    player.CanLoadCharacterAppearance =false
end)

Redundant? I know. But the problem is, I have a 'StarterCharacter' in the 'StarterPlayer' folder that according to the wiki (http://wiki.roblox.com/index.php?title=API:Class/StarterPlayer) would be used as a player model for all players. So I created my own custom character that each player will have but the problem is when I test the game, my player STILL has its appearance and I cannot move at all!

1 answer

Log in to vote
1
Answered by 8 years ago

Set Player.CanLoadCharacterAppearance to false after the playeradded line and you wont really need to use ClearCharacterAppearance.

0
Why wasn't it working before? o_o alibix123 175 — 8y
Ad

Answer this question