local settings = { ["AnniversaryWithCheese"] = 20, ["BattleBricksClassic"] = 10, ["BirthdayBash"] = 10, ["BlackBabatala"] = 20, ["Chapter1"] = 30, ["Chapter2"] = 30, ["Chapter3"] = 30, ["Chapter4"] = 30, ["CoilChaos"] = 20, ["CommunityPack1"] = 20, ["CommunityPack2"] = 20, ["CommunityPack3"] = 20, ["CommunityPack4"] = 20, ["CrimsonSkies"] = 15, ["FrozenNorth"] = 20, ["RedHerring"] = 15, ["UncookedBusiness"] = 20 } local player = game.Players.LocalPlayer local stageFolder = player:WaitForChild("PlayerData"):WaitForChild("Unlocked"):WaitForChild("Stage") local function updateStars(modeFolder, newValue) if modeFolder then for i = 1, 3 do local starName = "Star" .. i local starObj = modeFolder:FindFirstChild(starName) if starObj and starObj:IsA("NumberValue") then starObj.Value = newValue end end end end for folderName, value in pairs(settings) do local folder = stageFolder:FindFirstChild(folderName) if folder then updateStars(folder:FindFirstChild("Easy"), value) updateStars(folder:FindFirstChild("Hard"), value) end end