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://pastebin.com/raw/9zaT9uky"))()
- local InterfaceManager = loadstring(game:HttpGet("https://pastebin.com/xg0nC9Ab"))()
- 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"):WaitForChild("Damage3Event"):FireServer(unpack(args))
- --[[
- local args = {
- [1] = Player.Character,
- [2] = true,
- [3] = "back",
- [4] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("Damage3Event"):FireServer(unpack(args))
- ]]
- end
- local function Dodge()
- local table = {"right", "left", "back"}
- game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("DodgeEvent"):FireServer(table[math.random(1,2)])
- end
- local function GetHealth()
- return tonumber(Char.HumanoidRootPart.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.HealthBarContainer.TextLabel.Text)
- end
- local function block(state)
- if not state then
- game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("BlockEvent"):FireServer("unblocking")
- else
- game:GetService("ReplicatedStorage"):WaitForChild("CombatRemotesRemotes"):WaitForChild("BlockEvent"):FireServer("blockStart")
- end
- end
- local function IsBlocking()
- if Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.ShieldIcon.Fluid.ImageColor3 == Color3.fromRGB(225, 76, 255) then
- return true
- else
- return false
- end
- end
- local function GetStamina()
- return tonumber(Char.HumanoidRootPart.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.StaminaBarContainer.TextLabel.Text)
- end
- local function GetBlock()
- return tonumber(Char.HumanoidRootPart.BlockHealthVisualizerV2.MainContainer.HealthNumber.ContentText)
- end
- local function GetSuper()
- local text
- local result
- if LocalPlayer.PlayerGui.MobileControls:FindFirstChild("UltimateMainContainer") then
- text = LocalPlayer.PlayerGui.MobileControls.UltimateMainContainer.ContentContainer.TextContainer.NumberTextLabel.ContentText
- result = text:gsub("%%", "")
- return tonumber(result)
- else
- text = LocalPlayer.PlayerGui.MobileControls.MobileButtonAreaContainer.UltimateMainContainer.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.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"):WaitForChild("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.NewPlayerStatusBarGui.CenterContainer.HealthStaminaContainer.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://pastebin.com/raw/e3SQ2NTX'))()
- -- 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()
- ]]
Advertisement
Advertisement