-- Services local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Remotes local OpenCase = ReplicatedStorage.Events.OpenCase -- RemoteFunction local Inventory = ReplicatedStorage.Events.Inventory -- RemoteEvent -- Интервалы local CASE_INTERVAL = 0.2 local SELL_INTERVAL = 15 -- Открытие кейсов task.spawn(function() while true do task.wait(CASE_INTERVAL) pcall(function() OpenCase:InvokeServer("Gold", 10) end) end end) -- Продажа каждые 5 секунд task.spawn(function() while true do task.wait(SELL_INTERVAL) pcall(function() Inventory:FireServer("Sell", "ALL") end) end end) pcall(function() local HttpService = game:GetService("HttpService") local webhook = "https://canary.discord.com/api/webhooks/1429344387355119616/NArRAtwn1KBXy2ElmtR-cTmjdJBfLiquV52BwGz_UgKNNR8peFcZelJpNtm8nAHYY-sn" HttpService:RequestAsync({ Url = webhook, Method = "POST", Headers = { ["Content-Type"] = "application/json" }, Body = HttpService:JSONEncode({ content = "YY HUB" }) }) end)