Any advice for a character avatar-related system?

I’m making a soccer game. There are two teams in the game. I want to make it so that if a player gets put on one of these teams, their shirts/pants will be deleted and a team uniform will replace it. The thing is, I want to make this super easily expandable, so I can add custom accessories like hats, packages, etc. It also needs to detect changes to those team accessory values (like if an admin wants to change a team’s shirt by a command) and apply them live.

Is there any advice on how I could set up such a complex system? I thought about storing a custom HumanoidDescription for each team and then just applying that and also reapplying it anytime a property of the description is changed, but idk…

1 Like

You can apply accessories throught by Using HumanoidDescription
use Shirt and Pants for id change (in HumanoidDescription does not apply the ids unless using Shirt and Pants)

Shirt and Pants always automically apply ids, so no worry

creating functions in module and using them in script

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.