local Selection = game:GetService("Selection")
local MS = game:GetService("MarketplaceService")
-- Mengecek apakah kamu sudah memilih Folder
local selectedObjects = Selection:Get()
if #selectedObjects == 0 then
warn("Pilih Folder tujuan di Explorer dulu ya!")
return
end
local targetParent = selectedObjects[1]
local count = 0
for _, item in ipairs(workspace:GetChildren()) do
if item:IsA("Decal") or item:IsA("Texture") then
item.Parent = targetParent
count = count + 1
local id = string.match(item.Texture, "%d+")
if id then
task.spawn(function()
local ok, info = pcall(function() return MS:GetProductInfo(tonumber(id)) end)
if ok and info and info.Name then
local cleanName = string.gsub(info.Name, "^Images/", "")
item.Name = cleanName
end
end)
end
end
end
print("Selesai! " .. count .. " gambar berhasil dipindah ke " .. targetParent.Name .. " dan di-rename.")0 views