Noctural

Arsenal Source

Feb 27th, 2023
5,273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 23.15 KB | None | 0 0
  1. hookfunction(game.Stats.GetMemoryUsageMbForTag, function()
  2.     coroutine.yield()
  3. end)
  4.  
  5. local ChatKey = "GRR"
  6. local Mouse = game.Players.LocalPlayer:GetMouse()
  7. local Rockets = {"Rocket Launcher", "Concussion Rifle", "Arm Cannon", "RPG", "Firework Launcher"}
  8.  
  9. local FireRate = {}
  10. for _,v in pairs(game.ReplicatedStorage.Weapons:GetChildren()) do
  11.     if v:FindFirstChild("FireRate") then
  12.         table.insert(FireRate, v.Name)
  13.         FireRate[v.Name] = v.FireRate.Value
  14.     end
  15. end
  16.  
  17. local Circle = Drawing.new("Circle")
  18. Circle.Visible = false
  19. Circle.Position = game:GetService("UserInputService"):GetMouseLocation()
  20. Circle.Color = Color3.fromRGB(9, 149, 98)
  21. Circle.Thickness = 1
  22. Circle.Transparency = 1
  23. Circle.NumSides = 25
  24. Circle.Radius = 150
  25.  
  26. game.RunService.RenderStepped:Connect(function()
  27.     Circle.Position = game:GetService("UserInputService"):GetMouseLocation()
  28. end)
  29.  
  30. local KeysPressed = {}
  31.  
  32. Mouse.KeyDown:Connect(function(x)
  33.     KeysPressed[x] = true
  34. end)
  35.  
  36. Mouse.KeyUp:Connect(function(x)
  37.     KeysPressed[x] = false
  38. end)
  39.  
  40. local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
  41. local Window = OrionLib:MakeWindow({Name = "Antix Hub", IntroText = "Antix Hub", HidePremium = true, SaveConfig = false})
  42.  
  43. OrionLib:MakeNotification({
  44.     Name = "Antix Hub Notif",
  45.     Content = "Make sure you are using your alt account!",
  46.     Image = "rbxassetid://4483345998",
  47.     Time = 5
  48. })
  49.  
  50. local CombatTab = Window:MakeTab({
  51.     Name = "Combat",
  52.     Icon = "rbxassetid://4483345998"
  53. })
  54.  
  55. CombatTab:AddSection({
  56.     Name = "Blatant"
  57. })
  58.  
  59. CombatTab:AddToggle({
  60.     Name = "Kill All",
  61.     Flag = "KillAll",
  62.     Default = false,
  63.     Callback = function()end
  64. })
  65.  
  66. CombatTab:AddToggle({
  67.     Name = "Kill Aura",
  68.     Flag = "KillAura",
  69.     Default = false,
  70.     Callback = function()end
  71. })
  72.  
  73. CombatTab:AddSection({
  74.     Name = "Blatant"
  75. })
  76.  
  77. CombatTab:AddToggle({
  78.     Name = "Silent Aim",
  79.     Flag = "SilentAim",
  80.     Default = false,
  81.     Callback = function()end
  82. })
  83.  
  84. CombatTab:AddToggle({
  85.     Name = "Semi Wallbang",
  86.     Flag = "Wallbang",
  87.     Default = false,
  88.     Callback = function()end
  89. })
  90.  
  91. CombatTab:AddToggle({
  92.     Name = "Show FOV",
  93.     Default = false,
  94.     Callback = function(a)
  95.         Circle.Visible = a
  96.     end
  97. })
  98.  
  99. CombatTab:AddSlider({
  100.     Name = "Hit Chance",
  101.     ValueName = "%",
  102.     Flag = "HitChance",
  103.     Min = 10,
  104.     Max = 100,
  105.     Default = 100,
  106.     Increment = 1,
  107.     Callback = function()end
  108. })
  109.  
  110. CombatTab:AddSlider({
  111.     Name = "FOV Value",
  112.     ValueName = "%",
  113.     Min = 50,
  114.     Max = 800,
  115.     Default = 150,
  116.     Increment = 1,
  117.     Callback = function(a)
  118.         Circle.Radius = a
  119.     end
  120. })
  121.  
  122. CombatTab:AddDropdown({
  123.     Name = "Aim Part",
  124.     Default = "Random",
  125.     Flag = "AimPart",
  126.     Options = {"Random", "Torso", "Head"},
  127.     Callback = function()end    
  128. })
  129.  
  130. local GunModsTab = Window:MakeTab({
  131.     Name = "Gun Mods",
  132.     Icon = "rbxassetid://4483345998"
  133. })
  134.  
  135. GunModsTab:AddSection({
  136.     Name = "Aim"
  137. })
  138.  
  139. GunModsTab:AddToggle({
  140.     Name = "No Recoil",
  141.     Flag = "Recoil",
  142.     Default = false,
  143.     Callback = function()end
  144. })
  145.  
  146. GunModsTab:AddToggle({
  147.     Name = "No Spread",
  148.     Flag = "Spread",
  149.     Default = false,
  150.     Callback = function()end
  151. })
  152.  
  153. GunModsTab:AddToggle({
  154.     Name = "Anti Overheat",
  155.     Flag = "Overheat",
  156.     Default = false,
  157.     Callback = function()end
  158. })
  159.  
  160. GunModsTab:AddToggle({
  161.     Name = "Fire Rate",
  162.     Flag = "FireRate",
  163.     Default = false,
  164.     Callback = function(a)
  165.         for _,v in pairs(game.ReplicatedStorage.Weapons:GetChildren()) do
  166.             if v:FindFirstChild("FireRate") then
  167.                 v.FireRate.Value = a and 0.02 or FireRate[v.Name]
  168.             end
  169.         end
  170.     end
  171. })
  172.  
  173. GunModsTab:AddSection({
  174.     Name = "Other"
  175. })
  176.  
  177. GunModsTab:AddToggle({
  178.     Name = "Infinite Ammo",
  179.     Flag = "Ammo",
  180.     Default = false,
  181.     Callback = function()end
  182. })
  183.  
  184. GunModsTab:AddToggle({
  185.     Name = "Always Backstab",
  186.     Flag = "Backstab",
  187.     Default = false,
  188.     Callback = function()end
  189. })
  190.  
  191. GunModsTab:AddToggle({
  192.     Name = "Always Auto",
  193.     Flag = "Auto",
  194.     Default = false,
  195.     Callback = function()end
  196. })
  197.  
  198. local PlayerTab = Window:MakeTab({
  199.     Name = "Player",
  200.     Icon = "rbxassetid://4483345998"
  201. })
  202.  
  203. PlayerTab:AddSection({
  204.     Name = "Character"
  205. })
  206.  
  207. PlayerTab:AddButton({
  208.     Name = "Godmode + Invisible",
  209.     Callback = function()
  210.         pcall(function()
  211.             local root = game.Players.LocalPlayer.Character.LowerTorso.Root:Clone()
  212.             game.Players.LocalPlayer.Character.LowerTorso.Root:Destroy()
  213.             root.Parent = game.Players.LocalPlayer.Character.LowerTorso
  214.         end)
  215.     end
  216. })
  217.  
  218. PlayerTab:AddToggle({
  219.     Name = "Instant Respawn",
  220.     Flag = "Respawn",
  221.     Default = false,
  222.     Callback = function()end
  223. })
  224.  
  225. PlayerTab:AddToggle({
  226.     Name = "Fly",
  227.     Flag = "Fly",
  228.     Default = false,
  229.     Callback = function()end
  230. })
  231.  
  232. PlayerTab:AddSlider({
  233.     Name = "Fly Speed",
  234.     ValueName = "%",
  235.     Flag = "FlySpeed",
  236.     Min = 10,
  237.     Max = 500,
  238.     Default = 100,
  239.     Increment = 1,
  240.     Callback = function()end
  241. })
  242.  
  243. local FlyBind = false
  244. PlayerTab:AddBind({
  245.     Name = "Fly Bind",
  246.     Default = Enum.KeyCode.T,
  247.     Hold = false,
  248.     Callback = function()
  249.         FlyBind = not FlyBind
  250.     end    
  251. })
  252.  
  253. PlayerTab:AddSection({
  254.     Name = "Humanoid"
  255. })
  256.  
  257. PlayerTab:AddToggle({
  258.     Name = "Toggle WalkSpeed",
  259.     Flag = "WalkSpeed",
  260.     Default = false,
  261.     Callback = function()end
  262. })
  263.  
  264. PlayerTab:AddSlider({
  265.     Name = "WalkSpeed Value",
  266.     ValueName = "%",
  267.     Flag = "WalkSpeedValue",
  268.     Min = 16,
  269.     Max = 350,
  270.     Default = 16,
  271.     Increment = 1,
  272.     Callback = function()end
  273. })
  274.  
  275. PlayerTab:AddToggle({
  276.     Name = "Noclip",
  277.     Flag = "Noclip",
  278.     Default = false,
  279.     Callback = function()end
  280. })
  281.  
  282. PlayerTab:AddToggle({
  283.     Name = "Infinite Jump",
  284.     Flag = "InfJump",
  285.     Default = false,
  286.     Callback = function()end
  287. })
  288.  
  289. PlayerTab:AddToggle({
  290.     Name = "Bunny Hop",
  291.     Flag = "BunnyHop",
  292.     Default = false,
  293.     Callback = function()end
  294. })
  295.  
  296. PlayerTab:AddSection({
  297.     Name = "Chat"
  298. })
  299.  
  300. PlayerTab:AddToggle({
  301.     Name = "Chat Spammer",
  302.     Flag = "Chat",
  303.     Default = false,
  304.     Callback = function()end
  305. })
  306.  
  307. local ChatMsg = "Antix Hub Is The Best LOL"
  308. PlayerTab:AddTextbox({
  309.     Name = "Chat Message",
  310.     Default = "Antix Hub Is The Best LOL",
  311.     TextDisappear = false,
  312.     Callback = function(a)
  313.         ChatMsg = a
  314.     end
  315. })
  316.  
  317. local VisualsTab = Window:MakeTab({
  318.     Name = "Visuals",
  319.     Icon = "rbxassetid://4483345998"
  320. })
  321.  
  322. VisualsTab:AddSection({
  323.     Name = "Esp"
  324. })
  325.  
  326. local EspLibrary = loadstring(game:HttpGet("https://pastebin.com/raw/e5iDWKnP"))()
  327. EspLibrary.Players = true
  328. EspLibrary:Toggle(true)
  329.  
  330. VisualsTab:AddToggle({
  331.     Name = "Box Esp",
  332.     Flag = "BoxEsp",
  333.     Default = false,
  334.     Callback = function(a)
  335.         EspLibrary.Boxes = a
  336.     end
  337. })
  338.  
  339. VisualsTab:AddToggle({
  340.     Name = "Name Esp",
  341.     Flag = "NameEsp",
  342.     Default = false,
  343.     Callback = function(a)
  344.         EspLibrary.Names = a
  345.     end
  346. })
  347.  
  348. VisualsTab:AddToggle({
  349.     Name = "Tracer Esp",
  350.     Flag = "TracerEsp",
  351.     Default = false,
  352.     Callback = function(a)
  353.         EspLibrary.Tracers = a
  354.     end
  355. })
  356.  
  357. VisualsTab:AddSection({
  358.     Name = "Viewmodel"
  359. })
  360.  
  361. VisualsTab:AddToggle({
  362.     Name = "Rainbow Gun",
  363.     Flag = "RainbowGun",
  364.     Default = false,
  365.     Callback = function()end
  366. })
  367.  
  368. VisualsTab:AddToggle({
  369.     Name = "Rainbow Hands",
  370.     Flag = "RainbowHands",
  371.     Default = false,
  372.     Callback = function()end
  373. })
  374.  
  375. local MiscTab = Window:MakeTab({
  376.     Name = "Misc",
  377.     Icon = "rbxassetid://4483345998"
  378. })
  379.  
  380. MiscTab:AddSection({
  381.     Name = "Trolling"
  382. })
  383.  
  384. MiscTab:AddToggle({
  385.     Name = "Anti Aim",
  386.     Flag = "AntiAim",
  387.     Default = false,
  388.     Callback = function()end
  389. })
  390.  
  391. MiscTab:AddToggle({
  392.     Name = "Teleport Behind",
  393.     Flag = "Teleporter",
  394.     Default = false,
  395.     Callback = function()end
  396. })
  397.  
  398. MiscTab:AddSection({
  399.     Name = "Other"
  400. })
  401.  
  402. MiscTab:AddToggle({
  403.     Name = "Rainbow Crosshair",
  404.     Flag = "Crosshair",
  405.     Default = false,
  406.     Callback = function()end
  407. })
  408.  
  409. MiscTab:AddToggle({
  410.     Name = "Autofarm Hearts",
  411.     Flag = "Hearts",
  412.     Default = false,
  413.     Callback = function()end
  414. })
  415.  
  416. function TeamCheck(v)
  417.     if v.Team ~= game.Players.LocalPlayer.Team or game.ReplicatedStorage.wkspc.FFA.Value then
  418.         return true
  419.     end
  420.     return false
  421. end
  422.  
  423. function GetAimPart()
  424.     if OrionLib.Flags["AimPart"].Value == "Head" then
  425.         return "Head", 1
  426.     elseif OrionLib.Flags["AimPart"].Value == "Torso" then
  427.         return "LowerTorso", 0
  428.     elseif OrionLib.Flags["AimPart"].Value == "Random" then
  429.         if math.random(1, 4) == 1 then
  430.             return "Head", 1
  431.         else
  432.             return "LowerTorso", 0
  433.         end
  434.     end
  435. end
  436.  
  437. function HitPart(v, d)
  438.     if table.find(Rockets, game.Players.LocalPlayer.NRPBS.EquippedTool.Value) then
  439.         game.ReplicatedStorage.Events.CreateProjectile:FireServer("Rocket", 6300, Vector3.new(), CFrame.new(), 50, 50, 1, 35, game.Players.LocalPlayer.NRPBS.EquippedTool.Value, Vector3.new(), false, nil, {
  440.             [1] = workspace.Map.Clips,
  441.             [2] = workspace.Debris,
  442.             [3] = game.Players.LocalPlayer.Character,
  443.             [4] = workspace["Ray_Ignore"],
  444.             [5] = workspace.Map.Spawns
  445.         }, nil, {
  446.             [1] = v.Character
  447.         }, v.Character.Head, v.Character.Head.Position)
  448.         return
  449.     else
  450.         if not d and tostring(game.Players.LocalPlayer.PlayerGui.GUI.Client.Variables.gun.Value) == game.Players.LocalPlayer.PlayerGui.GUI.Client.Variables.melee.Value then
  451.             game.Players.LocalPlayer.Character:PivotTo(v.Character.Head.CFrame)
  452.         end
  453.         local bitbuffer = require(game.ReplicatedStorage.Modules.BitBuffer)()
  454.         local part, head = GetAimPart()
  455.         bitbuffer.writeString(game.Players.LocalPlayer.NRPBS.EquippedTool.Value)
  456.         bitbuffer.writeUnsigned(2, head)
  457.         bitbuffer.writeUnsigned(2, 0)
  458.         bitbuffer.writeInt8(0)
  459.         bitbuffer.writeFloat16(math.max((game.Players.LocalPlayer.Character.Head.Position - v.Character.Head.Position).Magnitude - 5, 0.143))
  460.         bitbuffer.writeInt8(1)
  461.         bitbuffer.writeUnsigned(1, 0)
  462.         bitbuffer.writeUnsigned(1, 0)
  463.         bitbuffer.writeVector3(v.Character[part].Position)
  464.         bitbuffer.writeVector3(v.Character[part].Position)
  465.         if game.ReplicatedStorage.wkspc.Status.RoundOver.Value then
  466.             return
  467.         end
  468.         return game.ReplicatedStorage.Events["\226\128\139HitPart"]:FireServer(v.Character[part], bitbuffer.dumpString(), "swaggg", nil)
  469.     end
  470. end
  471.  
  472. function GetClosest()
  473.     local maxDist = math.huge
  474.     local target
  475.     for _,v in pairs(game.Players.GetPlayers(game.Players)) do
  476.         if v ~= game.Players.LocalPlayer and TeamCheck(v) and v.Character and v.Character.FindFirstChild(v.Character, "Head") then
  477.             local pos, vis = workspace.CurrentCamera.WorldToScreenPoint(workspace.CurrentCamera, v.Character.Head.Position)
  478.             if vis then
  479.                 local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  480.                 if magnitude < maxDist and magnitude <= Circle.Radius then
  481.                     maxDist = magnitude
  482.                     target = v
  483.                 end
  484.             end
  485.         end
  486.     end
  487.     return target
  488. end
  489.  
  490. game:GetService("Players").LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  491.     if OrionLib.Flags["WalkSpeed"].Value then
  492.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = OrionLib.Flags["WalkSpeedValue"].Value
  493.     end
  494. end)
  495.  
  496. game:GetService("UserInputService").JumpRequest:Connect(function()
  497.     if OrionLib.Flags["InfJump"].Value then
  498.         game.Players.LocalPlayer.Character.Humanoid:ChangeState("Jumping")
  499.     end
  500. end)
  501.  
  502. game:GetService("RunService").Stepped:Connect(function()
  503.     if OrionLib.Flags["Noclip"].Value then
  504.         if game.Players.LocalPlayer.Character then
  505.             for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  506.                 if v:IsA("BasePart") and v.CanCollide then
  507.                     v.CanCollide = false
  508.                 end
  509.             end
  510.         end
  511.     end
  512.     if FlyBind and OrionLib.Flags["Fly"].Value then
  513.         local vel = 0
  514.         local rfly = false
  515.         if KeysPressed.w and KeysPressed.s then
  516.             vel = 0
  517.         elseif KeysPressed.a and KeysPressed.d then
  518.             vel = 0
  519.         elseif KeysPressed.w and KeysPressed.a then
  520.             vel = 45
  521.             rfly = true
  522.         elseif KeysPressed.w and KeysPressed.d then
  523.             vel = -45
  524.             rfly = true
  525.         elseif KeysPressed.s and KeysPressed.a then
  526.             vel = 180 - 45
  527.             rfly = true
  528.         elseif KeysPressed.s and KeysPressed.d then
  529.             vel= 180 + 45
  530.             rfly = true
  531.         elseif KeysPressed.w then
  532.             vel = 0
  533.             rfly = true
  534.         elseif KeysPressed.a then
  535.             vel = 90
  536.             rfly = true
  537.         elseif KeysPressed.d then
  538.             vel = -90
  539.             rfly = true
  540.         elseif KeysPressed.s then
  541.             vel = 180
  542.             rfly = true
  543.         end
  544.         if rfly then
  545.             game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = (workspace.CurrentCamera.CFrame * CFrame.Angles(0, math.rad(vel), 0)).LookVector * OrionLib.Flags["FlySpeed"].Value
  546.         else
  547.             game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new()
  548.             local dir = Instance.new("IntValue")
  549.             dir.Name = "changedirection"
  550.             dir.Parent = game.Players.LocalPlayer.Character
  551.         end
  552.     end
  553.     if OrionLib.Flags["AntiAim"].Value then
  554.         game.Players.LocalPlayer.Character:PivotTo(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position) * CFrame.Angles(0, math.rad(math.random(-180, 180)), 0))
  555.     end
  556. end)
  557.  
  558. coroutine.wrap(function()
  559.     while wait(0.5) do
  560.         if OrionLib.Flags["Hearts"].Value and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") and game.Players.LocalPlayer.Character:FindFirstChild("IsAPlayer") and not game.ReplicatedStorage.wkspc.Status.RoundOver.Value and not game.ReplicatedStorage.wkspc.Status.Preparation.Value then
  561.             for _,v in pairs(workspace.Debris:GetChildren()) do
  562.                 if v.Name == "Heart" then
  563.                     game.Players.LocalPlayer.Character:PivotTo(v.CFrame)
  564.                 end
  565.             end
  566.         end
  567.     end
  568. end)()
  569.  
  570. coroutine.wrap(function()
  571.     while wait(0.2) do
  572.         if not game.ReplicatedStorage.wkspc.Status.RoundOver.Value and not game.ReplicatedStorage.wkspc.Status.Preparation.Value then
  573.             if OrionLib.Flags["Ammo"].Value then
  574.                 getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client.Functions.Weapons).ammocount.Value = 100
  575.             end
  576.             if OrionLib.Flags["Auto"].Value then
  577.                 getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client.Functions.Weapons).mode = "automatic"
  578.             end
  579.             if OrionLib.Flags["FireRate"].Value then
  580.                 if tostring(game.Players.LocalPlayer.PlayerGui.GUI.Client.Variables.gun.Value) == "Minigun" then
  581.                     game.Players.LocalPlayer.PlayerGui.GUI.Client.Variables.Held2.Value = true
  582.                 end
  583.             end
  584.             if OrionLib.Flags["Recoil"].Value then
  585.                 getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client.Functions.Weapons).recoil = 0
  586.             end
  587.             if OrionLib.Flags["Spread"].Value then
  588.                 getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client.Functions.Weapons).currentspread = {["Value"] = 0}
  589.             end
  590.             if OrionLib.Flags["Overheat"].Value then
  591.                 getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client.Functions.Weapons).overheat = {["Value"] = 0}
  592.             end
  593.             if OrionLib.Flags["Respawn"].Value then
  594.                 if game.Players.LocalPlayer.NRPBS.Health.Value <= 0 and game.Players.LocalPlayer.Status.Team.Value ~= "Spectator" then
  595.                     getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client).reviveme = true
  596.                 end
  597.             end
  598.             if OrionLib.Flags["BunnyHop"].Value then
  599.                 if game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air and KeysPressed[" "] then
  600.                     game.Players.LocalPlayer.Character.Humanoid.Jump = true
  601.                 end
  602.             end
  603.         end
  604.         if OrionLib.Flags["Chat"].Value and game.Players.LocalPlayer.Status.Team.Value ~= "Spectator" then
  605.             game.ReplicatedStorage.Events.PlayerChatted:FireServer(ChatKey, ChatMsg, false, true, true)
  606.         end
  607.     end
  608. end)()
  609.  
  610. coroutine.wrap(function()
  611.     while wait(0.3) do
  612.         if OrionLib.Flags["KillAll"].Value and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") and game.Players.LocalPlayer.Character:FindFirstChild("IsAPlayer") and not game.ReplicatedStorage.wkspc.Status.RoundOver.Value and not game.ReplicatedStorage.wkspc.Status.Preparation.Value then
  613.             pcall(function()
  614.                 for _,v in pairs(game.Players:GetPlayers()) do
  615.                     if v ~= game.Players.LocalPlayer and TeamCheck(v) and v.Character and v.Character:FindFirstChild("Head") then
  616.                         for _ = 1, 5 do
  617.                             HitPart(v, false)
  618.                         end
  619.                         game.RunService.Stepped:Wait()
  620.                     end
  621.                 end
  622.             end)
  623.         end
  624.     end
  625. end)()
  626.  
  627. coroutine.wrap(function()
  628.     while wait(0.1) do
  629.         if OrionLib.Flags["KillAura"].Value and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") and game.Players.LocalPlayer.Character:FindFirstChild("IsAPlayer") and not game.ReplicatedStorage.wkspc.Status.RoundOver.Value and not game.ReplicatedStorage.wkspc.Status.Preparation.Value and not OrionLib.Flags["KillAll"].Value then
  630.             pcall(function()
  631.                 for _,v in pairs(game.Players:GetPlayers()) do
  632.                     if v ~= game.Players.LocalPlayer and TeamCheck(v) and v.Character and v.Character:FindFirstChild("Head") then
  633.                         if (game.Players.LocalPlayer.Character.Head.Position - v.Character.Head.Position).Magnitude <= 25 then
  634.                             for _ = 1, 5 do
  635.                                 HitPart(v, true)
  636.                             end
  637.                         end
  638.                         game.RunService.Stepped:Wait()
  639.                     end
  640.                 end
  641.             end)
  642.         end
  643.     end
  644. end)()
  645.  
  646. coroutine.wrap(function()
  647.     while wait(0.4) do
  648.         if OrionLib.Flags["Teleporter"].Value and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") and game.Players.LocalPlayer.Character:FindFirstChild("IsAPlayer") and not game.ReplicatedStorage.wkspc.Status.RoundOver.Value and not game.ReplicatedStorage.wkspc.Status.Preparation.Value then
  649.             pcall(function()
  650.                 for _,v in pairs(game.Players:GetPlayers()) do
  651.                     if v ~= game.Players.LocalPlayer and TeamCheck(v) and v.Character and v.Character:FindFirstChild("Head") then
  652.                         pcall(function()
  653.                             repeat
  654.                                 wait(0.4)
  655.                                 game.Players.LocalPlayer.Character:PivotTo(v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, 5))
  656.                             until not v or not v.Character or not v.Character:FindFirstChild("HumanoidRootPart") or not v.Character:FindFirstChild("Spawned") or v.Character.Humanoid:FindFirstChild("creator") or not OrionLib.Flags["Teleporter"].Value or game.ReplicatedStorage.wkspc.Status.RoundOver.Value
  657.                         end)
  658.                     end
  659.                 end
  660.             end)
  661.         end
  662.     end
  663. end)()
  664.  
  665. coroutine.wrap(function()
  666.     while wait(0.1) do
  667.         if OrionLib.Flags["RainbowGun"].Value then
  668.             if workspace.Camera:FindFirstChild("Arms") and workspace.Camera.Arms:FindFirstChild("CSSArms") then
  669.                 for _,v in pairs(workspace.Camera.Arms:GetChildren()) do
  670.                     if v:IsA("BasePart") and v.Name ~= "Left Arm" and v.Name ~= "Right Arm" then
  671.                         v.Color = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  672.                         v.Transparency = 0.5
  673.                         v.Material = "ForceField"
  674.                     end
  675.                 end
  676.             end
  677.         end
  678.         if OrionLib.Flags["RainbowHands"].Value then
  679.             if workspace.Camera:FindFirstChild("Arms") and workspace.Camera.Arms:FindFirstChild("CSSArms") then
  680.                 for _,v in pairs(workspace.Camera.Arms.CSSArms:GetChildren()) do
  681.                     if v:IsA("BasePart") then
  682.                         v.Color = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  683.                         v.Transparency = 0.5
  684.                         v.Material = "ForceField"
  685.                     end
  686.                 end
  687.             end
  688.         end
  689.         if OrionLib.Flags["Crosshair"].Value then
  690.             if game.Players.LocalPlayer.PlayerGui.GUI.Crosshairs:FindFirstChild("Crosshair") then
  691.                 for _,v in pairs(game.Players.LocalPlayer.PlayerGui.GUI.Crosshairs.Crosshair:GetChildren()) do
  692.                     if v.Name ~= "Center1" then
  693.                         pcall(function()
  694.                             v.BackgroundColor3 = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  695.                         end)
  696.                     end
  697.                 end
  698.             end
  699.         end
  700.     end
  701. end)()
  702.  
  703. local oldNamecall
  704. oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
  705.     local args = {...}
  706.     local method = getnamecallmethod()
  707.  
  708.     if tostring(method) == "FindPartOnRayWithIgnoreList" and OrionLib.Flags["SilentAim"].Value then
  709.         local HitChance = OrionLib.Flags["HitChance"].Value
  710.         if HitChance == 100 or HitChance >= math.random(1, 100) then
  711.             local target = GetClosest()
  712.             if target and target.Character then
  713.                 args[1] = Ray.new(workspace.CurrentCamera.CFrame.Position, (target.Character[GetAimPart()].Position - workspace.CurrentCamera.CFrame.Position).Unit * 1000)
  714.                 return oldNamecall(self, unpack(args))
  715.             end
  716.         end
  717.     end
  718.     if tostring(self) == "CreateProjectile" and tostring(method) == "FireServer" and OrionLib.Flags["SilentAim"].Value then
  719.         local HitChance = OrionLib.Flags["HitChance"].Value
  720.         if HitChance == 100 or HitChance >= math.random(1, 100) then
  721.             local target = GetClosest()
  722.             if target and target.Character then
  723.                 args[3] = target.Character[GetAimPart()].Position
  724.                 return oldNamecall(self, unpack(args))
  725.             end
  726.         end
  727.     end
  728.     if tostring(self) == "ReplicateProjectile" and tostring(method) == "FireServer" and OrionLib.Flags["SilentAim"].Value then
  729.         local HitChance = OrionLib.Flags["HitChance"].Value
  730.         if HitChance == 100 or HitChance >= math.random(1, 100) then
  731.             local target = GetClosest()
  732.             if target and target.Character then
  733.                 HitPart(target, true)
  734.             end
  735.         end
  736.     end
  737.     if string.lower(tostring(method)) == "kick" then
  738.         return nil
  739.     end
  740.    
  741.     return oldNamecall(self, ...)
  742. end)
  743. local oldIndex
  744. oldIndex = hookmetamethod(game, "__index", function(self, method)
  745.     if string.lower(tostring(method)) == "kick" then
  746.         return wait(9e9)
  747.     end
  748.     if tostring(method) == "Clips" and OrionLib.Flags["Wallbang"].Value then
  749.         return workspace.Map
  750.     end
  751.     if tostring(self) == "HumanoidRootPart" and tostring(method) == "CFrame" and OrionLib.Flags["Backstab"].Value then
  752.         if self ~= game.Players.LocalPlayer.Character.HumanoidRootPart then
  753.             return CFrame.new(self.Position, game.Players.LocalPlayer.Character.HumanoidRootPart.Position) * CFrame.Angles(0, math.rad(180), 0)
  754.         end
  755.     end
  756.  
  757.     return oldIndex(self, method)
  758. end)
Add Comment
Please, Sign In to add comment