#How to use more then one parent_setup in scrips on attachables

1 messages · Page 1 of 1 (latest)

warped horizon
#

I been trying to find out how to use more then one variable to make the player head and helment invisible when they are wearing my attachment

I have tried typing this so many different ways ether it gives me errors or says it works but only makes the first variable

"scripts": {
"parent_setup": "(variable.hat_layer_visible = 0.0) && (variable.head_layer_visible = 0.0);"

        }

i also uploaded the full attachables code there if it will help.

or is there a layer that covers both the head and helment

warped horizon
# inland plover

i really aprecate the feedback but unfortanly that dosent work you got to use the word variable or parent setup wont use it and i tryed "variable.helmet_layer_visible = 0; variable.head_layer_visible = 0;"
and again it only uses the first variable and just ingores the head layer

#

i think at this point the only way i can do this is by using the player render contoller and anytime they wear anything with a bone called mask it makes there head and helement disapear

inland plover