Advertisement
JasonJJK

h3ntaiware ui library

Mar 17th, 2021
1,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 29.28 KB | None | 0 0
  1. local h3ntaiware = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local TabsList = Instance.new("Frame")
  4. local configtype = Instance.new("TextButton")
  5. local Content = Instance.new("Frame")
  6. local UIListLayout = Instance.new("UIListLayout")
  7. local configalpha = Instance.new("TextButton")
  8. local configbeta = Instance.new("TextButton")
  9. local configcharlie = Instance.new("TextButton")
  10. local configdelta = Instance.new("TextButton")
  11. local configecho = Instance.new("TextButton")
  12. local configsave = Instance.new("TextButton")
  13. local configload = Instance.new("TextButton")
  14. local TabsButtons = Instance.new("ScrollingFrame")
  15. local UIListLayout_2 = Instance.new("UIListLayout")
  16. local sampleTabButton = Instance.new("TextButton")
  17. local Tabs = Instance.new("Frame")
  18. local sampleTab = Instance.new("ScrollingFrame")
  19. local offset = Instance.new("Frame")
  20. local UIListLayout_3 = Instance.new("UIListLayout")
  21. local sampleCheckbox = Instance.new("TextLabel")
  22. local Checkbox = Instance.new("TextButton")
  23. local Checked = Instance.new("TextLabel")
  24. local CheckboxLabel = Instance.new("TextLabel")
  25. local sampleButton = Instance.new("TextLabel")
  26. local Button = Instance.new("TextButton")
  27. local sampleLabel = Instance.new("TextLabel")
  28. local Label = Instance.new("TextLabel")
  29. local sampleDropdown = Instance.new("TextLabel")
  30. local Label_2 = Instance.new("TextLabel")
  31. local Dropdown = Instance.new("TextButton")
  32. local Content_2 = Instance.new("Frame")
  33. local UIListLayout_4 = Instance.new("UIListLayout")
  34. local sampleContent = Instance.new("TextButton")
  35. local sampleSlider = Instance.new("TextLabel")
  36. local Slider = Instance.new("TextButton")
  37. local SliderBar = Instance.new("TextButton")
  38. local sampleDoubleCheckbox = Instance.new("TextLabel")
  39. local Checkbox1 = Instance.new("TextButton")
  40. local Checked_2 = Instance.new("TextLabel")
  41. local CheckboxLabel1 = Instance.new("TextLabel")
  42. local Checkbox2 = Instance.new("TextButton")
  43. local Checked_3 = Instance.new("TextLabel")
  44. local CheckboxLabel2 = Instance.new("TextLabel")
  45. local sampleBar = Instance.new("TextLabel")
  46. local sampleKeyCheckbox = Instance.new("TextLabel")
  47. local Checkbox_2 = Instance.new("TextButton")
  48. local Checked_4 = Instance.new("TextLabel")
  49. local CheckboxKey = Instance.new("TextButton")
  50.  
  51. h3ntaiware.Name = "h\101ntaiware"
  52. h3ntaiware.Parent = game.CoreGui
  53. h3ntaiware.DisplayOrder = 59666
  54. h3ntaiware.ResetOnSpawn = false
  55.  
  56. Main.Name = "Main"
  57. Main.Parent = h3ntaiware
  58. Main.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  59. Main.BorderColor3 = Color3.fromRGB(48, 48, 48)
  60. Main.Position = UDim2.new(0.5, -180, 0.5, -107)
  61. Main.Size = UDim2.new(0, 360, 0, 215)
  62.  
  63. TabsList.Name = "TabsList"
  64. TabsList.Parent = Main
  65. TabsList.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  66. TabsList.BorderColor3 = Color3.fromRGB(48, 48, 48)
  67. TabsList.Position = UDim2.new(0, 7, 0, 7)
  68. TabsList.Size = UDim2.new(0, 89, 1, -14)
  69.  
  70. configtype.Name = "configtype"
  71. configtype.Parent = TabsList
  72. configtype.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  73. configtype.BorderColor3 = Color3.fromRGB(51, 51, 51)
  74. configtype.Position = UDim2.new(0, 5, 0, 150)
  75. configtype.Size = UDim2.new(1, -10, 0, 20)
  76. configtype.AutoButtonColor = false
  77. configtype.Font = Enum.Font.Nunito
  78. configtype.Text = " alpha"
  79. configtype.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. configtype.TextSize = 17.000
  81. configtype.TextXAlignment = Enum.TextXAlignment.Left
  82.  
  83. Content.Name = "Content"
  84. Content.Parent = configtype
  85. Content.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  86. Content.BorderColor3 = Color3.fromRGB(46, 46, 46)
  87. Content.ClipsDescendants = true
  88. Content.Position = UDim2.new(0, 0, 1, 1)
  89. Content.Size = UDim2.new(1, 0, 0, 100)
  90. Content.Visible = false
  91. Content.ZIndex = 2
  92.  
  93. UIListLayout.Parent = Content
  94. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  95.  
  96. configalpha.Name = "configalpha"
  97. configalpha.Parent = Content
  98. configalpha.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  99. configalpha.BackgroundTransparency = 1.000
  100. configalpha.Size = UDim2.new(1, 0, 0, 20)
  101. configalpha.ZIndex = 2
  102. configalpha.Font = Enum.Font.Nunito
  103. configalpha.Text = " alpha"
  104. configalpha.TextColor3 = Color3.fromRGB(255, 255, 255)
  105. configalpha.TextSize = 17.000
  106. configalpha.TextXAlignment = Enum.TextXAlignment.Left
  107.  
  108. configbeta.Name = "configbeta"
  109. configbeta.Parent = Content
  110. configbeta.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  111. configbeta.BackgroundTransparency = 1.000
  112. configbeta.Size = UDim2.new(1, 0, 0, 20)
  113. configbeta.ZIndex = 2
  114. configbeta.Font = Enum.Font.Nunito
  115. configbeta.Text = " beta"
  116. configbeta.TextColor3 = Color3.fromRGB(255, 255, 255)
  117. configbeta.TextSize = 17.000
  118. configbeta.TextXAlignment = Enum.TextXAlignment.Left
  119.  
  120. configcharlie.Name = "configcharlie"
  121. configcharlie.Parent = Content
  122. configcharlie.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  123. configcharlie.BackgroundTransparency = 1.000
  124. configcharlie.Size = UDim2.new(1, 0, 0, 20)
  125. configcharlie.ZIndex = 2
  126. configcharlie.Font = Enum.Font.Nunito
  127. configcharlie.Text = " charlie"
  128. configcharlie.TextColor3 = Color3.fromRGB(255, 255, 255)
  129. configcharlie.TextSize = 17.000
  130. configcharlie.TextXAlignment = Enum.TextXAlignment.Left
  131.  
  132. configdelta.Name = "configdelta"
  133. configdelta.Parent = Content
  134. configdelta.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. configdelta.BackgroundTransparency = 1.000
  136. configdelta.Size = UDim2.new(1, 0, 0, 20)
  137. configdelta.ZIndex = 2
  138. configdelta.Font = Enum.Font.Nunito
  139. configdelta.Text = " delta"
  140. configdelta.TextColor3 = Color3.fromRGB(255, 255, 255)
  141. configdelta.TextSize = 17.000
  142. configdelta.TextXAlignment = Enum.TextXAlignment.Left
  143.  
  144. configecho.Name = "configecho"
  145. configecho.Parent = Content
  146. configecho.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  147. configecho.BackgroundTransparency = 1.000
  148. configecho.Size = UDim2.new(1, 0, 0, 20)
  149. configecho.ZIndex = 2
  150. configecho.Font = Enum.Font.Nunito
  151. configecho.Text = " echo"
  152. configecho.TextColor3 = Color3.fromRGB(255, 255, 255)
  153. configecho.TextSize = 17.000
  154. configecho.TextXAlignment = Enum.TextXAlignment.Left
  155.  
  156. configsave.Name = "configsave"
  157. configsave.Parent = TabsList
  158. configsave.BackgroundColor3 = Color3.fromRGB(51, 51, 51)
  159. configsave.BorderSizePixel = 0
  160. configsave.Position = UDim2.new(0, 5, 0, 175)
  161. configsave.Size = UDim2.new(0.5, -9, 0, 20)
  162. configsave.AutoButtonColor = false
  163. configsave.Font = Enum.Font.Nunito
  164. configsave.Text = "save"
  165. configsave.TextColor3 = Color3.fromRGB(255, 255, 255)
  166. configsave.TextSize = 17.000
  167.  
  168. configload.Name = "configload"
  169. configload.Parent = TabsList
  170. configload.BackgroundColor3 = Color3.fromRGB(51, 51, 51)
  171. configload.BorderSizePixel = 0
  172. configload.Position = UDim2.new(0, 48, 0, 175)
  173. configload.Size = UDim2.new(0.5, -9, 0, 20)
  174. configload.AutoButtonColor = false
  175. configload.Font = Enum.Font.Nunito
  176. configload.Text = "load"
  177. configload.TextColor3 = Color3.fromRGB(255, 255, 255)
  178. configload.TextSize = 17.000
  179.  
  180. TabsButtons.Name = "TabsButtons"
  181. TabsButtons.Parent = TabsList
  182. TabsButtons.Active = true
  183. TabsButtons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  184. TabsButtons.BackgroundTransparency = 1.000
  185. TabsButtons.BorderSizePixel = 0
  186. TabsButtons.Position = UDim2.new(0, 5, 0, 5)
  187. TabsButtons.Size = UDim2.new(0, 79, 0, 140)
  188. TabsButtons.ScrollBarThickness = 0
  189.  
  190. UIListLayout_2.Parent = TabsButtons
  191. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  192. UIListLayout_2.Padding = UDim.new(0, 5)
  193.  
  194. sampleTabButton.Name = "sampleTabButton"
  195. sampleTabButton.Parent = TabsButtons
  196. sampleTabButton.BackgroundColor3 = Color3.fromRGB(51, 51, 51)
  197. sampleTabButton.BorderSizePixel = 0
  198. sampleTabButton.Position = UDim2.new(0, 5, 0, 5)
  199. sampleTabButton.Size = UDim2.new(1, 0, 0, 24)
  200. sampleTabButton.AutoButtonColor = false
  201. sampleTabButton.Font = Enum.Font.Nunito
  202. sampleTabButton.Text = "general"
  203. sampleTabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  204. sampleTabButton.TextSize = 17.000
  205.  
  206. Tabs.Name = "Tabs"
  207. Tabs.Parent = Main
  208. Tabs.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  209. Tabs.BorderColor3 = Color3.fromRGB(48, 48, 48)
  210. Tabs.Position = UDim2.new(0, 104, 0, 7)
  211. Tabs.Size = UDim2.new(0.977777779, -103, 1, -14)
  212.  
  213. sampleTab.Name = "sampleTab"
  214. sampleTab.Parent = Tabs
  215. sampleTab.Active = true
  216. sampleTab.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  217. sampleTab.BorderColor3 = Color3.fromRGB(51, 51, 51)
  218. sampleTab.Size = UDim2.new(1, 0, 1, 0)
  219. sampleTab.BottomImage = "http://www.roblox.com/asset/?id=5614579544"
  220. sampleTab.MidImage = "http://www.roblox.com/asset/?id=5614579544"
  221. sampleTab.ScrollBarThickness = 5
  222. sampleTab.TopImage = "http://www.roblox.com/asset/?id=5614579544"
  223.  
  224. offset.Name = "offset"
  225. offset.Parent = sampleTab
  226. offset.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  227. offset.BackgroundTransparency = 1.000
  228. offset.BorderSizePixel = 0
  229. offset.Position = UDim2.new(0, 7, 0, 7)
  230. offset.Size = UDim2.new(1, -19, 0, 0)
  231.  
  232. UIListLayout_3.Parent = offset
  233. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  234. UIListLayout_3.Padding = UDim.new(0, 6)
  235.  
  236. sampleCheckbox.Name = "sampleCheckbox"
  237. sampleCheckbox.Parent = offset
  238. sampleCheckbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  239. sampleCheckbox.BackgroundTransparency = 1.000
  240. sampleCheckbox.Size = UDim2.new(1, 0, 0, 16)
  241. sampleCheckbox.Font = Enum.Font.SourceSans
  242. sampleCheckbox.Text = ""
  243. sampleCheckbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  244. sampleCheckbox.TextSize = 14.000
  245.  
  246. Checkbox.Name = "Checkbox"
  247. Checkbox.Parent = sampleCheckbox
  248. Checkbox.Active = false
  249. Checkbox.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  250. Checkbox.BorderColor3 = Color3.fromRGB(46, 46, 46)
  251. Checkbox.Position = UDim2.new(0, 1, 0, 0)
  252. Checkbox.Size = UDim2.new(0, 16, 0, 16)
  253. Checkbox.AutoButtonColor = false
  254. Checkbox.Font = Enum.Font.SourceSans
  255. Checkbox.Text = ""
  256. Checkbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  257. Checkbox.TextSize = 14.000
  258.  
  259. Checked.Name = "Checked"
  260. Checked.Parent = Checkbox
  261. Checked.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  262. Checked.BorderSizePixel = 0
  263. Checked.Position = UDim2.new(0, 1, 0, 1)
  264. Checked.Size = UDim2.new(1, -2, 1, -2)
  265. Checked.Visible = false
  266. Checked.Font = Enum.Font.SourceSans
  267. Checked.Text = ""
  268. Checked.TextColor3 = Color3.fromRGB(0, 0, 0)
  269. Checked.TextSize = 14.000
  270.  
  271. CheckboxLabel.Name = "CheckboxLabel"
  272. CheckboxLabel.Parent = sampleCheckbox
  273. CheckboxLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  274. CheckboxLabel.BackgroundTransparency = 1.000
  275. CheckboxLabel.Position = UDim2.new(0, 23, 0, 0)
  276. CheckboxLabel.Size = UDim2.new(1, -23, 1, 0)
  277. CheckboxLabel.Font = Enum.Font.Nunito
  278. CheckboxLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  279. CheckboxLabel.TextSize = 17.000
  280. CheckboxLabel.TextXAlignment = Enum.TextXAlignment.Left
  281. CheckboxLabel.TextYAlignment = Enum.TextYAlignment.Top
  282.  
  283. sampleButton.Name = "sampleButton"
  284. sampleButton.Parent = offset
  285. sampleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  286. sampleButton.BackgroundTransparency = 1.000
  287. sampleButton.Size = UDim2.new(1, 0, 0, 16)
  288. sampleButton.Font = Enum.Font.SourceSans
  289. sampleButton.Text = ""
  290. sampleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  291. sampleButton.TextSize = 14.000
  292.  
  293. Button.Name = "Button"
  294. Button.Parent = sampleButton
  295. Button.BackgroundColor3 = Color3.fromRGB(48, 48, 48)
  296. Button.BorderColor3 = Color3.fromRGB(48, 48, 48)
  297. Button.Position = UDim2.new(0, 1, 0, 0)
  298. Button.Size = UDim2.new(0, 130, 0, 16)
  299. Button.AutoButtonColor = false
  300. Button.Font = Enum.Font.Nunito
  301. Button.Text = "Label"
  302. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  303. Button.TextSize = 17.000
  304.  
  305. sampleLabel.Name = "sampleLabel"
  306. sampleLabel.Parent = offset
  307. sampleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  308. sampleLabel.BackgroundTransparency = 1.000
  309. sampleLabel.Size = UDim2.new(1, 0, 0, 16)
  310. sampleLabel.Font = Enum.Font.SourceSans
  311. sampleLabel.Text = ""
  312. sampleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  313. sampleLabel.TextSize = 14.000
  314.  
  315. Label.Name = "Label"
  316. Label.Parent = sampleLabel
  317. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  318. Label.BackgroundTransparency = 1.000
  319. Label.Position = UDim2.new(0, 1, 0, 0)
  320. Label.Size = UDim2.new(1, -1, 1, 0)
  321. Label.Font = Enum.Font.Nunito
  322. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  323. Label.TextSize = 17.000
  324. Label.TextXAlignment = Enum.TextXAlignment.Left
  325. Label.TextYAlignment = Enum.TextYAlignment.Top
  326.  
  327. sampleDropdown.Name = "sampleDropdown"
  328. sampleDropdown.Parent = offset
  329. sampleDropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  330. sampleDropdown.BackgroundTransparency = 1.000
  331. sampleDropdown.Size = UDim2.new(1, 0, 0, 16)
  332. sampleDropdown.Font = Enum.Font.SourceSans
  333. sampleDropdown.Text = ""
  334. sampleDropdown.TextColor3 = Color3.fromRGB(0, 0, 0)
  335. sampleDropdown.TextSize = 14.000
  336.  
  337. Label_2.Name = "Label"
  338. Label_2.Parent = sampleDropdown
  339. Label_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  340. Label_2.BackgroundTransparency = 1.000
  341. Label_2.Position = UDim2.new(0, 161, 0, 0)
  342. Label_2.Size = UDim2.new(1, -161, 1, 0)
  343. Label_2.Font = Enum.Font.Nunito
  344. Label_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  345. Label_2.TextSize = 17.000
  346. Label_2.TextXAlignment = Enum.TextXAlignment.Left
  347. Label_2.TextYAlignment = Enum.TextYAlignment.Top
  348.  
  349. Dropdown.Name = "Dropdown"
  350. Dropdown.Parent = sampleDropdown
  351. Dropdown.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  352. Dropdown.BorderColor3 = Color3.fromRGB(46, 46, 46)
  353. Dropdown.Position = UDim2.new(0, 1, 0, 0)
  354. Dropdown.Size = UDim2.new(0, 153, 0, 16)
  355. Dropdown.AutoButtonColor = false
  356. Dropdown.Font = Enum.Font.Nunito
  357. Dropdown.Text = ""
  358. Dropdown.TextColor3 = Color3.fromRGB(255, 255, 255)
  359. Dropdown.TextSize = 17.000
  360. Dropdown.TextXAlignment = Enum.TextXAlignment.Left
  361.  
  362. Content_2.Name = "Content"
  363. Content_2.Parent = Dropdown
  364. Content_2.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  365. Content_2.BorderColor3 = Color3.fromRGB(46, 46, 46)
  366. Content_2.ClipsDescendants = true
  367. Content_2.Position = UDim2.new(0, 0, 1, 1)
  368. Content_2.Size = UDim2.new(1, 0, 1, 0)
  369. Content_2.Visible = false
  370. Content_2.ZIndex = 2
  371.  
  372. UIListLayout_4.Parent = Content_2
  373. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  374.  
  375. sampleContent.Name = "sampleContent"
  376. sampleContent.Parent = Content_2
  377. sampleContent.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  378. sampleContent.BackgroundTransparency = 1.000
  379. sampleContent.Size = UDim2.new(1, 0, 0, 16)
  380. sampleContent.ZIndex = 2
  381. sampleContent.Font = Enum.Font.Nunito
  382. sampleContent.Text = " button"
  383. sampleContent.TextColor3 = Color3.fromRGB(255, 255, 255)
  384. sampleContent.TextSize = 17.000
  385. sampleContent.TextXAlignment = Enum.TextXAlignment.Left
  386.  
  387. sampleSlider.Name = "sampleSlider"
  388. sampleSlider.Parent = offset
  389. sampleSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  390. sampleSlider.BackgroundTransparency = 1.000
  391. sampleSlider.Size = UDim2.new(1, 0, 0, 16)
  392. sampleSlider.Font = Enum.Font.SourceSans
  393. sampleSlider.Text = ""
  394. sampleSlider.TextColor3 = Color3.fromRGB(0, 0, 0)
  395. sampleSlider.TextSize = 14.000
  396.  
  397. Slider.Name = "Slider"
  398. Slider.Parent = sampleSlider
  399. Slider.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  400. Slider.BorderColor3 = Color3.fromRGB(46, 46, 46)
  401. Slider.Position = UDim2.new(0, 1, 0, 0)
  402. Slider.Size = UDim2.new(0, 153, 0, 16)
  403. Slider.AutoButtonColor = false
  404. Slider.Font = Enum.Font.Nunito
  405. Slider.Text = "label 1.00"
  406. Slider.TextColor3 = Color3.fromRGB(255, 255, 255)
  407. Slider.TextSize = 17.000
  408.  
  409. SliderBar.Name = "SliderBar"
  410. SliderBar.Parent = Slider
  411. SliderBar.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
  412. SliderBar.BorderSizePixel = 0
  413. SliderBar.Size = UDim2.new(0, 5, 1, 0)
  414. SliderBar.AutoButtonColor = false
  415. SliderBar.Font = Enum.Font.SourceSans
  416. SliderBar.Text = ""
  417. SliderBar.TextColor3 = Color3.fromRGB(0, 0, 0)
  418. SliderBar.TextSize = 14.000
  419.  
  420. sampleDoubleCheckbox.Name = "sampleDoubleCheckbox"
  421. sampleDoubleCheckbox.Parent = offset
  422. sampleDoubleCheckbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  423. sampleDoubleCheckbox.BackgroundTransparency = 1.000
  424. sampleDoubleCheckbox.Size = UDim2.new(1, 0, 0, 16)
  425. sampleDoubleCheckbox.Font = Enum.Font.SourceSans
  426. sampleDoubleCheckbox.Text = ""
  427. sampleDoubleCheckbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  428. sampleDoubleCheckbox.TextSize = 14.000
  429.  
  430. Checkbox1.Name = "Checkbox1"
  431. Checkbox1.Parent = sampleDoubleCheckbox
  432. Checkbox1.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  433. Checkbox1.BorderColor3 = Color3.fromRGB(46, 46, 46)
  434. Checkbox1.Position = UDim2.new(0, 1, 0, 0)
  435. Checkbox1.Size = UDim2.new(0, 16, 0, 16)
  436. Checkbox1.AutoButtonColor = false
  437. Checkbox1.Font = Enum.Font.SourceSans
  438. Checkbox1.Text = ""
  439. Checkbox1.TextColor3 = Color3.fromRGB(0, 0, 0)
  440. Checkbox1.TextSize = 14.000
  441.  
  442. Checked_2.Name = "Checked"
  443. Checked_2.Parent = Checkbox1
  444. Checked_2.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  445. Checked_2.BorderSizePixel = 0
  446. Checked_2.Position = UDim2.new(0, 1, 0, 1)
  447. Checked_2.Size = UDim2.new(1, -2, 1, -2)
  448. Checked_2.Visible = false
  449. Checked_2.Font = Enum.Font.SourceSans
  450. Checked_2.Text = ""
  451. Checked_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  452. Checked_2.TextSize = 14.000
  453.  
  454. CheckboxLabel1.Name = "CheckboxLabel1"
  455. CheckboxLabel1.Parent = sampleDoubleCheckbox
  456. CheckboxLabel1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  457. CheckboxLabel1.BackgroundTransparency = 1.000
  458. CheckboxLabel1.Position = UDim2.new(0, 23, 0, 0)
  459. CheckboxLabel1.Size = UDim2.new(0.5, -23, 1, 0)
  460. CheckboxLabel1.Font = Enum.Font.Nunito
  461. CheckboxLabel1.TextColor3 = Color3.fromRGB(255, 255, 255)
  462. CheckboxLabel1.TextSize = 17.000
  463. CheckboxLabel1.TextXAlignment = Enum.TextXAlignment.Left
  464. CheckboxLabel1.TextYAlignment = Enum.TextYAlignment.Top
  465.  
  466. Checkbox2.Name = "Checkbox2"
  467. Checkbox2.Parent = sampleDoubleCheckbox
  468. Checkbox2.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  469. Checkbox2.BorderColor3 = Color3.fromRGB(46, 46, 46)
  470. Checkbox2.Position = UDim2.new(0.5, 1, 0, 0)
  471. Checkbox2.Size = UDim2.new(0, 16, 0, 16)
  472. Checkbox2.AutoButtonColor = false
  473. Checkbox2.Font = Enum.Font.SourceSans
  474. Checkbox2.Text = ""
  475. Checkbox2.TextColor3 = Color3.fromRGB(0, 0, 0)
  476. Checkbox2.TextSize = 14.000
  477.  
  478. Checked_3.Name = "Checked"
  479. Checked_3.Parent = Checkbox2
  480. Checked_3.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  481. Checked_3.BorderSizePixel = 0
  482. Checked_3.Position = UDim2.new(0, 1, 0, 1)
  483. Checked_3.Size = UDim2.new(1, -2, 1, -2)
  484. Checked_3.Visible = false
  485. Checked_3.Font = Enum.Font.SourceSans
  486. Checked_3.Text = ""
  487. Checked_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  488. Checked_3.TextSize = 14.000
  489.  
  490. CheckboxLabel2.Name = "CheckboxLabel2"
  491. CheckboxLabel2.Parent = sampleDoubleCheckbox
  492. CheckboxLabel2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  493. CheckboxLabel2.BackgroundTransparency = 1.000
  494. CheckboxLabel2.Position = UDim2.new(0.5, 23, 0, 0)
  495. CheckboxLabel2.Size = UDim2.new(0.5, -23, 1, 0)
  496. CheckboxLabel2.Font = Enum.Font.Nunito
  497. CheckboxLabel2.TextColor3 = Color3.fromRGB(255, 255, 255)
  498. CheckboxLabel2.TextSize = 17.000
  499. CheckboxLabel2.TextXAlignment = Enum.TextXAlignment.Left
  500. CheckboxLabel2.TextYAlignment = Enum.TextYAlignment.Top
  501.  
  502. sampleBar.Name = "sampleBar"
  503. sampleBar.Parent = offset
  504. sampleBar.BackgroundColor3 = Color3.fromRGB(51, 51, 51)
  505. sampleBar.BorderSizePixel = 0
  506. sampleBar.Position = UDim2.new(0, 3, 0, 29)
  507. sampleBar.Size = UDim2.new(1, 0, 0, 1)
  508. sampleBar.Font = Enum.Font.SourceSans
  509. sampleBar.Text = ""
  510. sampleBar.TextColor3 = Color3.fromRGB(0, 0, 0)
  511. sampleBar.TextSize = 14.000
  512.  
  513. sampleKeyCheckbox.Name = "sampleKeyCheckbox"
  514. sampleKeyCheckbox.Parent = offset
  515. sampleKeyCheckbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  516. sampleKeyCheckbox.BackgroundTransparency = 1.000
  517. sampleKeyCheckbox.Size = UDim2.new(1, 0, 0, 16)
  518. sampleKeyCheckbox.Font = Enum.Font.SourceSans
  519. sampleKeyCheckbox.Text = ""
  520. sampleKeyCheckbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  521. sampleKeyCheckbox.TextSize = 14.000
  522.  
  523. Checkbox_2.Name = "Checkbox"
  524. Checkbox_2.Parent = sampleKeyCheckbox
  525. Checkbox_2.Active = false
  526. Checkbox_2.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  527. Checkbox_2.BorderColor3 = Color3.fromRGB(46, 46, 46)
  528. Checkbox_2.Position = UDim2.new(0, 1, 0, 0)
  529. Checkbox_2.Size = UDim2.new(0, 16, 0, 16)
  530. Checkbox_2.AutoButtonColor = false
  531. Checkbox_2.Font = Enum.Font.SourceSans
  532. Checkbox_2.Text = ""
  533. Checkbox_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  534. Checkbox_2.TextSize = 14.000
  535.  
  536. Checked_4.Name = "Checked"
  537. Checked_4.Parent = Checkbox_2
  538. Checked_4.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  539. Checked_4.BorderSizePixel = 0
  540. Checked_4.Position = UDim2.new(0, 1, 0, 1)
  541. Checked_4.Size = UDim2.new(1, -2, 1, -2)
  542. Checked_4.Visible = false
  543. Checked_4.Font = Enum.Font.SourceSans
  544. Checked_4.Text = ""
  545. Checked_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  546. Checked_4.TextSize = 14.000
  547.  
  548. CheckboxKey.Name = "CheckboxKey"
  549. CheckboxKey.Parent = sampleKeyCheckbox
  550. CheckboxKey.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  551. CheckboxKey.BackgroundTransparency = 1.000
  552. CheckboxKey.Position = UDim2.new(0, 23, 0, 0)
  553. CheckboxKey.Size = UDim2.new(1, -23, 1, 0)
  554. CheckboxKey.Font = Enum.Font.Nunito
  555. CheckboxKey.Text = "Label"
  556. CheckboxKey.TextColor3 = Color3.fromRGB(255, 255, 255)
  557. CheckboxKey.TextSize = 17.000
  558. CheckboxKey.TextXAlignment = Enum.TextXAlignment.Left
  559. CheckboxKey.TextYAlignment = Enum.TextYAlignment.Top
  560.  
  561. local plr = game.Players.LocalPlayer
  562. local ms = plr:GetMouse()
  563. local msX,msY = 0,0
  564. local drag = false
  565. local uis = game:GetService("UserInputService")
  566. local tws = game:GetService("TweenService")
  567. local keys = {"Backspace","Tab","Clear","Return","Pause","Escape","Space","QuotedDouble","Hash","Dollar","Percent","Ampersand","Quote","LeftParenthesis","RightParenthesis","Asterisk","Plus","Comma","Minus","Period","Slash","Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Colon","Semicolon","LessThan","Equals","GreaterThan","Question","At","LeftBracket","BackSlash","RightBracket","Caret","Underscore","Backquote","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","LeftCurly","Pipe","RightCurly","Tilde","Delete","KeypadZero","KeypadOne","KeypadTwo","KeypadThree","KeypadFour","KeypadFive","KeypadSix","KeypadSeven","KeypadEight","KeypadNine","KeypadPeriod","KeypadDivide","KeypadMultiply","KeypadMinus","KeypadPlus","KeypadEnter","KeypadEquals","Up","Down","Right","Left","Insert","Home","End","PageUp","PageDown","LeftShift","RightShift","LeftMeta","RightMeta","LeftAlt","RightAlt","LeftControl","RightControl","CapsLock","NumLock","ScrollLock","LeftSuper","RightSuper","Mode","Compose","Help","Print","SysReq","Break","Menu","Power","Euro","Undo","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15"}
  568.  
  569. local function tw(target,changes,style,dir,tim)
  570.     tws:Create(target,TweenInfo.new(tim,Enum.EasingStyle[style],Enum.EasingDirection[dir]),changes):Play()
  571. end
  572.  
  573. local function updateScroll(call)
  574.     local count=6
  575.     for i,v in next,call:GetChildren()do
  576.         if string.find(v.Name,'sample')or v:IsA'UIListLayout'then
  577.         else
  578.             count=count+v.AbsoluteSize.Y+call:FindFirstChildOfClass'UIListLayout'.Padding.Offset
  579.         end
  580.     end
  581.     call.Parent.CanvasSize=UDim2.new(0,0,0,count)
  582. end
  583.  
  584. if setreadonly then
  585.     setreadonly(table,false)
  586. end
  587.  
  588. for i,v in next,h3ntaiware:GetDescendants()do
  589.     if string.find(v.Name,'sample')then
  590.         v.Visible=false
  591.     end
  592. end
  593.  
  594. local library = {}
  595. local instances = {}
  596.  
  597. uis.InputBegan:Connect(function(k)
  598.     if k.KeyCode==Enum.KeyCode.Insert then
  599.         h3ntaiware.Enabled=not h3ntaiware.Enabled
  600.     end
  601. end)
  602.  
  603. Main.InputBegan:Connect(function(k)
  604.     if k.UserInputType==Enum.UserInputType.MouseButton1 then
  605.         msX,msY=(ms.X-Main.AbsolutePosition.X),(ms.Y-Main.AbsolutePosition.Y)
  606.         drag=true
  607.     end
  608. end)
  609. Main.InputEnded:Connect(function(k)
  610.     if k.UserInputType==Enum.UserInputType.MouseButton1 then
  611.         drag=false
  612.     end
  613. end)
  614. uis.InputChanged:Connect(function()
  615.     if drag then
  616.         Main.Position=UDim2.new(0,ms.X-msX,0,ms.Y-msY)
  617.     end
  618. end)
  619.  
  620. function library.newTab(call,name)
  621.     local newb = sampleTabButton:Clone()
  622.     newb.Visible=true
  623.     newb.Parent=TabsButtons
  624.     newb.Text=name
  625.     newb.Name=name
  626.     local newt = sampleTab:Clone()
  627.     newt.Parent=Tabs
  628.     newt.ScrollBarImageColor3=Color3.fromRGB(44,44,44)
  629.     newt.Name=name
  630.     newt.offset.ChildAdded:Connect(function()wait()updateScroll(newt.offset)end)
  631.     newb.MouseButton1Click:Connect(function()
  632.         newt.Visible=true
  633.         for i,v in next,Tabs:GetChildren()do
  634.             if v.Name~='sampleTab'and v.Name~=newt.Name then
  635.                 v.Visible=false
  636.             end
  637.         end
  638.     end)
  639.     return newt.offset
  640. end
  641.  
  642. function library.newLabel(call,text)
  643.     local new = sampleLabel:Clone()
  644.     new.Visible = true
  645.     new.Parent = call
  646.     new.Label.Text = text
  647.     new.Name = text
  648.     updateScroll(call)
  649. end
  650.  
  651. function library.newBar(call)
  652.     local new = sampleBar:Clone()
  653.     new.Visible = true
  654.     new.Parent = call
  655.     new.Name = tostring(math.random(1000000,9999999))
  656.     updateScroll(call)
  657. end
  658.  
  659. function library.newButton(call,text,callback)
  660.     local new = sampleButton:Clone()
  661.     new.Visible = true
  662.     new.Parent = call
  663.     new.Name = text
  664.     new.Button.Text = text
  665.     new.Button.MouseButton1Click:Connect(callback)
  666.     updateScroll(call)
  667. end
  668.  
  669. function library.newCheckbox(call,text,callback)
  670.     local new = sampleCheckbox:Clone()
  671.     local on = false
  672.     new.Visible = true
  673.     new.Parent = call
  674.     new.Name = text
  675.     new.CheckboxLabel.Text = text
  676.     new.Checkbox.MouseButton1Click:Connect(function()
  677.         if not on then on=true
  678.             new.Checkbox.Checked.Visible=true
  679.             callback(on)
  680.         else on=false
  681.             new.Checkbox.Checked.Visible=false
  682.             callback(on)
  683.         end
  684.     end)
  685.     new.Checkbox.MouseEnter:Connect(function()
  686.         new.Checkbox.BackgroundColor3=Color3.fromRGB(73,73,73)
  687.     end)
  688.     new.Checkbox.MouseLeave:Connect(function()
  689.         new.Checkbox.BackgroundColor3=Color3.fromRGB(24,24,24)
  690.     end)
  691.     updateScroll(call)
  692. end
  693.  
  694. function library.newDoubleCheckbox(call,text1,text2,callback1,callback2)
  695.     local new = sampleDoubleCheckbox:Clone()
  696.     local on1,on2 = false,false
  697.     new.Visible = true
  698.     new.Parent = call
  699.     new.Name = text1..text2
  700.     new.CheckboxLabel1.Text = text1
  701.     new.CheckboxLabel2.Text = text2
  702.     new.Checkbox1.MouseButton1Click:Connect(function()
  703.         if not on1 then on1=true
  704.             new.Checkbox1.Checked.Visible=true
  705.             callback1(on1)
  706.         else on1=false
  707.             new.Checkbox1.Checked.Visible=false
  708.             callback1(on1)
  709.         end
  710.     end)
  711.     new.Checkbox2.MouseButton1Click:Connect(function()
  712.         if not on2 then on2=true
  713.             new.Checkbox2.Checked.Visible=true
  714.             callback1(on2)
  715.         else on2=false
  716.             new.Checkbox2.Checked.Visible=false
  717.             callback1(on2)
  718.         end
  719.     end)
  720.     new.Checkbox1.MouseEnter:Connect(function()
  721.         new.Checkbox1.BackgroundColor3=Color3.fromRGB(73,73,73)
  722.     end)
  723.     new.Checkbox1.MouseLeave:Connect(function()
  724.         new.Checkbox1.BackgroundColor3=Color3.fromRGB(24,24,24)
  725.     end)
  726.     new.Checkbox2.MouseEnter:Connect(function()
  727.         new.Checkbox2.BackgroundColor3=Color3.fromRGB(73,73,73)
  728.     end)
  729.     new.Checkbox2.MouseLeave:Connect(function()
  730.         new.Checkbox2.BackgroundColor3=Color3.fromRGB(24,24,24)
  731.     end)
  732.     updateScroll(call)
  733. end
  734.  
  735. function library.newKeyCheckbox(call,text,callback)
  736.     local new = sampleKeyCheckbox:Clone()
  737.     local on = false
  738.     local cooldown = false
  739.     new.Visible = true
  740.     new.Parent = call
  741.     new.Name = text
  742.     new.CheckboxKey.Text = text
  743.     new.CheckboxKey.MouseButton1Click:Connect(function()
  744.         new.CheckboxKey.Text='...'
  745.         local gotkey=false
  746.         cooldown=true
  747.         uis.InputBegan:Connect(function(k)
  748.             if not gotkey and k.UserInputType==Enum.UserInputType.Keyboard then
  749.                 new.CheckboxKey.Text=string.split(tostring(k.KeyCode),'.')[3]
  750.                 gotkey=true
  751.             end
  752.         end)
  753.         repeat wait()until gotkey
  754.         cooldown=false
  755.     end)
  756.     uis.InputBegan:Connect(function(k)
  757.         pcall(function()
  758.             if k.KeyCode==Enum.KeyCode[new.CheckboxKey.Text]and not cooldown then
  759.                 if on then on=false
  760.                     new.Checkbox.Checked.Visible=false
  761.                     callback(on)
  762.                 else on=true
  763.                     new.Checkbox.Checked.Visible=true
  764.                     callback(on)
  765.                 end
  766.             end
  767.         end)
  768.     end)
  769.     new.Checkbox.MouseButton1Click:Connect(function()
  770.         if on then on=false
  771.             new.Checkbox.Checked.Visible=false
  772.             callback(on)
  773.         else on=true
  774.             new.Checkbox.Checked.Visible=true
  775.             callback(on)
  776.         end
  777.     end)
  778.     new.Checkbox.MouseEnter:Connect(function()
  779.         new.Checkbox.BackgroundColor3=Color3.fromRGB(73,73,73)
  780.     end)
  781.     new.Checkbox.MouseLeave:Connect(function()
  782.         new.Checkbox.BackgroundColor3=Color3.fromRGB(24,24,24)
  783.     end)
  784.     updateScroll(call)
  785. end
  786.  
  787. function library.newDropdown(call,text,content,callback)
  788.     local new = sampleDropdown:Clone()
  789.     new.Visible = true
  790.     new.Label.Text = text
  791.     new.Parent = call
  792.     new.Name = text
  793.     new.Dropdown.Text = ' '..content[1]
  794.     new.Dropdown.Content.sampleContent.Visible=false
  795.     for i,v in next,content do
  796.         local cont = new.Dropdown.Content.sampleContent:Clone()
  797.         cont.Parent = new.Dropdown.Content
  798.         cont.Text = ' '..v; cont.Name = ' '..v
  799.         cont.Visible = true
  800.         cont.MouseButton1Click:Connect(function()
  801.             new.Dropdown.Text=' '..v
  802.             new.Dropdown.Content.Visible=false
  803.             callback(v)
  804.         end)
  805.     end
  806.     new.Dropdown.Content.Size=UDim2.new(1,0,#content,0)
  807.     new.Dropdown.MouseButton1Click:Connect(function()
  808.         new.Dropdown.Content.Visible=not new.Dropdown.Content.Visible
  809.     end)
  810.     callback(content[1])
  811.     updateScroll(call)
  812. end
  813.  
  814. function library.newSlider(call,text,startV,endV,callback)
  815.     local new = sampleSlider:Clone()
  816.     local sliding = false
  817.     new.Visible = true
  818.     new.Name = text
  819.     new.Parent = call
  820.     new.Slider.Text = text
  821.     new.Slider.InputBegan:Connect(function(k)
  822.         if k.UserInputType==Enum.UserInputType.MouseButton1 then sliding=true end
  823.     end)
  824.     new.Slider.InputEnded:Connect(function(k)
  825.         if k.UserInputType==Enum.UserInputType.MouseButton1 then sliding=false end
  826.     end)
  827.     uis.InputChanged:Connect(function()
  828.         if sliding then
  829.             local mX = (ms.X-new.Slider.AbsolutePosition.X)/new.Slider.AbsoluteSize.X
  830.             if(mX>1)then mX=1 elseif(mX<0)then mX=0 end
  831.             local calc = math.floor(startV+(endV*mX-(startV*mX)))
  832.             new.Slider.Text = text..' '..tostring(calc)
  833.             new.Slider.SliderBar.Position=UDim2.new(mX,-(new.Slider.SliderBar.AbsoluteSize.X*mX),0,0)
  834.             callback(calc)
  835.         end
  836.     end)
  837.     updateScroll(call)
  838. end
  839.  
  840. return library
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement