Subscribe & turn on post notifications 🔔 for the latest Roblox Exploits:D: #Roblox #RoadTo1K #BloxPieceIf you have any questions.

Dolphin
Aug 25th, 2019
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. PLAYER = game.Players.LocalPlayer
  2. CC = game.Workspace.CurrentCamera
  3. ENABLED = false
  4. _G.ESP_BIND = 52
  5. local PLAYERS = {}
  6. local DISTANCES = {}
  7. if v ~= PLAYER then
  8. end
  9. for i, v in pairs(PLAYERS) do
  10. if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
  11. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  12. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  13. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  14. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  15. local DIFF = math.floor((POS - AIM.Position).magnitude)
  16. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  17. PLAYER_HOLD[v.Name .. i].diff = DIFF
  18. end
  19. elseif _G.FREE_FOR_ALL true then
  20. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  21. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  22. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  23. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  24. local DIFF = math.floor((POS - AIM.Position).magnitude)
  25. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  26. PLAYER_HOLD[v.Name .. i].diff = DIFF
  27. end
  28. end
  29. if unpack(DISTANCES) nil then
  30. end
  31. local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  32. return false
  33. if v.diff L_DISTANCE then
  34. end
  35. return false
  36. GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
  37. GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
  38. GUI_MAIN.Name = 'AIMBOT'
  39. GUI_TARGET.Size = UDim2.new(0,200,0,30)
  40. GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
  41. GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
  42. GUI_TARGET.TextColor3 = Color3.new(1,1,1)
  43. GUI_TARGET.TextWrapped = true
  44. GUI_TARGET.Font = 'SourceSansBold'
  45. GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
  46. GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
  47. GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
  48. GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
  49. GUI_AIM_AT.TextWrapped = true
  50. GUI_AIM_AT.Font = 'SourceSansBold'
  51. local TRACK = false
  52. function CREATE(BASE, TEAM)
  53. local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
  54. local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
  55. ESP_MAIN.Name = 'ESP'
  56. ESP_MAIN.AlwaysOnTop = true
  57. ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
  58. ESP_DOT.Name = 'DOT'
  59. ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
  60. ESP_DOT.BorderSizePixel = 0
  61. ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
  62. ESP_DOT.ZIndex = 10
  63. ESP_NAME.Name = 'NAME'
  64. ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
  65. ESP_NAME.BorderSizePixel = 0
  66. ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
  67. ESP_NAME.ZIndex = 10
  68. ESP_NAME.FontSize = 'Size14'
  69. ESP_NAME.TextColor = BrickColor.new('Bright red')
  70. for _,v in pairs(PLAYER.PlayerGui:children()) do
  71. if v.Name 'ESP' and v:IsA('BillboardGui') then
  72. end
  73. end
  74. function FIND()
  75. TRACK = true
  76. while wait() do
  77. CLEAR()
  78. if v.Character and v.Character:FindFirstChild('Head') then
  79. if v.TeamColor ~= PLAYER.TeamColor then
  80. CREATE(v.Character.Head, true)
  81. end
  82. if v.Character:FindFirstChild('Head') then
  83. end
  84. end
  85. end
  86. wait(1)
  87. end
  88. MOUSE.KeyDown:connect(function(KEY)
  89. if KEY _G.BIND then
  90. end
  91. KEY = KEY:lower():byte()
  92. ENABLED = false
  93. end)
  94. MOUSE.KeyDown:connect(function(KEY)
  95. if KEY _G.ESP_BIND then
  96. FIND()
  97. print('ESP : ON')
  98. wait()
  99. TRACK = false
  100. print('ESP : OFF')
  101. end
  102. if KEY _G.CHANGE_AIM then
  103. _G.AIM_AT = 'Torso'
  104. elseif _G.AIM_AT 'Torso' then
  105. GUI_AIM_AT.Text = 'AIMING : HEAD'
  106. end
  107. game:GetService('RunService').RenderStepped:connect(function()
  108. local TARGET = GetNearestPlayerToMouse()
  109. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  110. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  111. GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
  112. GUI_TARGET.Text = 'AIMBOT : OFF'
  113. end
  114. wait()
  115. FIND()
  116. until ESP_ENABLED false
  117. _G.FREE_FOR_ALL = true
  118. _G.ESP_BIND = 52 -- LEFT ALT