Advertisement
nahnahnahha

OMAX hub

Dec 31st, 2024 (edited)
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.42 KB | None | 0 0
  1. --[[
  2. Made by ilikelimeclips2
  3. original pastebin is: https://pastebin.com/j3uXPPHG
  4. ]]
  5.  
  6. -- Instances: 35 | Scripts: 5 | Modules: 0 | Tags: 0
  7. local G2L = {};
  8.  
  9. -- StarterGui.Button
  10. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  11. G2L["1"]["Name"] = [[Button]];
  12. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  13. G2L["1"]["ResetOnSpawn"] = false;
  14.  
  15.  
  16. -- StarterGui.Button.Home
  17. G2L["2"] = Instance.new("ScreenGui", G2L["1"]);
  18. G2L["2"]["Name"] = [[Home]];
  19. G2L["2"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  20. G2L["2"]["ResetOnSpawn"] = false;
  21.  
  22.  
  23. -- StarterGui.Button.Home.Frame
  24. G2L["3"] = Instance.new("Frame", G2L["2"]);
  25. G2L["3"]["BorderSizePixel"] = 0;
  26. G2L["3"]["BackgroundColor3"] = Color3.fromRGB(76, 94, 255);
  27. G2L["3"]["Size"] = UDim2.new(0, 282, 0, 294);
  28. G2L["3"]["Position"] = UDim2.new(0.35675, 0, 0.27069, 0);
  29. G2L["3"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  30. G2L["3"]["BackgroundTransparency"] = 0.7;
  31.  
  32.  
  33. -- StarterGui.Button.Home.Frame.b
  34. G2L["4"] = Instance.new("TextButton", G2L["3"]);
  35. G2L["4"]["TextWrapped"] = true;
  36. G2L["4"]["BorderSizePixel"] = 0;
  37. G2L["4"]["TextSize"] = 31;
  38. G2L["4"]["TextColor3"] = Color3.fromRGB(178, 178, 178);
  39. G2L["4"]["BackgroundColor3"] = Color3.fromRGB(95, 95, 95);
  40. G2L["4"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  41. G2L["4"]["Size"] = UDim2.new(0, 265, 0, 50);
  42. G2L["4"]["BackgroundTransparency"] = 0.35;
  43. G2L["4"]["Name"] = [[b]];
  44. G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  45. G2L["4"]["Text"] = [[SPEED]];
  46. G2L["4"]["Position"] = UDim2.new(0.02694, 0, 0.72391, 0);
  47.  
  48.  
  49. -- StarterGui.Button.Home.Frame.b.UICorner
  50. G2L["5"] = Instance.new("UICorner", G2L["4"]);
  51.  
  52.  
  53.  
  54. -- StarterGui.Button.Home.Frame.c
  55. G2L["6"] = Instance.new("TextButton", G2L["3"]);
  56. G2L["6"]["TextWrapped"] = true;
  57. G2L["6"]["BorderSizePixel"] = 0;
  58. G2L["6"]["TextSize"] = 31;
  59. G2L["6"]["TextColor3"] = Color3.fromRGB(178, 178, 178);
  60. G2L["6"]["BackgroundColor3"] = Color3.fromRGB(95, 95, 95);
  61. G2L["6"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  62. G2L["6"]["Size"] = UDim2.new(0, 265, 0, 50);
  63. G2L["6"]["BackgroundTransparency"] = 0.35;
  64. G2L["6"]["Name"] = [[c]];
  65. G2L["6"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  66. G2L["6"]["Text"] = [[FLY]];
  67. G2L["6"]["Position"] = UDim2.new(0.02694, 0, 0.53166, 0);
  68.  
  69.  
  70. -- StarterGui.Button.Home.Frame.c.UICorner
  71. G2L["7"] = Instance.new("UICorner", G2L["6"]);
  72.  
  73.  
  74.  
  75. -- StarterGui.Button.Home.Frame.d
  76. G2L["8"] = Instance.new("TextButton", G2L["3"]);
  77. G2L["8"]["TextWrapped"] = true;
  78. G2L["8"]["BorderSizePixel"] = 0;
  79. G2L["8"]["TextSize"] = 31;
  80. G2L["8"]["TextColor3"] = Color3.fromRGB(178, 178, 178);
  81. G2L["8"]["BackgroundColor3"] = Color3.fromRGB(95, 95, 95);
  82. G2L["8"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  83. G2L["8"]["Size"] = UDim2.new(0, 265, 0, 50);
  84. G2L["8"]["BackgroundTransparency"] = 0.35;
  85. G2L["8"]["Name"] = [[d]];
  86. G2L["8"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  87. G2L["8"]["Text"] = [[GOD + INFJUMP]];
  88. G2L["8"]["Position"] = UDim2.new(0.02694, 0, 0.3406, 0);
  89.  
  90.  
  91. -- StarterGui.Button.Home.Frame.d.UICorner
  92. G2L["9"] = Instance.new("UICorner", G2L["8"]);
  93.  
  94.  
  95.  
  96. -- StarterGui.Button.Home.Frame.TextLabel
  97. G2L["a"] = Instance.new("TextLabel", G2L["3"]);
  98. G2L["a"]["TextWrapped"] = true;
  99. G2L["a"]["BorderSizePixel"] = 0;
  100. G2L["a"]["TextScaled"] = true;
  101. G2L["a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  102. G2L["a"]["TextSize"] = 30;
  103. G2L["a"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  104. G2L["a"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
  105. G2L["a"]["BackgroundTransparency"] = 1;
  106. G2L["a"]["Size"] = UDim2.new(0, 291, 0, 32);
  107. G2L["a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  108. G2L["a"]["Text"] = [[OMAX HUB]];
  109.  
  110.  
  111. -- StarterGui.Button.Home.Frame.a
  112. G2L["b"] = Instance.new("TextButton", G2L["3"]);
  113. G2L["b"]["TextWrapped"] = true;
  114. G2L["b"]["BorderSizePixel"] = 0;
  115. G2L["b"]["TextSize"] = 31;
  116. G2L["b"]["TextColor3"] = Color3.fromRGB(178, 178, 178);
  117. G2L["b"]["BackgroundColor3"] = Color3.fromRGB(95, 95, 95);
  118. G2L["b"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  119. G2L["b"]["Size"] = UDim2.new(0, 265, 0, 50);
  120. G2L["b"]["BackgroundTransparency"] = 0.35;
  121. G2L["b"]["Name"] = [[a]];
  122. G2L["b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  123. G2L["b"]["Text"] = [[AIMBOT]];
  124. G2L["b"]["Position"] = UDim2.new(0.02694, 0, 0.14879, 0);
  125.  
  126.  
  127. -- StarterGui.Button.Home.Frame.a.UICorner
  128. G2L["c"] = Instance.new("UICorner", G2L["b"]);
  129.  
  130.  
  131.  
  132. -- StarterGui.Button.Home.Frame.UICorner
  133. G2L["d"] = Instance.new("UICorner", G2L["3"]);
  134. G2L["d"]["CornerRadius"] = UDim.new(0, 14);
  135.  
  136.  
  137. -- StarterGui.Button.Home.Frame.TextLabel
  138. G2L["e"] = Instance.new("TextLabel", G2L["3"]);
  139. G2L["e"]["BorderSizePixel"] = 0;
  140. G2L["e"]["TextTransparency"] = 0.47;
  141. G2L["e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 68);
  142. G2L["e"]["TextSize"] = 14;
  143. G2L["e"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  144. G2L["e"]["TextColor3"] = Color3.fromRGB(253, 255, 54);
  145. G2L["e"]["BackgroundTransparency"] = 1;
  146. G2L["e"]["Size"] = UDim2.new(0, 200, 0, 24);
  147. G2L["e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  148. G2L["e"]["Text"] = [[Made only by ilikelimeclips2]];
  149. G2L["e"]["Position"] = UDim2.new(0.14184, 0, 0.91837, 0);
  150.  
  151.  
  152. -- StarterGui.Button.Home.Frame.TextLabel.UIStroke
  153. G2L["f"] = Instance.new("UIStroke", G2L["e"]);
  154. G2L["f"]["Transparency"] = 0.55;
  155.  
  156.  
  157. -- StarterGui.Button.Home.Frame.UIDrag
  158. G2L["10"] = Instance.new("LocalScript", G2L["3"]);
  159. G2L["10"]["Name"] = [[UIDrag]];
  160.  
  161.  
  162. -- StarterGui.Button.Button
  163. G2L["11"] = Instance.new("TextButton", G2L["1"]);
  164. G2L["11"]["TextWrapped"] = true;
  165. G2L["11"]["BorderSizePixel"] = 0;
  166. G2L["11"]["TextSize"] = 14;
  167. G2L["11"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
  168. G2L["11"]["BackgroundColor3"] = Color3.fromRGB(90, 120, 255);
  169. G2L["11"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  170. G2L["11"]["Size"] = UDim2.new(0, 72, 0, 72);
  171. G2L["11"]["BackgroundTransparency"] = 0.8;
  172. G2L["11"]["Name"] = [[Button]];
  173. G2L["11"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  174. G2L["11"]["Text"] = [[]];
  175. G2L["11"]["Position"] = UDim2.new(0, 0, 0.88725, 0);
  176.  
  177.  
  178. -- StarterGui.Button.Button.TextLabel
  179. G2L["12"] = Instance.new("TextLabel", G2L["11"]);
  180. G2L["12"]["TextWrapped"] = true;
  181. G2L["12"]["BorderSizePixel"] = 0;
  182. G2L["12"]["TextTransparency"] = 0.58;
  183. G2L["12"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  184. G2L["12"]["TextSize"] = 100;
  185. G2L["12"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  186. G2L["12"]["TextColor3"] = Color3.fromRGB(69, 72, 126);
  187. G2L["12"]["BackgroundTransparency"] = 1;
  188. G2L["12"]["Size"] = UDim2.new(0, 72, 0, 72);
  189. G2L["12"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  190. G2L["12"]["Text"] = [[O]];
  191.  
  192.  
  193. -- StarterGui.Button.Button.UICorner
  194. G2L["13"] = Instance.new("UICorner", G2L["11"]);
  195.  
  196.  
  197.  
  198. -- StarterGui.Button.LocalScript
  199. G2L["14"] = Instance.new("LocalScript", G2L["1"]);
  200.  
  201.  
  202.  
  203. -- StarterGui.Button.SUBING
  204. G2L["15"] = Instance.new("TextLabel", G2L["1"]);
  205. G2L["15"]["BorderSizePixel"] = 0;
  206. G2L["15"]["TextTransparency"] = 0.39;
  207. G2L["15"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  208. G2L["15"]["TextSize"] = 24;
  209. G2L["15"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  210. G2L["15"]["TextColor3"] = Color3.fromRGB(255, 0, 5);
  211. G2L["15"]["BackgroundTransparency"] = 1;
  212. G2L["15"]["Size"] = UDim2.new(0, 200, 0, 50);
  213. G2L["15"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  214. G2L["15"]["Text"] = [[SUB @omaganameMag-7-K on youtube!]];
  215. G2L["15"]["Name"] = [[SUBING]];
  216. G2L["15"]["Position"] = UDim2.new(0.39734, 0, 0.14655, 0);
  217.  
  218.  
  219. -- StarterGui.Button.SUBING.LocalScript
  220. G2L["16"] = Instance.new("LocalScript", G2L["15"]);
  221.  
  222.  
  223.  
  224. -- StarterGui.Button.Aimbot
  225. G2L["17"] = Instance.new("ScreenGui", G2L["1"]);
  226. G2L["17"]["Enabled"] = false;
  227. G2L["17"]["Name"] = [[Aimbot]];
  228. G2L["17"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  229. G2L["17"]["ResetOnSpawn"] = false;
  230.  
  231.  
  232. -- StarterGui.Button.Aimbot.Frame
  233. G2L["18"] = Instance.new("Frame", G2L["17"]);
  234. G2L["18"]["BorderSizePixel"] = 0;
  235. G2L["18"]["BackgroundColor3"] = Color3.fromRGB(73, 67, 255);
  236. G2L["18"]["Size"] = UDim2.new(0, 246, 0, 140);
  237. G2L["18"]["Position"] = UDim2.new(0.7048, 0, 0.32586, 0);
  238. G2L["18"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  239. G2L["18"]["LayoutOrder"] = 1;
  240. G2L["18"]["BackgroundTransparency"] = 0.4;
  241.  
  242.  
  243. -- StarterGui.Button.Aimbot.Frame.UICorner
  244. G2L["19"] = Instance.new("UICorner", G2L["18"]);
  245.  
  246.  
  247.  
  248. -- StarterGui.Button.Aimbot.Frame.UIStroke
  249. G2L["1a"] = Instance.new("UIStroke", G2L["18"]);
  250.  
  251.  
  252.  
  253. -- StarterGui.Button.Aimbot.Frame.TextLabel
  254. G2L["1b"] = Instance.new("TextLabel", G2L["18"]);
  255. G2L["1b"]["TextWrapped"] = true;
  256. G2L["1b"]["BorderSizePixel"] = 0;
  257. G2L["1b"]["TextTransparency"] = 0.15;
  258. G2L["1b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  259. G2L["1b"]["TextSize"] = 32;
  260. G2L["1b"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  261. G2L["1b"]["TextColor3"] = Color3.fromRGB(228, 228, 228);
  262. G2L["1b"]["BackgroundTransparency"] = 1;
  263. G2L["1b"]["Size"] = UDim2.new(0, 246, 0, 25);
  264. G2L["1b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  265. G2L["1b"]["Text"] = [[FART AIMBOT]];
  266.  
  267.  
  268. -- StarterGui.Button.Aimbot.Frame.TextLabel.UIStroke
  269. G2L["1c"] = Instance.new("UIStroke", G2L["1b"]);
  270. G2L["1c"]["Transparency"] = 0.54;
  271.  
  272.  
  273. -- StarterGui.Button.Aimbot.Frame.TextButton
  274. G2L["1d"] = Instance.new("TextButton", G2L["18"]);
  275. G2L["1d"]["BorderSizePixel"] = 0;
  276. G2L["1d"]["TextSize"] = 26;
  277. G2L["1d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  278. G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(27, 9, 131);
  279. G2L["1d"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  280. G2L["1d"]["Size"] = UDim2.new(0, 200, 0, 50);
  281. G2L["1d"]["BackgroundTransparency"] = 0.45;
  282. G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  283. G2L["1d"]["Text"] = [[AIMBOT :]];
  284. G2L["1d"]["Position"] = UDim2.new(0.0935, 0, 0.32143, 0);
  285.  
  286.  
  287. -- StarterGui.Button.Aimbot.Frame.TextButton.UICorner
  288. G2L["1e"] = Instance.new("UICorner", G2L["1d"]);
  289.  
  290.  
  291.  
  292. -- StarterGui.Button.Aimbot.Frame.TextButton.UIStroke
  293. G2L["1f"] = Instance.new("UIStroke", G2L["1d"]);
  294.  
  295.  
  296.  
  297. -- StarterGui.Button.Aimbot.Frame.TextLabel
  298. G2L["20"] = Instance.new("TextLabel", G2L["18"]);
  299. G2L["20"]["TextWrapped"] = true;
  300. G2L["20"]["BorderSizePixel"] = 0;
  301. G2L["20"]["TextTransparency"] = 0.15;
  302. G2L["20"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  303. G2L["20"]["TextSize"] = 12;
  304. G2L["20"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  305. G2L["20"]["TextColor3"] = Color3.fromRGB(228, 228, 228);
  306. G2L["20"]["BackgroundTransparency"] = 1;
  307. G2L["20"]["Size"] = UDim2.new(0, 246, 0, 15);
  308. G2L["20"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  309. G2L["20"]["Text"] = [[Made only by ilikelimeclips2]];
  310. G2L["20"]["Position"] = UDim2.new(0, 0, 0.89286, 0);
  311.  
  312.  
  313. -- StarterGui.Button.Aimbot.Frame.TextLabel.UIStroke
  314. G2L["21"] = Instance.new("UIStroke", G2L["20"]);
  315. G2L["21"]["Transparency"] = 0.54;
  316.  
  317.  
  318. -- StarterGui.Button.Aimbot.Frame.LocalScript
  319. G2L["22"] = Instance.new("LocalScript", G2L["18"]);
  320.  
  321.  
  322.  
  323. -- StarterGui.Button.Aimbot.Frame.SmoothDrag
  324. G2L["23"] = Instance.new("LocalScript", G2L["18"]);
  325. G2L["23"]["Name"] = [[SmoothDrag]];
  326.  
  327.  
  328. -- StarterGui.Button.Home.Frame.UIDrag
  329. local function C_10()
  330. local script = G2L["10"];
  331. local UIS = game:GetService('UserInputService')
  332. local frame = script.Parent
  333. local dragToggle = nil
  334. local dragSpeed = 0.25
  335. local dragStart = nil
  336. local startPos = nil
  337.  
  338. local function updateInput(input)
  339. local delta = input.Position - dragStart
  340. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  341. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  342. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  343. end
  344.  
  345. frame.InputBegan:Connect(function(input)
  346. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  347. dragToggle = true
  348. dragStart = input.Position
  349. startPos = frame.Position
  350. input.Changed:Connect(function()
  351. if input.UserInputState == Enum.UserInputState.End then
  352. dragToggle = false
  353. end
  354. end)
  355. end
  356. end)
  357.  
  358. UIS.InputChanged:Connect(function(input)
  359. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  360. if dragToggle then
  361. updateInput(input)
  362. end
  363. end
  364. end)
  365. end;
  366. task.spawn(C_10);
  367. -- StarterGui.Button.LocalScript
  368. local function C_14()
  369. local script = G2L["14"];
  370. local gui = script.Parent
  371. local buton = gui.Button
  372. local figui = gui.Home
  373. local Mainframe = figui.Frame
  374. local AntiFart = Mainframe.a
  375. local speed = Mainframe.b
  376. local fly = Mainframe.c
  377. local infjump = Mainframe.d
  378. local aim = script.Parent.Aimbot
  379.  
  380. AntiFart.MouseButton1Click:Connect(function()
  381.  
  382. if aim.Enabled then
  383. aim.Enabled = false
  384. else
  385. aim.Enabled = true
  386. end
  387.  
  388. end)
  389.  
  390. fly.MouseButton1Click:Connect(function()
  391. loadstring("\108\111\97\100\115\116\114\105\110\103\40\103\97\109\101\58\72\116\116\112\71\101\116\40\40\39\104\116\116\112\115\58\47\47\103\105\115\116\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\109\101\111\122\111\110\101\89\84\47\98\102\48\51\55\100\102\102\57\102\48\97\55\48\48\49\55\51\48\52\100\100\100\54\55\102\100\99\100\51\55\48\47\114\97\119\47\101\49\52\101\55\52\102\52\50\53\98\48\54\48\100\102\53\50\51\51\52\51\99\102\51\48\98\55\56\55\48\55\52\101\98\51\99\53\100\50\47\97\114\99\101\117\115\37\50\53\50\48\120\37\50\53\50\48\102\108\121\37\50\53\50\48\50\37\50\53\50\48\111\98\102\108\117\99\97\116\111\114\39\41\44\116\114\117\101\41\41\40\41\10\10")()
  392. end)
  393.  
  394. speed.MouseButton1Click:Connect(function()
  395. local player = game.Players.LocalPlayer
  396. local character = player.Character or player.CharacterAdded:Wait()
  397. local humanoid = character:WaitForChild("Humanoid")
  398.  
  399. while true do
  400. wait(0.1)
  401. humanoid.WalkSpeed = 80
  402. end
  403. end)
  404.  
  405. infjump.MouseButton1Click:Connect(function()
  406.  
  407. local InfiniteJumpEnabled = true
  408. game:GetService("UserInputService").JumpRequest:connect(function()
  409. if InfiniteJumpEnabled then
  410. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  411. end
  412. end)
  413. local poopPartCollider = workspace:FindFirstChild("PoopPartCollider")
  414. local poopPart = workspace:FindFirstChild("PoopPart")
  415. if poopPartCollider then
  416. poopPartCollider:Destroy()
  417. end
  418. if poopPart then
  419. poopPart:Destroy()
  420. end
  421. end)
  422. local function toggleContent()
  423. if figui.Enabled then
  424. figui.Enabled = false
  425. else
  426. figui.Enabled = true
  427. end
  428. end
  429.  
  430. buton.MouseButton1Click:Connect(toggleContent)
  431.  
  432. game.StarterGui:SetCore("SendNotification",{
  433.  
  434. Title = "LOADED!";
  435. Text = "@omaganameMag-7-K on youtube go sub!";
  436. Icon = "";
  437. Duration = 5
  438.  
  439. })
  440.  
  441. warn("{-----------------------------------------}")
  442. warn("{ }")
  443. warn("{ Made by ilikelimeclips2 }")
  444. warn("{ }")
  445. warn("{-----------------------------------------}")
  446. end;
  447. task.spawn(C_14);
  448. -- StarterGui.Button.SUBING.LocalScript
  449. local function C_16()
  450. local script = G2L["16"];
  451. local textLabel = script.Parent
  452.  
  453. local function fadeOut()
  454. for i = 0, 1, 0.05 do
  455. textLabel.TextTransparency = i
  456. textLabel.BackgroundTransparency = 1
  457. wait(0.2)
  458. end
  459. textLabel.Visible = false
  460. end
  461.  
  462. fadeOut()
  463.  
  464. end;
  465. task.spawn(C_16);
  466. -- StarterGui.Button.Aimbot.Frame.LocalScript
  467. local function C_22()
  468. local script = G2L["22"];
  469. local Players = game:GetService("Players")
  470. local LocalPlayer = Players.LocalPlayer
  471. local Camera = workspace.CurrentCamera
  472. local RunService = game:GetService("RunService")
  473. local UserInputService = game:GetService("UserInputService")
  474.  
  475. local toggleButton = script.Parent.TextButton
  476.  
  477. local scriptActive = false
  478.  
  479. local function getClosestPlayer()
  480. local closestPlayer = nil
  481. local closestDistance = math.huge
  482.  
  483. for _, player in ipairs(Players:GetPlayers()) do
  484. if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("Head") then
  485. local distance = (player.Character.Head.Position - LocalPlayer.Character.HumanoidRootPart.Position).magnitude
  486. if distance < closestDistance then
  487. closestDistance = distance
  488. closestPlayer = player
  489. end
  490. end
  491. end
  492.  
  493. return closestPlayer
  494. end
  495.  
  496. local function canSeePlayer(player)
  497. local headPosition = player.Character.Head.Position
  498. local rootPosition = LocalPlayer.Character.HumanoidRootPart.Position
  499. local direction = (headPosition - rootPosition).unit
  500. local ray = Ray.new(rootPosition, direction * (headPosition - rootPosition).magnitude)
  501.  
  502. local hitPart, _ = workspace:FindPartOnRay(ray, LocalPlayer.Character)
  503. return hitPart == nil or hitPart:IsDescendantOf(player.Character)
  504. end
  505.  
  506. local function toggleScript()
  507. scriptActive = not scriptActive
  508. if scriptActive then
  509. toggleButton.Text = "AIMBOT: ON"
  510. else
  511. toggleButton.Text = "AIMBOT: OFF"
  512. end
  513. end
  514.  
  515. toggleButton.MouseButton1Click:Connect(toggleScript)
  516.  
  517. RunService.RenderStepped:Connect(function()
  518. if scriptActive then
  519. local closestPlayer = getClosestPlayer()
  520. if closestPlayer and canSeePlayer(closestPlayer) then
  521. Camera.CFrame = CFrame.new(Camera.CFrame.Position, closestPlayer.Character.Head.Position)
  522. end
  523. end
  524. end)
  525.  
  526. end;
  527. task.spawn(C_22);
  528. -- StarterGui.Button.Aimbot.Frame.SmoothDrag
  529. local function C_23()
  530. local script = G2L["23"];
  531.  
  532. local Drag = script.Parent
  533. gsCoreGui = game:GetService("CoreGui")
  534. gsTween = game:GetService("TweenService")
  535. local UserInputService = game:GetService("UserInputService")
  536. local dragging
  537. local dragInput
  538. local dragStart
  539. local startPos
  540. local function update(input)
  541. local delta = input.Position - dragStart
  542. local dragTime = 0.04
  543. local SmoothDrag = {}
  544. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  545. local dragSmoothFunction = gsTween:Create(Drag, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  546. dragSmoothFunction:Play()
  547. end
  548. Drag.InputBegan:Connect(function(input)
  549. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  550. dragging = true
  551. dragStart = input.Position
  552. startPos = Drag.Position
  553. input.Changed:Connect(function()
  554. if input.UserInputState == Enum.UserInputState.End then
  555. dragging = false
  556. end
  557. end)
  558. end
  559. end)
  560. Drag.InputChanged:Connect(function(input)
  561. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  562. dragInput = input
  563. end
  564. end)
  565. UserInputService.InputChanged:Connect(function(input)
  566. if input == dragInput and dragging and Drag.Size then
  567. update(input)
  568. end
  569. end)
  570.  
  571. end;
  572. task.spawn(C_23);
  573.  
  574. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement