Sorry if some of this doesn’t make sense, im very tired
I am having trouble finding how to code a script that will allow players on a certain team to spawn in with a mesh helmet (the kind typically used with acs | proximity scripts or click detectors are typically used to allow the player to wear it). I’ve been stuck and I’m not sure what to do to help myself figure this out.
What is the issue?
The images below show the helmet.
I don’t know how this would be possible, and I’ve looked everywhere for assistance. There is almost nothing on how to do this.
Are you using the Team property for the player? Attach aGetPropertyChangedSignal() to the player and listen for the Team property. Then you just assign the gear/accessories like how you would parent. I would also remove the accessor(y/ies) if there isn’t a specific team as well.
If you’ve not already, you should weld everything to the handle of your accessories (and tick Massless in their properties, so they don’t affect the weight of the accessory)