Advertisement
ManFactorymaker

simple exploit(lightweight)

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