"make a corruption like script for part that gets every game asset and shuffles with each every 2 seconds and include 5 levels with the level going up by 1 every 30 seconds also make the corruption get worse the higher the level is also make the game go back to normal when the part is deleted"
xxxxxxxxxx
```lua
-- server script (ServerScriptService)
local part = game.Workspace.CorruptionPart -- assuming there's a part named CorruptionPart
local level = 1
local assets = {} -- assuming this is filled with asset ids or references
local function shuffleAssets()
for _, obj in pairs(game:GetDescendants()) do
if obj:IsA("MeshPart") or obj:IsA("Part") or obj:IsA("Decal") then
local randomAsset = assets[math.random(1, #assets)]
-- Example for MeshPart, similar logic can be applied for other types
if obj:IsA("MeshPart") then
obj.MeshId = randomAsset -- assuming assets contains MeshIds for MeshParts
elseif obj:IsA("Decal") then
obj.Texture = randomAsset -- assuming assets contains TextureIds for Decals
end
end
end
end