Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------------------------------------
- --loadstring
- _Hawk = "ohhahtuhthttouttpwuttuaunbotwo"
- local Hawk = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHzCihan/IDream/main/Libs/NewLib.lua", true))()
- local notifica = Hawk:AddNotifications()
- notifica:Notification("Loaded!","BladeBall","Done",2)
- notifica:Notification("New Bade Ball Script Yay!",":skull:","Done",2)
- notifica:Notification("TWIWARE","Is on TOP","Done",2)
- for i,v in pairs(getconnections(game.Players.LocalPlayer.Idled)) do
- v:Disable()
- end
- local req = (syn and syn.request) or (http and http.request) or http_request
- function GetHttp(URL)
- local Data = nil
- local Test = req({
- Url = URL,
- Method = 'GET',
- })
- for i,v in pairs(Test) do
- Data = v
- end
- return Data
- end
- --------------------------------------------------------------------------
- local Window = Hawk:Window({
- ScriptName = "TwiWare v2.0.0 - Bladeball",
- DestroyIfExists = true, --if false, gui wont disappear
- Theme = "Dark" --Themes: Pink, White, Dark
- })
- Window:Close({
- visibility = true, --if false, close button will disappear
- Callback = function()
- Window:Destroy() --Destroying Gui Function
- end,
- })
- Window:Minimize({
- visibility = true, --if false, close button will disappear
- OpenButton = true, -- Visible = false etc, open button.
- Callback = function()
- end,
- })
- local info = Window:Tab("Information")
- local tab1 = Window:Tab("Main")
- local tab2 = Window:Tab("Visuals")
- local tab3 = Window:Tab("World/Server")
- local tab4 = Window:Tab("Credits")
- --// Information
- local al = info:Section("Information")
- al:Image("Info","Twi",{
- Name = "TwiWare By TwiRwal", -- "Name of the file and the Title"
- FileName = "Twiwarelogo-gif",
- CheckFile = false,
- ImageLink = "https://raw.githubusercontent.com/TwiWare/TwiWareExploits/main/Imageorgif/image_processing20210828-1721-njzhvv.gif", --webm links or rbxassetid ids only
- ImageColor = Color3.fromRGB(255, 255, 255), --Image Color
- Stroke = Color3.fromRGB(255, 255, 255), --Stroke Color
- Volume = 1, --Volume if you set a video
- Description = {"Wellcome to TwiWare :3","Best Ware Script in 2024 So Far Enjoy!"} --Description
- })
- local alc = info:Section("Credits")
- local ala = info:Section("Made & Code By TwiRwal")
- local alk = info:Section("Ui Designer By TheHanki")
- local alg = info:Section("----------------------------------------------------")
- local alf = info:Section("Links")
- local scriptblox = alf:Button("Scriptblox: TwiRwal","Click to Copy Link",function()
- setclipboard("")
- print("Scriptblox Copied")
- end)
- local discord = alf:Button("Discord: TwiWare Commity","Click to Copy Link",function()
- setclipboard("")
- print("Discord Copied")
- end)
- --// Fractions
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local VirtualUser = game:GetService("VirtualUser")
- local player = Players.LocalPlayer
- local camera = workspace.CurrentCamera
- local RandRNG = math.random()
- local RandAutoaParry = {[tostring(RandRNG)] = false}
- local can_Execute = false
- if not getgenv().WalkSpeed_Mana then
- getgenv().WalkSpeed_Mana = 0
- can_Execute = true
- else
- can_Execute = false
- end
- if can_Execute then
- print("executed!")
- spawn(function()
- while task.wait() do
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = getgenv().WalkSpeed_Mana
- end)
- end
- end)
- end
- function GetMouse()
- local UserInputService = game:GetService("UserInputService")
- return UserInputService:GetMouseLocation() -- Ensure this is the correct method for your setup
- end
- function GetClosestPlayer()
- local closestDistance = math.huge
- local closestTarget = nil
- for _, v in pairs(game:GetService("Workspace").Alive:GetChildren()) do
- if v and v:FindFirstChild("HumanoidRootPart") and v ~= game.Players.LocalPlayer.Character then
- local humanoidRootPart = v.HumanoidRootPart
- local distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.HumanoidRootPart.Position).Magnitude --(Vector2.new(viewportPoint.X, viewportPoint.Y) - mousePos).magnitude
- if distance < closestDistance then
- closestDistance = distance
- closestTarget = v
- end
- end
- end
- return closestTarget
- end
- spawn(function()
- while task.wait() do
- if PlayerSaftey then
- if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
- pcall(function()
- if (GetClosestPlayer().HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= PlayerSaftey_Distance then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = GetClosestPlayer().HumanoidRootPart.CFrame * CFrame.new(-25, 0, -PlayerSaftey_Distance)
- end
- end)
- end
- end
- end)
- function GetBall()
- for i,v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
- if v:IsA("Part") then
- return v
- end
- end
- return nil
- end
- function GetBallfromplayerPos(Ball)
- return (Ball.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
- end
- local function getSpeed(part)
- if part:IsA("BasePart") then
- local speed = part.Velocity.Magnitude
- if speed > 1 then
- return part, speed
- end
- return nil, nil
- else
- print("The provided instance is not a BasePart.")
- return nil, nil
- end
- end
- local function measureVerticalDistance(humanoidRootPart, targetPart)
- local humanoidRootPartY = humanoidRootPart.Position.Y
- local targetPartY = targetPart.Position.Y
- local verticalDistance = math.abs(humanoidRootPartY - targetPartY)
- return verticalDistance
- end
- function GetHotKey()
- for i,v in pairs(game.Players.LocalPlayer.PlayerGui.Hotbar.Block.HotkeyFrame:GetChildren()) do
- if v:IsA("TextLabel") then
- return v.Text
- end
- end
- return ""
- end
- local text = game.Players.LocalPlayer.PlayerGui.Hotbar.Block.HotkeyFrame.F
- local KeyCodeBlock = text.Text
- text:GetPropertyChangedSignal("Text"):Connect(function()
- KeyCodeBlock = text.Text
- end)
- local CanSlash = false
- local BallSpeed = 0
- spawn(function()
- while task.wait() do
- if RandAutoaParry[tostring(RandRNG)] then
- pcall(function()
- for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
- if v:IsA("Part") then
- if not game.Players.LocalPlayer.Character:FindFirstChild("Highlight") then return end
- local part, speed = getSpeed(v)
- if part and speed then
- local minDistance = 2.5 * (speed * 0.1) + 2
- if minDistance == 0 or minDistance <= 20 then
- BallSpeed = 23
- elseif minDistance == 20 or minDistance <= 88 then
- BallSpeed = 2.5 * (speed * 0.1) + 5
- elseif minDistance == 88 or minDistance <= 110 then
- BallSpeed = 90
- -- elseif minDistance >= 110 then
- -- BallSpeed = 2 * (speed * 0.1)
- end
- if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).Magnitude <= (BallSpeed) then -- (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).Magnitude <= minDistance and
- CanSlash = true
- else
- CanSlash = false
- end
- end
- end
- end
- if CanSlash then
- if math.random(1, 5) == 5 then
- game:GetService("VirtualInputManager"):SendMouseButtonEvent(0, 0, 0, true, game, 1)
- else
- game:GetService("VirtualInputManager"):SendKeyEvent(true, Enum.KeyCode[KeyCodeBlock], false, game)
- end
- CanSlash = false
- end
- end)
- end
- end
- end)
- spawn(function()
- while task.wait() do
- if AutoWalk then
- pcall(function()
- if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
- for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
- if v:IsA("Part") then
- local part, speed = getSpeed(v)
- if part and speed then
- if speed > 5 then
- if not game.Players.LocalPlayer.Character:FindFirstChild("Highlight") then
- game.Players.LocalPlayer.Character.Humanoid:MoveTo(part.Position + Vector3.new(AutoWalkDistanceX, 0, AutoWalkDistanceZ))
- else
- for i,v in pairs(game:GetService("Workspace").Alive:GetChildren()) do
- if game.Players.LocalPlayer.Character.Parent.Name == "Alive" then
- if v ~= game.Players.LocalPlayer.Character then
- game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.HumanoidRootPart.Position + Vector3.new(AutoWalkDistanceX, 0, AutoWalkDistanceZ))
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- end
- if AutoDoubleJump then
- pcall(function()
- game:GetService("VirtualInputManager"):SendKeyEvent(true, Enum.KeyCode.Space, false, game)
- end)
- end
- end
- end)
- spawn(function()
- while task.wait() do
- if ClosestPlayer_var then
- pcall(function()
- if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
- local OldCameraFrame = workspace.CurrentCamera.CFrame
- local ClosestPlayer = GetClosestPlayer()
- if ClosestPlayer then
- workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, ClosestPlayer.Head.Position)
- end
- end)
- end
- end
- end)
- spawn(function()
- while task.wait(math.random(1,2)) do
- if RandomTeleports then
- pcall(function()
- if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
- for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
- if v:IsA("Part") then
- local part, speed = getSpeed(v)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(TeleportDistanceX, 0, TeleportDistancez)
- end
- end
- end)
- end
- end
- end)
- --// Main
- local newsec = tab1:Section("Autos")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement