Chaseycoil

AimX - Universal Aimbot

Aug 14th, 2025 (edited)
3,102
-1
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.77 KB | Source Code | 0 1
  1. local player = game.Players.LocalPlayer
  2. if player.LocaleId ~= "ru" then
  3.     game.StarterGui:SetCore("SendNotification", {
  4.         Title = "AimX has been Loaded!";
  5.         Text = "AimX is loading in";
  6.         Duration = 6;
  7.     })
  8. end
  9. -- AimX Universal GUI Aimbot
  10. local Players = game:GetService("Players")
  11. local LocalPlayer = Players.LocalPlayer
  12. local RunService = game:GetService("RunService")
  13. local UserInputService = game:GetService("UserInputService")
  14. local Workspace = game:GetService("Workspace")
  15. local Camera = workspace.CurrentCamera
  16.  
  17. -- Settings
  18. local aimbotEnabled = false
  19. local aimKey = Enum.UserInputType.MouseButton2
  20. local teamCheck = true
  21. local wallCheck = false
  22. local smoothness = 1
  23. local aimFOV = 500
  24. local targetPart = "Head" -- default target
  25. local ignoreDead = true
  26.  
  27. -- GUI
  28. local screenGui = Instance.new("ScreenGui")
  29. screenGui.Name = "AimXGUI"
  30. screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
  31.  
  32. local frame = Instance.new("Frame")
  33. frame.Size = UDim2.new(0,320,0,300)
  34. frame.Position = UDim2.new(0.5,-160,0.5,-150)
  35. frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
  36. frame.Visible = true
  37. frame.Parent = screenGui
  38. local corner = Instance.new("UICorner")
  39. corner.CornerRadius = UDim.new(0,12)
  40. corner.Parent = frame
  41.  
  42. -- Top bar
  43. local topBar = Instance.new("Frame")
  44. topBar.Size = UDim2.new(1,0,0,30)
  45. topBar.BackgroundColor3 = Color3.fromRGB(20,20,20)
  46. topBar.Parent = frame
  47. local topCorner = Instance.new("UICorner")
  48. topCorner.CornerRadius = UDim.new(0,12)
  49. topCorner.Parent = topBar
  50.  
  51. local title = Instance.new("TextLabel")
  52. title.Size = UDim2.new(1,0,1,0)
  53. title.BackgroundTransparency = 1
  54. title.Text = "AimX"
  55. title.TextColor3 = Color3.new(1,1,1)
  56. title.Font = Enum.Font.SourceSansBold
  57. title.TextScaled = true
  58. title.Parent = topBar
  59.  
  60. -- Close button
  61. local closeBtn = Instance.new("TextButton")
  62. closeBtn.Size = UDim2.new(0,25,0,25)
  63. closeBtn.Position = UDim2.new(1,-30,0,2)
  64. closeBtn.Text = "X"
  65. closeBtn.Font = Enum.Font.SourceSansBold
  66. closeBtn.TextColor3 = Color3.new(1,0,0)
  67. closeBtn.BackgroundColor3 = Color3.fromRGB(50,50,50)
  68. closeBtn.Parent = topBar
  69. local closeCorner = Instance.new("UICorner")
  70. closeCorner.CornerRadius = UDim.new(0,5)
  71. closeCorner.Parent = closeBtn
  72. closeBtn.MouseButton1Click:Connect(function()
  73.     screenGui:Destroy()
  74. end)
  75.  
  76. -- Minimize button
  77. local minBtn = Instance.new("TextButton")
  78. minBtn.Size = UDim2.new(0,25,0,25)
  79. minBtn.Position = UDim2.new(1,-60,0,2)
  80. minBtn.Text = "-"
  81. minBtn.Font = Enum.Font.SourceSansBold
  82. minBtn.TextColor3 = Color3.new(1,1,0)
  83. minBtn.BackgroundColor3 = Color3.fromRGB(50,50,50)
  84. minBtn.Parent = topBar
  85. local minCorner = Instance.new("UICorner")
  86. minCorner.CornerRadius = UDim.new(0,5)
  87. minCorner.Parent = minBtn
  88.  
  89. -- Minimized circle button
  90. local miniBtn = Instance.new("TextButton")
  91. miniBtn.Size = UDim2.new(0,70,0,70)
  92. miniBtn.Position = UDim2.new(0.5,-35,0.5,-35)
  93. miniBtn.Text = "AX"
  94. miniBtn.Font = Enum.Font.SourceSansBold
  95. miniBtn.TextColor3 = Color3.new(1,1,1)
  96. miniBtn.BackgroundColor3 = Color3.fromRGB(30,30,30)
  97. miniBtn.Visible = false
  98. miniBtn.Parent = screenGui
  99. local miniCorner = Instance.new("UICorner")
  100. miniCorner.CornerRadius = UDim.new(1,0)
  101. miniCorner.Parent = miniBtn
  102.  
  103. minBtn.MouseButton1Click:Connect(function()
  104.     frame.Visible=false
  105.     miniBtn.Visible=true
  106. end)
  107. miniBtn.MouseButton1Click:Connect(function()
  108.     frame.Visible=true
  109.     miniBtn.Visible=false
  110. end)
  111.  
  112. -- Move main GUI
  113. local dragging, dragOffset = false, Vector2.new()
  114. topBar.InputBegan:Connect(function(input)
  115.     if input.UserInputType==Enum.UserInputType.MouseButton1 then
  116.         dragging=true
  117.         dragOffset = input.Position - frame.AbsolutePosition
  118.     end
  119. end)
  120. topBar.InputEnded:Connect(function(input)
  121.     if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false end
  122. end)
  123. UserInputService.InputChanged:Connect(function(input)
  124.     if dragging and input.UserInputType==Enum.UserInputType.MouseMovement then
  125.         frame.Position = UDim2.new(0,input.Position.X-dragOffset.X,0,input.Position.Y-dragOffset.Y)
  126.     end
  127. end)
  128.  
  129. -- Move minimized button
  130. local miniDragging, miniOffset = false, Vector2.new()
  131. miniBtn.InputBegan:Connect(function(input)
  132.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  133.         miniDragging = true
  134.         miniOffset = input.Position - miniBtn.AbsolutePosition
  135.     end
  136. end)
  137. miniBtn.InputEnded:Connect(function(input)
  138.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  139.         miniDragging = false
  140.     end
  141. end)
  142. UserInputService.InputChanged:Connect(function(input)
  143.     if miniDragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  144.         miniBtn.Position = UDim2.new(0, input.Position.X - miniOffset.X, 0, input.Position.Y - miniOffset.Y)
  145.     end
  146. end)
  147.  
  148. -- Helper function to create toggles
  149. local function createToggle(text,posY,state)
  150.     local btn = Instance.new("TextButton")
  151.     btn.Size = UDim2.new(0,280,0,30)
  152.     btn.Position = UDim2.new(0,20,0,posY)
  153.     btn.Text = text..": "..(state and "ON" or "OFF")
  154.     btn.TextColor3 = Color3.new(1,1,1)
  155.     btn.Font = Enum.Font.SourceSansBold
  156.     btn.TextScaled = true
  157.     btn.BackgroundColor3 = Color3.fromRGB(50,50,50)
  158.     btn.Parent = frame
  159.     local corner = Instance.new("UICorner")
  160.     corner.CornerRadius = UDim.new(0,6)
  161.     corner.Parent = btn
  162.     return btn
  163. end
  164.  
  165. -- Toggles
  166. local aimbotBtn = createToggle("Aimbot",50,aimbotEnabled)
  167. local teamBtn = createToggle("TeamCheck",90,teamCheck)
  168. local wallBtn = createToggle("WallCheck",130,wallCheck)
  169.  
  170. -- Smoothness input
  171. local smoothBox = Instance.new("TextBox")
  172. smoothBox.Size = UDim2.new(0,280,0,30)
  173. smoothBox.Position = UDim2.new(0,20,0,170)
  174. smoothBox.Text = tostring(smoothness)
  175. smoothBox.TextScaled = true
  176. smoothBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
  177. smoothBox.TextColor3 = Color3.new(1,1,1)
  178. smoothBox.Parent = frame
  179.  
  180. -- FOV input
  181. local fovBox = Instance.new("TextBox")
  182. fovBox.Size = UDim2.new(0,280,0,30)
  183. fovBox.Position = UDim2.new(0,20,0,210)
  184. fovBox.Text = tostring(aimFOV)
  185. fovBox.TextScaled = true
  186. fovBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
  187. fovBox.TextColor3 = Color3.new(1,1,1)
  188. fovBox.Parent = frame
  189.  
  190. -- Target part input
  191. local targetBox = Instance.new("TextBox")
  192. targetBox.Size = UDim2.new(0,280,0,30)
  193. targetBox.Position = UDim2.new(0,20,0,250)
  194. targetBox.PlaceholderText = "Target Part (Head/UpperTorso/Chest)"
  195. targetBox.TextScaled = true
  196. targetBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
  197. targetBox.TextColor3 = Color3.new(1,1,1)
  198. targetBox.Parent = frame
  199.  
  200. targetBox.FocusLost:Connect(function()
  201.     local val = targetBox.Text
  202.     if val ~= "" then
  203.         targetPart = val
  204.     end
  205. end)
  206.  
  207. -- Toggle logic
  208. aimbotBtn.MouseButton1Click:Connect(function()
  209.     aimbotEnabled = not aimbotEnabled
  210.     aimbotBtn.Text = "Aimbot: "..(aimbotEnabled and "ON" or "OFF")
  211. end)
  212. teamBtn.MouseButton1Click:Connect(function()
  213.     teamCheck = not teamCheck
  214.     teamBtn.Text = "TeamCheck: "..(teamCheck and "ON" or "OFF")
  215. end)
  216. wallBtn.MouseButton1Click:Connect(function()
  217.     wallCheck = not wallCheck
  218.     wallBtn.Text = "WallCheck: "..(wallCheck and "ON" or "OFF")
  219. end)
  220. smoothBox.FocusLost:Connect(function()
  221.     local val = tonumber(smoothBox.Text)
  222.     if val then smoothness = math.clamp(val,0.01,5) smoothBox.Text=tostring(smoothness) end
  223. end)
  224. fovBox.FocusLost:Connect(function()
  225.     local val = tonumber(fovBox.Text)
  226.     if val then aimFOV = math.clamp(val,50,2000) fovBox.Text=tostring(aimFOV) end
  227. end)
  228.  
  229. -- FOV Circle overlay
  230. local fovCircle = Drawing.new("Circle")
  231. fovCircle.Radius = aimFOV
  232. fovCircle.Color = Color3.fromRGB(255,255,0)
  233. fovCircle.Thickness = 2
  234. fovCircle.Transparency = 0.5
  235. fovCircle.Visible = true
  236.  
  237. RunService.RenderStepped:Connect(function()
  238.     local mousePos = UserInputService:GetMouseLocation()
  239.     fovCircle.Position = Vector2.new(mousePos.X,mousePos.Y)
  240.     fovCircle.Radius = aimFOV
  241. end)
  242.  
  243. -- Visibility check
  244. local function isVisible(target)
  245.     if not wallCheck then return true end
  246.     local part = target.Character:FindFirstChild(targetPart)
  247.     if not part then return false end
  248.     local ray = Ray.new(Camera.CFrame.Position,(part.Position-Camera.CFrame.Position).Unit*1000)
  249.     local hitPart = Workspace:FindPartOnRayWithIgnoreList(ray,{LocalPlayer.Character},false,true)
  250.     if hitPart and hitPart:IsDescendantOf(target.Character) then return true end
  251.     return false
  252. end
  253.  
  254. -- Find closest target
  255. local function getClosestTarget()
  256.     local closestPlayer
  257.     local closestDist = aimFOV
  258.     local mousePos = UserInputService:GetMouseLocation()
  259.     for _, player in pairs(Players:GetPlayers()) do
  260.         if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild(targetPart) then
  261.             if teamCheck and player.Team == LocalPlayer.Team then continue end
  262.             if ignoreDead and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health <= 0 then continue end
  263.             if not isVisible(player) then continue end
  264.             local partPos, onScreen = Camera:WorldToViewportPoint(player.Character[targetPart].Position)
  265.             if onScreen then
  266.                 local dist = (Vector2.new(partPos.X,partPos.Y)-Vector2.new(mousePos.X,mousePos.Y)).Magnitude
  267.                 if dist<closestDist then
  268.                     closestDist=dist
  269.                     closestPlayer=player
  270.                 end
  271.             end
  272.         end
  273.     end
  274.     return closestPlayer
  275. end
  276.  
  277. -- Aimbot loop
  278. RunService.RenderStepped:Connect(function()
  279.     if aimbotEnabled and UserInputService:IsMouseButtonPressed(aimKey) then
  280.         local target = getClosestTarget()
  281.         if target and target.Character and target.Character:FindFirstChild(targetPart) then
  282.             local partPos = target.Character[targetPart].Position
  283.             Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position,partPos), smoothness)
  284.         end
  285.     end
  286. end)
  287.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Joladeg
    6 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment