KEMBAR78
Boxing Beta Script | PDF | Software | Computing
0% found this document useful (0 votes)
5K views6 pages

Boxing Beta Script

The document is a Lua script for a game that utilizes the Fluent library to create a user interface with various combat features such as Punch Aura, Auto Block, and Auto Dodge. It includes functions for equipping gloves, executing punches, dodging attacks, and managing health and stamina. Additionally, it incorporates a save manager and interface manager for configuration and settings management.

Uploaded by

dzakyputraa2013
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5K views6 pages

Boxing Beta Script

The document is a Lua script for a game that utilizes the Fluent library to create a user interface with various combat features such as Punch Aura, Auto Block, and Auto Dodge. It includes functions for equipping gloves, executing punches, dodging attacks, and managing health and stamina. Additionally, it incorporates a save manager and interface manager for configuration and settings management.

Uploaded by

dzakyputraa2013
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

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 = "Box-Beta",
SubTitle = "",
TabWidth = 160,
Size = UDim2.fromOffset(580, 460),
Acrylic = false, -- The blur may be detectable, setting this to false disables
blur entirely
Theme = "Dark",
MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
})

--Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are
optional
local Tabs = {
Main = Window:AddTab({ Title = "Main", Icon = "" }),
Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
}

local Options = Fluent.Options

local PunchAura = Tabs.Main:AddToggle("PunchAura", {Title = "Box Aura", Default =


false})

local AutoBlock = Tabs.Main:AddToggle("Auto Block", {Title = "Auto Block", Default


= false})

local AutoDoge = Tabs.Main:AddToggle("Auto Doge", {Title = "Auto Dodge", Default =


false})

local Players = game:GetService("Players")


local LocalPlayer = Players.LocalPlayer
local Char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local RunService = game:GetService("RunService")
local mainloop = nil

local function EquipGloves(state)


if state then
LocalPlayer.Backpack.Gloves.Parent = Char
else
Char.Gloves = LocalPlayer.Backpack
end
end

local function Punch(Player)


local args = {
[1] = Player.Character,
[3] = "back",
[4] = false,
[5] = "Left"
}

print(Player.Character)

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("Damage3Event"):FireServer(unpack(args))

--[[

local args = {
[1] = Player.Character,
[2] = true,
[3] = "back",
[4] = false
}

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("Damage3Event"):FireServer(unpack(args))
]]

end

local function Dodge()

local table = {"right", "left", "back"}

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("DodgeEvent"):FireServer(table[math.random(1,2)])

end

local function GetHealth()


return
tonumber(Char.HumanoidRootPart[game.Players.LocalPlayer.Name].CenterContainer.Healt
hStaminaContainer.HealthBarContainer.TextLabel.Text)
end

local function block(state)


if not state then

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("BlockEvent"):FireServer("unblocking")
else

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("BlockEvent"):FireServer("blockStart")
end
end

local function IsBlocking()


if
Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.ShieldIcon.Fluid.ImageC
olor3 == Color3.fromRGB(225, 76, 255) then
return true
else
return false
end
end

local function GetStamina()


return
tonumber(Char.HumanoidRootPart[game.Players.LocalPlayer.Name].CenterContainer.Healt
hStaminaContainer.StaminaBarContainer.TextLabel.Text)
end

local function GetBlock()


return
tonumber(Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.HealthNumber.C
ontentText)
end

local function GetSuper()


local text
local result
if LocalPlayer.PlayerGui.MobileControls:FindFirstChild("UltimateMainContainer")
then
text
=LocalPlayer.PlayerGui.MobileControls.UltimateMainContainer.ContentContainer.TextCo
ntainer.NumberTextLabel.ContentText
result = text:gsub("%%", "")

return tonumber(result)
else

text =
LocalPlayer.PlayerGui.MobileControls.MobileButtonAreaContainer.UltimateMainContaine
r.ContentContainer.TextContainer.NumberTextLabel.ContentText
result = text:gsub("%%", "")

return tonumber(result)
end

end

local function getclosest()


local maxdis = 7
local dis
local closest = nil

for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer then
dis = (Char:WaitForChild("HumanoidRootPart").Position-
v.Character:WaitForChild("HumanoidRootPart").Position).Magnitude
if dis <= maxdis then
maxdis = dis
closest = v
end
end
end

return closest , dis

end

mainloop = RunService.RenderStepped:Connect(function()

if Options["PunchAura"].Value == true then


local closest, dis = getclosest()
if closest then
if LocalPlayer.Backpack:FindFirstChild("Gloves") then
EquipGloves(true)
else
if GetStamina() >= 10 and GetSuper() ~= 100 then
Punch(closest)
end

if GetSuper() == 100 then


local args = {
[1] = closest.Character,
[2] = true,
[3] = "back",
[4] = false
}

game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForCh
ild("Damage3Event"):FireServer(unpack(args))
end
end
end
end

if Options["Auto Block"].Value then


if IsBlocking() == false then
if (GetStamina() <= 10 or GetHealth() <= 15) and GetBlock() >= 2 then
block(true)
end
end
end
--[[
if Options["Auto Doge"].Value then
if Char.LastPunchedBy.Value ~= nil then
local attacker = tostring(Char.LastPunchedBy.Value.Parent)
local closest, dis = getclosest()

if tostring(closest) == tostring(LocalPlayer.LastPlayerHit.Value) then


if GetStamina() >= 30 then
Dodge()
end

end
end
end
]]
end)

print("fe")

local oldhealth = GetHealth()


Char.HumanoidRootPart:WaitForChild(game.Players.LocalPlayer.Name).CenterContainer.H
ealthStaminaContainer.HealthBarContainer.TextLabel:GetPropertyChangedSignal("Text")
:Connect(function()

local newhealth = GetHealth()

if Options["Auto Doge"].Value then


if oldhealth > newhealth then
if GetStamina() >= 30 then
task.wait(0.2)
Dodge()
print("should dodge")
end
end
end

oldhealth = Char:WaitForChild("Humanoid").Health

end)

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()

--[[
-- 1. Load the library
local Sense =
loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Sirius/
request/library/sense/source.lua'))()
-- 2. Change the configuration.
Sense.teamSettings.enemy.enabled = true
Sense.teamSettings.enemy.box = true
Sense.teamSettings.enemy.name = true
Sense.teamSettings.enemy.boxColor[1] = Color3.new(0, 0.25, 0.75)

-- 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.
Sense.Load()

-- 4. Unload the esp. When you unload Sense, it will clean up every drawing object
and instance it has made.
--Sense.Unload()
]]

You might also like