Advertisement
Xen_YT

Roblox Arsenal Best GUI

May 27th, 2020
4,460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.07 KB | None | 0 0
  1. if game.CoreGui:FindFirstChild("AFuckingTabYouIdiot") then
  2. game.CoreGui:FindFirstChild("AFuckingTabYouIdiot"):Destroy()
  3. end
  4.  
  5. _G.CurrentRainbowColor = Color3.fromRGB(255, 60, 35);
  6.  
  7. local library = loadstring(game:HttpGet("https://paste.ee/r/WjuO0"))();
  8.  
  9.  
  10. local Config = {
  11. silent_aimbot = false,
  12. show_fov = false,
  13. fov_value = 200,
  14. inf_ammo = false,
  15. no_recoil = false,
  16. no_spread = false,
  17. automatic = false,
  18. reload_time = false,
  19. team_check = true,
  20.  
  21. box_esp = true,
  22. tracer_esp = true,
  23. lock_players = false
  24. }
  25.  
  26. local aim_tab = library:CreateMain("Aimbot")
  27. local gun_tab = library:CreateMain("Guns")
  28. local mis_tab = library:CreateMain("Misc")
  29.  
  30. aim_tab:CreateToggle("Silent Aimbot", function()
  31. Config.silent_aimbot = not Config.silent_aimbot;
  32. end)
  33.  
  34. aim_tab:CreateToggle("Show FOV", function()
  35. Config.show_fov = not Config.show_fov;
  36. end)
  37.  
  38. aim_tab:CreateSlider("Field Of View", 10, 500, function(val)
  39. Config.fov_value = tonumber(val);
  40. end)
  41.  
  42. gun_tab:CreateToggle("Infinite Ammo", function()
  43. Config.inf_ammo = not Config.inf_ammo;
  44. end)
  45.  
  46. gun_tab:CreateToggle("Automatic", function()
  47. Config.automatic = not Config.automatic;
  48. end)
  49.  
  50. gun_tab:CreateToggle("No Recoil", function()
  51. Config.no_recoil = not Config.no_recoil;
  52. end)
  53.  
  54. gun_tab:CreateToggle("No Spread", function()
  55. Config.no_spread = not Config.no_spread;
  56. end)
  57.  
  58. gun_tab:CreateToggle("Fuck Reload Time", function()
  59. Config.no_spread = not Config.no_spread;
  60. end)
  61.  
  62. mis_tab:CreateToggle("Lock Behind Players", function()
  63. Config.lock_players = not Config.lock_players;
  64. end)
  65.  
  66.  
  67. local cc = game.workspace.CurrentCamera
  68. local mouse = game.Players.LocalPlayer:GetMouse()
  69.  
  70. local FOVCircle = Drawing.new("Circle")
  71. FOVCircle.Position = Vector2.new(0, 0)
  72. FOVCircle.Radius = Config.fov_value;
  73. FOVCircle.Thickness = 1
  74. FOVCircle.Filled = false
  75. FOVCircle.Transparency = 0
  76. FOVCircle.NumSides = 10
  77. FOVCircle.Visible = true
  78. FOVCircle.Color = Color3.fromRGB(0, 0, 0)
  79. mouse.Move:Connect(function()
  80. if Config.show_fov then
  81. FOVCircle.Thickness = 3;
  82. FOVCircle.Radius = Config.fov_value;
  83. FOVCircle.NumSides = 100
  84. FOVCircle.Color = Color3.fromRGB(30, 30, 30);
  85. FOVCircle.Position = Vector2.new(mouse.X, mouse.Y + 36)
  86. FOVCircle.Transparency = 1
  87. else
  88. FOVCircle.Transparency = 0
  89. end
  90. end)
  91.  
  92. function getClosestMouse(trg_part)
  93. local nearest = nil
  94. local last = math.huge
  95. for i,v in pairs(game.Players:GetPlayers()) do
  96. if v ~= game.Players.LocalPlayer and game.Players.LocalPlayer.Character and v.Character and v.Character:FindFirstChild(trg_part) and v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  97. local ePos = cc:WorldToViewportPoint(v.Character[trg_part].Position)
  98. local AccPos = Vector2.new(ePos.x, ePos.y)
  99. local mousePos = Vector2.new(cc.ViewportSize.x / 2, cc.ViewportSize.y / 2)
  100. local distance = (AccPos - mousePos).magnitude
  101. if distance < last then
  102. last = distance
  103. nearest = v
  104. end
  105. end
  106. end
  107. if nearest ~= nil then
  108. return nearest
  109. end
  110. end
  111.  
  112. function checkfov(plr, fov_amount)
  113. local fov
  114. local vector = workspace.CurrentCamera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
  115. local magnitude = (Vector2.new(vector.X, vector.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  116. local cfov = fov_amount
  117. if magnitude < cfov then
  118. fov = true
  119. else
  120. fov = false
  121. end
  122. return fov
  123. end
  124.  
  125. local gameMeta = getrawmetatable(game)
  126. setreadonly(gameMeta, false)
  127. local oldNamecall = gameMeta.__namecall
  128. gameMeta.__namecall = newcclosure(function(remote, ...)
  129. local arguments = {...}
  130. if tostring(remote) == 'HitPart' then
  131. if Config.silent_aimbot then
  132. local getclose = getClosestMouse("Head")
  133. if getclose and checkfov(getclose, Config.fov_value) then
  134. arguments[1] = getclose.Character.Head
  135. arguments[2] = getclose.Character.Head.Position
  136. return remote.FireServer(remote, unpack(arguments))
  137. else
  138. return remote.FireServer(remote, unpack(arguments))
  139. end
  140. end
  141. end
  142. return oldNamecall(remote, ...)
  143. end)
  144.  
  145. local updateInventory;
  146. for _,v in pairs(getgc()) do
  147. if type(v) == "function" then
  148. if getinfo(v).name == "updateInventory" then
  149. updateInventory = v;
  150. end
  151. end
  152. end
  153.  
  154. pcall(function()
  155. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  156. local counter = 0
  157.  
  158. spawn(function()
  159. while wait() do
  160. counter = counter + 0.01
  161. _G.CurrentRainbowColor = (Color3.fromHSV(zigzag(counter),1,1));
  162. end
  163. end)
  164. end)
  165.  
  166. local OwlESP = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/CriShoux/OwlHub/master/scripts/OwlESP.lua"))();
  167.  
  168. local players = game:GetService("Players");
  169. local runService = game:GetService("RunService");
  170. local localPlayer = players.LocalPlayer;
  171. local tracking = {};
  172.  
  173. local remove = table.remove;
  174. local fromRGB = Color3.fromRGB;
  175.  
  176. local espColor = _G.CurrentRainbowColor;
  177.  
  178. local function characterRemoving(char)
  179. for i, v in next, tracking do
  180. if v.char == char then
  181. v:remove();
  182. remove(tracking, i);
  183. end;
  184. end;
  185. end;
  186.  
  187. local function characterAdded(plr)
  188. local char = plr.Character;
  189. char:WaitForChild("HumanoidRootPart"); char:WaitForChild("Head");
  190. tracking[#tracking + 1] = OwlESP.new({
  191. plr = plr,
  192. espBoxVisible = Config.box_esp,
  193. tracerVisible = Config.tracer_esp,
  194. text = plr.Name,
  195. teamCheck = Config.team_check,
  196. espColor = _G.CurrentRainbowColor
  197. });
  198. end;
  199.  
  200. for i, v in next, players:GetPlayers() do
  201. if v ~= localPlayer then
  202. local char = v.Character;
  203. if char and char:FindFirstChild("HumanoidRootPart") and char:FindFirstChild("Head") then
  204. tracking[#tracking + 1] = OwlESP.new({
  205. plr = v,
  206. espBoxVisible = Config.box_esp,
  207. tracerVisible = Config.tracer_esp,
  208. text = v.Name,
  209. teamCheck = Config.team_check,
  210. espColor = _G.CurrentRainbowColor;
  211. });
  212. end;
  213. v.CharacterAdded:Connect(function()
  214. characterAdded(v);
  215. end);
  216. v.CharacterRemoving:Connect(characterRemoving);
  217. end;
  218. end;
  219.  
  220. local function playerAdded(plr)
  221. plr.CharacterAdded:Connect(function()
  222. characterAdded(plr);
  223. end);
  224. plr.CharacterRemoving:Connect(characterRemoving);
  225. end;
  226.  
  227. players.PlayerAdded:Connect(playerAdded);
  228.  
  229. runService.RenderStepped:Connect(function()
  230. for i, v in next, tracking do
  231. v:update();
  232. end;
  233. end);
  234.  
  235. local RS = game:GetService("RunService")
  236. local lplayer = game:GetService("Players").LocalPlayer
  237. RS.Stepped:connect(function()
  238. for i, v in pairs(game.Players:GetChildren()) do
  239. if Config.lock_players and v.Name ~= game.Players.LocalPlayer.Name and v.TeamColor ~= game.Players.LocalPlayer.TeamColor and v.Character and v.Character.HumanoidRootPart and v.Character.Humanoid and v.Character.HumanoidRootPart.Position.Y > -100 then
  240. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame + v.Character.HumanoidRootPart.CFrame.lookVector * -3.1
  241. end
  242. end
  243. end)
  244.  
  245.  
  246. for i,v in pairs(getgc()) do
  247. if type(v) == "table" then
  248. if rawget(v, "getammo") then
  249. spawn(function()
  250. while wait() do
  251. if Config.no_recoil then
  252. v.recoil = 0
  253. end
  254. if Config.no_spread then
  255. v.currentspread = 0
  256. end
  257. if Config.automatic then
  258. v.mode = "automatic"
  259. end
  260. if Config.reload_time then
  261. v.reloadtime = 0
  262. end
  263. end
  264. end)
  265. end
  266. end
  267. end
  268.  
  269. while wait() do
  270. if Config.inf_ammo then
  271. setupvalue(updateInventory, 3, 999);
  272. end
  273. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement