So I'm trying to rename multiple models at once in a folder. I've tried to do
local customers = game.Workspace.customers:FindFirstChildOfClass("Model") customers.Name = "test123"
but it only renames one random model. Does anyone know how?
Use pair loop or GetChildren() table
Example:
for i,v in pairs(customers:GetChildren()) do v.Name = 'test123' end