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

How do I get an offline players clothing?

Asked by 8 years ago

Hello. I have npcs walking around, and I need to know how to use a script to find an offline players clothing to copy it on to my npc. This is not a request, all I need is a link, or a tiny bit of code. Thanks :D

0
This may be useful: wiki.roblox.com/index.php?title=API:Class/Players/GetCharacterAppearanceAsync TheDeadlyPanther 2460 — 8y
0
That link brings me to a verizon unknown page page. FrostTaco 90 — 8y
0
Fixed link. Apparently it doesn't work with http:// or something. TheDeadlyPanther 2460 — 8y

1 answer

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
8 years ago
Edited 8 years ago

http://wiki.roblox.com/index.php?title=API:Class/Players/GetCharacterAppearanceAsync

You can write game.Players:GetCharacterAppearanceAsync(userId) to get a model containing the assets which the player is wearing, excluding gear.

0
How do I set an npcs appearence? FrostTaco 90 — 8y
0
You put the contents of the model inside the npc. 1waffle1 2908 — 8y
0
Nothing is wrong with his answer, lerl. Although you may possibly need to explain how to put them in, waffle. TheDeadlyPanther 2460 — 8y
0
I know how xD FrostTaco 90 — 8y
Ad

Answer this question