Making a Script that will clone into parts

What do you want to achieve?

I want to achieve a script that can clone a script and clone it into parts, this may sound confusing, but let’s do an example of what I’m talking about.

so I hate where if I have the same script that dose the same thing but it’s in different parts and I have to go and edited each one which takes a long time, I know there a faster way to do it but I’m only a beginners script so I know there a better way, but the script I want is.

so this is a car.

Next picture

Next picture

Next picture

Next picture

Last picture

and that how I want my script to work out so it makes it easier for me and not going into each part to edit the script inside of each part.

Please do not ask people to write entire scripts or design entire systems for you.

Yes indeed there is a better way to give each part a property an object like property known as the collection services:

This is how you can normally “split scripts and clone it into parts” like how if you search up what collection services do you can convert one script into affecting multiple kill brick parts.

In this scenario, you can use a for loop to loop through the Car Body and find each part named “1” and if so give them the “script”.

1 Like

Sorry for a late thank you I was making sure everything works fine and it dose so thanks for the CollectionService now I learn something new today :slight_smile: