Systemconf

Untitled

Jul 7th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Aimbot = Instance.new("Frame")
  6. local bar = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local ToggleAimbot = Instance.new("TextButton")
  9. local FireWork = Instance.new("TextButton")
  10. local Frame = Instance.new("Frame")
  11. local nublabel = Instance.new("TextLabel")
  12. local namelabel = Instance.new("TextLabel")
  13. --Properties:
  14. ScreenGui.Parent = game.CoreGui
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Aimbot.Name = "Aimbot"
  18. Aimbot.Parent = ScreenGui
  19. Aimbot.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  20. Aimbot.BorderColor3 = Color3.new(0.333333, 1, 1)
  21. Aimbot.Position = UDim2.new(0.804678202, 0, 0.0101673389, 0)
  22. Aimbot.Size = UDim2.new(0, 201, 0, 490)
  23. Aimbot.Visible = false
  24.  
  25. bar.Name = "bar"
  26. bar.Parent = Aimbot
  27. bar.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  28. bar.BorderSizePixel = 0
  29. bar.Position = UDim2.new(0, 0, 0.117948718, 0)
  30. bar.Size = UDim2.new(0, 201, 0, 1)
  31.  
  32. TextLabel.Parent = Aimbot
  33. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  34. TextLabel.BackgroundTransparency = 1
  35. TextLabel.BorderSizePixel = 0
  36. TextLabel.Position = UDim2.new(0, 0, 0.0161943324, 0)
  37. TextLabel.Size = UDim2.new(0, 201, 0, 51)
  38. TextLabel.Font = Enum.Font.SourceSans
  39. TextLabel.Text = "Arsenal GUI"
  40. TextLabel.TextColor3 = Color3.new(0.333333, 1, 1)
  41. TextLabel.TextSize = 14
  42. wait(0,5)
  43. TextLabel.Text = "A"
  44. wait(0,5)
  45. TextLabel.Text = "Ar"
  46. wait(0,5)
  47. TextLabel.Text = "Ars"
  48. wait(0,5)
  49. TextLabel.Text = "Arse"
  50. wait(0,5)
  51. TextLabel.Text = "Arsen"
  52. wait(0,5)
  53. TextLabel.Text = "Arsena"
  54. wait(0,5)
  55. TextLabel.Text = "Arsenal"
  56. wait(0,5)
  57. TextLabel.Text = "Arsenal G"
  58. wait(0,5)
  59. TextLabel.Text = "Arsenal GU"
  60. wait(0,5)
  61. TextLabel.Text = "Arsenal GUI"
  62.  
  63. ToggleAimbot.Name = "Toggle Aimbot"
  64. ToggleAimbot.Parent = Aimbot
  65. ToggleAimbot.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  66. ToggleAimbot.BorderSizePixel = 0
  67. ToggleAimbot.Position = UDim2.new(0, 0, 0.169230774, 0)
  68. ToggleAimbot.Size = UDim2.new(0, 201, 0, 26)
  69. ToggleAimbot.Font = Enum.Font.SourceSans
  70. ToggleAimbot.Text = "Toggle Aimbot"
  71. ToggleAimbot.TextColor3 = Color3.new(0.333333, 1, 1)
  72. ToggleAimbot.TextSize = 14
  73. ToggleAimbot.MouseButton1Click:connect(function()
  74. PLAYER = game.Players.LocalPlayer
  75. MOUSE = PLAYER:GetMouse()
  76. CC = game.Workspace.CurrentCamera
  77.  
  78. _G.AIM_AT = 'Head'
  79. _G.BIND = 101 -- E
  80.  
  81. function GetNearestPlayerToMouse()
  82. local PLAYERS = {}
  83. local PLAYER_HOLD = {}
  84. local DISTANCES = {}
  85. for i, v in pairs(game.Players:GetPlayers()) do
  86. if v ~= PLAYER then
  87. table.insert(PLAYERS, v)
  88. end
  89. end
  90. for i, v in pairs(PLAYERS) do
  91. if v and (v.Character) ~= nil and v.Team ~= PLAYER.Team then
  92. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  93. if AIM ~= nil then
  94. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  95. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  96. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  97. local DIFF = math.floor((POS - AIM.Position).magnitude)
  98. PLAYER_HOLD[v.Name .. i] = {}
  99. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  100. PLAYER_HOLD[v.Name .. i].plr = v
  101. PLAYER_HOLD[v.Name .. i].diff = DIFF
  102. table.insert(DISTANCES, DIFF)
  103. end
  104. end
  105. end
  106.  
  107. if unpack(DISTANCES) == nil then
  108. return false
  109. end
  110.  
  111. local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  112. if L_DISTANCE > 20 then
  113. return false
  114. end
  115.  
  116. for i, v in pairs(PLAYER_HOLD) do
  117. if v.diff == L_DISTANCE then
  118. return v.plr
  119. end
  120. end
  121. return false
  122. end
  123.  
  124. MOUSE.KeyDown:connect(function(KEY)
  125. KEY = KEY:lower():byte()
  126. if KEY == _G.BIND then
  127. ENABLED = true
  128. end
  129. end)
  130.  
  131. MOUSE.KeyUp:connect(function(KEY)
  132. KEY = KEY:lower():byte()
  133. if KEY == _G.BIND then
  134. ENABLED = false
  135. end
  136. end)
  137.  
  138. game:GetService('RunService').RenderStepped:connect(function()
  139. if ENABLED then
  140. local TARGET = GetNearestPlayerToMouse()
  141. if (TARGET ~= false) then
  142. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  143. if AIM then
  144. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  145. end
  146. end
  147. end
  148. end)
  149. end)
  150.  
  151. FireWork.Name = "Fire Work"
  152. FireWork.Parent = Aimbot
  153. FireWork.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  154. FireWork.BorderSizePixel = 0
  155. FireWork.Position = UDim2.new(0.00497512426, 0, 0.2871795, 0)
  156. FireWork.Size = UDim2.new(0, 200, 0, 26)
  157. FireWork.Font = Enum.Font.SourceSans
  158. FireWork.Text = "Fire Work Farm"
  159. FireWork.TextColor3 = Color3.new(0.333333, 1, 1)
  160. FireWork.TextSize = 14
  161. FireWork.MouseButton1Click:Connect(function()
  162. loadstring(httpget("https://pastebin.com/raw/wYVfxfyQ"))()
  163. end)
  164.  
  165. Frame.Parent = ScreenGui
  166. Frame.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  167. Frame.BorderColor3 = Color3.new(0.501961, 0.788235, 0.988235)
  168. Frame.Position = UDim2.new(0.330563247, 0, 0.264940232, 0)
  169. Frame.Size = UDim2.new(0, 238, 0, 175)
  170. wait(1)
  171. Frame.Visible = false
  172. Aimbot.Visible = true
  173.  
  174. nublabel.Name = "nublabel"
  175. nublabel.Parent = Frame
  176. nublabel.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  177. nublabel.BorderColor3 = Color3.new(0.501961, 0.788235, 0.988235)
  178. nublabel.BorderSizePixel = 0
  179. nublabel.Position = UDim2.new(0.0798319355, 0, 0.0685714483, 0)
  180. nublabel.Size = UDim2.new(0, 200, 0, 50)
  181. nublabel.Font = Enum.Font.SourceSans
  182. nublabel.Text = "Welcome!"
  183. nublabel.TextColor3 = Color3.new(0.333333, 1, 1)
  184. nublabel.TextSize = 14
  185. local name = game.Players.LocalPlayer.Name
  186. namelabel.Name = "namelabel"
  187. namelabel.Parent = Frame
  188. namelabel.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  189. namelabel.BorderColor3 = Color3.new(0.501961, 0.788235, 0.988235)
  190. namelabel.BorderSizePixel = 0
  191. namelabel.Position = UDim2.new(0.0798319355, 0, 0.354285747, 0)
  192. namelabel.Size = UDim2.new(0, 200, 0, 50)
  193. namelabel.Font = Enum.Font.SourceSans
  194. namelabel.Text = "Name"
  195. namelabel.TextColor3 = Color3.new(0.333333, 1, 1)
  196. namelabel.TextScaled = true
  197. namelabel.TextSize = 14
  198. namelabel.TextWrapped = true
  199. namelabel.Text = name
  200. -- Scripts:
  201. local ins = false
  202. game:GetService("UserInputService").InputBegan:connect(function(key)
  203. if key.KeyCode == Enum.KeyCode.Insert then
  204. if ins == true then
  205. ins = false
  206. Aimbot.Visible = false
  207. elseif ins == false then
  208. ins = true
  209. Aimbot.Visible = true
  210. end
  211. end
  212. end)
Add Comment
Please, Sign In to add comment