BestRubuxChaos

Aim

Jul 17th, 2026 (edited)
1,709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 26.18 KB | None | 0 0
  1. -- Credits: pisokuid5
  2.  
  3. ------------------------------------------------
  4. -- SERVICES
  5. ------------------------------------------------
  6.  
  7. local Players = game:GetService("Players")
  8. local UIS = game:GetService("UserInputService")
  9. local TweenService = game:GetService("TweenService")
  10. local RunService = game:GetService("RunService")
  11.  
  12. local player = Players.LocalPlayer
  13. local camera = workspace.CurrentCamera
  14.  
  15.  
  16.  
  17. ------------------------------------------------
  18. -- SETTINGS
  19. ------------------------------------------------
  20.  
  21. local Settings = {
  22.  
  23.     Enabled = false,
  24.  
  25.     ShowFOV = false,
  26.  
  27.     FOV = 250,
  28.  
  29.     Smoothness = 10,
  30.  
  31.     WallCheck = true,
  32.  
  33.     TeamCheck = false,
  34.  
  35.     Key = Enum.KeyCode.G,
  36.  
  37.     FOVColor = Color3.fromRGB(
  38.         100,
  39.         130,
  40.         255
  41.     ),
  42.  
  43.     Theme = "Dark Neon"
  44.  
  45. }
  46.  
  47.  
  48.  
  49. ------------------------------------------------
  50. -- THEMES
  51. ------------------------------------------------
  52.  
  53. local Themes = {
  54.  
  55.     ["Dark Neon"] = {
  56.  
  57.         Main = Color3.fromRGB(18,18,25),
  58.  
  59.         Card = Color3.fromRGB(30,30,40),
  60.  
  61.         Button = Color3.fromRGB(55,55,75),
  62.  
  63.         Accent = Color3.fromRGB(90,120,255),
  64.  
  65.         Text = Color3.fromRGB(240,240,255)
  66.  
  67.     },
  68.  
  69.  
  70.     ["Purple Cyber"] = {
  71.  
  72.         Main = Color3.fromRGB(25,15,35),
  73.  
  74.         Card = Color3.fromRGB(55,25,75),
  75.  
  76.         Button = Color3.fromRGB(90,45,120),
  77.  
  78.         Accent = Color3.fromRGB(200,80,255),
  79.  
  80.         Text = Color3.fromRGB(255,240,255)
  81.  
  82.     }
  83.  
  84. }
  85.  
  86.  
  87.  
  88. ------------------------------------------------
  89. -- UI HELPERS
  90. ------------------------------------------------
  91.  
  92. local function Corner(obj)
  93.  
  94.     local c = Instance.new("UICorner")
  95.  
  96.     c.CornerRadius =
  97.         UDim.new(0,50)
  98.  
  99.     c.Parent = obj
  100.  
  101. end
  102.  
  103.  
  104.  
  105. local function Tween(obj,time,data)
  106.  
  107.     TweenService:Create(
  108.  
  109.         obj,
  110.  
  111.         TweenInfo.new(
  112.  
  113.             time,
  114.  
  115.             Enum.EasingStyle.Quint,
  116.  
  117.             Enum.EasingDirection.Out
  118.  
  119.         ),
  120.  
  121.         data
  122.  
  123.     ):Play()
  124.  
  125. end
  126.  
  127.  
  128.  
  129. ------------------------------------------------
  130. -- GUI
  131. ------------------------------------------------
  132.  
  133. local gui = Instance.new("ScreenGui")
  134.  
  135. gui.Name =
  136.     "ModernAimTrainer"
  137.  
  138. gui.ResetOnSpawn = false
  139.  
  140. gui.Parent =
  141.     player.PlayerGui
  142.  
  143.  
  144.  
  145. ------------------------------------------------
  146. -- MAIN MENU
  147. ------------------------------------------------
  148.  
  149. local menu = Instance.new("Frame")
  150.  
  151. menu.Size =
  152.     UDim2.new(
  153.         0,
  154.         560,
  155.         0,
  156.         460
  157.     )
  158.  
  159.  
  160. menu.Position =
  161.     UDim2.new(
  162.         .5,
  163.         -280,
  164.         .5,
  165.         -230
  166.     )
  167.  
  168.  
  169. menu.BackgroundColor3 =
  170.     Themes[Settings.Theme].Main
  171.  
  172.  
  173. menu.BorderSizePixel = 0
  174.  
  175. menu.Visible = false
  176.  
  177. menu.Parent = gui
  178.  
  179. Corner(menu)
  180.  
  181.  
  182.  
  183. local menuScale = Instance.new("UIScale")
  184.  
  185. menuScale.Scale = .8
  186.  
  187. menuScale.Parent = menu
  188.  
  189.  
  190.  
  191. ------------------------------------------------
  192. -- OPEN ANIMATION
  193. ------------------------------------------------
  194.  
  195. local function OpenMenu()
  196.  
  197.  
  198.     menu.Visible = true
  199.  
  200.  
  201.     Tween(
  202.  
  203.         menuScale,
  204.  
  205.         .45,
  206.  
  207.         {
  208.  
  209.             Scale = 1
  210.  
  211.         }
  212.  
  213.     )
  214.  
  215.  
  216. end
  217.  
  218.  
  219.  
  220. ------------------------------------------------
  221. -- TOP BAR
  222. ------------------------------------------------
  223.  
  224. local top = Instance.new("Frame")
  225.  
  226. top.Size =
  227.     UDim2.new(
  228.         1,
  229.         0,
  230.         0,
  231.         60
  232.     )
  233.  
  234.  
  235. top.BackgroundColor3 =
  236.     Themes[Settings.Theme].Card
  237.  
  238.  
  239. top.Parent = menu
  240.  
  241. Corner(top)
  242.  
  243.  
  244.  
  245. local title = Instance.new("TextLabel")
  246.  
  247. title.Size =
  248.     UDim2.new(
  249.         .5,
  250.         0,
  251.         1,
  252.         0
  253.     )
  254.  
  255.  
  256. title.Position =
  257.     UDim2.new(
  258.         0,
  259.         20,
  260.         0,
  261.         0
  262.     )
  263.  
  264.  
  265. title.BackgroundTransparency = 1
  266.  
  267.  
  268. title.Text =
  269.     "Universal Aim"
  270.  
  271.  
  272. title.Font =
  273.     Enum.Font.GothamBold
  274.  
  275.  
  276. title.TextSize = 22
  277.  
  278.  
  279. title.TextColor3 =
  280.     Themes[Settings.Theme].Text
  281.  
  282.  
  283. title.TextXAlignment =
  284.     Enum.TextXAlignment.Left
  285.  
  286.  
  287. title.Parent = top
  288.  
  289.  
  290.  
  291. ------------------------------------------------
  292. -- CONTENT
  293. ------------------------------------------------
  294.  
  295. local content = Instance.new("Frame")
  296.  
  297. content.Size =
  298.     UDim2.new(
  299.         1,
  300.         -40,
  301.         1,
  302.         -90
  303.     )
  304.  
  305.  
  306. content.Position =
  307.     UDim2.new(
  308.         0,
  309.         20,
  310.         0,
  311.         75
  312.     )
  313.  
  314.  
  315. content.BackgroundTransparency = 1
  316.  
  317. content.Parent = menu
  318.  
  319.  
  320.  
  321. local function CreatePage()
  322.  
  323.     local p = Instance.new("Frame")
  324.  
  325.     p.Size =
  326.         UDim2.new(
  327.             1,
  328.             0,
  329.             1,
  330.             0
  331.         )
  332.  
  333.  
  334.     p.BackgroundTransparency = 1
  335.  
  336.     p.Parent = content
  337.  
  338.  
  339.     return p
  340.  
  341. end
  342.  
  343.  
  344.  
  345. local mainPage = CreatePage()
  346.  
  347. local settingsPage = CreatePage()
  348.  
  349. local infoPage = CreatePage()
  350.  
  351.  
  352. settingsPage.Visible = false
  353.  
  354. infoPage.Visible = false
  355.  
  356. ------------------------------------------------
  357. -- RIGHT CTRL MENU TOGGLE
  358. ------------------------------------------------
  359.  
  360. local menuVisible = true
  361.  
  362. UIS.InputBegan:Connect(function(input, processed)
  363.     if processed then
  364.         return
  365.     end
  366.  
  367.     if input.KeyCode == Enum.KeyCode.RightControl then
  368.         menuVisible = not menuVisible
  369.  
  370.         if menuVisible then
  371.             menu.Visible = true
  372.  
  373.             TweenService:Create(
  374.                 menuScale,
  375.                 TweenInfo.new(0.35, Enum.EasingStyle.Back),
  376.                 {Scale = 1}
  377.             ):Play()
  378.  
  379.         else
  380.             TweenService:Create(
  381.                 menuScale,
  382.                 TweenInfo.new(0.25),
  383.                 {Scale = 0.7}
  384.             ):Play()
  385.  
  386.             task.wait(0.25)
  387.             menu.Visible = false
  388.         end
  389.     end
  390. end)
  391.  
  392. ------------------------------------------------
  393. -- KEY SYSTEM
  394. ------------------------------------------------
  395.  
  396. local CorrectKey =
  397.     "AimBest2026"
  398.  
  399.  
  400.  
  401. local keyFrame = Instance.new("Frame")
  402.  
  403. keyFrame.Size =
  404.     UDim2.new(
  405.         0,
  406.         420,
  407.         0,
  408.         260
  409.     )
  410.  
  411.  
  412. keyFrame.Position =
  413.     UDim2.new(
  414.         .5,
  415.         -210,
  416.         .5,
  417.         -130
  418.     )
  419.  
  420.  
  421. keyFrame.BackgroundColor3 =
  422.     Color3.fromRGB(
  423.         20,
  424.         20,
  425.         28
  426.     )
  427.  
  428.  
  429. keyFrame.Parent = gui
  430.  
  431. Corner(keyFrame)
  432.  
  433.  
  434.  
  435. local keyTitle = Instance.new("TextLabel")
  436.  
  437. keyTitle.Size =
  438.     UDim2.new(
  439.         1,
  440.         0,
  441.         0,
  442.         50
  443.     )
  444.  
  445.  
  446. keyTitle.BackgroundTransparency = 1
  447.  
  448. keyTitle.Text =
  449.     "KEY SYSTEM"
  450.  
  451.  
  452. keyTitle.Font =
  453.     Enum.Font.GothamBold
  454.  
  455.  
  456. keyTitle.TextSize = 22
  457.  
  458.  
  459. keyTitle.TextColor3 =
  460.     Color3.new(
  461.         1,
  462.         1,
  463.         1
  464.     )
  465.  
  466.  
  467. keyTitle.Parent =
  468.     keyFrame
  469.  
  470.  
  471.  
  472. local keyBox = Instance.new("TextBox")
  473.  
  474. keyBox.Size =
  475.     UDim2.new(
  476.         .7,
  477.         0,
  478.         0,
  479.         45
  480.     )
  481.  
  482.  
  483. keyBox.Position =
  484.     UDim2.new(
  485.         .15,
  486.         0,
  487.         0,
  488.         80
  489.     )
  490.  
  491.  
  492. keyBox.PlaceholderText =
  493.     "Enter Key"
  494.  
  495.  
  496. keyBox.Text = ""
  497.  
  498.  
  499. keyBox.TextColor3 =
  500.     Color3.new(
  501.         1,
  502.         1,
  503.         1
  504.     )
  505.  
  506.  
  507. keyBox.BackgroundColor3 =
  508.     Color3.fromRGB(
  509.         45,
  510.         45,
  511.         60
  512.     )
  513.  
  514.  
  515. keyBox.Parent =
  516.     keyFrame
  517.  
  518. Corner(keyBox)
  519.  
  520.  
  521.  
  522. local checkButton = Instance.new("TextButton")
  523.  
  524. checkButton.Size =
  525.     UDim2.new(
  526.         .5,
  527.         0,
  528.         0,
  529.         40
  530.     )
  531.  
  532.  
  533. checkButton.Position =
  534.     UDim2.new(
  535.         .25,
  536.         0,
  537.         0,
  538.         150
  539.     )
  540.  
  541.  
  542. checkButton.Text =
  543.     "CHECK"
  544.  
  545.  
  546. checkButton.Font =
  547.     Enum.Font.GothamBold
  548.  
  549.  
  550. checkButton.TextColor3 =
  551.     Color3.new(
  552.         1,
  553.         1,
  554.         1
  555.     )
  556.  
  557.  
  558. checkButton.BackgroundColor3 =
  559.     Color3.fromRGB(
  560.         70,
  561.         120,
  562.         255
  563.     )
  564.  
  565.  
  566. checkButton.Parent =
  567.     keyFrame
  568.  
  569. Corner(checkButton)
  570.  
  571.  
  572.  
  573. local status = Instance.new("TextLabel")
  574.  
  575. status.Size =
  576.     UDim2.new(
  577.         1,
  578.         0,
  579.         0,
  580.         30
  581.     )
  582.  
  583.  
  584. status.Position =
  585.     UDim2.new(
  586.         0,
  587.         0,
  588.         1,
  589.         -35
  590.     )
  591.  
  592.  
  593. status.BackgroundTransparency = 1
  594.  
  595.  
  596. status.Text = ""
  597.  
  598.  
  599. status.TextColor3 =
  600.     Color3.fromRGB(
  601.         255,
  602.         80,
  603.         80
  604.     )
  605.  
  606.  
  607. status.Parent =
  608.     keyFrame
  609.  
  610.     ------------------------------------------------
  611. -- CHECK KEY BUTTON
  612. ------------------------------------------------
  613. checkButton.MouseButton1Click:Connect(function()
  614.  
  615.     if keyBox.Text == CorrectKey then
  616.  
  617.         status.Text = "Unlocked!"
  618.  
  619.         task.wait(0.3)
  620.  
  621.         keyFrame:Destroy()
  622.  
  623.         menu.Visible = true
  624.  
  625.         OpenMenu()
  626.  
  627.     else
  628.  
  629.         status.Text = "Wrong Key"
  630.  
  631.     end
  632.  
  633. end)
  634.  
  635.  
  636.  
  637.  
  638. ------------------------------------------------
  639. -- TAB BUTTON CREATOR
  640. ------------------------------------------------
  641.  
  642. local function CreateTab(text,x)
  643.  
  644.     local b = Instance.new("TextButton")
  645.  
  646.     b.Size =
  647.         UDim2.new(0,75,0,35)
  648.  
  649.     b.Position =
  650.         UDim2.new(x,0,.5,-17)
  651.  
  652.     b.Text = text
  653.  
  654.     b.Font =
  655.         Enum.Font.GothamBold
  656.  
  657.     b.TextSize = 13
  658.  
  659.     b.TextColor3 =
  660.         Themes[Settings.Theme].Text
  661.  
  662.     b.BackgroundColor3 =
  663.         Themes[Settings.Theme].Button
  664.  
  665.     b.Parent = top
  666.  
  667.     Corner(b)
  668.  
  669.     return b
  670.  
  671. end
  672.  
  673.  
  674.  
  675. ------------------------------------------------
  676. -- TABS
  677. ------------------------------------------------
  678.  
  679. local mainTab =
  680.     CreateTab(
  681.         "MAIN",
  682.         .50
  683.     )
  684.  
  685.  
  686. local settingsTab =
  687.     CreateTab(
  688.         "SETTINGS",
  689.         .66
  690.     )
  691.  
  692.  
  693. local infoTab =
  694.     CreateTab(
  695.         "INFO",
  696.         .84
  697.     )
  698.  
  699.  
  700.  
  701. ------------------------------------------------
  702. -- PAGE SWITCH ANIMATION
  703. ------------------------------------------------
  704.  
  705. local function SwitchPage(page)
  706.  
  707.     for _,p in pairs({
  708.         mainPage,
  709.         settingsPage,
  710.         infoPage
  711.     }) do
  712.  
  713.         p.Visible = false
  714.  
  715.     end
  716.  
  717.  
  718.     page.Visible = true
  719.  
  720.     page.Position =
  721.         UDim2.new(1,0,0,0)
  722.  
  723.  
  724.     Tween(
  725.         page,
  726.         .35,
  727.         {
  728.             Position =
  729.             UDim2.new(0,0,0,0)
  730.         }
  731.     )
  732.  
  733. end
  734.  
  735.  
  736.  
  737. mainTab.MouseButton1Click:Connect(function()
  738.  
  739.     SwitchPage(mainPage)
  740.  
  741. end)
  742.  
  743.  
  744.  
  745. settingsTab.MouseButton1Click:Connect(function()
  746.  
  747.     SwitchPage(settingsPage)
  748.  
  749. end)
  750.  
  751.  
  752.  
  753. infoTab.MouseButton1Click:Connect(function()
  754.  
  755.     SwitchPage(infoPage)
  756.  
  757. end)
  758.  
  759.  
  760.  
  761. ------------------------------------------------
  762. -- INFO PAGE
  763. ------------------------------------------------
  764.  
  765. local infoCard = Instance.new("Frame")
  766.  
  767. infoCard.Size =
  768.     UDim2.new(1,0,0,240)
  769.  
  770. infoCard.Position =
  771.     UDim2.new(0,0,0,20)
  772.  
  773. infoCard.BackgroundColor3 =
  774.     Themes[Settings.Theme].Card
  775.  
  776. infoCard.Parent = infoPage
  777.  
  778. Corner(infoCard)
  779.  
  780.  
  781.  
  782. local robloxIcon = Instance.new("ImageLabel")
  783.  
  784. robloxIcon.Size =
  785.     UDim2.new(0,70,0,70)
  786.  
  787. robloxIcon.Position =
  788.     UDim2.new(.5,-35,0,20)
  789.  
  790. robloxIcon.BackgroundTransparency = 1
  791.  
  792. robloxIcon.Image =
  793.     "rbxassetid://7072719337"
  794.  
  795. robloxIcon.Parent = infoCard
  796.  
  797.  
  798.  
  799. local infoText = Instance.new("TextLabel")
  800.  
  801. infoText.Size =
  802.     UDim2.new(1,0,0,100)
  803.  
  804. infoText.Position =
  805.     UDim2.new(0,0,0,100)
  806.  
  807. infoText.BackgroundTransparency = 1
  808.  
  809. infoText.Text =
  810.     "âš¡ AIM TRAINER\n\nVersion: 0.1.14\nCredits: pisokuid5"
  811.  
  812. infoText.Font =
  813.     Enum.Font.GothamBold
  814.  
  815. infoText.TextSize = 18
  816.  
  817. infoText.TextColor3 =
  818.     Themes[Settings.Theme].Text
  819.  
  820. infoText.Parent = infoCard
  821.  
  822.  
  823.  
  824. ------------------------------------------------
  825. -- THEME BUTTON
  826. ------------------------------------------------
  827.  
  828. local themeButton = Instance.new("TextButton")
  829.  
  830. themeButton.Size =
  831.     UDim2.new(0,220,0,45)
  832.  
  833. themeButton.Position =
  834.     UDim2.new(.5,-110,0,300)
  835.  
  836. themeButton.Text =
  837.     "Theme: "..Settings.Theme
  838.  
  839. themeButton.Font =
  840.     Enum.Font.GothamBold
  841.  
  842. themeButton.TextSize = 15
  843.  
  844. themeButton.TextColor3 =
  845.     Color3.new(1,1,1)
  846.  
  847. themeButton.BackgroundColor3 =
  848.     Themes[Settings.Theme].Button
  849.  
  850. themeButton.Parent =
  851.     infoPage
  852.  
  853. Corner(themeButton)
  854.  
  855.  
  856.  
  857. local themeNames = {
  858.  
  859.     "Dark Neon",
  860.  
  861.     "Purple Cyber",
  862.  
  863.     "Blue Glass"
  864.  
  865. }
  866.  
  867.  
  868.  
  869. local themeIndex = 1
  870.  
  871.  
  872.  
  873. ------------------------------------------------
  874. -- APPLY THEME
  875. ------------------------------------------------
  876.  
  877. local function ApplyTheme()
  878.  
  879.     local t =
  880.         Themes[Settings.Theme]
  881.  
  882.  
  883.  
  884.     menu.BackgroundColor3 =
  885.         t.Main
  886.  
  887.  
  888.     top.BackgroundColor3 =
  889.         t.Card
  890.  
  891.  
  892.     title.TextColor3 =
  893.         t.Text
  894.  
  895.  
  896.  
  897.     for _,obj in ipairs(
  898.         gui:GetDescendants()
  899.     ) do
  900.  
  901.  
  902.         if obj:IsA("TextLabel")
  903.         or obj:IsA("TextButton") then
  904.  
  905.  
  906.             obj.TextColor3 =
  907.                 t.Text
  908.  
  909.  
  910.         end
  911.  
  912.  
  913.  
  914.         if obj:IsA("Frame") then
  915.  
  916.  
  917.             if obj ~= menu then
  918.  
  919.                 obj.BackgroundColor3 =
  920.                     t.Card
  921.  
  922.             end
  923.  
  924.  
  925.         end
  926.  
  927.  
  928.     end
  929.  
  930.  
  931. end
  932.  
  933.  
  934.  
  935. themeButton.MouseButton1Click:Connect(function()
  936.  
  937.  
  938.     themeIndex += 1
  939.  
  940.  
  941.     if themeIndex >
  942.         #themeNames then
  943.  
  944.         themeIndex = 1
  945.  
  946.     end
  947.  
  948.  
  949.  
  950.     Settings.Theme =
  951.         themeNames[themeIndex]
  952.  
  953.  
  954.  
  955.     themeButton.Text =
  956.         "Theme: "..Settings.Theme
  957.  
  958.  
  959.  
  960.     ApplyTheme()
  961.  
  962.  
  963. end)
  964.  
  965.  
  966. ------------------------------------------------
  967. -- ROW CREATOR
  968. ------------------------------------------------
  969.  
  970. local function CreateRow(parent,name,y)
  971.  
  972.     local frame = Instance.new("Frame")
  973.  
  974.     frame.Size =
  975.         UDim2.new(1,0,0,50)
  976.  
  977.     frame.Position =
  978.         UDim2.new(0,0,0,y)
  979.  
  980.     frame.BackgroundColor3 =
  981.         Themes[Settings.Theme].Card
  982.  
  983.     frame.Parent =
  984.         parent
  985.  
  986.     Corner(frame)
  987.  
  988.  
  989.  
  990.     local label = Instance.new("TextLabel")
  991.  
  992.     label.Size =
  993.         UDim2.new(.6,0,1,0)
  994.  
  995.     label.Position =
  996.         UDim2.new(0,20,0,0)
  997.  
  998.     label.BackgroundTransparency = 1
  999.  
  1000.     label.Text =
  1001.         name
  1002.  
  1003.     label.Font =
  1004.         Enum.Font.Gotham
  1005.  
  1006.     label.TextSize = 15
  1007.  
  1008.     label.TextColor3 =
  1009.         Themes[Settings.Theme].Text
  1010.  
  1011.     label.TextXAlignment =
  1012.         Enum.TextXAlignment.Left
  1013.  
  1014.     label.Parent =
  1015.         frame
  1016.  
  1017.  
  1018.  
  1019.     local button = Instance.new("TextButton")
  1020.  
  1021.     button.Size =
  1022.         UDim2.new(0,90,0,35)
  1023.  
  1024.     button.Position =
  1025.         UDim2.new(1,-110,.5,-17)
  1026.  
  1027.     button.BackgroundColor3 =
  1028.         Themes[Settings.Theme].Button
  1029.  
  1030.     button.TextColor3 =
  1031.         Themes[Settings.Theme].Text
  1032.  
  1033.     button.Font =
  1034.         Enum.Font.GothamBold
  1035.  
  1036.     button.TextSize = 13
  1037.  
  1038.     button.Parent =
  1039.         frame
  1040.  
  1041.     Corner(button)
  1042.  
  1043.  
  1044.     return button
  1045.  
  1046. end
  1047.  
  1048.  
  1049.  
  1050. local function Switch(button,state)
  1051.  
  1052.     if state then
  1053.  
  1054.         button.Text = "ON"
  1055.  
  1056.     else
  1057.  
  1058.         button.Text = "OFF"
  1059.  
  1060.     end
  1061.  
  1062. end
  1063.  
  1064.  
  1065.  
  1066. ------------------------------------------------
  1067. -- MAIN PAGE
  1068. ------------------------------------------------
  1069.  
  1070. local aimButton =
  1071.     CreateRow(
  1072.         mainPage,
  1073.         "Aim Assist",
  1074.         10
  1075.     )
  1076.  
  1077.  
  1078.  
  1079. local fovButton =
  1080.     CreateRow(
  1081.         mainPage,
  1082.         "Show FOV Circle",
  1083.         70
  1084.     )
  1085.  
  1086.  
  1087.  
  1088. local keyButton =
  1089.     CreateRow(
  1090.         mainPage,
  1091.         "Aim Key",
  1092.         130
  1093.     )
  1094.  
  1095.  
  1096.  
  1097. Switch(
  1098.     aimButton,
  1099.     Settings.Enabled
  1100. )
  1101.  
  1102.  
  1103. Switch(
  1104.     fovButton,
  1105.     Settings.ShowFOV
  1106. )
  1107.  
  1108.  
  1109. keyButton.Text =
  1110.     Settings.Key.Name
  1111.  
  1112.  
  1113.  
  1114. ------------------------------------------------
  1115. -- AIM BUTTON
  1116. ------------------------------------------------
  1117.  
  1118. aimButton.MouseButton1Click:Connect(function()
  1119.  
  1120.     Settings.Enabled =
  1121.         not Settings.Enabled
  1122.  
  1123.  
  1124.     Switch(
  1125.         aimButton,
  1126.         Settings.Enabled
  1127.     )
  1128.  
  1129. end)
  1130.  
  1131.  
  1132.  
  1133. ------------------------------------------------
  1134. -- FOV BUTTON
  1135. ------------------------------------------------
  1136.  
  1137. fovButton.MouseButton1Click:Connect(function()
  1138.  
  1139.     Settings.ShowFOV =
  1140.         not Settings.ShowFOV
  1141.  
  1142.  
  1143.     Switch(
  1144.         fovButton,
  1145.         Settings.ShowFOV
  1146.     )
  1147.  
  1148. end)
  1149.  
  1150.  
  1151.  
  1152. ------------------------------------------------
  1153. -- KEY CHANGE
  1154. ------------------------------------------------
  1155.  
  1156. local waitingKey = false
  1157.  
  1158.  
  1159.  
  1160. keyButton.MouseButton1Click:Connect(function()
  1161.  
  1162.     waitingKey = true
  1163.  
  1164.     keyButton.Text =
  1165.         "PRESS"
  1166.  
  1167. end)
  1168.  
  1169.  
  1170.  
  1171. UIS.InputBegan:Connect(function(input,processed)
  1172.  
  1173.     if processed then
  1174.         return
  1175.     end
  1176.  
  1177.  
  1178.  
  1179.     if waitingKey then
  1180.  
  1181.  
  1182.         if input.KeyCode ~= Enum.KeyCode.Unknown then
  1183.  
  1184.  
  1185.             Settings.Key =
  1186.                 input.KeyCode
  1187.  
  1188.  
  1189.             keyButton.Text =
  1190.                 input.KeyCode.Name
  1191.  
  1192.  
  1193.             waitingKey = false
  1194.  
  1195.  
  1196.         end
  1197.  
  1198.  
  1199.         return
  1200.  
  1201.     end
  1202.  
  1203.  
  1204.  
  1205.     if input.KeyCode ==
  1206.         Settings.Key then
  1207.  
  1208.  
  1209.         Settings.Enabled =
  1210.             not Settings.Enabled
  1211.  
  1212.  
  1213.         Switch(
  1214.             aimButton,
  1215.             Settings.Enabled
  1216.         )
  1217.  
  1218.     end
  1219.  
  1220. end)
  1221.  
  1222.  
  1223.  
  1224. ------------------------------------------------
  1225. -- TEXTBOX CREATOR
  1226. ------------------------------------------------
  1227.  
  1228. local function CreateTextBox(parent,name,value,y)
  1229.  
  1230.  
  1231.     local frame = Instance.new("Frame")
  1232.  
  1233.     frame.Size =
  1234.         UDim2.new(1,0,0,50)
  1235.  
  1236.     frame.Position =
  1237.         UDim2.new(0,0,0,y)
  1238.  
  1239.     frame.BackgroundColor3 =
  1240.         Themes[Settings.Theme].Card
  1241.  
  1242.     frame.Parent =
  1243.         parent
  1244.  
  1245.     Corner(frame)
  1246.  
  1247.  
  1248.  
  1249.     local label = Instance.new("TextLabel")
  1250.  
  1251.     label.Size =
  1252.         UDim2.new(.55,0,1,0)
  1253.  
  1254.     label.Position =
  1255.         UDim2.new(0,20,0,0)
  1256.  
  1257.     label.BackgroundTransparency = 1
  1258.  
  1259.     label.Text =
  1260.         name
  1261.  
  1262.     label.Font =
  1263.         Enum.Font.Gotham
  1264.  
  1265.     label.TextSize = 15
  1266.  
  1267.     label.TextColor3 =
  1268.         Themes[Settings.Theme].Text
  1269.  
  1270.     label.TextXAlignment =
  1271.         Enum.TextXAlignment.Left
  1272.  
  1273.     label.Parent =
  1274.         frame
  1275.  
  1276.  
  1277.  
  1278.     local box = Instance.new("TextBox")
  1279.  
  1280.     box.Size =
  1281.         UDim2.new(0,120,0,35)
  1282.  
  1283.     box.Position =
  1284.         UDim2.new(1,-140,.5,-17)
  1285.  
  1286.     box.BackgroundColor3 =
  1287.         Themes[Settings.Theme].Button
  1288.  
  1289.     box.TextColor3 =
  1290.         Color3.new(1,1,1)
  1291.  
  1292.     box.Text =
  1293.         tostring(value)
  1294.  
  1295.     box.PlaceholderText =
  1296.         "Enter value"
  1297.  
  1298.     box.ClearTextOnFocus = false
  1299.  
  1300.     box.Font =
  1301.         Enum.Font.GothamBold
  1302.  
  1303.     box.TextSize = 14
  1304.  
  1305.     box.Parent =
  1306.         frame
  1307.  
  1308.     Corner(box)
  1309.  
  1310.  
  1311.     return box
  1312.  
  1313. end
  1314.  
  1315.  
  1316.  
  1317. ------------------------------------------------
  1318. -- SETTINGS PAGE TEXTBOXES
  1319. ------------------------------------------------
  1320.  
  1321. local fovBox =
  1322.     CreateTextBox(
  1323.         settingsPage,
  1324.         "FOV Size",
  1325.         Settings.FOV,
  1326.         10
  1327.     )
  1328.  
  1329.  
  1330.  
  1331. fovBox.FocusLost:Connect(function()
  1332.  
  1333.     local value =
  1334.         tonumber(fovBox.Text)
  1335.  
  1336.  
  1337.     if value then
  1338.  
  1339.  
  1340.         Settings.FOV =
  1341.             math.clamp(
  1342.                 value,
  1343.                 50,
  1344.                 1000
  1345.             )
  1346.  
  1347.     else
  1348.  
  1349.  
  1350.         fovBox.Text =
  1351.             tostring(Settings.FOV)
  1352.  
  1353.  
  1354.     end
  1355.  
  1356. end)
  1357.  
  1358.  
  1359.  
  1360. local smoothBox =
  1361.     CreateTextBox(
  1362.         settingsPage,
  1363.         "Smoothness",
  1364.         Settings.Smoothness,
  1365.         70
  1366.     )
  1367.  
  1368.  
  1369.  
  1370. smoothBox.FocusLost:Connect(function()
  1371.  
  1372.     local value =
  1373.         tonumber(smoothBox.Text)
  1374.  
  1375.  
  1376.     if value then
  1377.  
  1378.  
  1379.         Settings.Smoothness =
  1380.             math.clamp(
  1381.                 value,
  1382.                 1,
  1383.                 100
  1384.             )
  1385.  
  1386.     else
  1387.  
  1388.  
  1389.         smoothBox.Text =
  1390.             tostring(Settings.Smoothness)
  1391.  
  1392.  
  1393.     end
  1394.  
  1395. end)
  1396.  
  1397.  
  1398.  
  1399. ------------------------------------------------
  1400. -- WALL CHECK
  1401. ------------------------------------------------
  1402.  
  1403. local wallButton =
  1404.     CreateRow(
  1405.         settingsPage,
  1406.         "Wall Check",
  1407.         140
  1408.     )
  1409.  
  1410.  
  1411.  
  1412. Switch(
  1413.     wallButton,
  1414.     Settings.WallCheck
  1415. )
  1416.  
  1417.  
  1418.  
  1419. wallButton.MouseButton1Click:Connect(function()
  1420.  
  1421.     Settings.WallCheck =
  1422.         not Settings.WallCheck
  1423.  
  1424.  
  1425.     Switch(
  1426.         wallButton,
  1427.         Settings.WallCheck
  1428.     )
  1429.  
  1430. end)
  1431.  
  1432.  
  1433.  
  1434. ------------------------------------------------
  1435. -- TEAM CHECK
  1436. ------------------------------------------------
  1437.  
  1438. local teamButton =
  1439.     CreateRow(
  1440.         settingsPage,
  1441.         "Team Check",
  1442.         200
  1443.     )
  1444.  
  1445.  
  1446.  
  1447. Switch(
  1448.     teamButton,
  1449.     Settings.TeamCheck
  1450. )
  1451.  
  1452.  
  1453.  
  1454. teamButton.MouseButton1Click:Connect(function()
  1455.  
  1456.     Settings.TeamCheck =
  1457.         not Settings.TeamCheck
  1458.  
  1459.  
  1460.     Switch(
  1461.         teamButton,
  1462.         Settings.TeamCheck
  1463.     )
  1464.  
  1465. end)
  1466.  
  1467. ------------------------------------------------
  1468. -- SMOOTHNESS INFO TEXT
  1469. ------------------------------------------------
  1470.  
  1471. local smoothInfo = Instance.new("TextLabel")
  1472.  
  1473. smoothInfo.Size =
  1474.     UDim2.new(1,0,0,25)
  1475.  
  1476. smoothInfo.Position =
  1477.     UDim2.new(0,20,0,125)
  1478.  
  1479. smoothInfo.BackgroundTransparency = 1
  1480.  
  1481. smoothInfo.Text =
  1482.     "1 - Smooth , 10 - Not Smooth"
  1483.  
  1484. smoothInfo.Font =
  1485.     Enum.Font.Gotham
  1486.  
  1487. smoothInfo.TextSize =
  1488.     13
  1489.  
  1490. smoothInfo.TextColor3 =
  1491.     Color3.fromRGB(
  1492.         130,
  1493.         130,
  1494.         140
  1495.     )
  1496.  
  1497. smoothInfo.TextXAlignment =
  1498.     Enum.TextXAlignment.Left
  1499.  
  1500. smoothInfo.Parent =
  1501.     settingsPage
  1502.  
  1503.  
  1504.  
  1505. ------------------------------------------------
  1506. -- FOV CIRCLE
  1507. ------------------------------------------------
  1508.  
  1509. local fovGui = Instance.new("ScreenGui")
  1510.  
  1511. fovGui.Name =
  1512.     "ModernFOV"
  1513.  
  1514. fovGui.ResetOnSpawn = false
  1515.  
  1516. fovGui.IgnoreGuiInset = true
  1517.  
  1518. fovGui.Parent =
  1519.     player.PlayerGui
  1520.  
  1521.  
  1522.  
  1523. local circle = Instance.new("Frame")
  1524.  
  1525. circle.Name =
  1526.     "FOVCircle"
  1527.  
  1528. circle.AnchorPoint =
  1529.     Vector2.new(.5,.5)
  1530.  
  1531. circle.Position =
  1532.     UDim2.new(.5,0,.5,0)
  1533.  
  1534. circle.Size =
  1535.     UDim2.new(
  1536.         0,
  1537.         Settings.FOV,
  1538.         0,
  1539.         Settings.FOV
  1540.     )
  1541.  
  1542. circle.BackgroundTransparency = 1
  1543.  
  1544. circle.Parent =
  1545.     fovGui
  1546.  
  1547.  
  1548.  
  1549. local circleCorner =
  1550.     Instance.new("UICorner")
  1551.  
  1552. circleCorner.CornerRadius =
  1553.     UDim.new(1,0)
  1554.  
  1555. circleCorner.Parent =
  1556.     circle
  1557.  
  1558.  
  1559.  
  1560. local circleStroke =
  1561.     Instance.new("UIStroke")
  1562.  
  1563. circleStroke.Thickness = 3
  1564.  
  1565. circleStroke.Color =
  1566.     Color3.fromRGB(
  1567.         100,
  1568.         130,
  1569.         255
  1570.     )
  1571.  
  1572. circleStroke.Parent =
  1573.     circle
  1574.  
  1575.  
  1576.  
  1577. ------------------------------------------------
  1578. -- WALL CHECK
  1579. ------------------------------------------------
  1580.  
  1581. local function WallCheck(target)
  1582.  
  1583.  
  1584.     if Settings.WallCheck == false then
  1585.  
  1586.         return true
  1587.  
  1588.     end
  1589.  
  1590.  
  1591.  
  1592.     local root =
  1593.         target:FindFirstChild(
  1594.             "HumanoidRootPart"
  1595.         )
  1596.  
  1597.  
  1598.  
  1599.     if not root then
  1600.  
  1601.         return false
  1602.  
  1603.     end
  1604.  
  1605.  
  1606.  
  1607.     local params =
  1608.         RaycastParams.new()
  1609.  
  1610.  
  1611.  
  1612.     params.FilterType =
  1613.         Enum.RaycastFilterType.Exclude
  1614.  
  1615.  
  1616.  
  1617.     params.FilterDescendantsInstances =
  1618.         {
  1619.  
  1620.             player.Character,
  1621.  
  1622.             target
  1623.  
  1624.         }
  1625.  
  1626.  
  1627.  
  1628.     local result =
  1629.         workspace:Raycast(
  1630.  
  1631.             camera.CFrame.Position,
  1632.  
  1633.             root.Position -
  1634.             camera.CFrame.Position,
  1635.  
  1636.             params
  1637.  
  1638.         )
  1639.  
  1640.  
  1641.  
  1642.     return result == nil
  1643.  
  1644.  
  1645. end
  1646.  
  1647.  
  1648.  
  1649. ------------------------------------------------
  1650. -- TEAM CHECK
  1651. ------------------------------------------------
  1652.  
  1653. local function SameTeam(target)
  1654.  
  1655.  
  1656.     if Settings.TeamCheck == false then
  1657.  
  1658.         return false
  1659.  
  1660.     end
  1661.  
  1662.  
  1663.  
  1664.     local targetTeam =
  1665.         target:GetAttribute(
  1666.             "Team"
  1667.         )
  1668.  
  1669.  
  1670.  
  1671.     if targetTeam
  1672.     and player.Team then
  1673.  
  1674.  
  1675.         return targetTeam ==
  1676.             player.Team.Name
  1677.  
  1678.  
  1679.     end
  1680.  
  1681.  
  1682.  
  1683.     return false
  1684.  
  1685.  
  1686. end
  1687.  
  1688.  
  1689.  
  1690. ------------------------------------------------
  1691. -- VALID TARGET
  1692. ------------------------------------------------
  1693.  
  1694. local function ValidTarget(target)
  1695.  
  1696.  
  1697.  
  1698.     if target ==
  1699.         player.Character then
  1700.  
  1701.         return false
  1702.  
  1703.     end
  1704.  
  1705.  
  1706.  
  1707.     local humanoid =
  1708.         target:FindFirstChildOfClass(
  1709.             "Humanoid"
  1710.         )
  1711.  
  1712.  
  1713.  
  1714.     local root =
  1715.         target:FindFirstChild(
  1716.             "HumanoidRootPart"
  1717.         )
  1718.  
  1719.  
  1720.  
  1721.     if not humanoid
  1722.     or not root then
  1723.  
  1724.  
  1725.         return false
  1726.  
  1727.  
  1728.     end
  1729.  
  1730.  
  1731.  
  1732.     if humanoid.Health <= 0 then
  1733.  
  1734.         return false
  1735.  
  1736.     end
  1737.  
  1738.  
  1739.  
  1740.     if SameTeam(target) then
  1741.  
  1742.         return false
  1743.  
  1744.     end
  1745.  
  1746.  
  1747.  
  1748.     if WallCheck(target) == false then
  1749.  
  1750.         return false
  1751.  
  1752.     end
  1753.  
  1754.  
  1755.  
  1756.     return true
  1757.  
  1758.  
  1759. end
  1760.  
  1761.  
  1762.  
  1763. ------------------------------------------------
  1764. -- FIND TARGET
  1765. ------------------------------------------------
  1766.  
  1767. local function FindTarget()
  1768.  
  1769.  
  1770.     local closest = nil
  1771.  
  1772.     local shortest =
  1773.         Settings.FOV
  1774.  
  1775.  
  1776.  
  1777.     for _,obj in ipairs(
  1778.         workspace:GetChildren()
  1779.     ) do
  1780.  
  1781.  
  1782.  
  1783.         if ValidTarget(obj) then
  1784.  
  1785.  
  1786.  
  1787.             local root =
  1788.                 obj:FindFirstChild(
  1789.                     "HumanoidRootPart"
  1790.                 )
  1791.  
  1792.  
  1793.  
  1794.             local pos,visible =
  1795.                 camera:WorldToViewportPoint(
  1796.                     root.Position
  1797.                 )
  1798.  
  1799.  
  1800.  
  1801.             if visible then
  1802.  
  1803.  
  1804.  
  1805.                 local distance =
  1806.                     (
  1807.                         Vector2.new(
  1808.                             pos.X,
  1809.                             pos.Y
  1810.                         )
  1811.                         -
  1812.                         Vector2.new(
  1813.                             camera.ViewportSize.X/2,
  1814.                             camera.ViewportSize.Y/2
  1815.                         )
  1816.                     ).Magnitude
  1817.  
  1818.  
  1819.  
  1820.                 if distance <
  1821.                     shortest then
  1822.  
  1823.  
  1824.                     shortest =
  1825.                         distance
  1826.  
  1827.  
  1828.                     closest =
  1829.                         obj
  1830.  
  1831.  
  1832.                 end
  1833.  
  1834.  
  1835.             end
  1836.  
  1837.  
  1838.         end
  1839.  
  1840.  
  1841.     end
  1842.  
  1843.  
  1844.  
  1845.     return closest
  1846.  
  1847.  
  1848. end
  1849.  
  1850.  
  1851.  
  1852. ------------------------------------------------
  1853. -- AIM LOOP
  1854. ------------------------------------------------
  1855.  
  1856. local target = nil
  1857.  
  1858.  
  1859. RunService.RenderStepped:Connect(function()
  1860.  
  1861.  
  1862.     ------------------------------------------------
  1863.     -- UPDATE FOV
  1864.     ------------------------------------------------
  1865.  
  1866.     circle.Visible =
  1867.         Settings.ShowFOV
  1868.  
  1869.  
  1870.  
  1871.     circle.Size =
  1872.         UDim2.new(
  1873.             0,
  1874.             Settings.FOV,
  1875.             0,
  1876.             Settings.FOV
  1877.         )
  1878.  
  1879.  
  1880.  
  1881.     ------------------------------------------------
  1882.     -- CHECK TARGET
  1883.     ------------------------------------------------
  1884.  
  1885.     if target then
  1886.  
  1887.         if not ValidTarget(target) then
  1888.  
  1889.             target = nil
  1890.  
  1891.         end
  1892.  
  1893.     end
  1894.  
  1895.  
  1896.  
  1897.     ------------------------------------------------
  1898.     -- AIM
  1899.     ------------------------------------------------
  1900.  
  1901.     if Settings.Enabled then
  1902.  
  1903.  
  1904.  
  1905.         if target == nil then
  1906.  
  1907.             target =
  1908.                 FindTarget()
  1909.  
  1910.         end
  1911.  
  1912.  
  1913.  
  1914.         if target then
  1915.  
  1916.  
  1917.  
  1918.             local root =
  1919.                 target:FindFirstChild(
  1920.                     "HumanoidRootPart"
  1921.                 )
  1922.  
  1923.  
  1924.  
  1925.             if root then
  1926.  
  1927.  
  1928.  
  1929.                 local aim =
  1930.                     CFrame.lookAt(
  1931.  
  1932.                         camera.CFrame.Position,
  1933.  
  1934.                         root.Position
  1935.  
  1936.                     )
  1937.  
  1938.  
  1939.  
  1940.                 local smooth =
  1941.                     math.clamp(
  1942.  
  1943.                         Settings.Smoothness / 100,
  1944.  
  1945.                         0.01,
  1946.  
  1947.                         1
  1948.  
  1949.                     )
  1950.  
  1951.  
  1952.  
  1953.                 camera.CFrame =
  1954.                     camera.CFrame:Lerp(
  1955.  
  1956.                         aim,
  1957.  
  1958.                         smooth
  1959.  
  1960.                     )
  1961.  
  1962.  
  1963.             end
  1964.  
  1965.  
  1966.         end
  1967.  
  1968.  
  1969.  
  1970.     else
  1971.  
  1972.  
  1973.         target=nil
  1974.  
  1975.  
  1976.     end
  1977.  
  1978.  
  1979. end)
  1980.  
  1981.  
  1982.  
  1983. ------------------------------------------------
  1984. -- MENU DRAG
  1985. ------------------------------------------------
  1986.  
  1987. local dragging=false
  1988.  
  1989. local dragStart
  1990.  
  1991. local startPosition
  1992.  
  1993.  
  1994.  
  1995. top.InputBegan:Connect(function(input)
  1996.  
  1997.  
  1998.     if input.UserInputType ==
  1999.         Enum.UserInputType.MouseButton1 then
  2000.  
  2001.  
  2002.         dragging=true
  2003.  
  2004.  
  2005.         dragStart =
  2006.             input.Position
  2007.  
  2008.  
  2009.         startPosition =
  2010.             menu.Position
  2011.  
  2012.  
  2013.     end
  2014.  
  2015.  
  2016. end)
  2017.  
  2018.  
  2019.  
  2020. top.InputEnded:Connect(function(input)
  2021.  
  2022.  
  2023.     if input.UserInputType ==
  2024.         Enum.UserInputType.MouseButton1 then
  2025.  
  2026.  
  2027.         dragging=false
  2028.  
  2029.  
  2030.     end
  2031.  
  2032.  
  2033. end)
  2034.  
  2035.  
  2036.  
  2037. UIS.InputChanged:Connect(function(input)
  2038.  
  2039.  
  2040.     if dragging and
  2041.     input.UserInputType ==
  2042.     Enum.UserInputType.MouseMovement then
  2043.  
  2044.  
  2045.  
  2046.         local delta =
  2047.             input.Position -
  2048.             dragStart
  2049.  
  2050.  
  2051.  
  2052.         TweenService:Create(
  2053.  
  2054.             menu,
  2055.  
  2056.             TweenInfo.new(
  2057.  
  2058.                 0.12,
  2059.  
  2060.                 Enum.EasingStyle.Quint
  2061.  
  2062.             ),
  2063.  
  2064.  
  2065.             {
  2066.  
  2067.                 Position =
  2068.                     UDim2.new(
  2069.  
  2070.                         startPosition.X.Scale,
  2071.  
  2072.                         startPosition.X.Offset
  2073.                         +
  2074.                         delta.X,
  2075.  
  2076.  
  2077.                         startPosition.Y.Scale,
  2078.  
  2079.                         startPosition.Y.Offset
  2080.                         +
  2081.                         delta.Y
  2082.  
  2083.                     )
  2084.  
  2085.             }
  2086.  
  2087.  
  2088.         ):Play()
  2089.  
  2090.  
  2091.     end
  2092.  
  2093.  
  2094. end)
  2095.  
  2096.  
  2097.  
  2098. ------------------------------------------------
  2099. -- RIGHT CTRL MENU HIDE
  2100. ------------------------------------------------
  2101.  
  2102. local menuVisible = true
  2103.  
  2104.  
  2105.  
  2106. UIS.InputBegan:Connect(function(input,processed)
  2107.  
  2108.  
  2109.     if processed then
  2110.         return
  2111.     end
  2112.  
  2113.  
  2114.  
  2115.     if input.KeyCode ==
  2116.         Enum.KeyCode.RightControl then
  2117.  
  2118.  
  2119.  
  2120.         menuVisible =
  2121.             not menuVisible
  2122.  
  2123.  
  2124.  
  2125.         if menuVisible then
  2126.  
  2127.  
  2128.             menu.Visible=true
  2129.  
  2130.  
  2131.             TweenService:Create(
  2132.  
  2133.                 scale,
  2134.  
  2135.                 TweenInfo.new(
  2136.  
  2137.                     0.35,
  2138.  
  2139.                     Enum.EasingStyle.Back
  2140.  
  2141.                 ),
  2142.  
  2143.                 {
  2144.  
  2145.                     Scale=1
  2146.  
  2147.                 }
  2148.  
  2149.  
  2150.             ):Play()
  2151.  
  2152.  
  2153.  
  2154.         else
  2155.  
  2156.  
  2157.             TweenService:Create(
  2158.  
  2159.                 scale,
  2160.  
  2161.                 TweenInfo.new(
  2162.  
  2163.                     0.25
  2164.  
  2165.                 ),
  2166.  
  2167.                 {
  2168.  
  2169.                     Scale=.7
  2170.  
  2171.                 }
  2172.  
  2173.  
  2174.             ):Play()
  2175.  
  2176.  
  2177.  
  2178.             task.wait(.25)
  2179.  
  2180.  
  2181.             menu.Visible=false
  2182.  
  2183.  
  2184.         end
  2185.  
  2186.  
  2187.     end
  2188.  
  2189.  
  2190. end)
  2191.  
  2192.  
  2193.  
  2194. ------------------------------------------------
  2195. -- BUTTON HOVER EFFECT
  2196. ------------------------------------------------
  2197.  
  2198. for _,obj in ipairs(
  2199.     gui:GetDescendants()
  2200. ) do
  2201.  
  2202.  
  2203.     if obj:IsA("TextButton") then
  2204.  
  2205.  
  2206.  
  2207.         obj.MouseEnter:Connect(function()
  2208.  
  2209.  
  2210.  
  2211.             TweenService:Create(
  2212.  
  2213.                 obj,
  2214.  
  2215.                 TweenInfo.new(
  2216.  
  2217.                     0.15
  2218.  
  2219.                 ),
  2220.  
  2221.  
  2222.                 {
  2223.  
  2224.                     BackgroundTransparency=.15
  2225.  
  2226.                 }
  2227.  
  2228.  
  2229.             ):Play()
  2230.  
  2231.  
  2232.  
  2233.         end)
  2234.  
  2235.  
  2236.  
  2237.         obj.MouseLeave:Connect(function()
  2238.  
  2239.  
  2240.  
  2241.             TweenService:Create(
  2242.  
  2243.                 obj,
  2244.  
  2245.                 TweenInfo.new(
  2246.  
  2247.                     0.15
  2248.  
  2249.                 ),
  2250.  
  2251.  
  2252.                 {
  2253.  
  2254.                     BackgroundTransparency=0
  2255.  
  2256.                 }
  2257.  
  2258.  
  2259.             ):Play()
  2260.  
  2261.  
  2262.  
  2263.         end)
  2264.  
  2265.  
  2266.     end
  2267.  
  2268.  
  2269. end
  2270.  
  2271.  
  2272.  
  2273. ------------------------------------------------
  2274. -- RESPAWN RESET
  2275. ------------------------------------------------
  2276.  
  2277. player.CharacterAdded:Connect(function()
  2278.  
  2279.     target=nil
  2280.  
  2281. end)
  2282.  
  2283.  
  2284.  
  2285. ------------------------------------------------
  2286. -- LOADED
  2287. ------------------------------------------------
  2288.  
  2289. print("================================")
  2290. print("Modern Aim Trainer Loaded")
  2291. print("Version: 0.1.14")
  2292. print("Credits: pisokuid5")
  2293. print("Aim Key: "..Settings.Key.Name)
  2294. print("================================")
  2295.  
Tags: Roblox
Add Comment
Please, Sign In to add comment