Advertisement
ManFactorymaker

small exploit V2

Jun 14th, 2022
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.03 KB | None | 0 0
  1.  
  2.  
  3. -- Instances:
  4.  
  5. local BeWars = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local UICorner = Instance.new("UICorner")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local MainEXPLOIT = Instance.new("Frame")
  11. local Speed = Instance.new("TextButton")
  12. local Jump = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. BeWars.Name = "BeWars"
  17. BeWars.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. BeWars.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19. BeWars.ResetOnSpawn = true
  20.  
  21. Frame.Parent = BeWars
  22. Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  23. Frame.Position = UDim2.new(0.189682126, 0, 0.166666672, 0)
  24. Frame.Size = UDim2.new(0.227742359, 0, 0.165900901, 0)
  25.  
  26. UICorner.CornerRadius = UDim.new(0.0500000007, 0)
  27. UICorner.Parent = Frame
  28.  
  29. TextLabel.Parent = Frame
  30. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  31. TextLabel.BackgroundTransparency = 1.000
  32. TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  33. TextLabel.Position = UDim2.new(0.0235294029, 0, 0.00973567273, 0)
  34. TextLabel.Size = UDim2.new(0.842432797, 0, 0.137616619, 0)
  35. TextLabel.Font = Enum.Font.SciFi
  36. TextLabel.Text = "MeXploit(speed , jump), press e to fly"
  37. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  38. TextLabel.TextScaled = true
  39. TextLabel.TextSize = 14.000
  40. TextLabel.TextWrapped = true
  41.  
  42. TextButton.Parent = Frame
  43. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. TextButton.Position = UDim2.new(0.0663558468, 0, 0.22324796, 0)
  45. TextButton.Size = UDim2.new(0.850944579, 0, 0.0843894854, 0)
  46. TextButton.Font = Enum.Font.SourceSans
  47. TextButton.Text = "Open Main Exploit"
  48. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  49. TextButton.TextSize = 14.000
  50.  
  51. MainEXPLOIT.Name = "MainEXPLOIT"
  52. MainEXPLOIT.Parent = BeWars
  53. MainEXPLOIT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  54. MainEXPLOIT.BackgroundTransparency = 1.000
  55. MainEXPLOIT.Size = UDim2.new(1, 0, 1, 0)
  56. MainEXPLOIT.Visible = false
  57.  
  58. Speed.Name = "Speed"
  59. Speed.Parent = MainEXPLOIT
  60. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. Speed.Position = UDim2.new(0.398124039, 0, 0.968518496, 0)
  62. Speed.Size = UDim2.new(0.164528057, 0, 0.0149192456, 0)
  63. Speed.Font = Enum.Font.SourceSans
  64. Speed.Text = "Speed hack :)"
  65. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  66. Speed.TextScaled = true
  67. Speed.TextSize = 14.000
  68. Speed.TextWrapped = true
  69.  
  70. Jump.Name = "Jump"
  71. Jump.Parent = MainEXPLOIT
  72. Jump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. Jump.Position = UDim2.new(0.398124039, 0, 0.984259248, 0)
  74. Jump.Size = UDim2.new(0.164528057, 0, 0.0149192456, 0)
  75. Jump.Font = Enum.Font.SourceSans
  76. Jump.Text = "JumpHack"
  77. Jump.TextColor3 = Color3.fromRGB(0, 0, 0)
  78. Jump.TextScaled = true
  79. Jump.TextSize = 14.000
  80. Jump.TextWrapped = true
  81.  
  82. -- Scripts:
  83.  
  84. local function WWESPD_fake_script() -- Frame.Gui Drag
  85. local script = Instance.new('LocalScript', Frame)
  86.  
  87. local UserInputService = game:GetService("UserInputService")
  88. local runService = (game:GetService("RunService"));
  89.  
  90. local gui = script.Parent
  91.  
  92. local dragging
  93. local dragInput
  94. local dragStart
  95. local startPos
  96.  
  97. function Lerp(a, b, m)
  98. return a + (b - a) * m
  99. end;
  100.  
  101. local lastMousePos
  102. local lastGoalPos
  103. local DRAG_SPEED = (8); -- // The speed of the UI darg.
  104. function Update(dt)
  105. if not (startPos) then return end;
  106. if not (dragging) and (lastGoalPos) then
  107. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
  108. return
  109. end;
  110.  
  111. local delta = (lastMousePos - UserInputService:GetMouseLocation())
  112. local xGoal = (startPos.X.Offset - delta.X);
  113. local yGoal = (startPos.Y.Offset - delta.Y);
  114. lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  115. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
  116. end;
  117.  
  118. gui.InputBegan:Connect(function(input)
  119. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  120. dragging = true
  121. dragStart = input.Position
  122. startPos = gui.Position
  123. lastMousePos = UserInputService:GetMouseLocation()
  124.  
  125. input.Changed:Connect(function()
  126. if input.UserInputState == Enum.UserInputState.End then
  127. dragging = false
  128. end
  129. end)
  130. end
  131. end)
  132.  
  133. gui.InputChanged:Connect(function(input)
  134. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  135. dragInput = input
  136. end
  137. end)
  138.  
  139. runService.Heartbeat:Connect(Update)
  140. end
  141. coroutine.wrap(WWESPD_fake_script)()
  142. local function HAYTJT_fake_script() -- TextButton.LocalScript
  143. local script = Instance.new('LocalScript', TextButton)
  144.  
  145. script.Parent.MouseButton1Click:Connect(function()
  146. script.Parent.Parent.Parent.MainEXPLOIT.Visible = true
  147. end)
  148. end
  149. coroutine.wrap(HAYTJT_fake_script)()
  150. local function PQUAWQ_fake_script() -- BeWars.LocalScript
  151. local script = Instance.new('LocalScript', BeWars)
  152.  
  153. while wait() do
  154. script.Parent.Name = math.random(0, 257382)
  155. end
  156. end
  157. coroutine.wrap(PQUAWQ_fake_script)()
  158. local function LSHRALU_fake_script() -- BeWars.EFly
  159. local script = Instance.new('LocalScript', BeWars)
  160.  
  161. repeat wait()
  162. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  163. local mouse = game.Players.LocalPlayer:GetMouse()
  164. repeat wait() until mouse
  165. local plr = game.Players.LocalPlayer
  166. local torso = plr.Character.Head
  167. local flying = false
  168. local deb = true
  169. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  170. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  171. local maxspeed = 400
  172. local speed = 5000
  173.  
  174. function Fly()
  175. local bg = Instance.new("BodyGyro", torso)
  176. bg.P = 9e4
  177. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  178. bg.cframe = torso.CFrame
  179. local bv = Instance.new("BodyVelocity", torso)
  180. bv.velocity = Vector3.new(0,0.1,0)
  181. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  182. repeat wait()
  183. plr.Character.Humanoid.PlatformStand = true
  184. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  185. speed = speed+.5+(speed/maxspeed)
  186. if speed > maxspeed then
  187. speed = maxspeed
  188. end
  189. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  190. speed = speed-1
  191. if speed < 0 then
  192. speed = 0
  193. end
  194. end
  195. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  196. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  197. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  198. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  199. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  200. else
  201. bv.velocity = Vector3.new(0,0.1,0)
  202. end
  203. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  204. until not flying
  205. ctrl = {f = 0, b = 0, l = 0, r = 0}
  206. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  207. speed = 0
  208. bg:Destroy()
  209. bv:Destroy()
  210. plr.Character.Humanoid.PlatformStand = false
  211. end
  212. mouse.KeyDown:connect(function(key)
  213. if key:lower() == "e" then
  214. if flying then flying = false
  215. else
  216. flying = true
  217. Fly()
  218. end
  219. elseif key:lower() == "w" then
  220. ctrl.f = 1
  221. elseif key:lower() == "s" then
  222. ctrl.b = -1
  223. elseif key:lower() == "a" then
  224. ctrl.l = -1
  225. elseif key:lower() == "d" then
  226. ctrl.r = 1
  227. end
  228. end)
  229. mouse.KeyUp:connect(function(key)
  230. if key:lower() == "w" then
  231. ctrl.f = 0
  232. elseif key:lower() == "s" then
  233. ctrl.b = 0
  234. elseif key:lower() == "a" then
  235. ctrl.l = 0
  236. elseif key:lower() == "d" then
  237. ctrl.r = 0
  238. end
  239. end)
  240. Fly()
  241. end
  242. coroutine.wrap(LSHRALU_fake_script)()
  243. local function XAWR_fake_script() -- Speed.LocalScript
  244. local script = Instance.new('LocalScript', Speed)
  245.  
  246. local player = game:GetService("Players").LocalPlayer
  247. local character = player.Character
  248.  
  249. script.Parent.MouseButton1Click:Connect(function()
  250. character = player.Character
  251. character:FindFirstChildWhichIsA("Humanoid").WalkSpeed = 200
  252. end)
  253. end
  254. coroutine.wrap(XAWR_fake_script)()
  255. local function EXTWYN_fake_script() -- Jump.LocalScript
  256. local script = Instance.new('LocalScript', Jump)
  257.  
  258. local player = game:GetService("Players").LocalPlayer
  259. local character = player.Character
  260.  
  261. script.Parent.MouseButton1Click:Connect(function()
  262. character = player.Character
  263. character:FindFirstChildWhichIsA("Humanoid").UseJumpPower = true
  264. character:FindFirstChildWhichIsA("Humanoid").JumpPower = 200
  265. end)
  266. end
  267. coroutine.wrap(EXTWYN_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement