252Scripter

Arceus X Aimbot

Nov 13th, 2022
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextButton = Instance.new("TextButton")
  11. local TextButton_2 = Instance.new("TextButton")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Frame.Parent = ScreenGui
  20. Frame.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  21. Frame.BorderColor3 = Color3.fromRGB(16, 16, 16)
  22. Frame.Position = UDim2.new(0.326547235, 0, 0.442340851, 0)
  23. Frame.Size = UDim2.new(0.346905529, 0, 0.194492236, 0)
  24.  
  25. Frame_2.Parent = Frame
  26. Frame_2.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  27. Frame_2.BorderColor3 = Color3.fromRGB(16, 16, 16)
  28. Frame_2.Size = UDim2.new(1, 0, 0.26777932, 0)
  29.  
  30. TextLabel.Parent = Frame_2
  31. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32. TextLabel.BackgroundTransparency = 1.000
  33. TextLabel.Size = UDim2.new(1.00234735, 0, 1.08253634, 0)
  34. TextLabel.Font = Enum.Font.SourceSansSemibold
  35. TextLabel.Text = "Arceus | Aimbot"
  36. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  37. TextLabel.TextSize = 16.000
  38.  
  39. TextButton.Parent = Frame_2
  40. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  41. TextButton.BackgroundTransparency = 1.000
  42. TextButton.Position = UDim2.new(0.92957741, 0, 0, 0)
  43. TextButton.Size = UDim2.new(0.0697798356, 0, 0.991438508, 0)
  44. TextButton.Font = Enum.Font.SourceSansSemibold
  45. TextButton.Text = "_"
  46. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  47. TextButton.TextSize = 14.000
  48.  
  49. TextButton_2.Parent = Frame
  50. TextButton_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  51. TextButton_2.BorderColor3 = Color3.fromRGB(20, 20, 20)
  52. TextButton_2.Position = UDim2.new(0.0492957756, 0, 0.495575249, 0)
  53. TextButton_2.Size = UDim2.new(0.0469483584, 0, 0.176991165, 0)
  54. TextButton_2.Font = Enum.Font.SourceSansSemibold
  55. TextButton_2.Text = ""
  56. TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  57. TextButton_2.TextScaled = true
  58. TextButton_2.TextSize = 20.000
  59. TextButton_2.TextWrapped = true
  60.  
  61. TextLabel_2.Parent = TextButton_2
  62. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. TextLabel_2.BackgroundTransparency = 1.000
  64. TextLabel_2.Position = UDim2.new(1.54999995, 0, 0, 0)
  65. TextLabel_2.Size = UDim2.new(17.7999992, 0, 1, 0)
  66. TextLabel_2.Font = Enum.Font.SourceSansSemibold
  67. TextLabel_2.Text = "Aimbot"
  68. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  69. TextLabel_2.TextSize = 16.000
  70. TextLabel_2.TextWrapped = true
  71. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  72.  
  73. -- Scripts:
  74.  
  75. local function RPTXOJ_fake_script() -- TextButton.LocalScript
  76. local script = Instance.new('LocalScript', TextButton)
  77.  
  78. local state = true
  79. script.Parent.MouseButton1Down:Connect(function()
  80. print"t"
  81. state = not state
  82. local LB_Size = script.Parent.Parent.AbsoluteSize
  83. local NW_Size = UDim2.new(0, LB_Size.X, 0, LB_Size.Y)
  84. if not state then
  85. script.Parent.Text = "+"
  86. game:GetService("TweenService"):Create(script.Parent.Parent.Parent, TweenInfo.new(0.5, Enum.EasingStyle.Linear), {
  87. BackgroundTransparency = 1
  88. }):Play()
  89. for i, v in pairs(script.Parent.Parent.Parent:GetChildren()) do
  90. if v:IsA("TextButton") then
  91. v.Visible = false
  92. v.TextLabel.Visible = false
  93. end
  94. end
  95. else
  96. script.Parent.Text = "_"
  97. game:GetService("TweenService"):Create(script.Parent.Parent.Parent, TweenInfo.new(0.5, Enum.EasingStyle.Linear), {
  98. BackgroundTransparency = 0
  99. }):Play()
  100. for i, v in pairs(script.Parent.Parent.Parent:GetChildren()) do
  101. if v:IsA("TextButton") then
  102. v.Visible = true
  103. v.TextLabel.Visible = true
  104. end
  105. end
  106. end
  107. end)
  108. end
  109. coroutine.wrap(RPTXOJ_fake_script)()
  110. local function CIXXD_fake_script() -- TextButton_2.LocalScript
  111. local script = Instance.new('LocalScript', TextButton_2)
  112.  
  113. local state = false
  114. script.Parent.MouseButton1Down:Connect(function()
  115. state = not state
  116. if state then
  117. script.Parent.Text = "x"
  118. else
  119. script.Parent.Text = ""
  120. end
  121. end)
  122.  
  123. local Cam = workspace.CurrentCamera
  124.  
  125. local hotkey = true
  126. function lookAt(target, eye)
  127. Cam.CFrame = CFrame.new(target, eye)
  128. end
  129.  
  130. function getClosestPlayerToCursor(trg_part)
  131. local nearest = nil
  132. local last = math.huge
  133. for i,v in pairs(game.Players:GetPlayers()) do
  134. if v ~= game.Players.LocalPlayer and game.Players.LocalPlayer.Character and v.Character and v.Character:FindFirstChild(trg_part) then
  135. if game.Players.LocalPlayer.Character:FindFirstChild(trg_part) then
  136. local ePos, vissss = workspace.CurrentCamera:WorldToViewportPoint(v.Character[trg_part].Position)
  137. local AccPos = Vector2.new(ePos.x, ePos.y)
  138. local mousePos = Vector2.new(workspace.CurrentCamera.ViewportSize.x / 2, workspace.CurrentCamera.ViewportSize.y / 2)
  139. local distance = (AccPos - mousePos).magnitude
  140. if distance < last and vissss and hotkey and distance < 400 then
  141. last = distance
  142. nearest = v
  143. end
  144. end
  145. end
  146. end
  147. return nearest
  148. end
  149.  
  150. game:GetService("RunService").RenderStepped:Connect(function()
  151. local closest = getClosestPlayerToCursor("Head")
  152. if state and closest and closest.Character:FindFirstChild("Head") then
  153. lookAt(Cam.CFrame.p, closest.Character:FindFirstChild("Head").Position)
  154. end
  155. end)
  156. end
  157. coroutine.wrap(CIXXD_fake_script)()
  158. local function QNWNII_fake_script() -- Frame.LocalScript
  159. local script = Instance.new('LocalScript', Frame)
  160.  
  161. script.Parent.Active = true
  162. script.Parent.Selectable = true
  163. script.Parent.Draggable = true
  164. end
  165. coroutine.wrap(QNWNII_fake_script)()
Add Comment
Please, Sign In to add comment