How can I replace old models with new ones?

hi, i’ve been reworking an old game recently and I decided to recycle the map cause I’m lazy, but a lot of the models are really REALLY old, and I wanna replace them with new ones, but the problem is that there’s so many it’d be tedious to do it one by one. is there a way to replace them while maintaining their position?

thank you in advance

2 Likes

Yes, definitely but there’s no “standard solution” for this. Do they all have their PrimaryParts set (as you should do with all Models)? If so it’s pretty simple to figure out how to place the new model in relation to the old one. You’ll also need a reliable way of figuring out which models you want to be replaced. Do they all have the same name or are they all inside the same parent?

2 Likes

all the models i wanna replace are in a model in itself for some reason?? i dunno i wasn’t a very efficient worker a year ago. none of them have primary parts either, but it shouldn’t be a problem to me, i can just rotate them

1 Like

Use the tag editor plugin to assign a tag to all the old models. Then put the new one somewhere in replicated storage or something. Then use collectionservice with a for loop in the command line to replace all the models. Just set the position of the parts to the same location as the old model.

2 Likes

Can you post an image of the explorer window showing the layout? There might be a way where you don’t have to manually click on every single one manually. If it’s only like 100 it’s probably not worth writing a script for it, but if it’s 100s then there’s a lot of time that can be saved

2 Likes