Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Model with 60+s Parts named Part, need to be sorted out, in number-order. help?

Howdy!

I know this site is not meant to ask someone to write a script for someone, but i hope this is a one time question.

I got a model with over 60 Parts inside it, and all of them are named 'Part'

But for my CFrame:lerp i need to move the object from Part 1 to 2, to 3, to 4.

And i've got a script for that, no worries. But how can i quickly number all parts? And, also in the sequence

So, Part 1 = the begin, Part 2 is next to, Part 3 next to it.

Only thing i could write was a script which sorts them, but Part 1 could be like Part 30, instead of Part 1, if you get what i mean.

Does anyone knows a script, or can lead me into the good directions?

2 answers

You could get a plugin for 120 robux i forgot the name but it is something like 'InCommand' or otherwise there is no other way that will do it fast, it will just take a while

4 comments

0

InCommand is a upgraded command mar but you can make a script that automatically names them. the best part is you can save that script and add it in again for another use

0

Command Bar**

0

I just checked, It is called InCommand

0

I’ve purchased it. Haven’t been able to look at it because ik not home. Is there a special command to sort them out or something?

local modelParts = model:GetChildren()
for i = 1, #modelParts do
	modelParts[i].Name = i
end

1 comment

0

Nope. Because now it randomly picks a part. And not in order from 1 to 60.

This discussion is preserved as it was. New answers, comments, and votes are closed.