local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Factory Rng", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Factory Rng", LoadingSubtitle = "by DinasCheats", ShowText = "Dinas", -- for mobile users to unhide rayfield, change if you'd like Theme = "Ocean", -- Check https://docs.sirius.menu/rayfield/configuration/themes ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode) DisableRayfieldPrompts = false, DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "Big Hub" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the discord every time they load it up }, KeySystem = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22") } }) local Tab = Window:CreateTab("Player", 4483362458) -- Title, Image local Section = Tab:CreateSection("Menu") local isInfinityJumpEnabled = false local UserInputService = game:GetService("UserInputService") local player = game.Players.LocalPlayer local character = player.Character local humanoid = character and character:FindFirstChild("Humanoid") local connection local function enableInfinityJump() if connection then return end -- Если уже подключено, ничего не делаем connection = UserInputService.JumpRequest:Connect(function() if humanoid and humanoid.Health > 0 then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) print("Infinity Jump включен") end local function disableInfinityJump() if connection then connection:Disconnect() connection = nil end print("Infinity Jump выключен") end local Button = Tab:CreateButton({ Name = "Infinity Jump", Callback = function() isInfinityJumpEnabled = not isInfinityJumpEnabled if isInfinityJumpEnabled then enableInfinityJump() else disableInfinityJump() end end, }) -- Обработчик добавления персонажа (на случай респавна) game.Players.LocalPlayer.CharacterAdded:Connect(function(char) character = char humanoid = character:FindFirstChild("Humanoid") if isInfinityJumpEnabled then enableInfinityJump() end end) -- Инициализация при старте if character then humanoid = character:FindFirstChild("Humanoid") end local noclipEnabled = false local player = game.Players.LocalPlayer local character = player.Character local humanoid = character and character:FindFirstChild("Humanoid") -- Функция для включения NoClip local function enableNoclip() if not character then return end for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end print("NoClip включен") end -- Функция для выключения NoClip local function disableNoclip() if not character then return end for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end print("NoClip выключен") end -- Функция для переключения NoClip local function toggleNoclip() noclipEnabled = not noclipEnabled if noclipEnabled then enableNoclip() else disableNoclip() end end local Button = Tab:CreateButton({ Name = "Noclip Toggle", Callback = function() -- Обновляем ссылку на персонажа, если нужно character = player.Character or player.CharacterAdded:Wait() humanoid = character and character:FindFirstChild("Humanoid") toggleNoclip() end, }) -- Обработчик добавления персонажа (на случай респавна) player.CharacterAdded:Connect(function(char) character = char humanoid = character and character:FindFirstChild("Humanoid") if noclipEnabled then enableNoclip() end end) -- Инициализация при старте if character then humanoid = character:FindFirstChild("Humanoid") if noclipEnabled then enableNoclip() end end -- Периодически отключаем столкновения, чтобы избежать багов game:GetService("RunService").Stepped:Connect(function() if noclipEnabled and character then for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local Slider = Tab:CreateSlider({ Name = "Speed Slider", Range = {0, 200}, -- Диапазон скорости от 0 до 100 Increment = 1, -- Шаг изменения скорости Suffix = "Speed", CurrentValue = 16, -- Стандартная скорость Roblox — 16 Flag = "SpeedSlider", Callback = function(Value) -- Обновляем ссылку на персонажа и Humanoid, если персонаж сменился character = player.Character or player.CharacterAdded:Wait() humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = Value print("Скорость установлена на: " .. tostring(Value)) end end, }) local Tab = Window:CreateTab("Cheats", 4483362458) -- Title, Image local Section = Tab:CreateSection("Menu") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Получаем RemoteFunction local RollMachine = ReplicatedStorage:WaitForChild("ClientToServer"):WaitForChild("RollMachine") -- Настройки авторолла local autoRollEnabled = false local rollInterval = 0.1 -- Интервал между бросками (в секундах) local lastRollTime = 0 -- Функция для включения/выключения авторолла local function toggleAutoRoll(enabled) autoRollEnabled = enabled if autoRollEnabled then print("Авторолл включен") else print("Авторолл выключен") end end -- UI элемент (Toggle), если используешь какой-то UI фреймворк local Toggle = Tab:CreateToggle({ -- Замени Tab на название твоего UI фреймворка Name = "AutoRoll", CurrentValue = false, Flag = "AutoRollToggle", Callback = function(Value) toggleAutoRoll(Value) -- Вызываем функцию при изменении Toggle end }) -- Основной цикл RunService.Heartbeat:Connect(function() if autoRollEnabled then -- Проверяем время с последнего броска if tick() - lastRollTime >= rollInterval then lastRollTime = tick() -- Вызываем RemoteFunction RollMachine local success, result = pcall(function() return RollMachine:InvokeServer() end) -- Обрабатываем результат if success then print("Бросок выполнен, результат: " .. tostring(result)) else warn("Ошибка при выполнении броска: " .. tostring(result)) toggleAutoRoll(false) -- Отключаем авторолл при ошибке end end end end) local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Получаем RemoteEvent local SellStorageEvent = ReplicatedStorage:WaitForChild("ClientToServer"):WaitForChild("SellStorage") -- Настройки автопродажи local autoSellEnabled = false local sellInterval = 0.1 -- Интервал между продажами (в секундах) local lastSellTime = 0 -- Функция для включения/выключения автопродажи local function toggleAutoSell(enabled) autoSellEnabled = enabled if autoSellEnabled then print("Автопродажа включена") else print("Автопродажа выключена") end end -- UI элемент (Toggle) local Toggle = Tab:CreateToggle({ -- Замени Tab на название твоего UI фреймворка Name = "AutoSell", CurrentValue = false, Flag = "AutoSellToggle", Callback = function(Value) toggleAutoSell(Value) -- Вызываем функцию при изменении Toggle end }) -- Основной цикл RunService.Heartbeat:Connect(function() if autoSellEnabled then -- Проверяем время с последней продажи if tick() - lastSellTime >= sellInterval then lastSellTime = tick() -- Вызываем RemoteEvent SellStorage SellStorageEvent:FireServer() -- Нет аргументов для FireServer print("Продажа выполнена") end end end) local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Получаем RemoteEvent local UpgradeStorageEvent = ReplicatedStorage:WaitForChild("ClientToServer"):WaitForChild("UpgradeStorage") -- Настройки авто улучшения хранилища local autoUpgradeEnabled = false local upgradeInterval = 0.1 -- Интервал между улучшениями (в секундах) local lastUpgradeTime = 0 -- Функция для включения/выключения авто улучшения local function toggleAutoUpgrade(enabled) autoUpgradeEnabled = enabled if autoUpgradeEnabled then print("Авто улучшение хранилища включено") else print("Авто улучшение хранилища выключено") end end -- UI элемент (Toggle) local Toggle = Tab:CreateToggle({ -- Замени Tab на название твоего UI фреймворка Name = "Auto Upgrade Storage", CurrentValue = false, Flag = "AutoUpgradeToggle", Callback = function(Value) toggleAutoUpgrade(Value) -- Вызываем функцию при изменении Toggle end }) -- Основной цикл RunService.Heartbeat:Connect(function() if autoUpgradeEnabled then -- Проверяем время с последнего улучшения if tick() - lastUpgradeTime >= upgradeInterval then lastUpgradeTime = tick() -- Вызываем RemoteEvent UpgradeStorage UpgradeStorageEvent:FireServer() print("Хранилище улучшено") end end end) local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Получаем RemoteFunction local BuyFloorFunction = ReplicatedStorage:WaitForChild("ClientToServer"):WaitForChild("BuyFloor") -- Настройки авто покупки этажа local autoBuyFloorEnabled = false local buyFloorInterval = 0.1 -- Интервал между покупками этажа (в секундах) local lastBuyFloorTime = 0 -- Функция для включения/выключения авто покупки этажа local function toggleAutoBuyFloor(enabled) autoBuyFloorEnabled = enabled if autoBuyFloorEnabled then print("Авто покупка этажа включена") else print("Авто покупка этажа выключена") end end -- UI элемент (Toggle) local Toggle = Tab:CreateToggle({ -- Замени Tab на название твоего UI фреймворка Name = "Auto Buy Floor", CurrentValue = false, Flag = "AutoBuyFloorToggle", Callback = function(Value) toggleAutoBuyFloor(Value) -- Вызываем функцию при изменении Toggle end }) -- Основной цикл RunService.Heartbeat:Connect(function() if autoBuyFloorEnabled then -- Проверяем время с последней покупки if tick() - lastBuyFloorTime >= buyFloorInterval then lastBuyFloorTime = tick() -- Вызываем RemoteFunction BuyFloor local success, result = pcall(function() return BuyFloorFunction:InvokeServer() end) -- Обрабатываем результат if success then print("Этаж куплен, результат: " .. tostring(result)) else warn("Ошибка при покупке этажа: " .. tostring(result)) toggleAutoBuyFloor(false) -- Отключаем автопокупку при ошибке end end end end) -- Функция для длинного прыжка local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Получаем RemoteFunction local UpgradeFactoryTierFunction = ReplicatedStorage:WaitForChild("ClientToServer"):WaitForChild("UpgradeFactoryTier") -- Настройки авто улучшения уровня фабрики local autoUpgradeFactoryTierEnabled = false local upgradeFactoryTierInterval = 0.1 -- Интервал между улучшениями уровня фабрики (в секундах) local lastUpgradeFactoryTierTime = 0 -- Функция для включения/выключения авто улучшения уровня фабрики local function toggleAutoUpgradeFactoryTier(enabled) autoUpgradeFactoryTierEnabled = enabled if autoUpgradeFactoryTierEnabled then print("Авто улучшение уровня фабрики включено") else print("Авто улучшение уровня фабрики выключено") end end -- UI элемент (Toggle) local Toggle = Tab:CreateToggle({ -- Замени Tab на название твоего UI фреймворка Name = "Auto Upgrade Factory Tier", CurrentValue = false, Flag = "AutoUpgradeFactoryTierToggle", Callback = function(Value) toggleAutoUpgradeFactoryTier(Value) -- Вызываем функцию при изменении Toggle end }) -- Основной цикл RunService.Heartbeat:Connect(function() if autoUpgradeFactoryTierEnabled then -- Проверяем время с последнего улучшения if tick() - lastUpgradeFactoryTierTime >= upgradeFactoryTierInterval then lastUpgradeFactoryTierTime = tick() -- Вызываем RemoteFunction UpgradeFactoryTier local success, result = pcall(function() return UpgradeFactoryTierFunction:InvokeServer() end) -- Обрабатываем результат if success then print("Уровень фабрики улучшен, результат: " .. tostring(result)) else warn("Ошибка при улучшении уровня фабрики: " .. tostring(result)) toggleAutoUpgradeFactoryTier(false) -- Отключаем авто улучшение при ошибке end end end end)