Advertisement
SumitScripts

Untitled

Aug 9th, 2024
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.25 KB | None | 0 0
  1. --------------------------------------------------------------------------
  2.  
  3. --loadstring
  4. _Hawk = "ohhahtuhthttouttpwuttuaunbotwo"
  5.  
  6.  
  7. local Hawk = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHzCihan/IDream/main/Libs/NewLib.lua", true))()
  8. local notifica = Hawk:AddNotifications()
  9.  
  10. notifica:Notification("Loaded!","BladeBall","Done",2)
  11. notifica:Notification("New Bade Ball Script Yay!",":skull:","Done",2)
  12. notifica:Notification("TWIWARE","Is on TOP","Done",2)
  13.  
  14. for i,v in pairs(getconnections(game.Players.LocalPlayer.Idled)) do
  15. v:Disable()
  16. end
  17.  
  18. local req = (syn and syn.request) or (http and http.request) or http_request
  19.  
  20. function GetHttp(URL)
  21. local Data = nil
  22. local Test = req({
  23. Url = URL,
  24. Method = 'GET',
  25. })
  26. for i,v in pairs(Test) do
  27. Data = v
  28. end
  29. return Data
  30. end
  31.  
  32.  
  33. --------------------------------------------------------------------------
  34.  
  35. local Window = Hawk:Window({
  36. ScriptName = "TwiWare v2.0.0 - Bladeball",
  37. DestroyIfExists = true, --if false, gui wont disappear
  38. Theme = "Dark" --Themes: Pink, White, Dark
  39. })
  40.  
  41. Window:Close({
  42. visibility = true, --if false, close button will disappear
  43. Callback = function()
  44. Window:Destroy() --Destroying Gui Function
  45. end,
  46. })
  47. Window:Minimize({
  48. visibility = true, --if false, close button will disappear
  49. OpenButton = true, -- Visible = false etc, open button.
  50. Callback = function()
  51. end,
  52. })
  53.  
  54. local info = Window:Tab("Information")
  55. local tab1 = Window:Tab("Main")
  56. local tab2 = Window:Tab("Visuals")
  57. local tab3 = Window:Tab("World/Server")
  58. local tab4 = Window:Tab("Credits")
  59.  
  60. --// Information
  61.  
  62. local al = info:Section("Information")
  63.  
  64. al:Image("Info","Twi",{
  65. Name = "TwiWare By TwiRwal", -- "Name of the file and the Title"
  66. FileName = "Twiwarelogo-gif",
  67. CheckFile = false,
  68. ImageLink = "https://raw.githubusercontent.com/TwiWare/TwiWareExploits/main/Imageorgif/image_processing20210828-1721-njzhvv.gif", --webm links or rbxassetid ids only
  69. ImageColor = Color3.fromRGB(255, 255, 255), --Image Color
  70. Stroke = Color3.fromRGB(255, 255, 255), --Stroke Color
  71. Volume = 1, --Volume if you set a video
  72. Description = {"Wellcome to TwiWare :3","Best Ware Script in 2024 So Far Enjoy!"} --Description
  73. })
  74.  
  75. local alc = info:Section("Credits")
  76. local ala = info:Section("Made & Code By TwiRwal")
  77. local alk = info:Section("Ui Designer By TheHanki")
  78. local alg = info:Section("----------------------------------------------------")
  79. local alf = info:Section("Links")
  80.  
  81. local scriptblox = alf:Button("Scriptblox: TwiRwal","Click to Copy Link",function()
  82. setclipboard("")
  83. print("Scriptblox Copied")
  84. end)
  85.  
  86. local discord = alf:Button("Discord: TwiWare Commity","Click to Copy Link",function()
  87. setclipboard("")
  88. print("Discord Copied")
  89. end)
  90.  
  91.  
  92. --// Fractions
  93.  
  94. local Players = game:GetService("Players")
  95. local RunService = game:GetService("RunService")
  96. local VirtualUser = game:GetService("VirtualUser")
  97.  
  98. local player = Players.LocalPlayer
  99. local camera = workspace.CurrentCamera
  100.  
  101. local RandRNG = math.random()
  102. local RandAutoaParry = {[tostring(RandRNG)] = false}
  103.  
  104. local can_Execute = false
  105. if not getgenv().WalkSpeed_Mana then
  106. getgenv().WalkSpeed_Mana = 0
  107. can_Execute = true
  108. else
  109. can_Execute = false
  110. end
  111.  
  112. if can_Execute then
  113. print("executed!")
  114. spawn(function()
  115. while task.wait() do
  116. pcall(function()
  117. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = getgenv().WalkSpeed_Mana
  118. end)
  119. end
  120. end)
  121. end
  122.  
  123. function GetMouse()
  124. local UserInputService = game:GetService("UserInputService")
  125. return UserInputService:GetMouseLocation() -- Ensure this is the correct method for your setup
  126. end
  127.  
  128. function GetClosestPlayer()
  129. local closestDistance = math.huge
  130. local closestTarget = nil
  131. for _, v in pairs(game:GetService("Workspace").Alive:GetChildren()) do
  132. if v and v:FindFirstChild("HumanoidRootPart") and v ~= game.Players.LocalPlayer.Character then
  133. local humanoidRootPart = v.HumanoidRootPart
  134. local distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.HumanoidRootPart.Position).Magnitude --(Vector2.new(viewportPoint.X, viewportPoint.Y) - mousePos).magnitude
  135. if distance < closestDistance then
  136. closestDistance = distance
  137. closestTarget = v
  138. end
  139. end
  140. end
  141. return closestTarget
  142. end
  143.  
  144. spawn(function()
  145. while task.wait() do
  146. if PlayerSaftey then
  147. if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
  148. pcall(function()
  149. if (GetClosestPlayer().HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= PlayerSaftey_Distance then
  150. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = GetClosestPlayer().HumanoidRootPart.CFrame * CFrame.new(-25, 0, -PlayerSaftey_Distance)
  151. end
  152. end)
  153. end
  154. end
  155. end)
  156.  
  157. function GetBall()
  158. for i,v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
  159. if v:IsA("Part") then
  160. return v
  161. end
  162. end
  163. return nil
  164. end
  165.  
  166. function GetBallfromplayerPos(Ball)
  167. return (Ball.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  168. end
  169.  
  170. local function getSpeed(part)
  171. if part:IsA("BasePart") then
  172. local speed = part.Velocity.Magnitude
  173. if speed > 1 then
  174. return part, speed
  175. end
  176. return nil, nil
  177. else
  178. print("The provided instance is not a BasePart.")
  179. return nil, nil
  180. end
  181. end
  182.  
  183. local function measureVerticalDistance(humanoidRootPart, targetPart)
  184. local humanoidRootPartY = humanoidRootPart.Position.Y
  185. local targetPartY = targetPart.Position.Y
  186. local verticalDistance = math.abs(humanoidRootPartY - targetPartY)
  187. return verticalDistance
  188. end
  189.  
  190. function GetHotKey()
  191. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.Hotbar.Block.HotkeyFrame:GetChildren()) do
  192. if v:IsA("TextLabel") then
  193. return v.Text
  194. end
  195. end
  196. return ""
  197. end
  198.  
  199. local text = game.Players.LocalPlayer.PlayerGui.Hotbar.Block.HotkeyFrame.F
  200. local KeyCodeBlock = text.Text
  201. text:GetPropertyChangedSignal("Text"):Connect(function()
  202. KeyCodeBlock = text.Text
  203. end)
  204.  
  205. local CanSlash = false
  206. local BallSpeed = 0
  207.  
  208. spawn(function()
  209. while task.wait() do
  210. if RandAutoaParry[tostring(RandRNG)] then
  211. pcall(function()
  212. for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
  213. if v:IsA("Part") then
  214. if not game.Players.LocalPlayer.Character:FindFirstChild("Highlight") then return end
  215. local part, speed = getSpeed(v)
  216. if part and speed then
  217. local minDistance = 2.5 * (speed * 0.1) + 2
  218. if minDistance == 0 or minDistance <= 20 then
  219. BallSpeed = 23
  220. elseif minDistance == 20 or minDistance <= 88 then
  221. BallSpeed = 2.5 * (speed * 0.1) + 5
  222. elseif minDistance == 88 or minDistance <= 110 then
  223. BallSpeed = 90
  224. -- elseif minDistance >= 110 then
  225. -- BallSpeed = 2 * (speed * 0.1)
  226. end
  227. if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).Magnitude <= (BallSpeed) then -- (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).Magnitude <= minDistance and
  228. CanSlash = true
  229. else
  230. CanSlash = false
  231. end
  232. end
  233. end
  234. end
  235.  
  236. if CanSlash then
  237. if math.random(1, 5) == 5 then
  238. game:GetService("VirtualInputManager"):SendMouseButtonEvent(0, 0, 0, true, game, 1)
  239. else
  240. game:GetService("VirtualInputManager"):SendKeyEvent(true, Enum.KeyCode[KeyCodeBlock], false, game)
  241. end
  242. CanSlash = false
  243. end
  244. end)
  245. end
  246. end
  247. end)
  248.  
  249. spawn(function()
  250. while task.wait() do
  251. if AutoWalk then
  252. pcall(function()
  253. if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
  254. for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
  255. if v:IsA("Part") then
  256. local part, speed = getSpeed(v)
  257. if part and speed then
  258. if speed > 5 then
  259. if not game.Players.LocalPlayer.Character:FindFirstChild("Highlight") then
  260. game.Players.LocalPlayer.Character.Humanoid:MoveTo(part.Position + Vector3.new(AutoWalkDistanceX, 0, AutoWalkDistanceZ))
  261. else
  262. for i,v in pairs(game:GetService("Workspace").Alive:GetChildren()) do
  263. if game.Players.LocalPlayer.Character.Parent.Name == "Alive" then
  264. if v ~= game.Players.LocalPlayer.Character then
  265. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.HumanoidRootPart.Position + Vector3.new(AutoWalkDistanceX, 0, AutoWalkDistanceZ))
  266. end
  267. end
  268. end
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end)
  275. end
  276. if AutoDoubleJump then
  277. pcall(function()
  278. game:GetService("VirtualInputManager"):SendKeyEvent(true, Enum.KeyCode.Space, false, game)
  279. end)
  280. end
  281. end
  282. end)
  283.  
  284. spawn(function()
  285. while task.wait() do
  286. if ClosestPlayer_var then
  287. pcall(function()
  288. if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
  289. local OldCameraFrame = workspace.CurrentCamera.CFrame
  290. local ClosestPlayer = GetClosestPlayer()
  291. if ClosestPlayer then
  292. workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, ClosestPlayer.Head.Position)
  293. end
  294. end)
  295. end
  296. end
  297. end)
  298.  
  299. spawn(function()
  300. while task.wait(math.random(1,2)) do
  301. if RandomTeleports then
  302. pcall(function()
  303. if game.Players.LocalPlayer.Character.Parent.Name == "Dead" then return end
  304. for i, v in pairs(game:GetService("Workspace").Balls:GetChildren()) do
  305. if v:IsA("Part") then
  306. local part, speed = getSpeed(v)
  307. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(TeleportDistanceX, 0, TeleportDistancez)
  308. end
  309. end
  310. end)
  311. end
  312. end
  313. end)
  314.  
  315.  
  316. --// Main
  317. local newsec = tab1:Section("Autos")
  318.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement