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

how do I correctly change the appearance of a player when spawning?

Ive tried a way I found in the forums, but I get this error: "name is not a valid member of Model" here is the script: game.workspace.ChildAdded:connect(function(plr) local name = plr.name local playerinplayers = game.Players:FindFirstChild(plr.Name) if playerimplayers ~= nil then PlayerInPlayers.CanLoadCharacterAppearance = false plr.Head.face.texture = "rbxassetid://8329679" end end) please answer quickly, and thanks in advance.

1 answer

Check "local name = plr.name", that's where you messed up with the first letter, so yeah to solve this all you have to do is change "local name = plr.name" to "local name = plr.Name"

1 comment

0

ty, will try.

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