deezfai

Untitled

Sep 7th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.03 KB | None | 0 0
  1. iPlayer = game.Players.LocalPlayer
  2. local Gui = Instance.new('ScreenGui', game.Players[iPlayer.Name].PlayerGui)
  3. Gui.Name = 'Apoc'
  4. local Grab_f = Instance.new('Frame', Gui)
  5. Grab_f.Name = 'Grab'
  6. Grab_f.Active = true
  7. Grab_f.BackgroundColor3 = Color3.new(255,255,127/255)
  8. Grab_f.BackgroundTransparency = 0.5
  9. Grab_f.BorderSizePixel = 0
  10. Grab_f.Position = UDim2.new(0.5, -302,0.5, -92)
  11. Grab_f.Size = UDim2.new(0, 602,0, 24)
  12. Grab_f.Draggable = true
  13. local Close = Instance.new('TextButton', Grab_f)
  14. Close.Name = 'Close'
  15. Close.BackgroundTransparency = 1
  16. Close.Position = UDim2.new(1,-23,0,1)
  17. Close.Size = UDim2.new(0,22,0,22)
  18. Close.Font = 'SourceSans'
  19. Close.FontSize = 'Size18'
  20. Close.TextColor3 = Color3.new(255,255,255)
  21. Close.Text = 'X'
  22. local Body_f = Instance.new('Frame', Grab_f)
  23. Body_f.Name = 'Body'
  24. Body_f.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  25. Body_f.BackgroundTransparency = 0.5
  26. Body_f.BorderSizePixel = 0
  27. Body_f.Position = UDim2.new(0,0,0,26)
  28. Body_f.Size = UDim2.new(0,300,0,170)
  29.  
  30. Close.TextStrokeTransparency = 0.8
  31. local Title = Instance.new('TextLabel', Grab_f)
  32. Title.Name = 'Title'
  33. Title.BackgroundTransparency = 1
  34. Title.Position = UDim2.new(0,5,0,0)
  35. Title.Size = UDim2.new(0,200,1,0)
  36. Title.Font = 'SourceSansLight'
  37. Title.FontSize = 'Size18'
  38. Title.Text = "GETJIGGYWITHIT's APOC GUI (v2)"
  39. Title.TextColor3 = Color3.new(255,255,255)
  40. Title.TextStrokeColor3 = Color3.new(60/255,60/255,60/255)
  41. Title.TextStrokeTransparency = 0.6
  42. local PlayerName = Instance.new('TextBox', Body_f)
  43. PlayerName.Name = 'PlayerName'
  44. PlayerName.BorderSizePixel = 0
  45. PlayerName.Position = UDim2.new(0,10,0,10)
  46. PlayerName.Size = UDim2.new(0,280,0,30)
  47. PlayerName.Font = 'SourceSans'
  48. PlayerName.FontSize = 'Size18'
  49. PlayerName.Text = 'Player name [plr]'
  50. PlayerName.BackgroundColor3 = Color3.new(255,255,255)
  51. PlayerName.TextColor3 = Color3.new(60/255,60/255,60/255)
  52. PlayerName.TextWrapped = true
  53.  
  54. local Body2_f = Body_f:Clone()
  55. Body2_f.Parent = Grab_f
  56. Body2_f.Name = 'Body2'
  57. Body2_f.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  58. Body2_f.BackgroundTransparency = 0.5
  59. Body2_f.BorderSizePixel = 0
  60. Body2_f.Position = UDim2.new(0, 302,0, 26)
  61. Body2_f.Size = UDim2.new(0,300,0,170)
  62. Body2_f:ClearAllChildren()
  63. wait(1)
  64.  
  65. local ObjectName = Instance.new('TextBox', Body2_f)
  66. ObjectName.Name = 'ObjectName'
  67. ObjectName.BorderSizePixel = 0
  68. ObjectName.Position = UDim2.new(0,10,0,10)
  69. ObjectName.Size = UDim2.new(0, 135,0, 30)
  70. ObjectName.Font = 'SourceSans'
  71. ObjectName.FontSize = 'Size18'
  72. ObjectName.Text = 'Object name [obj]'
  73. ObjectName.BackgroundColor3 = Color3.new(255,255,255)
  74. ObjectName.TextColor3 = Color3.new(60/255,60/255,60/255)
  75. ObjectName.TextWrapped = true
  76.  
  77. local ValueName = Instance.new('TextBox', Body2_f)
  78. ValueName.Name = 'ValueName'
  79. ValueName.BorderSizePixel = 0
  80. ValueName.Position = UDim2.new(0,155,0,10)
  81. ValueName.Size = UDim2.new(0, 135,0, 30)
  82. ValueName.Font = 'SourceSans'
  83. ValueName.FontSize = 'Size18'
  84. ValueName.Text = 'Value name [val]'
  85. ValueName.BackgroundColor3 = Color3.new(255,255,255)
  86. ValueName.TextColor3 = Color3.new(60/255,60/255,60/255)
  87. ValueName.TextWrapped = true
  88.  
  89. local Credits = Instance.new('TextLabel', Body_f)
  90. Credits.Name = 'Credits'
  91. Credits.BackgroundTransparency = 1
  92. Credits.Text = 'Credits to - Phemzy, Raspberry Pi & others'
  93. Credits.Position = UDim2.new(0,0,1,0)
  94. Credits.Size = UDim2.new(2,0,0,20)
  95.  
  96. local Command_God = Instance.new('TextButton', Body_f) -- cmd ctrl
  97. Command_God.Name = 'God'
  98. Command_God.BackgroundColor3 = Color3.new(170/255, 255, 127/255)
  99. Command_God.BackgroundTransparency = 0.1
  100. Command_God.BorderSizePixel = 0
  101. Command_God.Position = UDim2.new(0,10,0,50)
  102. Command_God.Size = UDim2.new(0,135,0,30)
  103. Command_God.Font = 'SourceSansLight'
  104. Command_God.FontSize = 'Size18'
  105. Command_God.Text = 'GOD [plr]'
  106. Command_God.TextColor3 = Color3.new(80/255,80/255,80/255)
  107. Command_God.TextWrapped = true
  108.  
  109. local Command_KillAll = Command_God:Clone()
  110. Command_KillAll.Name = 'KillAll'
  111. Command_KillAll.Parent = Body_f
  112. Command_KillAll.Position = UDim2.new(0,155,0,50)
  113. Command_KillAll.Text = 'KILL ALL'
  114.  
  115. local Command_KillPlr = Command_God:Clone()
  116. Command_KillPlr.Name = 'KillPlr'
  117. Command_KillPlr.Parent = Body_f
  118. Command_KillPlr.Position = UDim2.new(0,10,0,90)
  119. Command_KillPlr.Text = 'KILL [plr]'
  120.  
  121. local Command_TpMe = Command_God:Clone()
  122. Command_TpMe.Name = 'TpMe'
  123. Command_TpMe.Parent = Body_f
  124. Command_TpMe.Position = UDim2.new(0,10,0,130)
  125. Command_TpMe.Text = 'TP ME [plr]'
  126.  
  127. local Command_TpTo = Command_God:Clone()
  128. Command_TpTo.Name = 'TpTo'
  129. Command_TpTo.Parent = Body_f
  130. Command_TpTo.Position = UDim2.new(0,155,0,130)
  131. Command_TpTo.Text = 'TP [plr] ME'
  132.  
  133. local Command_TpAllMe = Command_God:Clone()
  134. Command_TpAllMe.Name = 'TpAllMe'
  135. Command_TpAllMe.Parent = Body_f
  136. Command_TpAllMe.Position = UDim2.new(0,155,0,90)
  137. Command_TpAllMe.Text = 'TP ALL ME'
  138.  
  139. Command_God.MouseButton1Down:connect(function()
  140. Player = game.Workspace:FindFirstChild(PlayerName.Text)
  141. while wait() do
  142. game.Lighting.Remote.AddHealth:FireServer(Player.Humanoid, 5000000)
  143. end
  144. end)
  145.  
  146. Command_KillAll.MouseButton1Down:connect(function()
  147. for i,v in pairs(game.Players:GetPlayers()) do
  148. if v.Name == game.Players.LocalPlayer.Name then
  149. print('nope')
  150. else
  151. getPlayer = game.Workspace:FindFirstChild(v.Name)
  152. wait(.01)
  153. game.Lighting.Remote.AddHealth:FireServer(getPlayer.Humanoid, -5345355)
  154. end
  155. end
  156. end)
  157.  
  158. -- V2
  159. for get,clonebtns in ipairs(Body_f:GetChildren()) do
  160. if clonebtns.ClassName == 'TextButton' then
  161. cloney = clonebtns:Clone()
  162. cloney.Parent = Body2_f
  163. end
  164. end
  165.  
  166. Command_CarSpeed = Body2_f.God
  167. Command_CarSpeed.Name = 'CarSpeed'
  168. Command_CarSpeed.Text = 'CAR SPEED [obj] [val]'
  169.  
  170. Command_TpCorpses = Body2_f.KillAll
  171. Command_TpCorpses.Name = 'TpCorpses'
  172. Command_TpCorpses.Text = 'TP CORPSES'
  173.  
  174. Command_CarGod = Body2_f.KillPlr
  175. Command_CarGod.Name = 'CarGod'
  176. Command_CarGod.Text = 'CAR GOD [obj]'
  177.  
  178. Command_Sprint = Body2_f.TpAllMe
  179. Command_Sprint.Name = 'Sprint'
  180. Command_Sprint.Text = 'SPRINT'
  181.  
  182. Command_Aimbot = Body2_f.TpMe
  183. Command_Aimbot.Name = 'Aimbot'
  184. Command_Aimbot.Text = 'ESP'
  185.  
  186. Command_Help = Body2_f.TpTo
  187. Command_Help.Name = 'Help'
  188. Command_Help.FontSize = 'Size14'
  189. Command_Help.BackgroundTransparency = 1
  190. Command_Help.TextColor3 = Color3.new(255,255,255)
  191. Command_Help.Text = 'Toggle Developer Console to view aimbot help.'
  192.  
  193. Command_CarSpeed.MouseButton1Down:connect(function()
  194. local Car = game.Workspace.Vehicles[ObjectName.Text]
  195. Car.Stats.MaxSpeed.Offroad.Value = ValueName.Text
  196. Car.Stats.MaxSpeed.Value = ValueName.Text
  197. end)
  198.  
  199. Command_TpCorpses.MouseButton1Down:connect(function()
  200. for get, Corpse in pairs(workspace:GetChildren()) do
  201. if Corpse.Name == "Corpse" then
  202. Corpse:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  203. end
  204. end
  205. end)
  206.  
  207. Command_CarGod.MouseButton1Down:connect(function()
  208. for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
  209. if v.Name ~= "Holder" or v.Name ~= "VehicleWreck" then
  210. if v:findFirstChild("Stats") then
  211. v.Stats.Engine.Value = 99999999
  212. v.Stats.Tank.Value = 99999999
  213. v.Stats.Hull.Value = 99999999
  214. v.Stats.Armor.Value = 99999999
  215. v.Stats.Fuel.Value = 500
  216. end
  217. end
  218. end
  219. end)
  220.  
  221. Command_Sprint.MouseButton1Down:connect(function()
  222. Player = game.Players.LocalPlayer
  223. game.Workspace[Player.Name].Humanoid.WalkSpeed = 25
  224. end)
  225.  
  226. Command_Aimbot.MouseButton1Down:connect(function()
  227. print("Key to toggle is V")
  228. print("Aim key is left Alt")
  229.  
  230. ENABLED = false
  231. PLAYER = game.Players.LocalPlayer
  232. MOUSE = PLAYER:GetMouse()
  233. CC = game.Workspace.CurrentCamera
  234. _G.FREE_FOR_ALL = true
  235. _G.BIND = 52
  236. _G.AIM_AT = 'Head'
  237. local player = game.Players.LocalPlayer
  238. local esp = false
  239. local track = false
  240.  
  241.  
  242.  
  243. function Create(base, team)
  244. local bb = Instance.new("BillboardGui",player.PlayerGui)
  245. bb.Adornee = base
  246. bb.ExtentsOffset = Vector3.new(0,1,0)
  247. bb.AlwaysOnTop = true
  248. bb.Size = UDim2.new(0,5,0,5)
  249. bb.StudsOffset = Vector3.new(0,1,0)
  250. bb.Name = "tracker"
  251. local frame = Instance.new("Frame",bb)
  252. frame.ZIndex = 10
  253. frame.BackgroundTransparency = 0.3
  254. frame.Size = UDim2.new(1,0,1,0)
  255. frame.Position = UDim2.new(0,0,0)
  256. frame.Transparency = 1
  257. local txtlbl = Instance.new("TextLabel",bb)
  258. txtlbl.ZIndex = 10
  259. txtlbl.Text = (string.upper(base.Parent.Name))
  260. txtlbl.BackgroundTransparency = 1
  261. txtlbl.Position = UDim2.new(0,0,0,-35)
  262. txtlbl.Size = UDim2.new(1,0,10,0)
  263. txtlbl.Font = "SourceSansBold"
  264. txtlbl.FontSize = "Size10"
  265. txtlbl.TextStrokeTransparency = 0.5
  266.  
  267. local txtlbl2 = Instance.new("TextLabel",bb)
  268. txtlbl2.ZIndex = 10
  269. txtlbl2.Text = (math.floor(base.Parent.Humanoid.Health*100)/100)
  270. txtlbl2.BackgroundTransparency = 1
  271. txtlbl2.Position = UDim2.new(0,0,0,-25)
  272. txtlbl2.Size = UDim2.new(1,0,10,0)
  273. txtlbl2.Font = "SourceSansBold"
  274. txtlbl2.FontSize = "Size10"
  275.  
  276. txtlbl2.TextStrokeTransparency = 0.5
  277. if team then
  278. txtlbl.TextColor3 = Color3.new(255,0,0)
  279. txtlbl2.TextColor3 = Color3.new(255,0,0)
  280. frame.BackgroundColor3 = Color3.new(255,0,0)
  281.  
  282. elseif base.Parent.Name == "sdf" or base.Parent.Name == "sdasf" then
  283. txtlbl.TextColor3 = Color3.new(0,255,0)
  284. txtlbl2.TextColor3 = Color3.new(0,255,0)
  285. frame.BackgroundColor3 = Color3.new(0,255,0)
  286. txtlbl.Text = "FRIEND"
  287. txtlbl.FontSize = "Size14"
  288. txtlbl2.FontSize = "Size14"
  289.  
  290.  
  291.  
  292. elseif base.Parent.Name == game.Players.LocalPlayer.Name then
  293. txtlbl2.Transparency = 1
  294. txtlbl.Transparency = 1
  295. frame.Transparency = 1
  296. else
  297. txtlbl.TextColor3 = Color3.new(255,0,0)
  298. txtlbl2.TextColor3 = Color3.new(255,0,0)
  299. frame.BackgroundColor3 = Color3.new(255,0,0)
  300.  
  301. end
  302. end
  303.  
  304.  
  305. function Find()
  306. Clear()
  307. track = true
  308. spawn(function()
  309. while wait() do
  310. if track then
  311. Clear()
  312. for _,v in pairs(game.Players:players()) do
  313.  
  314. if v.Character and v.Character.Head then
  315. Create(v.Character.Head, false)
  316. end
  317. end
  318. end
  319. end
  320. wait(1)
  321. end)
  322. end
  323. function Clear()
  324. for _,v in pairs(player.PlayerGui:children()) do
  325. if v.Name == "tracker" and v:isA("BillboardGui") then
  326. v:destroy()
  327. end
  328. end
  329. end
  330. mouse=game.Players.LocalPlayer:GetMouse()
  331. mouse.keyDown:connect(function(key)
  332. if key == "v" then
  333. if not esp then
  334. Find()
  335. print("ESP ENABLED")
  336. esp = true
  337. else
  338. Clear()
  339. track = false
  340. print("ESP DISABLED")
  341. esp = false
  342. end
  343.  
  344.  
  345.  
  346.  
  347. end
  348.  
  349. end)
  350.  
  351.  
  352.  
  353.  
  354. --aimbot
  355.  
  356.  
  357. function GetNearestPlayerToMouse()
  358. local PLAYERS = {}
  359. local PLAYER_HOLD = {}
  360. local DISTANCES = {}
  361. for i, v in pairs(game.Players:GetPlayers()) do
  362. if v ~= PLAYER then
  363. table.insert(PLAYERS, v)
  364. end
  365. end
  366. for i, v in pairs(PLAYERS) do
  367. if _G.FREE_FOR_ALL == false then
  368. if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
  369. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  370. if AIM ~= nil then
  371. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  372. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  373. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  374. local DIFF = math.floor((POS - AIM.Position).magnitude)
  375. PLAYER_HOLD[v.Name .. i] = {}
  376. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  377. PLAYER_HOLD[v.Name .. i].plr = v
  378. PLAYER_HOLD[v.Name .. i].diff = DIFF
  379. table.insert(DISTANCES, DIFF)
  380. end
  381. end
  382. elseif _G.FREE_FOR_ALL == true then
  383. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  384. if AIM ~= nil then
  385. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  386. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  387. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  388. local DIFF = math.floor((POS - AIM.Position).magnitude)
  389. PLAYER_HOLD[v.Name .. i] = {}
  390. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  391. PLAYER_HOLD[v.Name .. i].plr = v
  392. PLAYER_HOLD[v.Name .. i].diff = DIFF
  393. table.insert(DISTANCES, DIFF)
  394. end
  395. end
  396. end
  397.  
  398. if unpack(DISTANCES) == nil then
  399. return false
  400. end
  401.  
  402. local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  403. if L_DISTANCE > 20 then
  404. return false
  405. end
  406.  
  407. for i, v in pairs(PLAYER_HOLD) do
  408. if v.diff == L_DISTANCE then
  409. return v.plr
  410. end
  411. end
  412. return false
  413. end
  414.  
  415. local TRACK = false
  416.  
  417.  
  418. MOUSE.KeyDown:connect(function(KEY)
  419. KEY = KEY:lower():byte()
  420. if KEY == _G.BIND then
  421. ENABLED = true
  422. end
  423. end)
  424. MOUSE.KeyUp:connect(function(KEY)
  425. KEY = KEY:lower():byte()
  426. if KEY == _G.BIND then
  427. ENABLED = false
  428. end
  429. end)
  430.  
  431. game:GetService('RunService').RenderStepped:connect(function()
  432. if ENABLED then
  433. local TARGET = GetNearestPlayerToMouse()
  434. if TARGET.Name == "Whitelist kid here" or TARGET.Name == "second whitelist kid here" then
  435. else
  436.  
  437. if (TARGET ~= false) then
  438. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  439. if AIM then
  440. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  441. end
  442. end
  443. end
  444. end
  445. end)
  446. end)
  447.  
  448. --
  449.  
  450. Command_KillPlr.MouseButton1Down:connect(function()
  451. gitPlayer = game.Workspace:FindFirstChild(PlayerName.Text)
  452. game.Lighting.Remote.AddHealth:FireServer(gitPlayer.Humanoid, -5000000)
  453. end)
  454.  
  455. Command_TpMe.MouseButton1Down:connect(function()
  456. gitPlayer = PlayerName.Text
  457. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("Me To", math.floor(tick() % 1 * 100000), gitPlayer)
  458. end)
  459.  
  460. Command_TpTo.MouseButton1Down:connect(function()
  461. gitPlayer = PlayerName.Text
  462. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("To Me", math.floor(tick() % 1 * 100000), gitPlayer)
  463. end)
  464.  
  465. Command_TpAllMe.MouseButton1Down:connect(function()
  466. for i,v in pairs(game.Players:GetPlayers()) do
  467. if v.Name == game.Players.LocalPlayer.Name then
  468. print'nope'
  469. else
  470. wait(.01)
  471. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("To Me", math.floor(tick() % 1 * 100000), v.Name)
  472. end
  473. end
  474. end)
  475.  
  476. Close.MouseButton1Down:connect(function()
  477. if Body_f.Visible == true and Body2_f.Visible == true then
  478. Body_f.Visible = false
  479. Body2_f.Visible = false
  480. Close.Text = '+'
  481. elseif Body_f.Visible == false and Body2_f.Visible == false then
  482. Body_f.Visible = true
  483. Body2_f.Visible = true
  484. Close.Text = 'X'
  485. end
  486. end)
  487.  
  488. --
  489.  
  490. while wait() do
  491. Credits.TextColor3 = Color3.new(1,0,0)
  492. for i=1,15 do
  493. game:GetService("RunService").RenderStepped:wait()
  494. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g+(17/255),Credits.TextColor3.b)
  495. end
  496. for i=1,15 do
  497. game:GetService("RunService").RenderStepped:wait()
  498. Credits.TextColor3 = Color3.new(Credits.TextColor3.r-(17/255),Credits.TextColor3.g,Credits.TextColor3.b)
  499. end
  500. for i=1,15 do
  501. game:GetService("RunService").RenderStepped:wait()
  502. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g,Credits.TextColor3.b+(17/255))
  503. end
  504. for i=1,15 do
  505. game:GetService("RunService").RenderStepped:wait()
  506. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g-(17/255),Credits.TextColor3.b)
  507. end
  508. for i=1,15 do
  509. game:GetService("RunService").RenderStepped:wait()
  510. Credits.TextColor3 = Color3.new(Credits.TextColor3.r+(17/255),Credits.TextColor3.g,Credits.TextColor3.b)
  511. end
  512. for i=1,15 do
  513. game:GetService("RunService").RenderStepped:wait()
  514. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g,Credits.TextColor3.b-(17/255))
  515. end
  516. end
Add Comment
Please, Sign In to add comment