Advertisement
Hades126

Boxing Beta!

Dec 8th, 2024 (edited)
3,253
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 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://pastebin.com/raw/9zaT9uky"))()
  3. local InterfaceManager = loadstring(game:HttpGet("https://pastebin.com/xg0nC9Ab"))()
  4.  
  5. local Window = Fluent:CreateWindow({
  6. Title = "Box-Beta",
  7. SubTitle = "",
  8. TabWidth = 160,
  9. Size = UDim2.fromOffset(580, 460),
  10. Acrylic = false, -- The blur may be detectable, setting this to false disables blur entirely
  11. Theme = "Dark",
  12. MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
  13. })
  14.  
  15. --Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are optional
  16. local Tabs = {
  17. Main = Window:AddTab({ Title = "Main", Icon = "" }),
  18. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  19. }
  20.  
  21. local Options = Fluent.Options
  22.  
  23.  
  24.  
  25. local PunchAura = Tabs.Main:AddToggle("PunchAura", {Title = "Box Aura", Default = false})
  26.  
  27. local AutoBlock = Tabs.Main:AddToggle("Auto Block", {Title = "Auto Block", Default = false})
  28.  
  29. local AutoDoge = Tabs.Main:AddToggle("Auto Doge", {Title = "Auto Dodge", Default = false})
  30.  
  31. local Players = game:GetService("Players")
  32. local LocalPlayer = Players.LocalPlayer
  33. local Char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  34. local RunService = game:GetService("RunService")
  35. local mainloop = nil
  36.  
  37.  
  38.  
  39.  
  40. local function EquipGloves(state)
  41. if state then
  42. LocalPlayer.Backpack.Gloves.Parent = Char
  43. else
  44. Char.Gloves = LocalPlayer.Backpack
  45. end
  46. end
  47.  
  48. local function Punch(Player)
  49. local args = {
  50. [1] = Player.Character,
  51. [3] = "back",
  52. [4] = false,
  53. [5] = "Left"
  54. }
  55.  
  56. print(Player.Character)
  57.  
  58. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("Damage3Event"):FireServer(unpack(args))
  59.  
  60.  
  61. --[[
  62.  
  63. local args = {
  64. [1] = Player.Character,
  65. [2] = true,
  66. [3] = "back",
  67. [4] = false
  68. }
  69.  
  70. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("Damage3Event"):FireServer(unpack(args))
  71. ]]
  72.  
  73. end
  74.  
  75. local function Dodge()
  76.  
  77. local table = {"right", "left", "back"}
  78.  
  79.  
  80. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("DodgeEvent"):FireServer(table[math.random(1,2)])
  81.  
  82.  
  83.  
  84. end
  85.  
  86. local function GetHealth()
  87. return tonumber(Char.HumanoidRootPart.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.HealthBarContainer.TextLabel.Text)
  88. end
  89.  
  90. local function block(state)
  91. if not state then
  92. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("BlockEvent"):FireServer("unblocking")
  93. else
  94. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("BlockEvent"):FireServer("blockStart")
  95. end
  96. end
  97.  
  98. local function IsBlocking()
  99. if Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.ShieldIcon.Fluid.ImageColor3 == Color3.fromRGB(225, 76, 255) then
  100. return true
  101. else
  102. return false
  103. end
  104. end
  105.  
  106. local function GetStamina()
  107. return tonumber(Char.HumanoidRootPart.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.StaminaBarContainer.TextLabel.Text)
  108. end
  109.  
  110. local function GetBlock()
  111. return tonumber(Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.HealthNumber.ContentText)
  112. end
  113.  
  114. local function GetSuper()
  115. local text
  116. local result
  117. if LocalPlayer.PlayerGui.MobileControls:FindFirstChild("UltimateMainContainer") then
  118. text = LocalPlayer.PlayerGui.MobileControls.UltimateMainContainer.ContentContainer.TextContainer.NumberTextLabel.ContentText
  119. result = text:gsub("%%", "")
  120.  
  121. return tonumber(result)
  122. else
  123.  
  124. text = LocalPlayer.PlayerGui.MobileControls.MobileButtonAreaContainer.UltimateMainContainer.ContentContainer.TextContainer.NumberTextLabel.ContentText
  125. result = text:gsub("%%", "")
  126.  
  127. return tonumber(result)
  128. end
  129.  
  130. end
  131.  
  132.  
  133. local function getclosest()
  134. local maxdis = 7
  135. local dis
  136. local closest = nil
  137.  
  138. for i, v in pairs(Players:GetPlayers()) do
  139. if v ~= LocalPlayer then
  140. dis = (Char:WaitForChild("HumanoidRootPart").Position-v.Character.HumanoidRootPart.Position).Magnitude
  141. if dis <= maxdis then
  142. maxdis = dis
  143. closest = v
  144. end
  145. end
  146. end
  147.  
  148. return closest , dis
  149.  
  150. end
  151.  
  152.  
  153. mainloop = RunService.RenderStepped:Connect(function()
  154.  
  155. if Options["PunchAura"].Value == true then
  156. local closest, dis = getclosest()
  157. if closest then
  158. if LocalPlayer.Backpack:FindFirstChild("Gloves") then
  159. EquipGloves(true)
  160. else
  161. if GetStamina() >= 10 and GetSuper() ~= 100 then
  162. Punch(closest)
  163. end
  164.  
  165. if GetSuper() == 100 then
  166. local args = {
  167. [1] = closest.Character,
  168. [2] = true,
  169. [3] = "back",
  170. [4] = false
  171. }
  172.  
  173. game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("Damage3Event"):FireServer(unpack(args))
  174. end
  175. end
  176. end
  177. end
  178.  
  179. if Options["Auto Block"].Value then
  180. if IsBlocking() == false then
  181. if (GetStamina() <= 10 or GetHealth() <= 15) and GetBlock() >= 2 then
  182. block(true)
  183. end
  184. end
  185. end
  186. --[[
  187. if Options["Auto Doge"].Value then
  188. if Char.LastPunchedBy.Value ~= nil then
  189. local attacker = tostring(Char.LastPunchedBy.Value.Parent)
  190. local closest, dis = getclosest()
  191.  
  192. if tostring(closest) == tostring(LocalPlayer.LastPlayerHit.Value) then
  193. if GetStamina() >= 30 then
  194. Dodge()
  195. end
  196.  
  197. end
  198. end
  199. end
  200. ]]
  201. end)
  202.  
  203. print("fe")
  204.  
  205. local oldhealth = GetHealth()
  206. Char.HumanoidRootPart.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.HealthBarContainer.TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
  207.  
  208. local newhealth = GetHealth()
  209.  
  210. if Options["Auto Doge"].Value then
  211. if oldhealth > newhealth then
  212. if GetStamina() >= 30 then
  213. task.wait(0.2)
  214. Dodge()
  215. print("should dodge")
  216. end
  217. end
  218. end
  219.  
  220. oldhealth = Char:WaitForChild("Humanoid").Health
  221.  
  222. end)
  223.  
  224.  
  225.  
  226. SaveManager:SetLibrary(Fluent)
  227. InterfaceManager:SetLibrary(Fluent)
  228.  
  229. SaveManager:IgnoreThemeSettings()
  230.  
  231. SaveManager:SetIgnoreIndexes({})
  232.  
  233. InterfaceManager:SetFolder("FluentScriptHub")
  234. SaveManager:SetFolder("FluentScriptHub/specific-game")
  235.  
  236. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  237. SaveManager:BuildConfigSection(Tabs.Settings)
  238.  
  239.  
  240. Window:SelectTab(1)
  241.  
  242. Fluent:Notify({
  243. Title = "Fluent",
  244. Content = "The script has been loaded.",
  245. Duration = 8
  246. })
  247.  
  248. SaveManager:LoadAutoloadConfig()
  249.  
  250.  
  251. --[[
  252. -- 1. Load the library
  253. local Sense = loadstring(game:HttpGet('https://pastebin.com/raw/e3SQ2NTX'))()
  254.  
  255. -- 2. Change the configuration.
  256. Sense.teamSettings.enemy.enabled = true
  257. Sense.teamSettings.enemy.box = true
  258. Sense.teamSettings.enemy.name = true
  259. Sense.teamSettings.enemy.boxColor[1] = Color3.new(0, 0.25, 0.75)
  260.  
  261. -- 3. Load the esp. It doesn't really matter where you put this, but it's recommended you put it at the end of your script.
  262. Sense.Load()
  263.  
  264. -- 4. Unload the esp. When you unload Sense, it will clean up every drawing object and instance it has made.
  265. --Sense.Unload()
  266. ]]
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement