Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.85 KB | None | 0 0
  1. local ShouxLib = loadstring(game:HttpGetAsync("https://pastebin.com/raw/aWJeXMN3"))()
  2. workspace:findFirstChild("Player")
  3. local main = ShouxLib:new("test", Color3.fromRGB(25, 25, 25), Color3.fromRGB(192, 0, 199));
  4. main:newBtn("Esp", function()
  5. PLAYER = game.Players.LocalPlayer
  6. MOUSE = PLAYER:GetMouse()
  7. CC = game.Workspace.CurrentCamera
  8.  
  9. ENABLED = false
  10. ESP_ENABLED = false
  11.  
  12. _G.FREE_FOR_ALL = true
  13.  
  14. _G.BIND = 50
  15. _G.ESP_BIND = 52
  16. _G.CHANGE_AIM = 'q'
  17.  
  18. _G.AIM_AT = 'Head'
  19.  
  20. wait(1)
  21.  
  22.  
  23.  
  24. GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
  25. GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
  26. GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
  27.  
  28. GUI_MAIN.Name = 'AIMBOT'
  29.  
  30. GUI_TARGET.Size = UDim2.new(0,200,0,30)
  31. GUI_TARGET.BackgroundTransparency = 0.5
  32. GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
  33. GUI_TARGET.BorderSizePixel = 0
  34. GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
  35. GUI_TARGET.Text = 'AIMBOT : OFF'
  36. GUI_TARGET.TextColor3 = Color3.new(1,1,1)
  37. GUI_TARGET.TextStrokeTransparency = 1
  38. GUI_TARGET.TextWrapped = true
  39. GUI_TARGET.FontSize = 'Size24'
  40. GUI_TARGET.Font = 'SourceSansBold'
  41.  
  42. GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
  43. GUI_AIM_AT.BackgroundTransparency = 0.5
  44. GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
  45. GUI_AIM_AT.BorderSizePixel = 0
  46. GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
  47. GUI_AIM_AT.Text = 'AIMING : HEAD'
  48. GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
  49. GUI_AIM_AT.TextStrokeTransparency = 1
  50. GUI_AIM_AT.TextWrapped = true
  51. GUI_AIM_AT.FontSize = 'Size18'
  52. GUI_AIM_AT.Font = 'SourceSansBold'
  53.  
  54. local TRACK = false
  55.  
  56. function CREATE(BASE, TEAM)
  57. local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
  58. local ESP_DOT = Instance.new('Frame', ESP_MAIN)
  59. local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
  60.  
  61. ESP_MAIN.Name = 'ESP'
  62. ESP_MAIN.Adornee = BASE
  63. ESP_MAIN.AlwaysOnTop = true
  64. ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
  65. ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
  66.  
  67. ESP_DOT.Name = 'DOT'
  68. ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
  69. ESP_DOT.BackgroundTransparency = 0.3
  70. ESP_DOT.BorderSizePixel = 0
  71. ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
  72. ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
  73. ESP_DOT.Visible = true
  74. ESP_DOT.ZIndex = 10
  75.  
  76. ESP_NAME.Name = 'NAME'
  77. ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
  78. ESP_NAME.BackgroundTransparency = 1
  79. ESP_NAME.BorderSizePixel = 0
  80. ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
  81. ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
  82. ESP_NAME.Visible = true
  83. ESP_NAME.ZIndex = 10
  84. ESP_NAME.Font = 'ArialBold'
  85. ESP_NAME.FontSize = 'Size14'
  86. ESP_NAME.Text = BASE.Parent.Name:upper()
  87. ESP_NAME.TextColor = BrickColor.new('Bright red')
  88. end
  89.  
  90. function CLEAR()
  91. for _,v in pairs(PLAYER.PlayerGui:children()) do
  92. if v.Name == 'ESP' and v:IsA('BillboardGui') then
  93. v:Destroy()
  94. end
  95. end
  96. end
  97.  
  98. function FIND()
  99. CLEAR()
  100. TRACK = true
  101. spawn(function()
  102. while wait() do
  103. if TRACK then
  104. CLEAR()
  105. for i,v in pairs(game.Players:GetChildren()) do
  106. if v.Character and v.Character:FindFirstChild('Head') then
  107. if _G.FREE_FOR_ALL == false then
  108. if v.TeamColor ~= PLAYER.TeamColor then
  109. if v.Character:FindFirstChild('Head') then
  110. CREATE(v.Character.Head, true)
  111. end
  112. end
  113. else
  114. if v.Character:FindFirstChild('Head') then
  115. CREATE(v.Character.Head, true)
  116. end
  117. end
  118. end
  119. end
  120. end
  121. end
  122. wait(1)
  123. end)
  124. end
  125.  
  126. MOUSE.KeyDown:connect(function(KEY)
  127. KEY = KEY:lower():byte()
  128. if KEY == _G.BIND then
  129. ENABLED = true
  130. end
  131. end)
  132.  
  133. MOUSE.KeyUp:connect(function(KEY)
  134. KEY = KEY:lower():byte()
  135. if KEY == _G.BIND then
  136. ENABLED = false
  137. end
  138. end)
  139.  
  140. MOUSE.KeyDown:connect(function(KEY)
  141. KEY = KEY:lower():byte()
  142. if KEY == _G.ESP_BIND then
  143. if ESP_ENABLED == false then
  144. FIND()
  145. ESP_ENABLED = true
  146. print('ESP : ON')
  147. elseif ESP_ENABLED == true then
  148. wait()
  149. CLEAR()
  150. TRACK = false
  151. ESP_ENABLED = false
  152. print('ESP : OFF')
  153. end
  154. end
  155. end)
  156.  
  157. MOUSE.KeyDown:connect(function(KEY)
  158. if KEY == _G.CHANGE_AIM then
  159. if _G.AIM_AT == 'Head' then
  160. _G.AIM_AT = 'Torso'
  161. GUI_AIM_AT.Text = 'AIMING : TORSO'
  162. elseif _G.AIM_AT == 'Torso' then
  163. _G.AIM_AT = 'Head'
  164. GUI_AIM_AT.Text = 'AIMING : HEAD'
  165. end
  166. end
  167. end)
  168.  
  169. game:GetService('RunService').RenderStepped:connect(function()
  170. if ENABLED then
  171. local TARGET = GetNearestPlayerToMouse()
  172. if (TARGET ~= false) then
  173. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  174. if AIM then
  175. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  176. end
  177. GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
  178. else
  179. GUI_TARGET.Text = 'AIMBOT : OFF'
  180. end
  181. end
  182. end)
  183.  
  184. repeat
  185. wait()
  186. if ESP_ENABLED == true then
  187. FIND()
  188. end
  189. until ESP_ENABLED == false
  190.  
  191. print("Executing: done!")
  192. end)
  193.  
  194. main:newBtn("Big Head", function()
  195. function getplrsname()
  196. for i,v in pairs(game:GetChildren()) do
  197. if v.ClassName == "Players" then
  198. return v.Name
  199. end
  200. end
  201. end
  202. local players = getplrsname()
  203. local plr = game[players].LocalPlayer
  204. coroutine.resume(coroutine.create(function()
  205. while wait(1) do
  206. coroutine.resume(coroutine.create(function()
  207. for _,v in pairs(game[players]:GetPlayers()) do
  208. if v.Name ~= plr.Name and v.Character then
  209. v.Character.LowerTorso.CanCollide = false
  210. v.Character.LowerTorso.Material = "Neon"
  211. v.Character.LowerTorso.Size = Vector3.new(30,30,30)
  212. v.Character.HumanoidRootPart.Size = Vector3.new(30,30,30)
  213. end
  214. end
  215. end))
  216. end
  217. end))
  218.  
  219.  
  220. print("Executing: " .. "done!"); end);
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235. main:newBtn("Aimbot", function()
  236.  
  237. PLAYER = game.Players.LocalPlayer
  238. MOUSE = PLAYER:GetMouse()
  239. CC = game.Workspace.CurrentCamera
  240.  
  241. ENABLED = false
  242. ESP_ENABLED = false
  243.  
  244. _G.FREE_FOR_ALL = true
  245.  
  246. _G.BIND = 50
  247. _G.ESP_BIND = 52
  248. _G.CHANGE_AIM = 'q'
  249.  
  250. _G.AIM_AT = 'Head'
  251.  
  252. wait(1)
  253.  
  254. function GetNearestPlayerToMouse()
  255. local PLAYERS = {}
  256. local PLAYER_HOLD = {}
  257. local DISTANCES = {}
  258. for i, v in pairs(game.Players:GetPlayers()) do
  259. if v ~= PLAYER then
  260. table.insert(PLAYERS, v)
  261. end
  262. end
  263. for i, v in pairs(PLAYERS) do
  264. if _G.FREE_FOR_ALL == false then
  265. if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
  266. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  267. if AIM ~= nil then
  268. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  269. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  270. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  271. local DIFF = math.floor((POS - AIM.Position).magnitude)
  272. PLAYER_HOLD[v.Name .. i] = {}
  273. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  274. PLAYER_HOLD[v.Name .. i].plr = v
  275. PLAYER_HOLD[v.Name .. i].diff = DIFF
  276. table.insert(DISTANCES, DIFF)
  277. end
  278. end
  279. elseif _G.FREE_FOR_ALL == true then
  280. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  281. if AIM ~= nil then
  282. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  283. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  284. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  285. local DIFF = math.floor((POS - AIM.Position).magnitude)
  286. PLAYER_HOLD[v.Name .. i] = {}
  287. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  288. PLAYER_HOLD[v.Name .. i].plr = v
  289. PLAYER_HOLD[v.Name .. i].diff = DIFF
  290. table.insert(DISTANCES, DIFF)
  291. end
  292. end
  293. end
  294.  
  295. if unpack(DISTANCES) == nil then
  296. return false
  297. end
  298.  
  299. local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  300. if L_DISTANCE > 20 then
  301. return false
  302. end
  303.  
  304. for i, v in pairs(PLAYER_HOLD) do
  305. if v.diff == L_DISTANCE then
  306. return v.plr
  307. end
  308. end
  309. return false
  310. end
  311.  
  312. GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
  313. GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
  314. GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
  315.  
  316. GUI_MAIN.Name = 'AIMBOT'
  317.  
  318. GUI_TARGET.Size = UDim2.new(0,200,0,30)
  319. GUI_TARGET.BackgroundTransparency = 0.5
  320. GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
  321. GUI_TARGET.BorderSizePixel = 0
  322. GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
  323. GUI_TARGET.Text = 'AIMBOT : OFF'
  324. GUI_TARGET.TextColor3 = Color3.new(1,1,1)
  325. GUI_TARGET.TextStrokeTransparency = 1
  326. GUI_TARGET.TextWrapped = true
  327. GUI_TARGET.FontSize = 'Size24'
  328. GUI_TARGET.Font = 'SourceSansBold'
  329.  
  330. GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
  331. GUI_AIM_AT.BackgroundTransparency = 0.5
  332. GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
  333. GUI_AIM_AT.BorderSizePixel = 0
  334. GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
  335. GUI_AIM_AT.Text = 'AIMING : HEAD'
  336. GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
  337. GUI_AIM_AT.TextStrokeTransparency = 1
  338. GUI_AIM_AT.TextWrapped = true
  339. GUI_AIM_AT.FontSize = 'Size18'
  340. GUI_AIM_AT.Font = 'SourceSansBold'
  341.  
  342. local TRACK = false
  343.  
  344. function CREATE(BASE, TEAM)
  345. local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
  346. local ESP_DOT = Instance.new('Frame', ESP_MAIN)
  347. local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
  348.  
  349. ESP_MAIN.Name = 'ESP'
  350. ESP_MAIN.Adornee = BASE
  351. ESP_MAIN.AlwaysOnTop = true
  352. ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
  353. ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
  354.  
  355. ESP_DOT.Name = 'DOT'
  356. ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
  357. ESP_DOT.BackgroundTransparency = 0.3
  358. ESP_DOT.BorderSizePixel = 0
  359. ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
  360. ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
  361. ESP_DOT.Visible = true
  362. ESP_DOT.ZIndex = 10
  363.  
  364. ESP_NAME.Name = 'NAME'
  365. ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
  366. ESP_NAME.BackgroundTransparency = 1
  367. ESP_NAME.BorderSizePixel = 0
  368. ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
  369. ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
  370. ESP_NAME.Visible = true
  371. ESP_NAME.ZIndex = 10
  372. ESP_NAME.Font = 'ArialBold'
  373. ESP_NAME.FontSize = 'Size14'
  374. ESP_NAME.Text = BASE.Parent.Name:upper()
  375. ESP_NAME.TextColor = BrickColor.new('Bright red')
  376. end
  377.  
  378. function CLEAR()
  379. for _,v in pairs(PLAYER.PlayerGui:children()) do
  380. if v.Name == 'ESP' and v:IsA('BillboardGui') then
  381. v:Destroy()
  382. end
  383. end
  384. end
  385.  
  386. function FIND()
  387. CLEAR()
  388. TRACK = true
  389. spawn(function()
  390. while wait() do
  391. if TRACK then
  392. CLEAR()
  393. for i,v in pairs(game.Players:GetChildren()) do
  394. if v.Character and v.Character:FindFirstChild('Head') then
  395. if _G.FREE_FOR_ALL == false then
  396. if v.TeamColor ~= PLAYER.TeamColor then
  397. if v.Character:FindFirstChild('Head') then
  398. CREATE(v.Character.Head, true)
  399. end
  400. end
  401. else
  402. if v.Character:FindFirstChild('Head') then
  403. CREATE(v.Character.Head, true)
  404. end
  405. end
  406. end
  407. end
  408. end
  409. end
  410. wait(1)
  411. end)
  412. end
  413.  
  414. MOUSE.KeyDown:connect(function(KEY)
  415. KEY = KEY:lower():byte()
  416. if KEY == _G.BIND then
  417. ENABLED = true
  418. end
  419. end)
  420.  
  421. MOUSE.KeyUp:connect(function(KEY)
  422. KEY = KEY:lower():byte()
  423. if KEY == _G.BIND then
  424. ENABLED = false
  425. end
  426. end)
  427.  
  428. MOUSE.KeyDown:connect(function(KEY)
  429. KEY = KEY:lower():byte()
  430. if KEY == _G.ESP_BIND then
  431. if ESP_ENABLED == false then
  432. FIND()
  433. ESP_ENABLED = true
  434. print('ESP : ON')
  435. elseif ESP_ENABLED == true then
  436. wait()
  437. CLEAR()
  438. TRACK = false
  439. ESP_ENABLED = false
  440. print('ESP : OFF')
  441. end
  442. end
  443. end)
  444.  
  445. MOUSE.KeyDown:connect(function(KEY)
  446. if KEY == _G.CHANGE_AIM then
  447. if _G.AIM_AT == 'Head' then
  448. _G.AIM_AT = 'Torso'
  449. GUI_AIM_AT.Text = 'AIMING : TORSO'
  450. elseif _G.AIM_AT == 'Torso' then
  451. _G.AIM_AT = 'Head'
  452. GUI_AIM_AT.Text = 'AIMING : HEAD'
  453. end
  454. end
  455. end)
  456.  
  457. game:GetService('RunService').RenderStepped:connect(function()
  458. if ENABLED then
  459. local TARGET = GetNearestPlayerToMouse()
  460. if (TARGET ~= false) then
  461. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  462. if AIM then
  463. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  464. end
  465. GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
  466. else
  467. GUI_TARGET.Text = 'AIMBOT : OFF'
  468. end
  469. end
  470. end)
  471.  
  472. repeat
  473. wait()
  474. if ESP_ENABLED == true then
  475. FIND()
  476. end
  477. until ESP_ENABLED == false
  478.  
  479. print("Executing: done!")
  480.  
  481. -- Gui to Lua
  482. -- Version: 3.1
  483.  
  484. -- Instances:
  485.  
  486. local ScreenGui = Instance.new("ScreenGui")
  487. local Frame = Instance.new("Frame")
  488. local TextLabel = Instance.new("TextLabel")
  489.  
  490. --Properties:
  491.  
  492. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  493. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  494.  
  495. Frame.Parent = ScreenGui
  496. Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  497. Frame.BackgroundTransparency = 0.500
  498. Frame.BorderSizePixel = 0
  499. Frame.Position = UDim2.new(0.424429357, 0, 0.386977911, 0)
  500. Frame.Size = UDim2.new(0, 244, 0, 184)
  501. Frame.Visible = false
  502.  
  503. TextLabel.Parent = Frame
  504. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  505. TextLabel.BackgroundTransparency = 1
  506. TextLabel.Size = UDim2.new(0, 244, 0, 184)
  507. TextLabel.Font = Enum.Font.SourceSansLight
  508. TextLabel.Text = "Press Left Control to Activate Aimbot"
  509. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  510. TextLabel.TextScaled = true
  511. TextLabel.TextSize = 30.000
  512. TextLabel.TextWrapped = true
  513.  
  514.  
  515. wait()
  516. Frame.Visible = true
  517. wait(5)
  518. print('Press Left Control to Activate Aimbot')
  519. Frame.Visible = false
  520.  
  521. end)
  522.  
  523. ShouxLib:SetCategory(main);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement