Advertisement
kill21_2

Slab battle beta 1

May 22nd, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.63 KB | None | 0 0
  1. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  2. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  3. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  4.  
  5. local Window = Fluent:CreateWindow({
  6. Title = "1Qlua - Универсальный хаб скриптов",
  7. SubTitle = "от 1Qlua | Версия 19",
  8. TabWidth = 160,
  9. Size = UDim2.fromOffset(580, 600),
  10. Acrylic = true,
  11. Theme = "Dark",
  12. MinimizeKey = Enum.KeyCode.LeftControl
  13. })
  14.  
  15. -- Добавляем скрипт для WalkSpeed с возможностью изменения через слайдер
  16. _G.Walk = 16 -- Начальное значение
  17. if _G.WalkSpeed then
  18.  
  19. end
  20. _G.WalkSpeed = true
  21. local LPlayer = game:GetService'Players'.LocalPlayer
  22. local Heartbeat = game:GetService'RunService'.Heartbeat
  23. Heartbeat:Connect(function()
  24. local hum = LPlayer.Character:FindFirstChildOfClass'Humanoid'
  25. if hum then
  26. hum.WalkSpeed = _G.Walk
  27. end
  28. end)
  29.  
  30. local Tabs = {
  31. Player = Window:AddTab({ Title = "Игрок", Icon = "user" }),
  32. Grav = Window:AddTab({ Title = "Графика", Icon = "monitor" }),
  33. SlapBattles = Window:AddTab({ Title = "Slap Battles", Icon = "hand" }),
  34. LumberTycoon = Window:AddTab({ Title = "Lumber Tycoon 2", Icon = "tree-pine" }),
  35. MM2 = Window:AddTab({ Title = "MM2", Icon = "sword" }),
  36. Ohio = Window:AddTab({ Title = "Огайо", Icon = "map" }),
  37. kat = Window:AddTab({ Title = "Kat", Icon = "contact" }),
  38. Jailbreak = Window:AddTab({ Title = "Jailbreak", Icon = "shield" }),
  39. DustyTrip = Window:AddTab({ Title = "A Dusty Trip", Icon = "car" }),
  40. BuildBoat = Window:AddTab({ Title = "Build A Boat", Icon = "sailboat" }),
  41. GrowGarden = Window:AddTab({ Title = "Вырасти сад", Icon = "flower" }),
  42. give = Window:AddTab({ Title = " Dig to Earth's CORE", Icon = "shovel" }),
  43. Human = Window:AddTab({ Title = "Human Kebabs", Icon = "meh" }),
  44. aimbot = Window:AddTab({ Title = "Aimbot", Icon = "crosshair" }),
  45. Settings = Window:AddTab({ Title = "Настройки", Icon = "settings" })
  46. }
  47.  
  48. local Options = Fluent.Options
  49.  
  50. -- Вкладка Игрока
  51. Tabs.Player:AddParagraph({
  52. Title = "Скрипты для игрока",
  53. Content = "Последнее обновление: 25.01.2025 | Discord: 1qlua"
  54. })
  55.  
  56. -- Добавляем слайдер для изменения _G.Walk
  57. Tabs.Player:AddSlider("GlobalWalkSpeed", {
  58. Title = "Базовая скорость передвижения",
  59. Description = "Изменяет глобальную скорость передвижения",
  60. Default = 16,
  61. Min = 0,
  62. Max = 150,
  63. Rounding = 1,
  64. Callback = function(value)
  65. _G.Walk = value
  66. end
  67. })
  68.  
  69. Tabs.Player:AddButton({
  70. Title = "Английская версия",
  71. Description = "Переключиться на английскую версию",
  72. Callback = function()
  73. loadstring(game:HttpGet('https://pastebin.com/raw/32k6f2Ns'))()
  74. end
  75. })
  76.  
  77. Tabs.Player:AddButton({
  78. Title = "Вклучить фарм",
  79. Description = "",
  80. Callback = function()
  81. loadstring(game:HttpGet('https://pastebin.com/raw/4mSY8635'))()
  82. end
  83. })
  84.  
  85. Tabs.Player:AddButton({
  86. Title = "Выключить фарм",
  87. Description = "",
  88. Callback = function()
  89. loadstring(game:HttpGet('https://pastebin.com/raw/h3s6Nwku'))()
  90. end
  91. })
  92.  
  93. Tabs.Player:AddButton({
  94. Title = "Сейф зона",
  95. Description = "",
  96. Callback = function()
  97. loadstring(game:HttpGet('https://pastebin.com/raw/N21LwCcS'))()
  98. end
  99. })
  100.  
  101. local Toggle = Tabs.Player:AddToggle("MyToggle", {
  102. Title = "Auto Hit",
  103. Default = false
  104. })
  105.  
  106. local autoHitRunning = false
  107. local autoHitThread = nil
  108.  
  109. local function autoHitScript()
  110. local player = game:GetService("Players").LocalPlayer
  111. local replicatedStorage = game:GetService("ReplicatedStorage")
  112.  
  113. while autoHitRunning do
  114. -- Ожидаем загрузку персонажа
  115. local character = player.Character
  116. if not character then
  117. character = player.CharacterAdded:Wait()
  118. end
  119.  
  120. -- Проверяем жив ли персонаж
  121. local humanoid = character:FindFirstChildOfClass("Humanoid")
  122. if not humanoid or humanoid.Health <= 0 then
  123. task.wait(1)
  124. continue
  125. end
  126.  
  127. -- Ищем ближайшего игрока
  128. local nearestPlayer = nil
  129. local shortestDistance = math.huge
  130. local myRoot = character:FindFirstChild("HumanoidRootPart")
  131.  
  132. if not myRoot then
  133. task.wait(0.5)
  134. continue
  135. end
  136.  
  137. for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
  138. if otherPlayer ~= player and otherPlayer.Character then
  139. local targetChar = otherPlayer.Character
  140. local targetRoot = targetChar:FindFirstChild("HumanoidRootPart")
  141. local targetHumanoid = targetChar:FindFirstChildOfClass("Humanoid")
  142.  
  143. if targetRoot and targetHumanoid and targetHumanoid.Health > 0 then
  144. local distance = (myRoot.Position - targetRoot.Position).Magnitude
  145. if distance < shortestDistance then
  146. shortestDistance = distance
  147. nearestPlayer = otherPlayer
  148. end
  149. end
  150. end
  151. end
  152.  
  153. if nearestPlayer then
  154. local targetLeg = nearestPlayer.Character:FindFirstChild("Left Leg") or nearestPlayer.Character:FindFirstChild("LeftLeg")
  155. if targetLeg then
  156. -- Ищем инструмент
  157. local tool = character:FindFirstChildOfClass("Tool")
  158.  
  159. if tool then
  160. local remoteName = tool.Name .. "Hit"
  161. local remote = replicatedStorage:FindFirstChild(remoteName)
  162.  
  163. if remote then
  164. local success, err = pcall(function()
  165. remote:FireServer(targetLeg)
  166. print("✅ Удар по "..nearestPlayer.Name.." с "..tool.Name)
  167. end)
  168.  
  169. if not success then
  170. warn("❌ Ошибка удара: "..err)
  171. end
  172. else
  173. warn("⚠️ RemoteEvent не найден: "..remoteName)
  174. end
  175. else
  176. warn("⚠️ Инструмент не найден в инвентаре")
  177. end
  178. end
  179. end
  180.  
  181. task.wait(0.5) -- Задержка между ударами
  182. end
  183. end
  184.  
  185. Toggle:OnChanged(function(state)
  186. print("Auto Hit changed to:", state)
  187. autoHitRunning = state
  188.  
  189. if state then
  190. if autoHitThread then
  191. task.cancel(autoHitThread)
  192. end
  193. autoHitThread = task.spawn(autoHitScript)
  194. else
  195. if autoHitThread then
  196. task.cancel(autoHitThread)
  197. autoHitThread = nil
  198. end
  199. end
  200. end)
  201.  
  202. -- Инициализация
  203. Options.MyToggle:SetValue(false)
  204.  
  205. local Keybind = Tabs.Player:AddKeybind("Keybind", {
  206. Title = "Превратиться в камень (перчатка 15 слапов)",
  207. Mode = "Toggle", -- Always, Toggle, Hold
  208. Default = "LeftControl", -- String as the name of the keybind (MB1, MB2 for mouse buttons)
  209.  
  210. -- Occurs when the keybind is clicked, Value is `true`/`false`
  211. Callback = function(Value)
  212. print("Keybind clicked!", Value)
  213. if Value then
  214. game:GetService("ReplicatedStorage"):WaitForChild("Rockmode"):FireServer()
  215. end
  216. end,
  217.  
  218.  
  219. })
  220.  
  221.  
  222. Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
  223.  
  224.  
  225.  
  226. local Keybind = Tabs.Player:AddKeybind("Keybind", {
  227. Title = "уснуть (перчатка 25 слапов)",
  228. Mode = "Toggle", -- Always, Toggle, Hold
  229. Default = "LeftControl", -- String as the name of the keybind (MB1, MB2 for mouse buttons)
  230.  
  231. -- Occurs when the keybind is clicked, Value is `true`/`false`
  232. Callback = function(Value)
  233. print("Keybind clicked!", Value)
  234. if Value then
  235. game:GetService("ReplicatedStorage"):WaitForChild("ZZZZZZZSleep"):FireServer()
  236. end
  237. end,
  238.  
  239.  
  240. })
  241.  
  242.  
  243. Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
  244.  
  245.  
  246. local Toggle = Tabs.Player:AddToggle("MyToggle", {Title = "Спам для спавна кирпечей (перчатка за 65 слапов)", Default = false })
  247.  
  248. local connection = nil
  249. local lastFireTime = 0 -- Время последнего вызова FireServer
  250.  
  251. Toggle:OnChanged(function(value)
  252. -- Отключаем предыдущее соединение, если оно есть
  253. if connection then
  254. connection:Disconnect()
  255. connection = nil
  256. end
  257.  
  258. -- Если переключатель включен, запускаем цикл
  259. if value then
  260. connection = game:GetService("RunService").Heartbeat:Connect(function()
  261. local currentTime = tick()
  262. if currentTime - lastFireTime >= 1.5 then -- Проверяем, прошла ли 1 секунда
  263. game:GetService("ReplicatedStorage"):WaitForChild("lbrick"):FireServer()
  264. lastFireTime = currentTime -- Обновляем время последнего вызова
  265. end
  266. end)
  267. end
  268.  
  269. print("Toggle changed:", value)
  270. end)
  271.  
  272. Options.MyToggle:SetValue(false)
  273.  
  274. -- Settings Tab
  275. SaveManager:SetLibrary(Fluent)
  276. InterfaceManager:SetLibrary(Fluent)
  277. SaveManager:IgnoreThemeSettings()
  278. InterfaceManager:SetFolder("1Qlua")
  279. SaveManager:SetFolder("1Qlua/UniversalScriptHub")
  280. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  281. SaveManager:BuildConfigSection(Tabs.Settings)
  282.  
  283. Window:SelectTab(1)
  284.  
  285. Fluent:Notify({
  286. Title = "1Qlua",
  287. Content = "Universal Script Hub успешно загружен!",
  288. Duration = 8
  289. })
  290.  
  291. SaveManager:LoadAutoloadConfig()
  292.  
  293.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement