I have the InCommand plugin to make my life easier but in a power user way but there's something I've never been tought to (I learned scripting through youtube tutorials) and that is... going through loops and doing things to make it ordered by adding an incremental number at the end.
so, I use a temporary script to check if there's any problems and there was but I fixed it and, it still didn't work because I literally don't know how to do that kind of thing, I was never tought that.
Script:
local model = workspace.ServerRoom
for i = 1, 16, 1 do
for k, v in pairs(model["ServerPack"] .. i:GetChildren()) do
for j = 1, 10, 1 do
v.Name = "Box" .. j
end
end
end
Error:
Runtime error in InCommand script: ServerPack is not a valid member of Model "Workspace.ServerRoom" (x2) - Studio

3 comments
Is there an instance named ServerPack in ServerRoom?
yes, it's a model. They're all manually number ordered. (What I mean by "manually" is I renamed them in studio)
it's basically like this: ServerPack1 ServerPack2 ... etc