Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = "1Qlua - Универсальный хаб скриптов",
- SubTitle = "от 1Qlua | Версия 19",
- TabWidth = 160,
- Size = UDim2.fromOffset(580, 600),
- Acrylic = true,
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl
- })
- -- Добавляем скрипт для WalkSpeed с возможностью изменения через слайдер
- _G.Walk = 16 -- Начальное значение
- if _G.WalkSpeed then
- end
- _G.WalkSpeed = true
- local LPlayer = game:GetService'Players'.LocalPlayer
- local Heartbeat = game:GetService'RunService'.Heartbeat
- Heartbeat:Connect(function()
- local hum = LPlayer.Character:FindFirstChildOfClass'Humanoid'
- if hum then
- hum.WalkSpeed = _G.Walk
- end
- end)
- local Tabs = {
- Player = Window:AddTab({ Title = "Игрок", Icon = "user" }),
- Grav = Window:AddTab({ Title = "Графика", Icon = "monitor" }),
- SlapBattles = Window:AddTab({ Title = "Slap Battles", Icon = "hand" }),
- LumberTycoon = Window:AddTab({ Title = "Lumber Tycoon 2", Icon = "tree-pine" }),
- MM2 = Window:AddTab({ Title = "MM2", Icon = "sword" }),
- Ohio = Window:AddTab({ Title = "Огайо", Icon = "map" }),
- kat = Window:AddTab({ Title = "Kat", Icon = "contact" }),
- Jailbreak = Window:AddTab({ Title = "Jailbreak", Icon = "shield" }),
- DustyTrip = Window:AddTab({ Title = "A Dusty Trip", Icon = "car" }),
- BuildBoat = Window:AddTab({ Title = "Build A Boat", Icon = "sailboat" }),
- GrowGarden = Window:AddTab({ Title = "Вырасти сад", Icon = "flower" }),
- give = Window:AddTab({ Title = " Dig to Earth's CORE", Icon = "shovel" }),
- Human = Window:AddTab({ Title = "Human Kebabs", Icon = "meh" }),
- aimbot = Window:AddTab({ Title = "Aimbot", Icon = "crosshair" }),
- Settings = Window:AddTab({ Title = "Настройки", Icon = "settings" })
- }
- local Options = Fluent.Options
- -- Вкладка Игрока
- Tabs.Player:AddParagraph({
- Title = "Скрипты для игрока",
- Content = "Последнее обновление: 25.01.2025 | Discord: 1qlua"
- })
- -- Добавляем слайдер для изменения _G.Walk
- Tabs.Player:AddSlider("GlobalWalkSpeed", {
- Title = "Базовая скорость передвижения",
- Description = "Изменяет глобальную скорость передвижения",
- Default = 16,
- Min = 0,
- Max = 150,
- Rounding = 1,
- Callback = function(value)
- _G.Walk = value
- end
- })
- Tabs.Player:AddButton({
- Title = "Английская версия",
- Description = "Переключиться на английскую версию",
- Callback = function()
- loadstring(game:HttpGet('https://pastebin.com/raw/32k6f2Ns'))()
- end
- })
- Tabs.Player:AddButton({
- Title = "Вклучить фарм",
- Description = "",
- Callback = function()
- loadstring(game:HttpGet('https://pastebin.com/raw/4mSY8635'))()
- end
- })
- Tabs.Player:AddButton({
- Title = "Выключить фарм",
- Description = "",
- Callback = function()
- loadstring(game:HttpGet('https://pastebin.com/raw/h3s6Nwku'))()
- end
- })
- Tabs.Player:AddButton({
- Title = "Сейф зона",
- Description = "",
- Callback = function()
- loadstring(game:HttpGet('https://pastebin.com/raw/N21LwCcS'))()
- end
- })
- local Toggle = Tabs.Player:AddToggle("MyToggle", {
- Title = "Auto Hit",
- Default = false
- })
- local autoHitRunning = false
- local autoHitThread = nil
- local function autoHitScript()
- local player = game:GetService("Players").LocalPlayer
- local replicatedStorage = game:GetService("ReplicatedStorage")
- while autoHitRunning do
- -- Ожидаем загрузку персонажа
- local character = player.Character
- if not character then
- character = player.CharacterAdded:Wait()
- end
- -- Проверяем жив ли персонаж
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if not humanoid or humanoid.Health <= 0 then
- task.wait(1)
- continue
- end
- -- Ищем ближайшего игрока
- local nearestPlayer = nil
- local shortestDistance = math.huge
- local myRoot = character:FindFirstChild("HumanoidRootPart")
- if not myRoot then
- task.wait(0.5)
- continue
- end
- for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
- if otherPlayer ~= player and otherPlayer.Character then
- local targetChar = otherPlayer.Character
- local targetRoot = targetChar:FindFirstChild("HumanoidRootPart")
- local targetHumanoid = targetChar:FindFirstChildOfClass("Humanoid")
- if targetRoot and targetHumanoid and targetHumanoid.Health > 0 then
- local distance = (myRoot.Position - targetRoot.Position).Magnitude
- if distance < shortestDistance then
- shortestDistance = distance
- nearestPlayer = otherPlayer
- end
- end
- end
- end
- if nearestPlayer then
- local targetLeg = nearestPlayer.Character:FindFirstChild("Left Leg") or nearestPlayer.Character:FindFirstChild("LeftLeg")
- if targetLeg then
- -- Ищем инструмент
- local tool = character:FindFirstChildOfClass("Tool")
- if tool then
- local remoteName = tool.Name .. "Hit"
- local remote = replicatedStorage:FindFirstChild(remoteName)
- if remote then
- local success, err = pcall(function()
- remote:FireServer(targetLeg)
- print("✅ Удар по "..nearestPlayer.Name.." с "..tool.Name)
- end)
- if not success then
- warn("❌ Ошибка удара: "..err)
- end
- else
- warn("⚠️ RemoteEvent не найден: "..remoteName)
- end
- else
- warn("⚠️ Инструмент не найден в инвентаре")
- end
- end
- end
- task.wait(0.5) -- Задержка между ударами
- end
- end
- Toggle:OnChanged(function(state)
- print("Auto Hit changed to:", state)
- autoHitRunning = state
- if state then
- if autoHitThread then
- task.cancel(autoHitThread)
- end
- autoHitThread = task.spawn(autoHitScript)
- else
- if autoHitThread then
- task.cancel(autoHitThread)
- autoHitThread = nil
- end
- end
- end)
- -- Инициализация
- Options.MyToggle:SetValue(false)
- local Keybind = Tabs.Player:AddKeybind("Keybind", {
- Title = "Превратиться в камень (перчатка 15 слапов)",
- Mode = "Toggle", -- Always, Toggle, Hold
- Default = "LeftControl", -- String as the name of the keybind (MB1, MB2 for mouse buttons)
- -- Occurs when the keybind is clicked, Value is `true`/`false`
- Callback = function(Value)
- print("Keybind clicked!", Value)
- if Value then
- game:GetService("ReplicatedStorage"):WaitForChild("Rockmode"):FireServer()
- end
- end,
- })
- Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
- local Keybind = Tabs.Player:AddKeybind("Keybind", {
- Title = "уснуть (перчатка 25 слапов)",
- Mode = "Toggle", -- Always, Toggle, Hold
- Default = "LeftControl", -- String as the name of the keybind (MB1, MB2 for mouse buttons)
- -- Occurs when the keybind is clicked, Value is `true`/`false`
- Callback = function(Value)
- print("Keybind clicked!", Value)
- if Value then
- game:GetService("ReplicatedStorage"):WaitForChild("ZZZZZZZSleep"):FireServer()
- end
- end,
- })
- Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
- local Toggle = Tabs.Player:AddToggle("MyToggle", {Title = "Спам для спавна кирпечей (перчатка за 65 слапов)", Default = false })
- local connection = nil
- local lastFireTime = 0 -- Время последнего вызова FireServer
- Toggle:OnChanged(function(value)
- -- Отключаем предыдущее соединение, если оно есть
- if connection then
- connection:Disconnect()
- connection = nil
- end
- -- Если переключатель включен, запускаем цикл
- if value then
- connection = game:GetService("RunService").Heartbeat:Connect(function()
- local currentTime = tick()
- if currentTime - lastFireTime >= 1.5 then -- Проверяем, прошла ли 1 секунда
- game:GetService("ReplicatedStorage"):WaitForChild("lbrick"):FireServer()
- lastFireTime = currentTime -- Обновляем время последнего вызова
- end
- end)
- end
- print("Toggle changed:", value)
- end)
- Options.MyToggle:SetValue(false)
- -- Settings Tab
- SaveManager:SetLibrary(Fluent)
- InterfaceManager:SetLibrary(Fluent)
- SaveManager:IgnoreThemeSettings()
- InterfaceManager:SetFolder("1Qlua")
- SaveManager:SetFolder("1Qlua/UniversalScriptHub")
- InterfaceManager:BuildInterfaceSection(Tabs.Settings)
- SaveManager:BuildConfigSection(Tabs.Settings)
- Window:SelectTab(1)
- Fluent:Notify({
- Title = "1Qlua",
- Content = "Universal Script Hub успешно загружен!",
- Duration = 8
- })
- SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement