Hello, this is a script that finds models Named FAN001, FAN022, FAN130 etc, how to modify it so that it searches for FAN01 FAN02 etc?
local MinIndex = 1
local MaxIndex = 130
local CurrentIn = 0
local Path = script.Parent
for current = MinIndex, MaxIndex do
CurrentIn = CurrentIn + 1
local Names = "FAN000"
if CurrentIn < 10 then
Names = "FAN00"..CurrentIn
else
if CurrentIn < 100 then
Names = "FAN0"..CurrentIn
else
Names = "FAN"..CurrentIn
end
end