How do I make it so that players on certain teams spawn with helmets/gear

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.

  1. What is the issue?
    The images below show the helmet.
    image
    image
    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.

Thank you for any advice!

Are you using the Team property for the player? Attach a GetPropertyChangedSignal() 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)

1 Like

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