Advertisement
Guest User

Untitled

a guest
Aug 5th, 2018
1,718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.86 KB | None | 0 0
  1. GabX:
  2.  
  3. --// GabX, the script hub that has all you need! \\--
  4. -- Made by Darion#8863
  5.  
  6. local tabs = {
  7. {
  8. name = "Scripts",
  9. comingsoon = false,
  10. scripts = {
  11. {
  12. "R2S (EnvEdit)",
  13. "https://pastebin.com/raw/ZAHTikfe"
  14. },
  15. {
  16. "Old R2S",
  17. "https://pastebin.com/raw/jXh45kfE"
  18. },
  19. {
  20. "Grab Knife V4",
  21. "https://pastebin.com/raw/7zK1Swpt"
  22. },
  23. {
  24. "Grab Knife V3",
  25. "https://pastebin.com/raw/TPZXG8fH"
  26. },
  27. {
  28. "R6 Fly(E)",
  29. "https://pastebin.com/raw/hTJsM2jV"
  30. },
  31. {
  32. "Speed",
  33. "https://pastebin.com/raw/mrdWh73D"
  34. },
  35. {
  36. "JumpPower",
  37. "https://pastebin.com/raw/sA5xym2V"
  38. },
  39. {
  40. "Loopheal",
  41. "https://pastebin.com/raw/vD9zjBQx"
  42. },
  43. {
  44. "Chat Logs",
  45. "https://pastebin.com/raw/mtGM0Dkh"
  46. },
  47. {
  48. "Audio Stealer",
  49. "https://pastebin.com/raw/ABRqgZ3L"
  50. },
  51. {
  52. "FE Check (F9)",
  53. "https://pastebin.com/raw/SRibuFiK"
  54. },
  55. {
  56. "No clip (F)",
  57. "https://pastebin.com/raw/bnqAE95f"
  58. },
  59. {
  60. "Bomb Vest",
  61. "https://pastebin.com/raw/S7vdifqp"
  62. },
  63. {
  64. "Robux Troll",
  65. "https://pastebin.com/raw/BHjfPXC6"
  66. }
  67. }
  68. },
  69. {
  70. name = "FeScripts",
  71. comingsoon = false,
  72. scripts = {
  73. {
  74. "FE God",
  75. "https://pastebin.com/raw/p814kXmM"
  76. },
  77. {
  78. "Kill/Fling",
  79. "https://pastebin.com/raw/Pb3PR6EL"
  80. },
  81. {
  82. "Shutdown",
  83. "https://pastebin.com/raw/RELufQFM"
  84. },
  85. {
  86. "Hat Spin",
  87. "https://pastebin.com/raw/Y8iEYKZD"
  88. },
  89. {
  90. "Suicide Gun",
  91. "https://pastebin.com/raw/SeRxrgci"
  92. },
  93. {
  94. "Click TP Tool",
  95. "https://pastebin.com/raw/Z8ytxYY7"
  96. },
  97. {
  98. "OOF Spam",
  99. "https://pastebin.com/raw/JaMbzp0B"
  100. },
  101. {
  102. "Respawn",
  103. "https://pastebin.com/raw/61WmHqNp"
  104. }
  105. }
  106. },
  107. {
  108. name = "GUIs",
  109. comingsoon = false,
  110. scripts = {
  111. {
  112. "Topk3k V4",
  113. "https://pastebin.com/raw/bEmmF8UH"
  114. },
  115. {
  116. "Arosia",
  117. "https://pastebin.com/raw/Nwit6ZqP"
  118. },
  119. {
  120. "Equinox",
  121. "https://pastebin.com/raw/scYFbHQb"
  122. },
  123. {
  124. "Ani's(R15)",
  125. "https://pastebin.com/raw/MenK10Ak"
  126. },
  127. {
  128. "Ani's(R6)",
  129. "https://pastebin.com/raw/Ydt76Kep"
  130. },
  131. {
  132. "Rose Hub",
  133. "https://pastebin.com/raw/1BJj0fB4"
  134. },
  135. {
  136. "OPFinality",
  137. "https://pastebin.com/raw/fG5b1zrM"
  138. },
  139. {
  140. "Old OPHub",
  141. "https://pastebin.com/raw/FxhQbqsp"
  142. },
  143. {
  144. "HyperTotal",
  145. "https://pastebin.com/raw/aYdepQa0"
  146. },
  147. {
  148. "Clown Van",
  149. "https://pastebin.com/raw/0uJXBEmN"
  150. },
  151. {
  152. "Sern Hub",
  153. "https://pastebin.com/raw/8sD7V8xp"
  154. },
  155. {
  156. "Cooler Kids V2",
  157. "https://pastebin.com/raw/GGQeWXSL"
  158. },
  159. {
  160. "Ping/FPS",
  161. "https://pastebin.com/raw/Qh8eeWF7"
  162. },
  163. {
  164. "Spectate",
  165. "https://pastebin.com/raw/WgpJfMGS"
  166. },
  167. {
  168. "Ro-xploit",
  169. "https://pastebin.com/raw/ZkhCcaa5"
  170. },
  171. {
  172. "TP GUI",
  173. "https://pastebin.com/raw/EBhdqeWb"
  174. },
  175. {
  176. "Vashta Hub V2",
  177. "https://pastebin.com/raw/8nJ5k9a2"
  178. },
  179. {
  180. "GlitchMax",
  181. "https://pastebin.com/raw/Qkq6d10P"
  182. },
  183. {
  184. "Grape FE GUI",
  185. "https://pastebin.com/raw/9jsY9JmB"
  186. },
  187. {
  188. "Fire Hub",
  189. "https://pastebin.com/raw/yj9Nf60P"
  190. },
  191. {
  192. "Simple GUI",
  193. "https://pastebin.com/raw/ZRjcADeN"
  194. },
  195. {
  196. "ESP, Aimbot, etc.",
  197. "https://pastebin.com/raw/uw2P2fbY"
  198. }
  199. }
  200. },
  201. {
  202. name = "Commands",
  203. comingsoon = false,
  204. scripts = {
  205. {
  206. "BTools",
  207. "https://pastebin.com/raw/752Gzv1G"
  208. },
  209. {
  210. "Ghost",
  211. "https://pastebin.com/raw/aiYL4LKV"
  212. },
  213. {
  214. "Big pp",
  215. "https://pastebin.com/raw/xAcpS2Ze"
  216. },
  217. {
  218. "Inf Jump",
  219. "https://pastebin.com/raw/Dz61QSir"
  220. }
  221. }
  222. },
  223. {
  224. name = "Stat Change",
  225. comingsoon = false,
  226. scripts = {
  227. {
  228. "Clone Tycoon 2",
  229. "https://pastebin.com/raw/ga02bJq5"
  230. },
  231. {
  232. "Naruto Final Bond LVL",
  233. "https://pastebin.com/raw/j5gYsnxM"
  234. },
  235. {
  236. "Shinobi Life",
  237. "https://pastebin.com/raw/rpWG7xBj"
  238. },
  239. {
  240. "Rocitizens",
  241. "https://pastebin.com/raw/P3WAujA9"
  242. },
  243. {
  244. "Naruto New Gen",
  245. "https://pastebin.com/raw/34Fdq480"
  246. },
  247. {
  248. "False DBFP",
  249. "https://pastebin.com/raw/tTCcVDAf"
  250. },
  251. {
  252. "Jaws",
  253. "https://pastebin.com/raw/RkNJ3jn2"
  254. },
  255. {
  256. "Giant Survival 2",
  257. "https://pastebin.com/raw/sbme5pNF"
  258. },
  259. {
  260. "One Piece Unleashed 2",
  261. "https://pastebin.com/raw/QAgtrGdX"
  262. },
  263. {
  264. "Tuber Simulator",
  265. "https://pastebin.com/raw/zy1dFtrc"
  266. },
  267. {
  268. "Yard Work Simulator",
  269. "https://pastebin.com/raw/udKYdRpW"
  270. },
  271. {
  272. "Dragon Ball Super 2",
  273. "https://pastebin.com/raw/U5i77x2T"
  274. },
  275. {
  276. "Avatar: Legend of Kora",
  277. "https://pastebin.com/raw/ggcfAQcH"
  278. },
  279. {
  280. "Notoriety ONLY 1st & 2ND Map",
  281. "https://pastebin.com/raw/ApvSP5fs"
  282. },
  283. {
  284. "Weight Lifting Sim 2",
  285. "https://pastebin.com/raw/iTwQuRUE"
  286. },
  287. {
  288. "NRPG Unlock All Sub Jutsu",
  289. "https://pastebin.com/raw/iXf2Mz7r"
  290. },
  291. {
  292. "Gods of Elements LVL",
  293. "https://pastebin.com/raw/jcJMfgyb"
  294. },
  295. {
  296. "Parkour (use alt)",
  297. "https://pastebin.com/raw/yJAu4wAX"
  298. }
  299. }
  300. },
  301. {
  302. name = "Games",
  303. comingsoon = false,
  304. scripts = {
  305. {
  306. "NRPG Beyond Fast Shoot",
  307. "https://pastebin.com/raw/zXCvQxRF"
  308. },
  309. {
  310. "NPRG Beyond Admin",
  311. "https://pastebin.com/raw/RpE26cQf"
  312. },
  313. {
  314. "The Streets",
  315. "https://pastebin.com/raw/xZyABVJ1"
  316. },
  317. {
  318. "Jailbreak AFK",
  319. "https://pastebin.com/raw/10q0BLX0"
  320. },
  321. {
  322. "Jailbreak GUI",
  323. "https://pastebin.com/raw/CQFw06tN"
  324. },
  325. {
  326. "The Streets",
  327. "https://pastebin.com/raw/xZyABVJ1"
  328. },
  329. {
  330. "Lumber Tycoon",
  331. "https://pastebin.com/raw/33kYAahS"
  332. },
  333. {
  334. "Phantom Forces",
  335. "https://pastebin.com/raw/LgQEjvxS"
  336. },
  337. {
  338. "Hilton Hotels",
  339. "https://pastebin.com/raw/QfHywxaZ"
  340. },
  341. {
  342. "Work At A Pizza Place",
  343. "https://pastebin.com/raw/KyfBZCKL"
  344. },
  345. {
  346. "Prison Royale",
  347. "https://pastebin.com/raw/0W4QBB5C"
  348. },
  349. {
  350. "Greenwood Town",
  351. "https://pastebin.com/raw/96JTe9Gd"
  352. },
  353. {
  354.  
  355. "Naruto Final Bond",
  356. "https://pastebin.com/raw/ujKgVWBn"
  357. },
  358. {
  359. "Project Pokemon",
  360. "https://pastebin.com/raw/jDTLJf9Z"
  361. },
  362. {
  363. "Scuba Diving",
  364. "https://pastebin.com/raw/NwSeijRv"
  365. },
  366. {
  367. "CB:RO",
  368. "https://pastebin.com/raw/7dqrEfJP"
  369. },
  370. {
  371. "AEnigma",
  372. "https://pastebin.com/raw/1jhMUEyk/"
  373. },
  374. {
  375. "Prison Life",
  376. "https://pastebin.com/raw/GXjYjedA"
  377. },
  378. {
  379. "Booga Booga",
  380. "https://pastebin.com/raw/R4iybVvy"
  381. },
  382. {
  383. "Booga Booga 2",
  384. "https://pastebin.com/raw/1WQDVNfu"
  385. },
  386. {
  387. "Lumber Simulator 2",
  388. "https://pastebin.com/raw/UdhWAjRc"
  389. },
  390. {
  391. "Auto rap battles (OP)",
  392. "https://pastebin.com/raw/1dQReH2F"
  393. },
  394. {
  395. "BloxTube",
  396. "https://pastebin.com/raw/sDn6bMCC"
  397. },
  398. {
  399. "Blox no Hero Academia",
  400. "https://pastebin.com/raw/Crywz9qf"
  401. },
  402. {
  403. "Knife Simulator",
  404. "https://pastebin.com/raw/zv2hu92Z"
  405. },
  406. {
  407. "Redwood Prison",
  408. "https://pastebin.com/raw/KZrMMU7p"
  409. },
  410. {
  411. "Phantom Forces ESP (use alt)",
  412. "https://pastebin.com/raw/fnbu8dkh"
  413. },
  414. {
  415. "Parkour",
  416. "https://pastebin.com/raw/AJZx4yuu"
  417. },
  418. {
  419. "Apocalypse Rising Items",
  420. "https://pastebin.com/raw/hvYLpsLy"
  421. },
  422. {
  423. "Apocalypse Rising GUI",
  424. "https://pastebin.com/raw/wkxrrc0i"
  425. }
  426. }
  427. },
  428. {
  429. name = "Admins",
  430. comingsoon = false,
  431. scripts = {
  432. {
  433. "Infinite Yield",
  434. "https://pastebin.com/raw/MjBzRjmT"
  435. },
  436. {
  437. "Rocky's",
  438. "https://pastebin.com/raw/3V4s9UPx"
  439. },
  440. {
  441. "Dex Explorer",
  442. "https://pastebin.com/raw/eqy8yt4q"
  443. },
  444. {
  445. "N3xulis",
  446. "https://pastebin.com/raw/eKkbtM3A"
  447. },
  448. {
  449. "ARX Admin",
  450. "https://pastebin.com/raw/4PGmJv5R"
  451. },
  452. {
  453. "Shattervast",
  454. "https://pastebin.com/raw/44bNjECt"
  455. },
  456. {
  457. "Filter My Ass",
  458. "https://pastebin.com/raw/Tn1xz43y"
  459. },
  460. {
  461. "C00lgui",
  462. "https://pastebin.com/raw/Xt0S28mx"
  463. },
  464. {
  465. "Mayem",
  466. "https://pastebin.com/raw/tWQnvRqH"
  467. },
  468. {
  469. "Nosyliam",
  470. "https://pastebin.com/raw/FmeiVpiE"
  471. },
  472. {
  473. "Your Mom V2",
  474. "https://pastebin.com/raw/1FsNUZHq"
  475. },
  476. {
  477. "PME Safazi",
  478. "https://pastebin.com/raw/yrnDMLYs"
  479. },
  480. {
  481. "Kaj Gen 4",
  482. "https://pastebin.com/raw/4Yi9mpp3"
  483. }
  484. }
  485. },
  486. {
  487. name = "Forms",
  488. comingsoon = false,
  489. scripts = {
  490. {
  491. "Madara",
  492. "https://pastebin.com/raw/LYjZdycr"
  493. },
  494. {
  495. "Shadow Titan",
  496. "https://pastebin.com/raw/E7b9cy1h"
  497. },
  498. {
  499. "Assasin",
  500. "https://pastebin.com/raw/bKu2GuzN"
  501. },
  502. {
  503. "Beast Claws",
  504. "https://pastebin.com/raw/0AH8SZTJ"
  505. },
  506. {
  507. "6 Swords",
  508. "https://pastebin.com/raw/80juE2kw"
  509. },
  510. {
  511. "Goku SSJ3",
  512. "https://pastebin.com/raw/vFmVuXk4"
  513. },
  514. {
  515. "OmagaV2",
  516. "https://pastebin.com/raw/VSerZV3e"
  517. },
  518. {
  519. "Absalom Titan",
  520. "https://pastebin.com/raw/ZmySaMrb"
  521. },
  522. {
  523. "Ace",
  524. "https://pastebin.com/raw/fA4XSTY1"
  525. },
  526. {
  527. "Beerus",
  528. "https://pastebin.com/raw/c1TGDAKC"
  529. },
  530. {
  531. "DSSJ4",
  532. "https://pastebin.com/raw/pfdud8wK"
  533. },
  534. {
  535. "Zenatic",
  536. "https://pastebin.com/raw/wTJxmWyG"
  537. },
  538. {
  539. "Naruto",
  540. "https://pastebin.com/raw/eEN5mC9u"
  541. }
  542. }
  543. },
  544. {
  545. name = "Extra",
  546. comingsoon = true
  547. }
  548. }
  549. local othertabs = {
  550. {
  551. name = "Info",
  552. text = "GabX was made by a new learning scripter named Darion. It started off as a simple project to learn scripting just for myself, but I decided to release it anyways just for fun. It received quite a bit of attention and several youtube videos were made on it. I felt like I didn't deserve the support because nothing was actually made by me, I just added buttons. I decided to rewrite the UI all by myself! I did get some help in the scripting part because I'm not the best in scripting since I'm new to making scripts and exploiting related stuff in general. Now GabX has been updated and the UI was all self made! Also, when I wanted to release it I didn't know any good name for it. I asked my friend and he didn't know either, so I just chose my friends name and added an X to it! :D",
  553. },
  554. {
  555. name = "Help",
  556. text = "If there is anything patched, not the most recent update, broken or anything else please DM Darion#8863 and join the server. http://discord.gg/E64Jd89"
  557. },
  558. {
  559. name = "Credits",
  560. text = "GabX was made by Darion#8863."
  561. }
  562. }
  563.  
  564.  
  565.  
  566. local gui = Instance.new("ScreenGui")
  567. gui.Parent = game:GetService("CoreGui")
  568.  
  569. local button = Instance.new("TextButton")
  570. button.Parent = gui
  571. button.Name = "Button"
  572. button.BorderSizePixel = 0
  573. button.BackgroundColor3 = Color3.fromRGB(163, 163, 163)
  574. button.Font = Enum.Font.SciFi
  575. button.TextSize = 40
  576. button.TextColor3 = Color3.new(0, 0, 0)
  577. button.TextScaled = true
  578. button.Text = "GabX"
  579. button.ZIndex = 12
  580. button.Size = UDim2.new(0, 0, 0, 40)
  581. button.Position = UDim2.new(0.5, 0, 0.5, -20)
  582.  
  583. local topthing = Instance.new("Frame")
  584. topthing.Parent = button
  585. topthing.Name = "Top"
  586. topthing.BorderSizePixel = 0
  587. topthing.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  588. topthing.ZIndex = 13
  589. topthing.Size = UDim2.new(1, 0, 0, 20)
  590. topthing.Position = UDim2.new(0, 0, 0, -20)
  591.  
  592. local bottomthing = Instance.new("Frame")
  593. bottomthing.Parent = button
  594. bottomthing.Name = "Top"
  595. bottomthing.BorderSizePixel = 0
  596. bottomthing.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  597. bottomthing.ZIndex = 13
  598. bottomthing.Size = UDim2.new(1, 0, 0, 20)
  599. bottomthing.Position = UDim2.new(0, 0, 0, 40)
  600.  
  601. local top = Instance.new("Frame")
  602. top.Parent = gui
  603. top.Name = "Topbar"
  604. top.BorderSizePixel = 0
  605. top.BackgroundColor3 = Color3.new((192 / 255), (225 / 255), (237 / 255))
  606. top.Size = UDim2.new(0, 500, 0, 36)
  607. top.Position = UDim2.new(0, -505, 0.5, -218)
  608. top.Draggable = true
  609. top.Active = true
  610. top.ZIndex = 10
  611. top.Visible = false
  612.  
  613. local logo = Instance.new("ImageLabel")
  614. logo.Parent = top
  615. logo.Name = "Logo"
  616. logo.BorderSizePixel = 0
  617. logo.BackgroundTransparency = 1
  618. logo.Image = "rbxassetid://1902404068"
  619. logo.ScaleType = Enum.ScaleType.Crop
  620. logo.Size = UDim2.new(0, 140, 0, 36)
  621. logo.Position = UDim2.new(0.5, -70, 0, 0)
  622. logo.ZIndex = 11
  623.  
  624. local main = Instance.new("Frame")
  625. main.Parent = top
  626. main.Name = "MainFrame"
  627. main.BorderSizePixel = 0
  628. main.BackgroundColor3 = Color3.new(1, 1, 1)
  629. main.BackgroundTransparency = 0.2
  630. main.Position = UDim2.new(0, 0, 1, 0)
  631. main.Size = UDim2.new(1, 0, 0, 400)
  632. main.ZIndex = 10
  633.  
  634. local tabsf = Instance.new("Frame")
  635. tabsf.Parent = main
  636. tabsf.Name = "Tabs"
  637. tabsf.BorderSizePixel = 0
  638. tabsf.BackgroundTransparency = 1
  639. tabsf.Position = UDim2.new(0, 0, 0, 0)
  640. tabsf.Size = UDim2.new(0, 100, 1, 0)
  641.  
  642.  
  643. local function animate()
  644. button:TweenSizeAndPosition(UDim2.new(0, 300, 0, 40), UDim2.new(0.5, -150, 0.5, -20))
  645. wait(2)
  646. button.TextScaled = false
  647. button.Text = ""
  648. button:TweenSizeAndPosition(UDim2.new(0, 110, 0, 45), UDim2.new(0, 0, 0.7, 0))
  649. spawn(function()
  650. for i=20, 0, -1 do
  651. topthing.Size = UDim2.new(1, 0, 0, i)
  652. topthing.Position = UDim2.new(0, 0, 0, -i)
  653. bottomthing.Size = UDim2.new(1, 0, 0, i)
  654. wait()
  655. end
  656. end)
  657. spawn(function()
  658. for i=163, 132, -1 do
  659. button.BackgroundColor3 = Color3.fromRGB(i, i, i)
  660. wait()
  661. end
  662. end)
  663. spawn(function()
  664. wait(1)
  665. button.TextSize = 30
  666. button.Text = "OPEN"
  667. button.MouseButton1Click:connect(function()
  668. if top.Visible then
  669. button.Text = "OPEN"
  670. top:TweenPosition(UDim2.new(0, -505, 0.5, -218))
  671. wait(1.05)
  672. top.Visible = false
  673. else
  674. button.Text = "CLOSE"
  675. top.Visible = true
  676. top:TweenPosition(UDim2.new(0.5, -250, 0.5, -218))
  677. wait(1.05)
  678. end
  679. end)
  680. end)
  681. wait(25/30)
  682. button.Style = Enum.ButtonStyle.RobloxRoundButton
  683. end
  684.  
  685. local current = "Scripts"
  686. for i1, tab in ipairs(tabs) do
  687. local tabbtn = Instance.new("TextButton")
  688. tabbtn.Parent = tabsf
  689. tabbtn.Name = tab.name
  690. tabbtn.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  691. tabbtn.Size = UDim2.new(1, 0, 0, 26)
  692. tabbtn.Position = UDim2.new(0, 0, 0, (i1 - 1) * 30)
  693. tabbtn.Font = Enum.Font.SciFi
  694. tabbtn.TextSize = 16
  695. tabbtn.Text = tab.name
  696. tabbtn.ZIndex = 11
  697.  
  698. local tabfr = Instance.new("Frame")
  699. tabfr.Parent = main
  700. tabfr.Name = tab.name
  701. tabfr.BorderSizePixel = 0
  702. tabfr.BackgroundTransparency = 1
  703. tabfr.Size = UDim2.new(0, 390, 1, -10)
  704. tabfr.Position = UDim2.new(0, 105, 0, 5)
  705. if tab.name ~= current then
  706. tabfr.Visible = false
  707. end
  708.  
  709. tabbtn.MouseButton1Click:connect(function()
  710. main[current].Visible = false
  711. current = tab.name
  712. tabfr.Visible = true
  713. end)
  714.  
  715. if tab.comingsoon then
  716. local text = Instance.new("TextLabel")
  717. text.Parent = tabfr
  718. text.BorderSizePixel = 0
  719. text.BackgroundTransparency = 1
  720. text.BackgroundColor3 = Color3.new(1, 1, 1)
  721. text.Font = Enum.Font.SciFi
  722. text.TextSize = 60
  723. text.Text = "Coming Soon!"
  724. text.Position = UDim2.new(0, 0, 0, 0)
  725. text.Size = UDim2.new(1, 0, 0, 100)
  726. text.ZIndex = 11
  727. else
  728. for i2, scr in ipairs(tab.scripts) do
  729. local scrbtn = Instance.new("TextButton")
  730. scrbtn.Parent = tabfr
  731. scrbtn.Name = scr[1]
  732. scrbtn.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  733. scrbtn.Position = UDim2.new(0, ((i2 - 1) % 4) * 100, 0, math.floor((i2 - 1) / 4) * 50)
  734. scrbtn.Size = UDim2.new(0, 90, 0, 40)
  735. scrbtn.TextSize = 14
  736. scrbtn.TextScaled = true
  737. scrbtn.TextScaled = false
  738. scrbtn.Font = Enum.Font.SciFi
  739. scrbtn.Text = scr[1]
  740. scrbtn.ZIndex = 11
  741.  
  742. scrbtn.MouseButton1Click:connect(function()
  743. loadstring(game:HttpGet(scr[2], true))()
  744. end)
  745. end
  746. end
  747. end
  748. for i,tab in ipairs(othertabs) do
  749. local tabbtn = Instance.new("TextButton")
  750. tabbtn.Parent = tabsf
  751. tabbtn.Name = tab.name
  752. tabbtn.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  753. tabbtn.Size = UDim2.new(1, 0, 0, 26)
  754. tabbtn.Position = UDim2.new(0, 0, 0, 314 + ((i - 1) * 30))
  755. tabbtn.Font = Enum.Font.SciFi
  756. tabbtn.TextSize = 16
  757. tabbtn.Text = tab.name
  758. tabbtn.ZIndex = 11
  759.  
  760. local text = Instance.new("TextLabel")
  761. text.Parent = main
  762. text.Name = tab.name
  763. text.BorderSizePixel = 0
  764. text.BackgroundTransparency = 0.2
  765. text.BackgroundColor3 = Color3.new(1, 1, 1)
  766. text.Size = UDim2.new(0, 390, 1, -10)
  767. text.Position = UDim2.new(0, 105, 0, 5)
  768. text.Text = tab.text
  769. text.Font = Enum.Font.SciFi
  770. text.TextSize = 20
  771. text.TextXAlignment = Enum.TextXAlignment.Center
  772. text.TextYAlignment = Enum.TextYAlignment.Top
  773. text.TextWrapped = true
  774. text.ZIndex = 11
  775. if tab.name ~= current then
  776. text.Visible = false
  777. end
  778.  
  779. tabbtn.MouseButton1Click:connect(function()
  780. main[current].Visible = false
  781. current = tab.name
  782. text.Visible = true
  783. end)
  784. end
  785.  
  786. wait(1)
  787. animate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement