Advertisement
Guest User

aimbot

a guest
Oct 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.23 KB | None | 0 0
  1. local PwnSomeNoobs = Instance.new("Frame")
  2. local Title = Instance.new("TextLabel")
  3. local Version = Instance.new("TextLabel")
  4. local Underscores = Instance.new("TextLabel")
  5. local Functionality = Instance.new("TextButton")
  6. local State = Instance.new("TextLabel")
  7. local Aimbotting = Instance.new("TextButton")
  8. local State_2 = Instance.new("TextLabel")
  9. local AimKey = Instance.new("TextButton")
  10. local State_3 = Instance.new("TextLabel")
  11. local FunctionalityKey = Instance.new("TextButton")
  12. local State_4 = Instance.new("TextLabel")
  13. local TeamCheck = Instance.new("TextButton")
  14. local State_5 = Instance.new("TextLabel")
  15. local AimKeyToggles = Instance.new("TextButton")
  16. local State_6 = Instance.new("TextLabel")
  17. local AimSmoothness = Instance.new("TextLabel")
  18. local State_7 = Instance.new("TextBox")
  19.  
  20. PwnSomeNoobs.Name = "PwnSomeNoobs"
  21. PwnSomeNoobs.Parent = game.Workspace
  22. PwnSomeNoobs.BackgroundColor3 = Color3.new(0, 0, 0)
  23. PwnSomeNoobs.BackgroundTransparency = 0.5
  24. PwnSomeNoobs.BorderSizePixel = 0
  25. PwnSomeNoobs.Position = UDim2.new(0, 1, 1, -201)
  26. PwnSomeNoobs.Size = UDim2.new(0, 250, 0, 150)
  27.  
  28. Title.Name = "Title"
  29. Title.Parent = PwnSomeNoobs
  30. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  31. Title.BackgroundTransparency = 1
  32. Title.Size = UDim2.new(1, 0, 0, 25)
  33. Title.Font = Enum.Font.ArialBold
  34. Title.Text = "PwnSomeNoobs"
  35. Title.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  36. Title.TextSize = 18
  37. Title.TextStrokeColor3 = Color3.new(0.333333, 0.666667, 1)
  38. Title.TextStrokeTransparency = 0.75
  39.  
  40. Version.Name = "Version"
  41. Version.Parent = Title
  42. Version.BackgroundColor3 = Color3.new(1, 1, 1)
  43. Version.BackgroundTransparency = 1
  44. Version.Position = UDim2.new(0, 0, 1, 0)
  45. Version.Size = UDim2.new(1, 0, 0, 10)
  46. Version.Font = Enum.Font.ArialBold
  47. Version.Text = "1.6"
  48. Version.TextColor3 = Color3.new(0.666667, 0.666667, 1)
  49. Version.TextSize = 10
  50. Version.TextStrokeColor3 = Color3.new(0.666667, 0.666667, 1)
  51.  
  52. Underscores.Name = "Underscores"
  53. Underscores.Parent = Title
  54. Underscores.BackgroundColor3 = Color3.new(1, 1, 1)
  55. Underscores.BackgroundTransparency = 1
  56. Underscores.Position = UDim2.new(0, 0, 1, 0)
  57. Underscores.Size = UDim2.new(1, 0, 0, 10)
  58. Underscores.Text = "_________________"
  59. Underscores.TextColor3 = Color3.new(0.666667, 0.666667, 1)
  60. Underscores.TextSize = 10
  61. Underscores.TextStrokeColor3 = Color3.new(0.666667, 0.666667, 1)
  62.  
  63. Functionality.Name = "Functionality"
  64. Functionality.Parent = PwnSomeNoobs
  65. Functionality.BackgroundColor3 = Color3.new(1, 1, 1)
  66. Functionality.BackgroundTransparency = 1
  67. Functionality.Position = UDim2.new(0, 0, 0, 40)
  68. Functionality.Size = UDim2.new(0.5, 0, 0, 25)
  69. Functionality.Font = Enum.Font.SourceSans
  70. Functionality.Text = "Functionality"
  71. Functionality.TextColor3 = Color3.new(1, 1, 1)
  72. Functionality.TextSize = 16
  73. Functionality.TextStrokeTransparency = 0.75
  74.  
  75. State.Name = "State"
  76. State.Parent = Functionality
  77. State.BackgroundColor3 = Color3.new(1, 1, 1)
  78. State.BackgroundTransparency = 1
  79. State.Position = UDim2.new(0, 0, 1, 0)
  80. State.Size = UDim2.new(1, 0, 0, 5)
  81. State.Font = Enum.Font.ArialBold
  82. State.Text = "ON"
  83. State.TextColor3 = Color3.new(0, 1, 0)
  84. State.TextSize = 10
  85. State.TextStrokeColor3 = Color3.new(0, 1, 0)
  86. State.TextStrokeTransparency = 0.75
  87. State.TextYAlignment = Enum.TextYAlignment.Bottom
  88.  
  89. Aimbotting.Name = "Aimbotting"
  90. Aimbotting.Parent = PwnSomeNoobs
  91. Aimbotting.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Aimbotting.BackgroundTransparency = 1
  93. Aimbotting.Position = UDim2.new(0, 0, 0, 70)
  94. Aimbotting.Size = UDim2.new(0.5, 0, 0, 25)
  95. Aimbotting.Font = Enum.Font.SourceSans
  96. Aimbotting.Text = "Aimbotting"
  97. Aimbotting.TextColor3 = Color3.new(1, 1, 1)
  98. Aimbotting.TextSize = 16
  99. Aimbotting.TextStrokeTransparency = 0.75
  100.  
  101. State_2.Name = "State"
  102. State_2.Parent = Aimbotting
  103. State_2.BackgroundColor3 = Color3.new(1, 1, 1)
  104. State_2.BackgroundTransparency = 1
  105. State_2.Position = UDim2.new(0, 0, 1, 0)
  106. State_2.Size = UDim2.new(1, 0, 0, 5)
  107. State_2.Font = Enum.Font.ArialBold
  108. State_2.Text = "OFF"
  109. State_2.TextColor3 = Color3.new(1, 0, 0)
  110. State_2.TextSize = 10
  111. State_2.TextStrokeColor3 = Color3.new(1, 0, 0)
  112. State_2.TextStrokeTransparency = 0.75
  113. State_2.TextYAlignment = Enum.TextYAlignment.Bottom
  114.  
  115. AimKey.Name = "AimKey"
  116. AimKey.Parent = PwnSomeNoobs
  117. AimKey.BackgroundColor3 = Color3.new(1, 1, 1)
  118. AimKey.BackgroundTransparency = 1
  119. AimKey.Position = UDim2.new(0.5, 0, 0, 40)
  120. AimKey.Size = UDim2.new(0.5, 0, 0, 25)
  121. AimKey.Font = Enum.Font.SourceSans
  122. AimKey.Text = "Aimbot Key"
  123. AimKey.TextColor3 = Color3.new(1, 1, 1)
  124. AimKey.TextSize = 16
  125. AimKey.TextStrokeTransparency = 0.75
  126.  
  127. State_3.Name = "State"
  128. State_3.Parent = AimKey
  129. State_3.BackgroundColor3 = Color3.new(1, 1, 1)
  130. State_3.BackgroundTransparency = 1
  131. State_3.Position = UDim2.new(0, 0, 1, 0)
  132. State_3.Size = UDim2.new(1, 0, 0, 5)
  133. State_3.Font = Enum.Font.ArialBold
  134. State_3.Text = "LeftShift"
  135. State_3.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  136. State_3.TextSize = 10
  137. State_3.TextStrokeColor3 = Color3.new(0.333333, 0.666667, 1)
  138. State_3.TextStrokeTransparency = 0.75
  139. State_3.TextYAlignment = Enum.TextYAlignment.Bottom
  140.  
  141. FunctionalityKey.Name = "FunctionalityKey"
  142. FunctionalityKey.Parent = PwnSomeNoobs
  143. FunctionalityKey.BackgroundColor3 = Color3.new(1, 1, 1)
  144. FunctionalityKey.BackgroundTransparency = 1
  145. FunctionalityKey.Position = UDim2.new(0.5, 0, 0, 70)
  146. FunctionalityKey.Size = UDim2.new(0.5, 0, 0, 25)
  147. FunctionalityKey.Font = Enum.Font.SourceSans
  148. FunctionalityKey.Text = "Functionality Key"
  149. FunctionalityKey.TextColor3 = Color3.new(1, 1, 1)
  150. FunctionalityKey.TextSize = 16
  151. FunctionalityKey.TextStrokeTransparency = 0.75
  152.  
  153. State_4.Name = "State"
  154. State_4.Parent = FunctionalityKey
  155. State_4.BackgroundColor3 = Color3.new(1, 1, 1)
  156. State_4.BackgroundTransparency = 1
  157. State_4.Position = UDim2.new(0, 0, 1, 0)
  158. State_4.Size = UDim2.new(1, 0, 0, 5)
  159. State_4.Font = Enum.Font.ArialBold
  160. State_4.Text = "T"
  161. State_4.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  162. State_4.TextSize = 10
  163. State_4.TextStrokeColor3 = Color3.new(0.333333, 0.666667, 1)
  164. State_4.TextStrokeTransparency = 0.75
  165. State_4.TextYAlignment = Enum.TextYAlignment.Bottom
  166.  
  167. TeamCheck.Name = "TeamCheck"
  168. TeamCheck.Parent = PwnSomeNoobs
  169. TeamCheck.BackgroundColor3 = Color3.new(1, 1, 1)
  170. TeamCheck.BackgroundTransparency = 1
  171. TeamCheck.Position = UDim2.new(0, 0, 0, 100)
  172. TeamCheck.Size = UDim2.new(0.5, 0, 0, 25)
  173. TeamCheck.Font = Enum.Font.SourceSans
  174. TeamCheck.Text = "Team Check"
  175. TeamCheck.TextColor3 = Color3.new(1, 1, 1)
  176. TeamCheck.TextSize = 16
  177. TeamCheck.TextStrokeTransparency = 0.75
  178.  
  179. State_5.Name = "State"
  180. State_5.Parent = TeamCheck
  181. State_5.BackgroundColor3 = Color3.new(1, 1, 1)
  182. State_5.BackgroundTransparency = 1
  183. State_5.Position = UDim2.new(0, 0, 1, 0)
  184. State_5.Size = UDim2.new(1, 0, 0, 5)
  185. State_5.Font = Enum.Font.ArialBold
  186. State_5.Text = "ON"
  187. State_5.TextColor3 = Color3.new(0, 1, 0)
  188. State_5.TextSize = 10
  189. State_5.TextStrokeColor3 = Color3.new(0, 1, 0)
  190. State_5.TextStrokeTransparency = 0.75
  191. State_5.TextYAlignment = Enum.TextYAlignment.Bottom
  192.  
  193. AimKeyToggles.Name = "AimKeyToggles"
  194. AimKeyToggles.Parent = PwnSomeNoobs
  195. AimKeyToggles.BackgroundColor3 = Color3.new(1, 1, 1)
  196. AimKeyToggles.BackgroundTransparency = 1
  197. AimKeyToggles.Position = UDim2.new(0.5, 0, 0, 100)
  198. AimKeyToggles.Size = UDim2.new(0.5, 0, 0, 25)
  199. AimKeyToggles.Font = Enum.Font.SourceSans
  200. AimKeyToggles.Text = "Aimbot Key Toggles"
  201. AimKeyToggles.TextColor3 = Color3.new(1, 1, 1)
  202. AimKeyToggles.TextSize = 16
  203. AimKeyToggles.TextStrokeTransparency = 0.75
  204.  
  205. State_6.Name = "State"
  206. State_6.Parent = AimKeyToggles
  207. State_6.BackgroundColor3 = Color3.new(1, 1, 1)
  208. State_6.BackgroundTransparency = 1
  209. State_6.Position = UDim2.new(0, 0, 1, 0)
  210. State_6.Size = UDim2.new(1, 0, 0, 5)
  211. State_6.Font = Enum.Font.ArialBold
  212. State_6.Text = "OFF"
  213. State_6.TextColor3 = Color3.new(1, 0, 0)
  214. State_6.TextSize = 10
  215. State_6.TextStrokeColor3 = Color3.new(1, 0, 0)
  216. State_6.TextStrokeTransparency = 0.75
  217. State_6.TextYAlignment = Enum.TextYAlignment.Bottom
  218.  
  219. AimSmoothness.Name = "AimSmoothness"
  220. AimSmoothness.Parent = PwnSomeNoobs
  221. AimSmoothness.BackgroundColor3 = Color3.new(1, 1, 1)
  222. AimSmoothness.BackgroundTransparency = 1
  223. AimSmoothness.Position = UDim2.new(0, 0, 1, -25)
  224. AimSmoothness.Size = UDim2.new(0.899999976, 0, 0, 25)
  225. AimSmoothness.Font = Enum.Font.SourceSans
  226. AimSmoothness.Text = "Aim Smoothness: "
  227. AimSmoothness.TextColor3 = Color3.new(1, 1, 1)
  228. AimSmoothness.TextSize = 16
  229. AimSmoothness.TextStrokeTransparency = 0.75
  230.  
  231. State_7.Name = "State"
  232. State_7.Parent = AimSmoothness
  233. State_7.BackgroundColor3 = Color3.new(1, 1, 1)
  234. State_7.BackgroundTransparency = 1
  235. State_7.Position = UDim2.new(0.75, 0, 0, 0)
  236. State_7.Size = UDim2.new(0, 25, 1, 0)
  237. State_7.Font = Enum.Font.SourceSans
  238. State_7.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  239. State_7.Text = "35"
  240. State_7.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  241. State_7.TextSize = 16
  242. State_7.TextStrokeColor3 = Color3.new(0.333333, 0.666667, 1)
  243. State_7.TextStrokeTransparency = 0.75
  244. State_7.TextWrapped = true
  245. State_7.TextXAlignment = Enum.TextXAlignment.Left
  246.  
  247. wait(2)
  248. local UIS = game:GetService("UserInputService")
  249. local Aimbotting = UI.Aimbotting.State
  250. local Functionality = UI.Functionality.State
  251. local Players = game:GetService("Players")
  252. local Camera = workspace.CurrentCamera
  253. local CF = CFrame.new
  254. local Enum = Enum
  255. local RunService = game:GetService("RunService")
  256. local Teams = game:GetService("Teams")
  257. local a = function()
  258. local Plrs = Players:GetPlayers()
  259. local Dist = 9999999
  260. local Head
  261. local TeamCheck = UI.TeamCheck.State.Text == "ON"
  262. for i = 1,#Plrs do
  263. local v = Plrs[i]
  264. if (v ~= Players.LocalPlayer and v.Character) and ((TeamCheck and v.TeamColor ~= Players.LocalPlayer.TeamColor) or (not TeamCheck)) then
  265. local Point,HeadVisible = Camera:WorldToViewportPoint(v.Character.Head.Position)
  266. local Distance = (Vector2.new(Point.X,Point.Y) - Camera.ViewportSize/2).Magnitude
  267. if Distance < Dist and HeadVisible then
  268. Dist = Distance
  269. Head = v.Character.Head
  270. end
  271. end
  272. end
  273. return Head
  274. end
  275. local b = function(i,bool)
  276. i.Text = bool and "ON" or "OFF"
  277. i.TextColor3 = bool and Color3.new(0,1,0) or Color3.new(1,0,0)
  278. i.TextStrokeColor3 = i.TextColor3
  279. end
  280. local ToggleAimbotting = function()
  281. if Aimbotting.Text == "OFF" then
  282. local Head = a()
  283. if Head and Functionality.Text == "ON" then
  284. b(Aimbotting,true)
  285. local AimSmoothness = 1 - tonumber(UI.AimSmoothness.State.Text)/100
  286. RunService:BindToRenderStep("59KGA83JG8402JGIJ18F0AYKG38HFAJ5H6",200,function(d)
  287. Camera.CFrame = Camera.CFrame:Lerp(CF(Camera.CFrame.Position,Head.Position),AimSmoothness)
  288. end)
  289. end
  290. else
  291. RunService:UnbindFromRenderStep("59KGA83JG8402JGIJ18F0AYKG38HFAJ5H6")
  292. b(Aimbotting,false)
  293. end
  294. end
  295. local ToggleFunctionality = function()
  296. b(Functionality,Functionality.Text == "OFF")
  297. end
  298. UI.Functionality.MouseButton1Click:Connect(ToggleFunctionality)
  299. UI.Aimbotting.MouseButton1Click:Connect(ToggleAimbotting)
  300. UI.FunctionalityKey.MouseButton1Click:Connect(function()
  301. if UI.FunctionalityKey.State.Text ~= "Press any key..." then
  302. UI.FunctionalityKey.State.Text = "Press any key..."
  303. end
  304. end)
  305. UI.AimKey.MouseButton1Click:Connect(function()
  306. if UI.AimKey.State.Text ~= "Press any key..." then
  307. UI.AimKey.State.Text = "Press any key..."
  308. end
  309. end)
  310. UI.TeamCheck.MouseButton1Click:Connect(function()
  311. b(UI.TeamCheck.State,UI.TeamCheck.State.Text == "OFF")
  312. end)
  313. UI.AimKeyToggles.MouseButton1Click:Connect(function()
  314. b(UI.AimKeyToggles.State,UI.AimKeyToggles.State.Text == "OFF")
  315. end)
  316. UIS.InputBegan:Connect(function(Key, g)
  317. if g then return end
  318. if not Key.KeyCode then return end
  319. if Key.KeyCode == Enum.KeyCode[UI.AimKey.State.Text] then
  320. ToggleAimbotting()
  321. end
  322. end)
  323. UIS.InputEnded:Connect(function(Key,g)
  324. if g then return end
  325. if not Key.KeyCode then return end
  326. if UI.FunctionalityKey.State.Text == "Press any key..." then
  327. UI.FunctionalityKey.State.Text = tostring(Key.KeyCode):gsub([[Enum.KeyCode.]],"")
  328. return
  329. elseif UI.AimKey.State.Text == "Press any key..." then
  330. UI.AimKey.State.Text = tostring(Key.KeyCode):gsub([[Enum.KeyCode.]],"")
  331. return
  332. end
  333. if Key.KeyCode == Enum.KeyCode[UI.AimKey.State.Text] and UI.AimKeyToggles.State.Text == "OFF" then
  334. ToggleAimbotting()
  335. elseif Key.KeyCode == Enum.KeyCode[UI.FunctionalityKey.State.Text] then
  336. ToggleFunctionality()
  337. end
  338. end)
  339. UI.Parent = game.CoreGui:FindFirstChildWhichIsA("ScreenGui",true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement