local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))() local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))() local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))() local Window = Fluent:CreateWindow({ Title = "Fluent " .. Fluent.Version, SubTitle = "by jjp", TabWidth = 160, Size = UDim2.fromOffset(580, 460), Acrylic = true, Theme = "Dark", MinimizeKey = Enum.KeyCode.LeftControl }) local Tabs = { Main = Window:AddTab({ Title = "Main", Icon = "" }), Settings = Window:AddTab({ Title = "Settings", Icon = "settings" }) } local Options = Fluent.Options Fluent:Notify({ Title = "Notification", Content = "This is a notification", Duration = 5 }) Tabs.Main:AddButton({ Title = "Enable Fast roll", Callback = function() Window:Dialog({ Title = "Confirm", Buttons = { { Title = "Confirm", Callback = function() game:GetService("Players").LocalPlayer.Setting.FastRoll.Value = true game:GetService("Players").LocalPlayer.Friends.Value = 1000 game:GetService("Players").LocalPlayer.IsPremium.Value = true end }, { Title = "Cancel", Callback = function() print("Cancelled the dialog.") end } } }) end }) local Toggle = Tabs.Main:AddToggle("Auto Collect dropped potions", {Title = "Toggle", Default = false }) Toggle:OnChanged(function() if Toggle.Value then print("Auto Collect enabled") -- Функция для активации TouchTransmitter на всех объектах в Drops в Center и Plot local function triggerTouchTransmitter(path) for i = 1, 6 do local area = path:FindFirstChild(tostring(i)) if area and area:FindFirstChild("Drops") then for _, drop in ipairs(area.Drops:GetChildren()) do local touchTransmitter = drop:FindFirstChildOfClass("TouchTransmitter") if touchTransmitter then firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, drop, 0) firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, drop, 1) end end end end end -- Запуск функции для обеих областей: Center и Plot triggerTouchTransmitter(workspace.Drop.Center) triggerTouchTransmitter(workspace.Drop.Plot) else print("Auto Collect disabled") end end) Options.MyToggle:SetValue(false) SaveManager:SetLibrary(Fluent) InterfaceManager:SetLibrary(Fluent) SaveManager:IgnoreThemeSettings() SaveManager:SetIgnoreIndexes({}) InterfaceManager:SetFolder("FluentScriptHub") SaveManager:SetFolder("FluentScriptHub/specific-game") InterfaceManager:BuildInterfaceSection(Tabs.Settings) SaveManager:BuildConfigSection(Tabs.Settings) Window:SelectTab(1) Fluent:Notify({ Title = "Fluent", Content = "The script has been loaded.", Duration = 8 }) SaveManager:LoadAutoloadConfig()