portalfan_4324

Rivals Aimbot! {Updated)

Mar 17th, 2026
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local v0 = string.char;
  2. local v1 = string.byte;
  3. local v2 = string.sub;
  4. local v3 = bit32 or bit ;
  5. local v4 = v3.bxor;
  6. local v5 = table.concat;
  7. local v6 = table.insert;
  8. local function v7(v66, v67)
  9.     local v68 = {};
  10.     for v168 = 1, # v66 do
  11.         v6(v68, v0(v4(v1(v2(v66, v168, v168 + 1)), v1(v2(v67, 1 + (v168 % # v67), 1 + (v168 % # v67) + 1))) % 256));
  12.     end
  13.     return v5(v68)
  14. end
  15. local v8 = loadstring(game:HttpGet("https://raw.githubusercontent.com/Nebula-Softworks/Luna-Interface-Suite/refs/heads/main/source.lua", true))();
  16.  
  17. local v9 = v8:CreateWindow({
  18.     Name = "XVC Hub", -- This Is Title Of Your Window
  19.     Subtitle = nil, -- A Gray Subtitle next To the main title.
  20.     LogoID = "82795327169782", -- The Asset ID of your logo. Set to nil if you do not have a logo for Luna to use.
  21.     LoadingEnabled = true, -- Whether to enable the loading animation. Set to false if you do not want the loading screen or have your own custom one.
  22.     LoadingTitle = "open src", -- Header for loading screen
  23.     LoadingSubtitle = "by enesxvc", -- Subtitle for loading screen
  24.  
  25.     ConfigSettings = {
  26.         RootFolder = nil, -- The Root Folder Is Only If You Have A Hub With Multiple Game Scripts and u may remove it. DO NOT ADD A SLASH
  27.         ConfigFolder = "Big Hub" -- The Name Of The Folder Where Luna Will Store Configs For This Script. DO NOT ADD A SLASH
  28.     },
  29.  
  30.     KeySystem = false, -- As Of Beta 6, Luna Has officially Implemented A Key System!
  31.     KeySettings = {
  32.         Title = "Luna Example Key",
  33.         Subtitle = "Key System",
  34.         Note = "Best Key System Ever! Also, Please Use A HWID Keysystem like Pelican, Luarmor etc. that provide key strings based on your HWID since putting a simple string is very easy to bypass",
  35.         SaveInRoot = false, -- Enabling will save the key in your RootFolder (YOU MUST HAVE ONE BEFORE ENABLING THIS OPTION)
  36.         SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  37.         Key = {"Ilıke25ms&33ms"}, -- List of keys that will be accepted by the system, please use a system like Pelican or Luarmor that provide key strings based on your HWID since putting a simple string is very easy to bypass
  38.         SecondAction = {
  39.             Enabled = true, -- Set to false if you do not want a second action,
  40.             Type = "Link", -- Link / Discord.
  41.             Parameter = "" -- If Type is Discord, then put your invite link (DO NOT PUT DISCORD.GG/). Else, put the full link of your key system here.
  42.         }
  43.     }
  44. })
  45.  
  46. local v10 = v9:CreateTab({
  47.     Name = "Main",
  48.     Icon = "view_in_ar",
  49.     ImageSource = "Material",
  50.     ShowTitle = true -- This will determine whether the big header text in the tab will show
  51. });
  52. local v11 = v9:CreateTab({
  53.     Name = "Visuals",
  54.     Icon = "view_in_ar",
  55.     ImageSource = "Material",
  56.     ShowTitle = true -- This will determine whether the big header text in the tab will show
  57. });
  58. local v12 = v9:CreateTab({
  59.     Name = "Player",
  60.     Icon = "view_in_ar",
  61.     ImageSource = "Material",
  62.     ShowTitle = true -- This will determine whether the big header text in the tab will show
  63. });
  64. local v13 = v9:CreateTab({
  65.     Name = "Credits",
  66.     Icon = "view_in_ar",
  67.     ImageSource = "Material",
  68.     ShowTitle = true -- This will determine whether the big header text in the tab will show
  69. })
  70.  
  71. getgenv().AimbotEnabled = false;
  72. getgenv().ESPEnabled = false;
  73. getgenv().InfiniteJumpEnabled = false;
  74. getgenv().NoClipEnabled = false;
  75. getgenv().CFrameWalkEnabled = false;
  76. getgenv().CFrameWalkSpeed = 0.1;
  77. getgenv().Smoothness = 0.6;
  78. getgenv().AutoFarmEnabled = false;
  79. getgenv().SilentAimEnabled = false;
  80. getgenv().FOVCircleSize = 100;
  81. local v24 = game:GetService('Players');
  82. local v25 = v24.LocalPlayer;
  83. local v26 = v25:GetMouse();
  84. local v27 = game:GetService('RunService');
  85. local v28 = workspace.CurrentCamera;
  86. local v29 = RaycastParams.new();
  87. v29.FilterType = Enum.RaycastFilterType.Blacklist;
  88. v29.IgnoreWater = true;
  89. local v33 = CFrame.new(- 119.64421099999998, - 677.249939, 1139.98853);
  90. local v34 = 350;
  91. local function v35()
  92.     local v69 = 0;
  93.     local v70;
  94.     while true do
  95.         if (v69 == 0) then
  96.             v70 = 0;
  97.             while true do
  98.                 if (v70 == (0)) then
  99.                     if (v25.Character and v25.Character:FindFirstChild('HumanoidRootPart')) then
  100.                         local v251 = 0;
  101.                         local v252;
  102.                         local v253;
  103.                         while true do
  104.                             local v264 = 0;
  105.                             while true do
  106.                                 if (v264 == (0)) then
  107.                                     if (1 == v251) then
  108.                                         return v253 < v34
  109.                                     end
  110.                                     if (v251 == (0)) then
  111.                                         v252 = v25.Character.HumanoidRootPart.Position;
  112.                                         v253 = (v252 - v33.Position).Magnitude;
  113.                                         v251 = 1;
  114.                                     end
  115.                                     break
  116.                                 end
  117.                             end
  118.                         end
  119.                     end
  120.                     return false
  121.                 end
  122.             end
  123.             break
  124.         end
  125.     end
  126. end
  127. local function v36(v71)
  128.     if (v71.Character and not v71.Character:FindFirstChild('Totally_NOT_Esp')) then
  129.         local v179 = 0;
  130.         local v180;
  131.         while true do
  132.             if (v179 == (0)) then
  133.                 local v211 = 0;
  134.                 while true do
  135.                     if (v211 == 1) then
  136.                         v179 = 1;
  137.                         break
  138.                     end
  139.                     if (v211 == (0)) then
  140.                         v180 = Instance.new('Highlight');
  141.                         v180.Name = 'Totally_NOT_Esp';
  142.                         v211 = 1;
  143.                     end
  144.                 end
  145.             end
  146.             if (v179 == (4)) then
  147.                 v180.Parent = v71.Character;
  148.                 break
  149.             end
  150.             if (v179 == (2)) then
  151.                 v180.FillColor = Color3.fromRGB(255, 0, 0);
  152.                 v180.FillTransparency = 0.5;
  153.                 v179 = 3;
  154.             end
  155.             if (v179 == 3) then
  156.                 v180.OutlineColor = Color3.fromRGB(255, 255, 255);
  157.                 v180.OutlineTransparency = 0;
  158.                 v179 = 4;
  159.             end
  160.             if (v179 == 1) then
  161.                 v180.Adornee = v71.Character;
  162.                 v180.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop;
  163.                 v179 = 2;
  164.             end
  165.         end
  166.     end
  167. end
  168. local function v37()
  169.     for v169, v170 in pairs(v24:GetPlayers()) do
  170.         if ((v170 ~= v25) and v170.Character and v170.Character:FindFirstChild('HumanoidRootPart')) then
  171.             local v194 = 0;
  172.             local v195;
  173.             while true do
  174.                 if (v194 == (0)) then
  175.                     v195 = (v25.Character.HumanoidRootPart.Position - v170.Character.HumanoidRootPart.Position).Magnitude;
  176.                     if (v195 <= v34) then
  177.                         v36(v170);
  178.                     elseif v170.Character:FindFirstChild('Totally_NOT_Esp') then
  179.                         v170.Character.Totally_NOT_Esp:Destroy();
  180.                     end
  181.                     break
  182.                 end
  183.             end
  184.         end
  185.     end
  186. end
  187. v24.PlayerAdded:Connect(function(v72)
  188.     if getgenv().ESPEnabled then
  189.         v72.CharacterAdded:Connect(function()
  190.             if (v25.Character and v25.Character:FindFirstChild('HumanoidRootPart')) then
  191.                 local v222 = 0;
  192.                 local v223;
  193.                 while true do
  194.                     if (v222 == (0)) then
  195.                         v223 = (v25.Character.HumanoidRootPart.Position - v72.Character.HumanoidRootPart.Position).Magnitude;
  196.                         if (v223 <= v34) then
  197.                             v36(v72);
  198.                         end
  199.                         break
  200.                     end
  201.                 end
  202.             end
  203.         end);
  204.     end
  205. end);
  206. v27.RenderStepped:Connect(function()
  207.     if getgenv().ESPEnabled then
  208.         v37();
  209.     else
  210.         for v196, v197 in pairs(v24:GetPlayers()) do
  211.             if (v197.Character and v197.Character:FindFirstChild('Totally_NOT_Esp')) then
  212.                 v197.Character.Totally_NOT_Esp:Destroy();
  213.             end
  214.         end
  215.     end
  216. end);
  217. local function v38()
  218.     local v73;
  219.     local v74 = math.huge;
  220.     for v171, v172 in pairs(v24:GetPlayers()) do
  221.         if ((v172 ~= v25) and v172.Character and v172.Character:FindFirstChild('HumanoidRootPart')) then
  222.             local v198 = 0;
  223.             local v199;
  224.             while true do
  225.                 if (v198 == (0)) then
  226.                     v199 = (v25.Character.HumanoidRootPart.Position - v172.Character.HumanoidRootPart.Position).magnitude;
  227.                     if (v199 < v74) then
  228.                         local v256 = 0;
  229.                         local v257;
  230.                         while true do
  231.                             if (v256 == (0)) then
  232.                                 v257 = 0;
  233.                                 while true do
  234.                                     if (0 == v257) then
  235.                                         v74 = v199;
  236.                                         v73 = v172;
  237.                                         break
  238.                                     end
  239.                                 end
  240.                                 break
  241.                             end
  242.                         end
  243.                     end
  244.                     break
  245.                 end
  246.             end
  247.         end
  248.     end
  249.     return v73
  250. end
  251. local v39;
  252. local function v40()
  253.     local v75 = 0;
  254.     local v76;
  255.     while true do
  256.         if (v75 == (0)) then
  257.             v76 = v38();
  258.             if (v76 and v76.Character and v76.Character:FindFirstChild('HumanoidRootPart')) then
  259.                 local v224 = v76.Character:FindFirstChild('Humanoid');
  260.                 local function v225()
  261.                     if (v25.Character and v25.Character:FindFirstChild('HumanoidRootPart')) then
  262.                         local v258 = v25.Character.HumanoidRootPart;
  263.                         local v259 = v76.Character.HumanoidRootPart;
  264.                         local v260 = v259.Position + Vector3.new(0, 8, 0) ;
  265.                         v258.CFrame = CFrame.new(v260, v259.Position);
  266.                     end
  267.                 end
  268.                 if v224 then
  269.                     v39 = v27.Heartbeat:Connect(v225);
  270.                     v224.Died:Connect(function()
  271.                         if v39 then
  272.                             v39:Disconnect();
  273.                         end
  274.                     end);
  275.                 end
  276.             end
  277.             break
  278.         end
  279.     end
  280. end
  281. v26.Button1Down:Connect(function()
  282.     if (getgenv().AutoFarmEnabled and not v35()) then
  283.         local v181 = 0;
  284.         while true do
  285.             if (v181 == (0)) then
  286.                 if v39 then
  287.                     v39:Disconnect();
  288.                 end
  289.                 v40();
  290.                 break
  291.             end
  292.         end
  293.     end
  294. end);
  295. local function v41(v77)
  296.     if (not v77 or not v77.Character or not v77.Character:FindFirstChild('Head')) then
  297.         return false
  298.     end
  299.     local v78 = v77.Character;
  300.     local v79 = v78.Head;
  301.     v29.FilterDescendantsInstances = {
  302.         v25.Character,
  303.         v78
  304.     };
  305.     local v81 = v28.CFrame.Position;
  306.     local v82 = (v79.Position - v81).Unit * (v79.Position - v81).Magnitude ;
  307.     local v83 = workspace:Raycast(v81, v82, v29);
  308.     return not v83 or v83.Instance:IsDescendantOf(v78)
  309. end
  310. local function v42()
  311.     local v84;
  312.     local v85 = math.huge;
  313.     local v86 = v28.CFrame.LookVector;
  314.     for v173, v174 in pairs(v24:GetPlayers()) do
  315.         if ((v174 ~= v25) and v174.Character and v174.Character:FindFirstChild('Head') and (v174.Character:FindFirstChildOfClass('Humanoid').Health > (0))) then
  316.             if v41(v174) then
  317.                 local v226 = v174.Character.Head;
  318.                 local v227 = (v226.Position - v28.CFrame.Position).Unit;
  319.                 local v228 = v86:Dot(v227);
  320.                 if (v228 > 0.9) then
  321.                     local v247 = 0;
  322.                     local v248;
  323.                     while true do
  324.                         if (v247 == (0)) then
  325.                             v248 = (v226.Position - v28.CFrame.Position).Magnitude;
  326.                             if (v248 < v85) then
  327.                                 v84 = v174;
  328.                                 v85 = distance;
  329.                             end
  330.                             break
  331.                         end
  332.                     end
  333.                 end
  334.             end
  335.         end
  336.     end
  337.     return v84
  338. end
  339. local v43 = false;
  340. v26.Button1Down:Connect(function()
  341.     local v87 = 0;
  342.     while true do
  343.         if (v87 == (0)) then
  344.             v43 = true;
  345.             while v43 and getgenv().AimbotEnabled do
  346.                 local v207 = 0;
  347.                 while true do
  348.                     if (v207 == (0)) then
  349.                         if not v35() then
  350.                             local v265 = 0;
  351.                             local v266;
  352.                             while true do
  353.                                 if (v265 == 0) then
  354.                                     v266 = v42();
  355.                                     if (v266 and v266.Character and v266.Character:FindFirstChild('Head')) then
  356.                                         local v283 = v266.Character.Head;
  357.                                         local v284 = v283.Position;
  358.                                         local v285 = v28.CFrame;
  359.                                         local v286 = CFrame.new(v285.Position, v284);
  360.                                         v28.CFrame = v285:Lerp(v286, getgenv().Smoothness);
  361.                                     end
  362.                                     break
  363.                                 end
  364.                             end
  365.                         end
  366.                         v27.RenderStepped:Wait();
  367.                         break
  368.                     end
  369.                 end
  370.             end
  371.             break
  372.         end
  373.     end
  374. end);
  375. v26.Button1Up:Connect(function()
  376.     v43 = false;
  377. end);
  378.  
  379. local v44 = v10:CreateSection("Aim Method (Can't Use Both)");
  380.  
  381. v10:CreateToggle({
  382.     Name = "Enable Aimbot",
  383.     Description = nil,
  384.     CurrentValue = false,
  385.         Callback = function(v88)
  386.             getgenv().AimbotEnabled = v88;
  387.         end
  388. }, "AimbotToggle");
  389.  
  390. local v44 = v11:CreateSection("Types of ESP");
  391.  
  392. v11:CreateToggle({
  393.     Name = "Enable ESP",
  394.     Description = nil,
  395.     CurrentValue = false,
  396.         Callback = function(v90)
  397.             getgenv().ESPEnabled = v90;
  398.         end
  399. }, "ESPToggle");
  400.  
  401. v10:CreateToggle({
  402.     Name = "Enable SilentAim",
  403.     Description = nil,
  404.     CurrentValue = false,
  405.         Callback = function(v92)
  406.             getgenv().SilentAimEnabled = v92;
  407.         end
  408. }, "SilentAimToggle");
  409.  
  410. v10:CreateSlider({
  411.     Name = "Aimbot Strength",
  412.     Range = {0.40000000000009095, 1},
  413.     Increment = 1E-2,
  414.     CurrentValue = 0.6,
  415.         Callback = function(v94)
  416.             getgenv().Smoothness = v94;
  417.         end
  418. }, "AimbotStrengthSlider");
  419.  
  420.  
  421. local v44 = v10:CreateSection("Blatant(DOWN)");
  422.  
  423. v10:CreateToggle({
  424.     Name = "Teleport to Enemy",
  425.     Description = nil,
  426.     CurrentValue = false,
  427.         Callback = function(v96)
  428.             getgenv().AutoFarmEnabled = v96;
  429.         end
  430. }, "BlatantToggle");
  431.  
  432. v13:CreateLabel({
  433.     Text = "u",
  434.     Style = 2
  435. })
  436.  
  437. local v44 = v12:CreateSection("Local Player");
  438.  
  439. v12:CreateToggle({
  440.     Name = "WalkSpeed",
  441.     Description = nil,
  442.     CurrentValue = false,
  443.         Callback = function(v98)
  444.             getgenv().CFrameWalkEnabled = v98;
  445.         end
  446. }, "WalkspeedToggle")
  447.  
  448. local v45;
  449. local function v46(v100)
  450.     if (not v100 or not v100.Character or not v100.Character:FindFirstChild('Head')) then
  451.         return false
  452.     end
  453.     local v101 = v100.Character.Head;
  454.     local v102 = v28.CFrame.Position;
  455.     local v103 = (v101.Position - v102).Unit * (1E3) ;
  456.     local v104 = Ray.new(v102, v103);
  457.     local v105, v106 = workspace:FindPartOnRayWithIgnoreList(v104, {
  458.         v25.Character
  459.     }, false, true);
  460.     return v105 and v105:IsDescendantOf(v100.Character)
  461. end
  462. local function v47()
  463.     local v107;
  464.     local v108 = math.huge;
  465.     for v175, v176 in pairs(v24:GetPlayers()) do
  466.         if ((v176 ~= v25) and v176.Character and v176.Character:FindFirstChild('Head') and (v176.Character:FindFirstChildOfClass('Humanoid').Health > 0)) then
  467.             local v200 = 0;
  468.             local v201;
  469.             local v202;
  470.             while true do
  471.                 if ((0) == v200) then
  472.                     v201 = v176.Character.Head;
  473.                     v202 = (v201.Position - v28.CFrame.Position).Magnitude;
  474.                     v200 = 1;
  475.                 end
  476.                 if (v200 == (1)) then
  477.                     if ((v202 < v108) and v46(v176)) then
  478.                         v107 = v176;
  479.                         v108 = v202;
  480.                     end
  481.                     break
  482.                 end
  483.             end
  484.         end
  485.     end
  486.     return v107
  487. end
  488. v26.Button1Down:Connect(function()
  489.     if (getgenv().SilentAimEnabled and not v35()) then
  490.         local v182 = 0;
  491.         local v183;
  492.         while true do
  493.             if (0 == v182) then
  494.                 v183 = v47();
  495.                 if (v183 and v183.Character and v183.Character:FindFirstChild('Head')) then
  496.                     local v249 = 0;
  497.                     local v250;
  498.                     while true do
  499.                         if (v249 == 1) then
  500.                             v28.CFrame = CFrame.new(v28.CFrame.Position, v250.Position);
  501.                             break
  502.                         end
  503.                         if (v249 == (0)) then
  504.                             v250 = v183.Character.Head;
  505.                             v45 = v28.CFrame;
  506.                             v249 = 1;
  507.                         end
  508.                     end
  509.                 end
  510.                 break
  511.             end
  512.         end
  513.     end
  514. end);
  515. v26.Button1Up:Connect(function()
  516.     if (getgenv().SilentAimEnabled and v45) then
  517.         v28.CFrame = v45;
  518.     end
  519. end);
  520. game:GetService('UserInputService').JumpRequest:Connect(function()
  521.     if getgenv().InfiniteJumpEnabled then
  522.         v25.Character:FindFirstChildOfClass('Humanoid'):ChangeState('Jumping');
  523.     end
  524. end);
  525. v27.Stepped:Connect(function()
  526.     if getgenv().NoClipEnabled then
  527.         for v203, v204 in pairs(v25.Character:GetDescendants()) do
  528.             if (v204:IsA('BasePart') and v204.CanCollide) then
  529.                 v204.CanCollide = false;
  530.             end
  531.         end
  532.     end
  533. end);
  534. v27.RenderStepped:Connect(function()
  535.     if getgenv().CFrameWalkEnabled then
  536.         local v185 = v25.Character.Humanoid.MoveDirection;
  537.         local v186 = v25.Character.HumanoidRootPart.Position + (v185 * getgenv().CFrameWalkSpeed) ;
  538.         local v187 = Ray.new(v25.Character.HumanoidRootPart.Position, v186 - v25.Character.HumanoidRootPart.Position);
  539.         local v188, v189 = workspace:FindPartOnRay(v187, v25.Character);
  540.         if not v188 then
  541.             v25.Character.Humanoid:Move(v185, false);
  542.             v25.Character.HumanoidRootPart.CFrame = v25.Character.HumanoidRootPart.CFrame + (v185 * getgenv().CFrameWalkSpeed) ;
  543.         end
  544.     end
  545. end);
  546. local v48 = game:GetService('Players');
  547. local v49 = game:GetService('TweenService');
  548. local v50 = game:GetService('RunService');
  549. local v51 = 300;
  550. local v52 = 1.2999999999999998;
  551. local v53 = 2;
  552. getgenv().HealthESPEnabled = false;
  553. local function v55(v109)
  554.     if not v109 then
  555.         return
  556.     end
  557.     local v110 = v109:FindFirstChild('Head');
  558.     while not v110 do
  559.         local v177 = 0;
  560.         local v178;
  561.         while true do
  562.             if (v177 == (0)) then
  563.                 v178 = 0;
  564.                 while true do
  565.                     if (v178 == (0)) then
  566.                         wait();
  567.                         v110 = v109:FindFirstChild('Head');
  568.                         break
  569.                     end
  570.                 end
  571.                 break
  572.             end
  573.         end
  574.     end
  575.     if v110:FindFirstChild('HealthBar') then
  576.         return
  577.     end
  578.     local v111 = Instance.new('BillboardGui');
  579.     v111.Name = 'HealthBar';
  580.     v111.Adornee = v110;
  581.     v111.Size = UDim2.new(v52, 2, v52 * (3.5), 0);
  582.     v111.StudsOffset = Vector3.new(3, - 1, 0);
  583.     v111.AlwaysOnTop = true;
  584.     v111.Enabled = false;
  585.     v111.Parent = v110;
  586.     local v119 = Instance.new('Frame');
  587.     v119.BackgroundColor3 = Color3.new(1, 1, 1);
  588.     v119.BorderSizePixel = 0;
  589.     v119.Size = UDim2.new(1, 0, 1, 0);
  590.     v119.Parent = v111;
  591.     local v124 = Instance.new('UICorner');
  592.     v124.CornerRadius = UDim.new(0, 10);
  593.     v124.Parent = v119;
  594.     local v127 = Instance.new('Frame');
  595.     v127.BackgroundColor3 = Color3.new(0, 0, 0);
  596.     v127.BorderSizePixel = 0;
  597.     v127.Size = UDim2.new(1, - 4, 1, - 4);
  598.     v127.Position = UDim2.new(0, 2, 0, 2);
  599.     v127.Parent = v119;
  600.     local v133 = Instance.new('UICorner');
  601.     v133.CornerRadius = UDim.new(0, 9);
  602.     v133.Parent = v127;
  603.     local v136 = Instance.new('Frame');
  604.     v136.Name = 'HealthBarFill';
  605.     v136.AnchorPoint = Vector2.new(0, 1);
  606.     v136.Position = UDim2.new(0, 0, 1, 0);
  607.     v136.Size = UDim2.new(1, 0, 1, 0);
  608.     v136.BorderSizePixel = 0;
  609.     v136.BackgroundColor3 = Color3.fromRGB(0, 255, 0);
  610.     v136.Parent = v127;
  611.     local v144 = Instance.new('UICorner');
  612.     v144.CornerRadius = UDim.new(0, 8);
  613.     v144.Parent = v136;
  614.     local v147 = v109:FindFirstChildOfClass('Humanoid');
  615.     if v147 then
  616.         local function v190()
  617.             if (v48.LocalPlayer.Character and v48.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and getgenv().HealthESPEnabled) then
  618.                 local v230 = 0;
  619.                 local v231;
  620.                 while true do
  621.                     if (v230 == (0)) then
  622.                         v231 = (v48.LocalPlayer.Character.HumanoidRootPart.Position - v110.Position).Magnitude;
  623.                         v111.Enabled = v231 <= v51 ;
  624.                         v230 = 1;
  625.                     end
  626.                     if (v230 == (1)) then
  627.                         if (v231 <= v51) then
  628.                             local v271 = v147.Health;
  629.                             local v272 = v147.MaxHealth;
  630.                             local v273 = v271 / v272 ;
  631.                             local v274 = Color3.fromRGB(0, 255, 0);
  632.                             if (v273 > 0.75) then
  633.                                 v274 = Color3.fromRGB(0, 255, 0);
  634.                             elseif (v273 > (0.5)) then
  635.                                 v274 = Color3.fromRGB(255, 255, 0);
  636.                             elseif (v273 > 0.25) then
  637.                                 v274 = Color3.fromRGB(255, 165, 0);
  638.                             else
  639.                                 v274 = Color3.fromRGB(255, 0, 0);
  640.                             end
  641.                             local v275 = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out);
  642.                             local v276 = {
  643.                                 Size = UDim2.new(1, 0, v273, 0)
  644.                             };
  645.                             local v277 = {
  646.                                 BackgroundColor3 = v274
  647.                             };
  648.                             local v278 = v49:Create(v136, v275, v276);
  649.                             local v279 = v49:Create(v136, v275, v277);
  650.                             v278:Play();
  651.                             v279:Play();
  652.                         else
  653.                             v111.Enabled = false;
  654.                         end
  655.                         break
  656.                     end
  657.                 end
  658.             else
  659.                 v111.Enabled = false;
  660.             end
  661.         end
  662.         v147.HealthChanged:Connect(v190);
  663.         v190();
  664.         v50.RenderStepped:Connect(function()
  665.             if getgenv().HealthESPEnabled then
  666.                 v190();
  667.             else
  668.                 v111.Enabled = false;
  669.             end
  670.         end);
  671.     end
  672. end
  673. local function v56(v148)
  674.     local v149 = 0;
  675.     local v150;
  676.     while true do
  677.         if (v149 == 0) then
  678.             if (v148 == v48.LocalPlayer) then
  679.                 return
  680.             end
  681.             v150 = nil;
  682.             v149 = 1;
  683.         end
  684.         if ((2) == v149) then
  685.             v148.CharacterAdded:Connect(v150);
  686.             break
  687.         end
  688.         if ((1) == v149) then
  689.             function v150(v209)
  690.                 v55(v209);
  691.             end
  692.             if v148.Character then
  693.                 v55(v148.Character);
  694.             end
  695.             v149 = 2;
  696.         end
  697.     end
  698. end
  699. v48.PlayerAdded:Connect(v56);
  700. for v151, v152 in ipairs(v48:GetPlayers()) do
  701.     if (v152 ~= v48.LocalPlayer) then
  702.         v56(v152);
  703.     end
  704. end
  705. v11:CreateToggle({
  706.     Name = "Enable Health ESP",
  707.     Description = nil,
  708.     CurrentValue = false,
  709.         Callback = function(v153)
  710.             local v154 = 0;
  711.             while true do
  712.                 if (v154 == (0)) then
  713.                     getgenv().HealthESPEnabled = v153;
  714.                     if v153 then
  715.                         for v241, v242 in pairs(v48:GetPlayers()) do
  716.                             if v242.Character then
  717.                                 v55(v242.Character);
  718.                             end
  719.                         end
  720.                     else
  721.                         for v243, v244 in pairs(v48:GetPlayers()) do
  722.                             if (v244.Character and v244.Character:FindFirstChild('Head') and v244.Character.Head:FindFirstChild('HealthBar')) then
  723.                                 v244.Character.Head.HealthBar:Destroy();
  724.                             end
  725.                         end
  726.                     end
  727.                     break
  728.                 end
  729.             end
  730.         end
  731. }, "ESPHealtToggle");
  732. local v48 = game:GetService('Players');
  733. local v57 = game:GetService('UserInputService');
  734. local v50 = game:GetService('RunService');
  735. local v58 = v48.LocalPlayer;
  736. local v59 = false;
  737. local v60 = 50;
  738. local v61;
  739. local v62;
  740. local function v63(v155)
  741.     local v156 = 0;
  742.     local v157;
  743.     local v158;
  744.     while true do
  745.         if (v156 == (1)) then
  746.             v61.Parent = v157;
  747.             v158 = nil;
  748.             v156 = 2;
  749.         end
  750.         if (0 == v156) then
  751.             v157 = v155:WaitForChild('HumanoidRootPart');
  752.             if not v61 then
  753.                 v61 = Instance.new('BodyVelocity');
  754.                 v61.MaxForce = Vector3.new(100000, 100000, 100000);
  755.             end
  756.             v156 = 1;
  757.         end
  758.         if (v156 == (3)) then
  759.             v62 = v50.Heartbeat:Connect(function()
  760.                 if v59 then
  761.                     v61.Velocity = v158();
  762.                 else
  763.                     v61.Velocity = Vector3.new(0, 0, 0);
  764.                 end
  765.             end);
  766.             break
  767.         end
  768.         if (v156 == (2)) then
  769.             function v158()
  770.                 local v210 = Vector3.new(0, 0, 0);
  771.                 if v57:IsKeyDown(Enum.KeyCode.W) then
  772.                     v210 = v210 + (workspace.CurrentCamera.CFrame.LookVector * v60) ;
  773.                 end
  774.                 if v57:IsKeyDown(Enum.KeyCode.S) then
  775.                     v210 = v210 - (workspace.CurrentCamera.CFrame.LookVector * v60) ;
  776.                 end
  777.                 if v57:IsKeyDown(Enum.KeyCode.A) then
  778.                     v210 = v210 - (workspace.CurrentCamera.CFrame.RightVector * v60) ;
  779.                 end
  780.                 if v57:IsKeyDown(Enum.KeyCode.D) then
  781.                     v210 = v210 + (workspace.CurrentCamera.CFrame.RightVector * v60) ;
  782.                 end
  783.                 return v210
  784.             end
  785.             if v62 then
  786.                 v62:Disconnect();
  787.             end
  788.             v156 = 3;
  789.         end
  790.     end
  791. end
  792. local function v64()
  793.     if v61 then
  794.         v61.Velocity = Vector3.new(0, 0, 0);
  795.         v61.Parent = nil;
  796.     end
  797. end
  798. local function v65(v159)
  799.     local v160 = 0;
  800.     while true do
  801.         if ((0) == v160) then
  802.             v63(v159);
  803.             wait(0.1);
  804.             v160 = 1;
  805.         end
  806.         if (v160 == (1)) then
  807.             if v59 then
  808.                 v61.Parent = v159:FindFirstChild('HumanoidRootPart');
  809.             else
  810.                 v64();
  811.             end
  812.             break
  813.         end
  814.     end
  815. end
  816. v58.CharacterAdded:Connect(v65);
  817. if v58.Character then
  818.     v58.Character:WaitForChild('HumanoidRootPart');
  819.     v65(v58.Character);
  820. end
  821. v12:CreateInput({
  822.     Name = "Toggle Fly",
  823.     Description = nil,
  824.     PlaceholderText = "keybind",
  825.     CurrentValue = "X",
  826.     Hold = false,
  827.     Numeric = false,
  828.     MaxCharacters = nil,
  829.     Enter = false,
  830.         Callback = function()
  831.             v59 = not v59;
  832.             if (v59 and v58.Character) then
  833.                 local v193 = 0;
  834.                 while true do
  835.                     if (0 == v193) then
  836.                         v63(v58.Character);
  837.                         v61.Parent = v58.Character:FindFirstChild('HumanoidRootPart');
  838.                         break
  839.                     end
  840.                 end
  841.             else
  842.                 v64();
  843.             end
  844.         end
  845. }, "ToggleFlyInput");
  846. v12:CreateSlider({
  847.     Name = "Fly Speed",
  848.     Range = {30, 100},
  849.     Increment = 1,
  850.     CurrentValue = 50,
  851.         Callback = function(v161)
  852.             v60 = v161;
  853.         end
  854. }, "FLYSlider");
  855. v12:CreateSlider({
  856.     Name = "Walkspeed Value",
  857.     Range = {0.2, 1.5},
  858.     Increment = 0.1,
  859.     CurrentValue = 0.2,
  860.         Callback = function(v162)
  861.             getgenv().CFrameWalkSpeed = v162;
  862.         end
  863. }, "WSSlider");
  864. local v44 = v12:CreateSection("misc")
  865. v12:CreateToggle({
  866.     Name = "Infinite Jump",
  867.     Description = nil,
  868.     CurrentValue = false,
  869.         Callback = function(v164)
  870.             getgenv().InfiniteJumpEnabled = v164;
  871.         end
  872. }, "ınfjumpToggle");
  873.  
  874. v12:CreateToggle({
  875.     Name = "Noclip",
  876.     Description = nil,
  877.     CurrentValue = false,
  878.         Callback = function(v166)
  879.             getgenv().NoClipEnabled = v166;
  880.         end
  881. }, "noclipToggle");
Advertisement
Add Comment
Please, Sign In to add comment