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

How would I get the current player's appearance ID?

Asked by
zyklp 7
6 years ago

Should be something pretty simple, but I can't seem to figure it out.

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

You can throw this in starterGui and it will grab everyone who enters AppearanceId. If you put it in ServerScriptService you are going to have to add a Wait() or WaitForChild() Function into the script because ServerScriptService runs before Character is loaded

local Players = game:GetService("Players")
function onPlayerAdded(player)
local character = player.CharacterAppearanceId
print(character)


end



for _,player in pairs(Players:GetPlayers()) do
     onPlayerAdded(player)
end
Ad

Answer this question