-- Keep both on "true" if you want to roll talent + family at the same time getgenv().toggleTalent = true -- set to "false" if you don't want to roll talent getgenv().toggleFamily = true -- set to "false" if you don't want to roll family getgenv().waitTime = 0.20 -- Set the wait time between rerolls, 0.20 is the minimum recommended, below to it can cause issues -- Auto use all codes once, set to "false" to disable getgenv().autoUseCodes = true -- Set the minimum talent value (e.g., 31 → 70). Supports multiple values. local talentConditions = {31, 32, 33, 34, 35} -- Set the family names you want, supports multiple names local familyConditions = {"Wushang", "Bai", "Xuan", "Ling"} local additionalCodes = { "1100Likes!", "1KLIKES", "900Likes!!", "500LIKES", "600LIKES", "Release", "Cultivation", "Reborn", "SorryForMaintenance", "Sorry4Shutdown", "BugFIX", "SorryForShutdowns", "100Likes" } local function isTalentConditionMet(number) for _, condition in ipairs(talentConditions) do if number >= condition then return true end end return false end local function isFamilyConditionMet(familyName) for _, condition in ipairs(familyConditions) do if familyName == condition then return true end end return false end local function redeemCode(code) local args = {code} game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("EnterCode"):FireServer(unpack(args)) task.wait(0.50) end if getgenv().autoUseCodes then local codesFolder = game:GetService("ReplicatedStorage").Modules.Data.DataTemplate:WaitForChild("Codes") for _, boolValue in ipairs(codesFolder:GetChildren()) do if boolValue:IsA("BoolValue") then redeemCode(boolValue.Name) end end for _, code in ipairs(additionalCodes) do redeemCode(code) end getgenv().autoUseCodes = false end while getgenv().toggleTalent or getgenv().toggleFamily do if getgenv().toggleTalent then local talentText = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Menu.Frame.TalentFrame.Talent.TextLabel.Text local talentNumber = tonumber(talentText) if talentNumber and isTalentConditionMet(talentNumber) then getgenv().toggleTalent = false else game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("RollTalent"):FireServer() task.wait(getgenv().waitTime) end end if getgenv().toggleFamily then local familyText = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Menu.Frame.FamilyFrame.Family.TextLabel.Text if isFamilyConditionMet(familyText) then getgenv().toggleFamily = false else game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("RollFamily"):FireServer() task.wait(getgenv().waitTime) end end end