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

How do I make it so the player's character can only wear hair accessories?

Asked by
iXBruv 24
5 years ago

I've been having some issues with this.

0
The only way I can think of is to check the accessory attachment position and see if it's near the head. But that also includes hats and face accessories. Another solution is to get the players character assests and use marketplace service to see what type of asset it is. LucarioZombie 291 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

You can check if the accessory has a ‘HairAttachment’ in its handle.

Ad

Answer this question