Advertisement
Legend_HandlesYT

Untitled

May 20th, 2021
3,210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.25 KB | None | 0 0
  1. -- Made By Legend Handles
  2. -- Version: 4
  3.  
  4. -- Script:
  5.  
  6. local UI = Instance.new("ScreenGui")
  7. local UI_2 = Instance.new("Frame")
  8. local BackGround = Instance.new("Frame")
  9. local Container = Instance.new("Frame")
  10. local cellbdestroy = Instance.new("TextButton")
  11. local UIGridLayout = Instance.new("UIGridLayout")
  12. local Padding = Instance.new("UIPadding")
  13. local UnderLine = Instance.new("Frame")
  14. local Toggle = Instance.new("TextButton")
  15. local Window = Instance.new("TextLabel")
  16.  
  17. --Properties:
  18.  
  19. UI.Name = "UI"
  20. UI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. UI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23. UI_2.Name = "UI"
  24. UI_2.Parent = UI
  25. UI_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  26. UI_2.BorderSizePixel = 0
  27. UI_2.Position = UDim2.new(0, 15, 0, 15)
  28. UI_2.Size = UDim2.new(0, 190, 0, 30)
  29.  
  30. BackGround.Name = "BackGround"
  31. BackGround.Parent = UI_2
  32. BackGround.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  33. BackGround.BorderSizePixel = 0
  34. BackGround.Position = UDim2.new(0, 0, 1, 0)
  35. BackGround.Size = UDim2.new(0, 190, 0, 200)
  36.  
  37. Container.Name = "Container"
  38. Container.Parent = UI_2
  39. Container.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  40. Container.BorderSizePixel = 0
  41. Container.Position = UDim2.new(0, 0, 1, 0)
  42. Container.Size = UDim2.new(0, 190, 0, 200)
  43.  
  44. cellbdestroy.Name = "cellbdestroy"
  45. cellbdestroy.Parent = Container
  46. cellbdestroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  47. cellbdestroy.BackgroundTransparency = 1.000
  48. cellbdestroy.BorderColor3 = Color3.fromRGB(170, 0, 0)
  49. cellbdestroy.BorderSizePixel = 0
  50. cellbdestroy.Size = UDim2.new(0, 200, 0, 50)
  51. cellbdestroy.Font = Enum.Font.SourceSans
  52. cellbdestroy.Text = "Aimbot (Hold \"R\")"
  53. cellbdestroy.TextColor3 = Color3.fromRGB(255, 0, 4)
  54. cellbdestroy.TextSize = 25.000
  55. cellbdestroy.TextWrapped = true
  56. cellbdestroy.TextXAlignment = Enum.TextXAlignment.Left
  57.  
  58. UIGridLayout.Parent = Container
  59. UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
  60. UIGridLayout.CellSize = UDim2.new(0, 180, 0, 40)
  61.  
  62. Padding.Name = "Padding"
  63. Padding.Parent = Container
  64. Padding.PaddingLeft = UDim.new(0, 5)
  65. Padding.PaddingTop = UDim.new(0, 5)
  66.  
  67. UnderLine.Name = "UnderLine"
  68. UnderLine.Parent = UI_2
  69. UnderLine.BackgroundColor3 = Color3.fromRGB(255, 25, 25)
  70. UnderLine.BorderSizePixel = 0
  71. UnderLine.Position = UDim2.new(0, 0, 1, -1)
  72. UnderLine.Size = UDim2.new(1, 0, 0, 1)
  73.  
  74. Toggle.Name = "Toggle"
  75. Toggle.Parent = UI_2
  76. Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  77. Toggle.BackgroundTransparency = 1.000
  78. Toggle.Position = UDim2.new(1, -25, 0, 0)
  79. Toggle.Size = UDim2.new(0, 25, 1, 0)
  80. Toggle.Font = Enum.Font.SourceSans
  81. Toggle.Text = "-"
  82. Toggle.TextColor3 = Color3.fromRGB(255, 0, 0)
  83. Toggle.TextSize = 17.000
  84.  
  85. Window.Name = "Window"
  86. Window.Parent = UI_2
  87. Window.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. Window.BackgroundTransparency = 1.000
  89. Window.Position = UDim2.new(0.0263157897, 0, 0, 0)
  90. Window.Size = UDim2.new(0.868421078, 0, 1, 0)
  91. Window.Font = Enum.Font.SourceSans
  92. Window.Text = "Legend Handles Aimbot Gui"
  93. Window.TextColor3 = Color3.fromRGB(255, 0, 4)
  94. Window.TextSize = 17.000
  95.  
  96. -- Scripts:
  97.  
  98. local function EYGR_fake_script() -- cellbdestroy.Script
  99. local script = Instance.new('Script', cellbdestroy)
  100.  
  101. function Click(mouse)
  102.  
  103. local Camera = workspace.CurrentCamera
  104. Holding = false
  105. function findGoals()
  106. for i, v in pairs(workspace:GetDescendants()) do
  107. if v.Name == "Trig" then
  108. v.Parent = workspace
  109. end
  110. end
  111. end
  112. local function findClosestPart(position)
  113. local closestPart, closestPartMagnitude
  114. local tmpMagnitude
  115. for i, v in pairs(workspace:GetChildren()) do
  116. if v.Name == "Trig" then
  117. if closestPart then
  118. tmpMagnitude = (position - v.Position).magnitude
  119. if tmpMagnitude < closestPartMagnitude then
  120. closestPart = v
  121. closestPartMagnitude = tmpMagnitude
  122. end
  123. else
  124. closestPart = v
  125. closestPartMagnitude = (position - v.Position).magnitude
  126. end
  127. end
  128. end
  129. return closestPart
  130. end
  131. findGoals()
  132. local UIS = game:GetService('UserInputService')
  133. UIS.InputBegan:connect(function(Input, GPE)
  134. if not GPE and Input.KeyCode == Enum.KeyCode.R then
  135. local lookthat = findClosestPart(game.Players.LocalPlayer.Character.Torso.Position)
  136. Holding = true
  137. repeat
  138. wait(0.01)
  139. Camera.CFrame = CFrame.new(Camera.CFrame.p, lookthat.Position + Vector3.new(0, 40, 0))
  140. until Holding == false
  141. end
  142. end)
  143.  
  144. UIS.InputEnded:connect(function(Input, GPE)
  145. if not GPE and Input.KeyCode == Enum.KeyCode.R then
  146. Holding = false
  147. end
  148. end)
  149.  
  150. end
  151.  
  152.  
  153. script.Parent.MouseButton1Down:connect(Click)
  154.  
  155. end
  156. coroutine.wrap(EYGR_fake_script)()
  157. local function AGOOQLO_fake_script() -- Toggle.LocalScript
  158. local script = Instance.new('LocalScript', Toggle)
  159.  
  160. local back = script.Parent.Parent.BackGround
  161. local con = script.Parent.Parent.Container
  162.  
  163. local window = {
  164. count = 0;
  165. toggles = {},
  166. closed = false;
  167. }
  168. script.Parent.MouseButton1Click:connect(function()
  169. window.closed = not window.closed
  170. script.Parent.Text = (window.closed and "+" or "-")
  171. if script.Parent.Text == "+" then
  172. back:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
  173. con:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
  174. wait(0.1) do
  175. con.Visible = false
  176. end
  177. else
  178. back:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
  179. con:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
  180. wait(0.2) do
  181. con.Visible = true
  182. end
  183. end
  184.  
  185. end)
  186.  
  187. end
  188. coroutine.wrap(AGOOQLO_fake_script)()
  189. local function SDFKFLC_fake_script() -- UI_2.LocalScript
  190. local script = Instance.new('LocalScript', UI_2)
  191.  
  192. local dragger = {};
  193. local resizer = {};
  194.  
  195. do
  196. local mouse = game:GetService("Players").LocalPlayer:GetMouse();
  197. local inputService = game:GetService('UserInputService');
  198. local heartbeat = game:GetService("RunService").Heartbeat;
  199. -- // credits to Ririchi / Inori for this cute drag function :)
  200. function dragger.new(frame)
  201. local s, event = pcall(function()
  202. return frame.MouseEnter
  203. end)
  204.  
  205. if s then
  206. frame.Active = true;
  207.  
  208. event:connect(function()
  209. local input = frame.InputBegan:connect(function(key)
  210. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  211. local objectPosition = Vector2.new(mouse.X - frame.AbsolutePosition.X, mouse.Y - frame.AbsolutePosition.Y);
  212. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  213. frame:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (frame.Size.X.Offset * frame.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (frame.Size.Y.Offset * frame.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
  214. end
  215. end
  216. end)
  217.  
  218. local leave;
  219. leave = frame.MouseLeave:connect(function()
  220. input:disconnect();
  221. leave:disconnect();
  222. end)
  223. end)
  224. end
  225. end
  226.  
  227. function resizer.new(p, s)
  228. p:GetPropertyChangedSignal('AbsoluteSize'):connect(function()
  229. s.Size = UDim2.new(s.Size.X.Scale, s.Size.X.Offset, s.Size.Y.Scale, p.AbsoluteSize.Y);
  230. end)
  231. end
  232. end
  233. script.Parent.Active = true
  234. script.Parent.Draggable = true
  235. end
  236. coroutine.wrap(SDFKFLC_fake_script)()
  237.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement