Bad Business Script - Bad Business GUI - Pastebin.com (2024)

  1. Visit this site for more bad business scripts and roblox bad business script >>>>

  2. hukuksal.net/en/roblox/

  3. -- Services

  4. local Players = game:GetService("Players")

  5. local RunService = game:GetService("RunService")

  6. local UserInputService = game:GetService("UserInputService")

  7. local ReplicatedStorage = game:GetService("ReplicatedStorage")

  8. -- Modules

  9. local Ts = require(ReplicatedStorage.TS)

  10. -- Player

  11. local Player = Players.LocalPlayer

  12. local Mouse = Player:GetMouse()

  13. local CurrentCamera = workspace.CurrentCamera

  14. -- Library

  15. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/WetCheezit/UI-Libs/main/uwuware.lua"))()

  16. local Math = loadstring(game:HttpGet("https://raw.githubusercontent.com/iRay888/Ray/main/Math"))()

  17. -- Window(s)

  18. local CombatWindow = Library:CreateWindow("Combat")

  19. local EspWindow = Library:CreateWindow("Esp")

  20. local MiscWindow = Library:CreateWindow("Misc")

  21. local Settings = Library:CreateWindow("Settings")

  22. -- Folders

  23. local Main = CombatWindow:AddFolder("Aimbot")

  24. local KnifeAura = CombatWindow:AddFolder("Knife Aura")

  25. local EspMain = EspWindow:AddFolder("Main")

  26. local EspSettings = EspWindow:AddFolder("Settings")

  27. local GunMods = MiscWindow:AddFolder("Gun Mods")

  28. local Misc = MiscWindow:AddFolder("Movement")

  29. local MainSettings = Settings:AddFolder("Settings")

  30. Main:AddToggle({text = "Enabled", flag = "aimbot_enabled"})

  31. --Main:AddToggle({text = "Visible Check", flag = "aimbot_visiblecheck"})

  32. Main:AddList({text = "Aimbot type", flag = "aimbot_type", value = "Redirection", values = {"Redirection", "Lock on"}})

  33. Main:AddList({text = "Hitpart", flag = "aimbot_hitpart", value = "Abdomen", values = {"Abdomen", "Hips", "Chest", "Neck", "Head"}})

  34. Main:AddSlider({text = "Redirection miss %", flag = "aimbot_misspercent", min = 0, max = 100, value = 0})

  35. Main:AddSlider({text = "Aimbot smoothing", flag = "aimbot_smoothing", min = 3, max = 10, value = 5, float = 0.1})

  36. Main:AddToggle({text = "Fov circle", flag = "aimbot_fovcircle"})

  37. Main:AddSlider({text = "Fov radius", flag = "aimbot_fovradius", min = 10, max = 800, value = 100})

  38. Main:AddColor({text = "Fov color", flag = "aimbot_fovcolor", value = Color3.fromRGB(255,255,255)})

  39. KnifeAura:AddToggle({text = "Enabled", flag = "knifeaura_enabled"})

  40. KnifeAura:AddToggle({text = "Auto knife", flag = "knifeaura_autoknife"})

  41. KnifeAura:AddToggle({text = "Kill all", flag = "knifeaura_killall"})

  42. KnifeAura:AddToggle({text = "Instant teleport", flag = "knifeaura_instanttp"})

  43. KnifeAura:AddSlider({text = "Radius", flag = "knifeaura_radius", min = 0, max = 20, suffix = " Studs"})

  44. KnifeAura:AddList({text = "Hitpart", flag = "knifeaura_hitpart", values = {"Abdomen", "Hips", "Chest", "Neck", "Head"}})

  45. KnifeAura:AddLabel({text = "Turn off fly with kill all"})

  46. GunMods:AddToggle({text = "No recoil", flag = "gun_norecoil"})

  47. GunMods:AddToggle({text = "No spread", flag = "gun_nospread"})

  48. Misc:AddToggle({text = "Click TP", flag = "misc_clicktp"})

  49. Misc:AddBind({text = "TP Key", flag = "misc_clicktpbind", key = "Z", callback = function()

  50. local Character = Ts.Characters:GetCharacter(Player)

  51. if (Character and Character:FindFirstChild("Root") and Library.flags.misc_clicktp) then

  52. Character.Root.CFrame = Mouse.Hit * CFrame.new(0, 5, 0)

  53. end

  54. end})

  55. Misc:AddToggle({text = "Fly", flag = "misc_fly"})

  56. Misc:AddSlider({text = "Fly speed", flag = "misc_flyspeed", min = 0, max = 100, value = 100})

  57. EspMain:AddToggle({text = "Enabled", flag = "esp_enabled"})

  58. EspMain:AddToggle({text = "Names", flag = "esp_names"})

  59. EspMain:AddToggle({text = "Distance", flag = "esp_distance"})

  60. EspMain:AddToggle({text = "Weapons", flag = "esp_weapons"})

  61. EspMain:AddToggle({text = "Boxes", flag = "esp_boxes"})

  62. EspMain:AddToggle({text = "Healthbars", flag = "esp_healthbars"})

  63. EspSettings:AddList({text = "Text casing", flag = "esp_textcasing", values = {"Normal", "UPPERCASE", "lowercase"}})

  64. MainSettings:AddBind({text = "Open / Close", key = "RightShift", callback = function()

  65. Library:Close()

  66. end})

  67. MainSettings:AddButton({text = "Copy discord invite", callback = function()

  68. setclipboard("https://discord.gg/etKPjb4n")

  69. end})

  70. MainSettings:AddLabel({text = "WetCheezit#4345"})

  71. MainSettings:AddLabel({text = "siper#9938"})

  72. -- Functions

  73. local function CheckTeam(Target)

  74. return Ts.Teams:GetPlayerTeam(Target) ~= Ts.Teams:GetPlayerTeam(Player)

  75. end

  76. local function GetClosest(Fov)

  77. local Target, Closest = nil, Fov or math.huge

  78. for i,v in pairs(Players:GetPlayers()) do

  79. local Character = Ts.Characters:GetCharacter(v)

  80. if (v ~= Player and CheckTeam(v)) then

  81. if (Character and Character:FindFirstChild("Hitbox") and Character.Hitbox:FindFirstChild(Library.flags.aimbot_hitpart)) then

  82. local Position, OnScreen = CurrentCamera:WorldToScreenPoint(Character.Hitbox[Library.flags.aimbot_hitpart].Position)

  83. local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude

  84. if (Distance < Closest and OnScreen) then

  85. Closest = Distance

  86. Target = v

  87. end

  88. end

  89. end

  90. end

  91. return Target

  92. end

  93. local function GetDistanceClosest(MaxDist)

  94. local Target, Closest = nil, MaxDist or math.huge

  95. for i,v in pairs(Players:GetPlayers()) do

  96. local Character = Ts.Characters:GetCharacter(v)

  97. if (v ~= Player and CheckTeam(v)) then

  98. if (Character and Character:FindFirstChild("Hitbox") and Character.Hitbox:FindFirstChild(Library.flags.aimbot_hitpart)) then

  99. local LocalCharacter = Ts.Characters:GetCharacter(Player)

  100. if (LocalCharacter) then

  101. local LocalRoot = LocalCharacter:FindFirstChild("Root")

  102. local Root = Character:FindFirstChild("Root")

  103. local Distance = (LocalRoot.Position - Root.Position).Magnitude

  104. if (Distance < Closest) then

  105. Closest = Distance

  106. Target = v

  107. end

  108. end

  109. end

  110. end

  111. end

  112. return Target

  113. end

  114. --[[local function IsVisible(Target)

  115. local Character = Ts.Characters:GetCharacter(Target)

  116. local RootPos = Character.Root.Position

  117. local IgnoreList = { CurrentCamera, Character, Character.Root, Ts.Characters:GetCharacter(Player) }

  118. return workspace:FindPartOnRayWithIgnoreList(Ray.new(CurrentCamera.CFrame.p, RootPos - CurrentCamera.CFrame.p), IgnoreList) == nil

  119. end]]--

  120. local function GetKnifeModel()

  121. local Character = Ts.Characters:GetCharacter(Player)

  122. if (Character and Character:FindFirstChild("Backpack") and Character.Backpack:FindFirstChild("Melee")) then

  123. return Character.Backpack.Melee.Value

  124. end

  125. return nil

  126. end

  127. local EspCache = {}

  128. local function ParseText(Text)

  129. local Casing = Library.flags.esp_textcasing

  130. local NewText = Text

  131. if (Casing == "UPPERCASE") then

  132. NewText = NewText:upper()

  133. elseif (Casing == "lowercase") then

  134. NewText = NewText:lower()

  135. end

  136. return NewText

  137. end

  138. local function GetBoundingBox(Character)

  139. local Data = {}

  140. for i,v in pairs(Character.Body:GetChildren()) do

  141. for i2, v2 in pairs(Math.getpartinfo2(v.CFrame, v.Size)) do

  142. Data[#Data + 1] = v2

  143. end

  144. end

  145. return Math.getposlist2(Data)

  146. end

  147. local function Create(Class, Properties)

  148. local Object = Drawing.new(Class)

  149. for i,v in pairs(Properties) do

  150. Object[i] = v

  151. end

  152. return Object

  153. end

  154. local function AddEsp(Player)

  155. if (Player == Players.LocalPlayer) then

  156. return

  157. end

  158. local Objects = {

  159. Box = Create("Quad", {

  160. Visible = false,

  161. Color = Color3.new(1, 1, 1),

  162. Thickness = 1,

  163. Filled = false,

  164. ZIndex = 2,

  165. }),

  166. BoxOutline = Create("Quad", {

  167. Visible = false,

  168. Color = Color3.new(),

  169. Thickness = 3,

  170. Filled = false,

  171. ZIndex = 1,

  172. }),

  173. Name = Create("Text", {

  174. Visible = false,

  175. Color = Color3.new(1, 1, 1),

  176. Text = Player.Name,

  177. Size = 13,

  178. Center = true,

  179. Outline = true,

  180. OutlineColor = Color3.new(),

  181. Font = Drawing.Fonts.Plex

  182. }),

  183. Distance = Create("Text", {

  184. Visible = false,

  185. Color = Color3.new(1, 1, 1),

  186. Size = 13,

  187. Center = true,

  188. Outline = true,

  189. OutlineColor = Color3.new(),

  190. Font = Drawing.Fonts.Plex

  191. }),

  192. Weapon = Create("Text", {

  193. Visible = false,

  194. Color = Color3.new(1, 1, 1),

  195. Size = 13,

  196. Center = false,

  197. Outline = true,

  198. OutlineColor = Color3.new(),

  199. Font = Drawing.Fonts.Plex

  200. }),

  201. Healthbar = Create("Square", {

  202. Visible = false,

  203. Color = Color3.new(0, 1, 0),

  204. Thickness = 1,

  205. Filled = false,

  206. ZIndex = 2

  207. }),

  208. HealthbarOutline = Create("Square", {

  209. Visible = false,

  210. Color = Color3.new(),

  211. Thickness = 3,

  212. Filled = false,

  213. ZIndex = 1

  214. }),

  215. }

  216. local Connection; Connection = RunService.RenderStepped:Connect(function()

  217. local Character = Ts.Characters:GetCharacter(Player)

  218. if (Character and Character:FindFirstChild("Root") and CheckTeam(Player)) then

  219. local _, OnScreen = CurrentCamera:WorldToViewportPoint(Character.Root.Position)

  220. local CanShow = OnScreen and Library.flags.esp_enabled

  221. if (CanShow) then

  222. local Data = GetBoundingBox(Character)

  223. local Health, MaxHealth = Character.Health.Value, Character.Health.MaxHealth.Value

  224. local DistY = Data.Positions.TopLeft.Y - Data.Positions.BottomRight.Y

  225. local HealthbarSize = Vector2.new(2, DistY)

  226. local HealthbarPosition = Vector2.new(Data.Positions.TopLeft.X - (4 + Objects.Healthbar.Size.X), Data.Positions.BottomLeft.Y)

  227. Objects.Box.Visible = CanShow and Library.flags.esp_boxes

  228. Objects.BoxOutline.Visible = CanShow and Library.flags.esp_boxes

  229. for i,v in pairs(Data.Quad) do

  230. Objects.Box[i] = v

  231. Objects.BoxOutline[i] = v

  232. end

  233. Objects.Name.Visible = CanShow and Library.flags.esp_names

  234. Objects.Name.Text = ParseText(Player.Name)

  235. Objects.Name.Position = Vector2.new(Data.Positions.Middle.X, Data.Positions.TopLeft.Y - 15)

  236. Objects.Distance.Visible = CanShow and Library.flags.esp_distance

  237. Objects.Distance.Text = ParseText(math.floor((Character.Root.Position - CurrentCamera.CFrame.p).Magnitude) .. " Studs")

  238. Objects.Distance.Position = Vector2.new(Data.Positions.Middle.X, Data.Positions.BottomLeft.Y + 3)

  239. Objects.Weapon.Visible = CanShow and Library.flags.esp_weapons

  240. Objects.Weapon.Text = ParseText(Character.Backpack.Equipped.Value and Character.Backpack.Equipped.Value.Name or "UNKNOWN")

  241. Objects.Weapon.Position = Vector2.new(Data.Positions.TopRight.X + 4, Data.Positions.TopRight.Y - 2)

  242. Objects.Healthbar.Visible = CanShow and Library.flags.esp_healthbars

  243. Objects.Healthbar.Size = Vector2.new(HealthbarSize.X, HealthbarSize.Y * math.clamp((Health / MaxHealth), 0, 1))

  244. Objects.Healthbar.Position = HealthbarPosition

  245. Objects.HealthbarOutline.Visible = CanShow and Library.flags.esp_healthbars

  246. Objects.HealthbarOutline.Size = HealthbarSize

  247. Objects.HealthbarOutline.Position = HealthbarPosition

  248. else

  249. for i,v in pairs(Objects) do

  250. v.Visible = false

  251. end

  252. end

  253. else

  254. for i,v in pairs(Objects) do

  255. v.Visible = false

  256. end

  257. end

  258. end)

  259. EspCache[Player] = {

  260. Objects = Objects,

  261. Connection = Connection,

  262. }

  263. end

  264. local function RemoveEsp(Player)

  265. local Data = EspCache[Player]

  266. if (Data) then

  267. Data.Connection:Disconnect()

  268. for i,v in pairs(Data.Objects) do

  269. v:Remove()

  270. v = nil

  271. end

  272. end

  273. end

  274. Library:Init()

  275. -- Fov

  276. local CircleInline = Drawing.new("Circle")

  277. local CircleOutline = Drawing.new("Circle")

  278. RunService.Heartbeat:Connect(function()

  279. CircleInline.Radius = Library.flags.aimbot_fovradius

  280. CircleInline.Thickness = 2

  281. CircleInline.Position = Vector2.new(Mouse.X, Mouse.Y + 36)

  282. CircleInline.Transparency = 1

  283. CircleInline.Color = Library.flags.aimbot_fovcolor

  284. CircleInline.Visible = Library.flags.aimbot_fovcircle

  285. CircleInline.ZIndex = 2

  286. CircleOutline.Radius = Library.flags.aimbot_fovradius

  287. CircleOutline.Thickness = 4

  288. CircleOutline.Position = Vector2.new(Mouse.X, Mouse.Y + 36)

  289. CircleOutline.Transparency = 1

  290. CircleOutline.Color = Color3.new()

  291. CircleOutline.Visible = Library.flags.aimbot_fovcircle

  292. CircleOutline.ZIndex = 1

  293. end)

  294. -- Aimbot

  295. local Target

  296. local MeleeTarget

  297. RunService.Heartbeat:Connect(function()

  298. Target = GetClosest(Library.flags.aimbot_fovradius)

  299. MeleeTarget = GetDistanceClosest(Library.flags.knifeaura_radius)

  300. end)

  301. RunService.Heartbeat:Connect(function()

  302. if (Target) then

  303. local Character = Ts.Characters:GetCharacter(Target)

  304. if (Character and Character.Hitbox[Library.flags.aimbot_hitpart]) then

  305. local Position, OnScreen = CurrentCamera:WorldToScreenPoint(Character.Hitbox[Library.flags.aimbot_hitpart].Position)

  306. if (Library.flags.aimbot_visiblecheck and not IsVisible(Target)) then

  307. return

  308. end

  309. if (OnScreen and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Library.flags.aimbot_enabled and Library.flags.aimbot_type == "Lock on") then

  310. mousemoverel((Position.X - Mouse.X) / Library.flags.aimbot_smoothing, (Position.Y - Mouse.Y) / Library.flags.aimbot_smoothing)

  311. end

  312. end

  313. end

  314. end)

  315. RunService.Heartbeat:Connect(function()

  316. local KnifeModel = GetKnifeModel()

  317. if (Library.flags.knifeaura_enabled and Library.flags.knifeaura_autoknife and MeleeTarget and KnifeModel) then

  318. local Character = Ts.Characters:GetCharacter(MeleeTarget)

  319. if (Character) then

  320. local Hitbox = Character:FindFirstChild("Hitbox")

  321. if (Hitbox) then

  322. Ts.Network:Fire("Item_Melee", "StabBegin", KnifeModel)

  323. Ts.Network:Fire("Item_Melee", "Stab", KnifeModel, Hitbox[Library.flags.knifeaura_hitpart], Hitbox[Library.flags.knifeaura_hitpart].Position, Vector3.new())

  324. end

  325. end

  326. end

  327. end)

  328. local CanKnifeRun = true

  329. RunService.Heartbeat:Connect(function()

  330. if (not CanKnifeRun) then

  331. return

  332. end

  333. CanKnifeRun = false

  334. local KnifeModel = GetKnifeModel()

  335. if (Library.flags.knifeaura_enabled and Library.flags.knifeaura_killall and KnifeModel) then

  336. local Target = GetDistanceClosest()

  337. if (Target) then

  338. local Character = Ts.Characters:GetCharacter(Target)

  339. local LocalCharacter = Ts.Characters:GetCharacter(Player)

  340. if (LocalCharacter) then

  341. local Magnitude = (LocalCharacter.Root.Position - Character.Root.Position).Magnitude

  342. local Mag

  343. local BreakAmount

  344. if (Library.flags.knifeaura_instanttp) then

  345. BreakAmount = math.huge

  346. else

  347. BreakAmount = 50

  348. end

  349. if (Magnitude > BreakAmount) then

  350. for i = 0, Magnitude, 0.05 do

  351. Mag = (LocalCharacter.Root.Position - Character.Root.Position).Magnitude

  352. if (Mag <= BreakAmount) then

  353. break

  354. end

  355. LocalCharacter.Root.CanCollide = false

  356. LocalCharacter.Root.CFrame = LocalCharacter.Root.CFrame:Lerp(Character.Root.CFrame, i / Mag)

  357. task.wait(0.025)

  358. end

  359. end

  360. LocalCharacter.Root.CanCollide = true

  361. LocalCharacter.Root.CFrame = Character.Root.CFrame * CFrame.new(0, 0, 5)

  362. Ts.Network:Fire("Item_Melee", "StabBegin", KnifeModel)

  363. Ts.Network:Fire("Item_Melee", "Stab", KnifeModel, Character.Hitbox[Library.flags.knifeaura_hitpart], Character.Hitbox[Library.flags.knifeaura_hitpart].Position, Vector3.new())

  364. end

  365. end

  366. end

  367. task.wait(0.35)

  368. CanKnifeRun = true

  369. end)

  370. local OldLookVector = Ts.Input.Reticle.LookVector; do

  371. Ts.Input.Reticle.LookVector = newcclosure(function(...)

  372. if (Library.flags.gun_nospread) then

  373. return CurrentCamera.CFrame.LookVector

  374. end

  375. return OldLookVector(...)

  376. end)

  377. debug.setupvalue(Ts.Input.Reticle.GetPosition, 2, Ts.Input.Reticle.LookVector)

  378. end

  379. local OldFire = Ts.Camera.Recoil.Fire; do

  380. Ts.Camera.Recoil.Fire = newcclosure(function(...)

  381. if (Library.flags.gun_norecoil) then

  382. return

  383. end

  384. return OldFire(...)

  385. end)

  386. debug.setupvalue(Ts.Camera.Recoil.Update, 2, Ts.Camera.Recoil.Fire)

  387. end

  388. RunService.Stepped:Connect(function()

  389. local Character = Ts.Characters:GetCharacter(Player)

  390. if (Character) then

  391. local Root = Character:FindFirstChild("Root")

  392. if (Root) then

  393. if (Library.flags.misc_fly) then

  394. local LookVector = CurrentCamera.CFrame.LookVector

  395. local RightVector = CurrentCamera.CFrame.RightVector

  396. local UpVector = Root.CFrame.UpVector

  397. local TargetVelocity = Vector3.new()

  398. local Moving = false

  399. if (UserInputService:IsKeyDown("W")) then

  400. TargetVelocity = TargetVelocity + LookVector

  401. Moving = true

  402. end

  403. if (UserInputService:IsKeyDown("S")) then

  404. TargetVelocity = TargetVelocity + -LookVector

  405. Moving = true

  406. end

  407. if (UserInputService:IsKeyDown("A")) then

  408. TargetVelocity = TargetVelocity + -RightVector

  409. Moving = true

  410. end

  411. if (UserInputService:IsKeyDown("D")) then

  412. TargetVelocity = TargetVelocity + RightVector

  413. Moving = true

  414. end

  415. if (UserInputService:IsKeyDown("Space")) then

  416. TargetVelocity = TargetVelocity + UpVector

  417. Moving = true

  418. end

  419. if (UserInputService:IsKeyDown("LeftShift")) then

  420. TargetVelocity = TargetVelocity + -UpVector

  421. Moving = true

  422. end

  423. Root.Anchored = not Moving

  424. Root.Velocity = TargetVelocity * Library.flags.misc_flyspeed

  425. else

  426. Root.Anchored = false

  427. end

  428. end

  429. end

  430. end)

  431. -- Esp

  432. for i,v in pairs(Players:GetPlayers()) do

  433. AddEsp(v)

  434. end

  435. Players.PlayerAdded:Connect(function(Player)

  436. AddEsp(Player)

  437. end)

  438. Players.PlayerRemoving:Connect(function(Player)

  439. RemoveEsp(Player)

  440. end)

  441. local Old; Old = hookmetamethod(game, "__namecall", function(Self, ...)

  442. local Args = {...}

  443. local Method = getnamecallmethod()

  444. if (not checkcaller() and Method == "FireServer" and Self.Name == "Projectiles") then

  445. if (Target and Library.flags.aimbot_enabled and Library.flags.aimbot_type == "Redirection") then

  446. local Character = Ts.Characters:GetCharacter(Target)

  447. if (Character and Character.Hitbox and Character.Hitbox[Library.flags.aimbot_hitpart] and Args[1] == "__Hit") then

  448. --[[if (Library.flags.aimbot_visiblecheck and not IsVisible(Target)) then

  449. return

  450. end]]--

  451. if (math.random(0, 100) >= Library.flags.aimbot_misspercent) then

  452. Args[3] = Character.Hitbox[Library.flags.aimbot_hitpart].Position

  453. Args[4] = Character.Hitbox[Library.flags.aimbot_hitpart]

  454. Args[6] = Character

  455. end

  456. end

  457. end

  458. elseif (Self.Name == "Item_Melee" and Args[1] == "Stab" and Method == "FireServer") then

  459. if (MeleeTarget and Library.flags.knifeaura_enabled) then

  460. local Character = Ts.Characters:GetCharacter(MeleeTarget)

  461. Args[3] = Character.Hitbox[Library.flags.knifeaura_hitpart]

  462. Args[4] = Character.Hitbox[Library.flags.knifeaura_hitpart].Position

  463. Args[5] = Vector3.new()

  464. end

  465. end

  466. return Old(Self, unpack(Args))

  467. end)

Bad Business Script - Bad Business GUI - Pastebin.com (2024)
Top Articles
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6399

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.