Advertisement
ChillExploits

CHILLIEXPLOITS

Feb 6th, 2019
4,379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.71 KB | None | 0 0
  1. -- by chill exploits
  2. -- Version: none
  3. -- Instances:
  4. local RobloxExploit = Instance.new("ScreenGui")
  5. local MainGUI = Instance.new("Frame")
  6. local TopFrame = Instance.new("TextButton")
  7. local StartHackButton = Instance.new("TextButton")
  8. local ByChillExploits = Instance.new("TextLabel")
  9. local E = Instance.new("TextLabel")
  10. local T = Instance.new("TextLabel")
  11. local L = Instance.new("TextLabel")
  12. --Properties:
  13. RobloxExploit.Name = "Roblox Exploit"
  14. RobloxExploit.Parent = game.CoreGui
  15.  
  16. MainGUI.Draggable = true
  17. MainGUI.Name = "MainGUI"
  18. MainGUI.Parent = RobloxExploit
  19. MainGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  20. MainGUI.Position = UDim2.new(0.0647198334, 0, 0.358722359, 0)
  21. MainGUI.Size = UDim2.new(0, 216, 0, 229)
  22.  
  23. TopFrame.Name = "Top Frame"
  24. TopFrame.Parent = MainGUI
  25. TopFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  26. TopFrame.BorderSizePixel = 2
  27. TopFrame.Selectable = false
  28. TopFrame.Size = UDim2.new(0, 216, 0, 50)
  29. TopFrame.Font = Enum.Font.SourceSans
  30. TopFrame.Text = "All Games ESP & Aimbot GUI"
  31. TopFrame.TextColor3 = Color3.new(0, 0, 0)
  32. TopFrame.TextSize = 14
  33.  
  34. StartHackButton.Name = "Start Hack Button"
  35. StartHackButton.Parent = TopFrame
  36. StartHackButton.BackgroundColor3 = Color3.new(1, 1, 1)
  37. StartHackButton.BorderSizePixel = 2
  38. StartHackButton.Position = UDim2.new(0, 0, 2.94000006, 0)
  39. StartHackButton.Size = UDim2.new(0, 216, 0, 50)
  40. StartHackButton.Font = Enum.Font.SourceSans
  41. StartHackButton.Text = "Start Hack"
  42. StartHackButton.TextColor3 = Color3.new(0, 0, 0)
  43. StartHackButton.TextSize = 14
  44. StartHackButton.MouseButton1Click:connect(function()
  45.  
  46. --[[
  47. No gui on screen during gameplay~!
  48. E - Aimlock
  49. L - Auto ESP
  50. T - Force Update ESP
  51. O - Ignore team mates
  52. ]]--
  53. local plrs = game:GetService("Players")
  54. local TeamBased = true ; local teambasedswitch = "o"
  55. local presskeytoaim = true; local aimkey = "e"
  56. local raycast = false
  57.  
  58. local espupdatetime = 5; autoesp = false
  59.  
  60.  
  61.  
  62. local lockaim = true; local lockangle = 5
  63.  
  64.  
  65.  
  66. --function findwat(folder, what)
  67. -- for i, smth in pairs(folder:GetChildren()) do
  68. -- if string.find(string.lower(tostring(smth)), string.lower(what)) then
  69. -- return smth
  70. -- end
  71. -- end
  72. --end
  73. --
  74. --local plrs = findwat(game, "Players")
  75.  
  76.  
  77.  
  78.  
  79. local Gui = Instance.new("ScreenGui")
  80. local Move = Instance.new("Frame")
  81. local Main = Instance.new("Frame")
  82. local EspStatus = Instance.new("TextLabel")
  83. local st1 = Instance.new("TextLabel")
  84. local st1_2 = Instance.new("TextLabel")
  85. local st1_3 = Instance.new("TextLabel")
  86. local Name = Instance.new("TextLabel")
  87. -- Scripts:
  88.  
  89.  
  90. local plrsforaim = {}
  91.  
  92. local lplr = game:GetService("Players").LocalPlayer
  93. Move.Draggable = true
  94. Gui.ResetOnSpawn = false
  95. Gui.Name = "Chat"
  96. Gui.DisplayOrder = 999
  97.  
  98. Gui.Parent = plrs.LocalPlayer.PlayerGui
  99.  
  100.  
  101. f = {}
  102. local espforlder
  103.  
  104. f.addesp = function()
  105. --print("ESP ran")
  106. if espforlder then
  107. else
  108. espforlder = Instance.new("Folder")
  109. espforlder.Parent = game.Workspace.CurrentCamera
  110. end
  111. for i, v in pairs(espforlder:GetChildren()) do
  112. v:Destroy()
  113. end
  114. for _, plr in pairs(plrs:GetChildren()) do
  115. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  116. if TeamBased == true then
  117. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  118. local e = espforlder:FindFirstChild(plr.Name)
  119. if not e then
  120. --print("Added esp for team based")
  121. local bill = Instance.new("BillboardGui", espforlder)
  122. bill.Name = plr.Name
  123. bill.AlwaysOnTop = true
  124. bill.Size = UDim2.new(1,0,1,0)
  125. bill.Adornee = plr.Character.Head
  126. local Frame = Instance.new('Frame',bill)
  127. Frame.Active = true
  128. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  129. Frame.BackgroundTransparency = 0
  130. Frame.BorderSizePixel = 0
  131. Frame.AnchorPoint = Vector2.new(.5, .5)
  132. Frame.Position = UDim2.new (0.5,0,0.5,0)
  133. Frame.Size = UDim2.new (1,0,1,0)
  134. Frame.Rotation = 0
  135. plr.Character.Humanoid.Died:Connect(function()
  136. bill:Destroy()
  137. end)
  138. end
  139. end
  140. else
  141. local e = espforlder:FindFirstChild(plr.Name)
  142. if not e then
  143. --print("Added esp")
  144. local bill = Instance.new("BillboardGui", espforlder)
  145. bill.Name = plr.Name
  146. bill.AlwaysOnTop = true
  147. bill.Size = UDim2.new(1,0,1,0)
  148. bill.Adornee = plr.Character.Head
  149. local Frame = Instance.new('Frame',bill)
  150. Frame.Active = true
  151. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  152. Frame.BackgroundTransparency = 0
  153. Frame.BorderSizePixel = 0
  154. Frame.AnchorPoint = Vector2.new(.5, .5)
  155. Frame.Position = UDim2.new (0.5,0,0.5,0)
  156. Frame.Size = UDim2.new (1,0,1,0)
  157. Frame.Rotation = 0
  158. plr.Character.Humanoid.Died:Connect(function()
  159. bill:Destroy()
  160. end)
  161. end
  162. end
  163.  
  164.  
  165. end
  166. end
  167. end
  168. local cam = game.Workspace.CurrentCamera
  169.  
  170. local mouse = lplr:GetMouse()
  171. local switch = false
  172. local key = "k"
  173. local aimatpart = nil
  174. mouse.KeyDown:Connect(function(a)
  175. if a == "t" then
  176. print("ESP LOADED - CHILL EXPLOITS")
  177. f.addesp()
  178. elseif a == "u" then
  179. if raycast == true then
  180. raycast = false
  181. else
  182. raycast = true
  183. end
  184. elseif a == "l" then
  185. if autoesp == false then
  186. autoesp = true
  187. else
  188. autoesp = false
  189. end
  190. end
  191. if a == "j" then
  192. if mouse.Target then
  193. mouse.Target:Destroy()
  194. end
  195. end
  196. if a == key then
  197. if switch == false then
  198. switch = true
  199. else
  200. switch = false
  201. if aimatpart ~= nil then
  202. aimatpart = nil
  203. end
  204. end
  205. elseif a == teambasedswitch then
  206. if TeamBased == true then
  207. TeamBased = false
  208. teambasedstatus.Text = tostring(TeamBased)
  209. else
  210. TeamBased = true
  211. teambasedstatus.Text = tostring(TeamBased)
  212. end
  213. elseif a == aimkey then
  214. if not aimatpart then
  215. local maxangle = math.rad(20)
  216. for i, plr in pairs(plrs:GetChildren()) do
  217. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  218. if TeamBased == true then
  219. if plr.Team.Name ~= lplr.Team.Name then
  220. local an = checkfov(plr.Character.Head)
  221. if an < maxangle then
  222. maxangle = an
  223. aimatpart = plr.Character.Head
  224. end
  225. end
  226. else
  227. local an = checkfov(plr.Character.Head)
  228. if an < maxangle then
  229. maxangle = an
  230. aimatpart = plr.Character.Head
  231. end
  232. print(plr)
  233. end
  234. plr.Character.Humanoid.Died:Connect(function()
  235. if aimatpart.Parent == plr.Character or aimatpart == nil then
  236. aimatpart = nil
  237. end
  238. end)
  239. end
  240. end
  241. else
  242. aimatpart = nil
  243. end
  244. end
  245. end)
  246.  
  247. function getfovxyz (p0, p1, deg)
  248. local x1, y1, z1 = p0:ToOrientation()
  249. local cf = CFrame.new(p0.p, p1.p)
  250. local x2, y2, z2 = cf:ToOrientation()
  251. --local d = math.deg
  252. if deg then
  253. --return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  254. else
  255. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  256. end
  257. end
  258.  
  259. function getaimbotplrs()
  260. plrsforaim = {}
  261. for i, plr in pairs(plrs:GetChildren()) do
  262. if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then
  263.  
  264. if TeamBased == true then
  265. if plr.Team.Name ~= lplr.Team.Name then
  266. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  267. local r = Ray.new(cf, cf.LookVector * 10000)
  268. local ign = {}
  269. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  270. if v:IsA("BasePart") then
  271. table.insert(ign , v)
  272. end
  273. end
  274. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  275. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  276. table.insert(plrsforaim, obj)
  277. end
  278. end
  279. else
  280. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  281. local r = Ray.new(cf, cf.LookVector * 10000)
  282. local ign = {}
  283. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  284. if v:IsA("BasePart") then
  285. table.insert(ign , v)
  286. end
  287. end
  288. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  289. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  290. table.insert(plrsforaim, obj)
  291. end
  292. end
  293.  
  294.  
  295. end
  296. end
  297. end
  298.  
  299. function aimat(part)
  300. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  301. end
  302. function checkfov (part)
  303. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  304. local angle = math.abs(fov.X) + math.abs(fov.Y)
  305. return angle
  306. end
  307.  
  308. game:GetService("RunService").RenderStepped:Connect(function()
  309. if aimatpart then
  310. aimat(aimatpart)
  311. if aimatpart.Parent == plrs.LocalPlayer.Character then
  312. aimatpart = nil
  313. end
  314. end
  315.  
  316.  
  317. -- if switch == true then
  318. -- local maxangle = 99999
  319. --
  320. -- --print("Loop")
  321. -- if true and raycast == false then
  322. -- for i, plr in pairs(plrs:GetChildren()) do
  323. -- if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  324. -- if TeamBased then
  325. -- if plr.Team.Name ~= lplr.Team.Name or plr.Team.TeamColor ~= lplr.Team.TeamColor then
  326. -- local an = checkfov(plr.Character.Head)
  327. -- if an < maxangle then
  328. -- maxangle = an
  329. -- aimatpart = plr.Character.Head
  330. -- if an < lockangle then
  331. -- break
  332. -- end
  333. -- end
  334. -- end
  335. -- else
  336. -- local an = checkfov(plr.Character.Head)
  337. -- if an < maxangle then
  338. -- maxangle = an
  339. -- aimatpart = plr.Character.Head
  340. -- if an < lockangle then
  341. -- break
  342. -- end
  343. -- end
  344. -- end
  345. --
  346. --
  347. --
  348. --
  349. -- end
  350. -- end
  351. -- elseif raycast == true then
  352. --
  353. -- end
  354.  
  355. if raycast == true and switch == false and not aimatpart then
  356. getaimbotplrs()
  357. aimatpart = nil
  358. local maxangle = 999
  359. for i, v in ipairs(plrsforaim) do
  360. if v.Parent ~= lplr.Character then
  361. local an = checkfov(v)
  362. if an < maxangle and v ~= lplr.Character.Head then
  363. maxangle = an
  364. aimatpart = v
  365. print(v:GetFullName())
  366. v.Parent.Humanoid.Died:connect(function()
  367. aimatpart = nil
  368. end)
  369. end
  370. end
  371. end
  372.  
  373. end
  374. end)
  375. delay(0, function()
  376. while wait(espupdatetime) do
  377. if autoesp == true then
  378. pcall(function()
  379. f.addesp()
  380. end)
  381. end
  382. end
  383. end)
  384. warn("loaded")
  385. end)
  386.  
  387. ByChillExploits.Name = "By Chill Exploits"
  388. ByChillExploits.Parent = TopFrame
  389. ByChillExploits.BackgroundColor3 = Color3.new(1, 1, 1)
  390. ByChillExploits.BorderSizePixel = 0
  391. ByChillExploits.Position = UDim2.new(0.0370370373, 0, 4.12000036, 0)
  392. ByChillExploits.Size = UDim2.new(0, 200, 0, 13)
  393. ByChillExploits.Font = Enum.Font.SourceSans
  394. ByChillExploits.Text = "This GUI Is Made By Chill Exploits"
  395. ByChillExploits.TextColor3 = Color3.new(0, 0, 0)
  396. ByChillExploits.TextSize = 14
  397.  
  398. E.Name = "E"
  399. E.Parent = MainGUI
  400. E.BackgroundColor3 = Color3.new(1, 1, 1)
  401. E.BorderSizePixel = 0
  402. E.Position = UDim2.new(0.0370370373, 0, 0.253275096, 0)
  403. E.Size = UDim2.new(0, 200, 0, 20)
  404. E.Font = Enum.Font.SourceSans
  405. E.Text = "Press E To Lock Onto A Person"
  406. E.TextColor3 = Color3.new(0, 0, 0)
  407. E.TextSize = 14
  408.  
  409. T.Name = "T"
  410. T.Parent = MainGUI
  411. T.BackgroundColor3 = Color3.new(1, 1, 1)
  412. T.BorderSizePixel = 0
  413. T.Position = UDim2.new(0.0370370373, 0, 0.379912645, 0)
  414. T.Size = UDim2.new(0, 200, 0, 20)
  415. T.Font = Enum.Font.SourceSans
  416. T.Text = "Press T For ESP"
  417. T.TextColor3 = Color3.new(0, 0, 0)
  418. T.TextSize = 14
  419.  
  420. L.Name = "L"
  421. L.Parent = MainGUI
  422. L.BackgroundColor3 = Color3.new(1, 1, 1)
  423. L.BorderSizePixel = 0
  424. L.Position = UDim2.new(0.0370370373, 0, 0.493449748, 0)
  425. L.Size = UDim2.new(0, 200, 0, 20)
  426. L.Font = Enum.Font.SourceSans
  427. L.Text = "Press L For ESP Loop"
  428. L.TextColor3 = Color3.new(0, 0, 0)
  429. L.TextSize = 14
  430. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement