AssAssistants

Game

Mar 23rd, 2022
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 84.33 KB | None | 0 0
  1. local ui_options = {
  2.     main_color = Color3.fromRGB(41, 74, 122),
  3.     min_size = Vector2.new(400, 300),
  4.     toggle_key = Enum.KeyCode.RightShift,
  5.     can_resize = true,
  6. }
  7.  
  8. do
  9.     local imgui = game:GetService("CoreGui"):FindFirstChild("imgui")
  10.     if imgui then imgui:Destroy() end
  11. end
  12.  
  13. local imgui = Instance.new("ScreenGui")
  14. local Prefabs = Instance.new("Frame")
  15. local Label = Instance.new("TextLabel")
  16. local Window = Instance.new("ImageLabel")
  17. local Resizer = Instance.new("Frame")
  18. local Bar = Instance.new("Frame")
  19. local Toggle = Instance.new("ImageButton")
  20. local Base = Instance.new("ImageLabel")
  21. local Top = Instance.new("ImageLabel")
  22. local Tabs = Instance.new("Frame")
  23. local Title = Instance.new("TextLabel")
  24. local TabSelection = Instance.new("ImageLabel")
  25. local TabButtons = Instance.new("Frame")
  26. local UIListLayout = Instance.new("UIListLayout")
  27. local Frame = Instance.new("Frame")
  28. local Tab = Instance.new("Frame")
  29. local UIListLayout_2 = Instance.new("UIListLayout")
  30. local TextBox = Instance.new("TextBox")
  31. local TextBox_Roundify_4px = Instance.new("ImageLabel")
  32. local Slider = Instance.new("ImageLabel")
  33. local Title_2 = Instance.new("TextLabel")
  34. local Indicator = Instance.new("ImageLabel")
  35. local Value = Instance.new("TextLabel")
  36. local TextLabel = Instance.new("TextLabel")
  37. local TextLabel_2 = Instance.new("TextLabel")
  38. local Circle = Instance.new("ImageLabel")
  39. local UIListLayout_3 = Instance.new("UIListLayout")
  40. local Dropdown = Instance.new("TextButton")
  41. local Indicator_2 = Instance.new("ImageLabel")
  42. local Box = Instance.new("ImageButton")
  43. local Objects = Instance.new("ScrollingFrame")
  44. local UIListLayout_4 = Instance.new("UIListLayout")
  45. local TextButton_Roundify_4px = Instance.new("ImageLabel")
  46. local TabButton = Instance.new("TextButton")
  47. local TextButton_Roundify_4px_2 = Instance.new("ImageLabel")
  48. local Folder = Instance.new("ImageLabel")
  49. local Button = Instance.new("TextButton")
  50. local TextButton_Roundify_4px_3 = Instance.new("ImageLabel")
  51. local Toggle_2 = Instance.new("ImageLabel")
  52. local Objects_2 = Instance.new("Frame")
  53. local UIListLayout_5 = Instance.new("UIListLayout")
  54. local HorizontalAlignment = Instance.new("Frame")
  55. local UIListLayout_6 = Instance.new("UIListLayout")
  56. local Console = Instance.new("ImageLabel")
  57. local ScrollingFrame = Instance.new("ScrollingFrame")
  58. local Source = Instance.new("TextBox")
  59. local Comments = Instance.new("TextLabel")
  60. local Globals = Instance.new("TextLabel")
  61. local Keywords = Instance.new("TextLabel")
  62. local RemoteHighlight = Instance.new("TextLabel")
  63. local Strings = Instance.new("TextLabel")
  64. local Tokens = Instance.new("TextLabel")
  65. local Numbers = Instance.new("TextLabel")
  66. local Info = Instance.new("TextLabel")
  67. local Lines = Instance.new("TextLabel")
  68. local ColorPicker = Instance.new("ImageLabel")
  69. local Palette = Instance.new("ImageLabel")
  70. local Indicator_3 = Instance.new("ImageLabel")
  71. local Sample = Instance.new("ImageLabel")
  72. local Saturation = Instance.new("ImageLabel")
  73. local Indicator_4 = Instance.new("Frame")
  74. local Switch = Instance.new("TextButton")
  75. local TextButton_Roundify_4px_4 = Instance.new("ImageLabel")
  76. local Title_3 = Instance.new("TextLabel")
  77. local Button_2 = Instance.new("TextButton")
  78. local TextButton_Roundify_4px_5 = Instance.new("ImageLabel")
  79. local DropdownButton = Instance.new("TextButton")
  80. local Keybind = Instance.new("ImageLabel")
  81. local Title_4 = Instance.new("TextLabel")
  82. local Input = Instance.new("TextButton")
  83. local Input_Roundify_4px = Instance.new("ImageLabel")
  84. local Windows = Instance.new("Frame")
  85.  
  86. imgui.Name = "imgui"
  87. imgui.Parent = game:GetService("CoreGui")
  88.  
  89. Prefabs.Name = "Prefabs"
  90. Prefabs.Parent = imgui
  91. Prefabs.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Prefabs.Size = UDim2.new(0, 100, 0, 100)
  93. Prefabs.Visible = false
  94.  
  95. Label.Name = "Label"
  96. Label.Parent = Prefabs
  97. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  98. Label.BackgroundTransparency = 1
  99. Label.Size = UDim2.new(0, 200, 0, 20)
  100. Label.Font = Enum.Font.GothamSemibold
  101. Label.Text = "Hello, world 123"
  102. Label.TextColor3 = Color3.new(1, 1, 1)
  103. Label.TextSize = 14
  104. Label.TextXAlignment = Enum.TextXAlignment.Left
  105.  
  106. Window.Name = "Window"
  107. Window.Parent = Prefabs
  108. Window.Active = true
  109. Window.BackgroundColor3 = Color3.new(1, 1, 1)
  110. Window.BackgroundTransparency = 1
  111. Window.ClipsDescendants = true
  112. Window.Position = UDim2.new(0, 20, 0, 20)
  113. Window.Selectable = true
  114. Window.Size = UDim2.new(0, 200, 0, 200)
  115. Window.Image = "rbxassetid://2851926732"
  116. Window.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  117. Window.ScaleType = Enum.ScaleType.Slice
  118. Window.SliceCenter = Rect.new(12, 12, 12, 12)
  119.  
  120. Resizer.Name = "Resizer"
  121. Resizer.Parent = Window
  122. Resizer.Active = true
  123. Resizer.BackgroundColor3 = Color3.new(1, 1, 1)
  124. Resizer.BackgroundTransparency = 1
  125. Resizer.BorderSizePixel = 0
  126. Resizer.Position = UDim2.new(1, -20, 1, -20)
  127. Resizer.Size = UDim2.new(0, 20, 0, 20)
  128.  
  129. Bar.Name = "Bar"
  130. Bar.Parent = Window
  131. Bar.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  132. Bar.BorderSizePixel = 0
  133. Bar.Position = UDim2.new(0, 0, 0, 5)
  134. Bar.Size = UDim2.new(1, 0, 0, 15)
  135.  
  136. Toggle.Name = "Toggle"
  137. Toggle.Parent = Bar
  138. Toggle.BackgroundColor3 = Color3.new(1, 1, 1)
  139. Toggle.BackgroundTransparency = 1
  140. Toggle.Position = UDim2.new(0, 5, 0, -2)
  141. Toggle.Rotation = 90
  142. Toggle.Size = UDim2.new(0, 20, 0, 20)
  143. Toggle.ZIndex = 2
  144. Toggle.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  145.  
  146. Base.Name = "Base"
  147. Base.Parent = Bar
  148. Base.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  149. Base.BorderSizePixel = 0
  150. Base.Position = UDim2.new(0, 0, 0.800000012, 0)
  151. Base.Size = UDim2.new(1, 0, 0, 10)
  152. Base.Image = "rbxassetid://2851926732"
  153. Base.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  154. Base.ScaleType = Enum.ScaleType.Slice
  155. Base.SliceCenter = Rect.new(12, 12, 12, 12)
  156.  
  157. Top.Name = "Top"
  158. Top.Parent = Bar
  159. Top.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Top.BackgroundTransparency = 1
  161. Top.Position = UDim2.new(0, 0, 0, -5)
  162. Top.Size = UDim2.new(1, 0, 0, 10)
  163. Top.Image = "rbxassetid://2851926732"
  164. Top.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  165. Top.ScaleType = Enum.ScaleType.Slice
  166. Top.SliceCenter = Rect.new(12, 12, 12, 12)
  167.  
  168. Tabs.Name = "Tabs"
  169. Tabs.Parent = Window
  170. Tabs.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Tabs.BackgroundTransparency = 1
  172. Tabs.Position = UDim2.new(0, 15, 0, 60)
  173. Tabs.Size = UDim2.new(1, -30, 1, -60)
  174.  
  175. Title.Name = "Title"
  176. Title.Parent = Window
  177. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  178. Title.BackgroundTransparency = 1
  179. Title.Position = UDim2.new(0, 30, 0, 3)
  180. Title.Size = UDim2.new(0, 200, 0, 20)
  181. Title.Font = Enum.Font.GothamBold
  182. Title.Text = "Gamer Time"
  183. Title.TextColor3 = Color3.new(1, 1, 1)
  184. Title.TextSize = 14
  185. Title.TextXAlignment = Enum.TextXAlignment.Left
  186.  
  187. TabSelection.Name = "TabSelection"
  188. TabSelection.Parent = Window
  189. TabSelection.BackgroundColor3 = Color3.new(1, 1, 1)
  190. TabSelection.BackgroundTransparency = 1
  191. TabSelection.Position = UDim2.new(0, 15, 0, 30)
  192. TabSelection.Size = UDim2.new(1, -30, 0, 25)
  193. TabSelection.Visible = false
  194. TabSelection.Image = "rbxassetid://2851929490"
  195. TabSelection.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  196. TabSelection.ScaleType = Enum.ScaleType.Slice
  197. TabSelection.SliceCenter = Rect.new(4, 4, 4, 4)
  198.  
  199. TabButtons.Name = "TabButtons"
  200. TabButtons.Parent = TabSelection
  201. TabButtons.BackgroundColor3 = Color3.new(1, 1, 1)
  202. TabButtons.BackgroundTransparency = 1
  203. TabButtons.Size = UDim2.new(1, 0, 1, 0)
  204.  
  205. UIListLayout.Parent = TabButtons
  206. UIListLayout.FillDirection = Enum.FillDirection.Horizontal
  207. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  208. UIListLayout.Padding = UDim.new(0, 2)
  209.  
  210. Frame.Parent = TabSelection
  211. Frame.BackgroundColor3 = Color3.new(0.12549, 0.227451, 0.372549)
  212. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  213. Frame.BorderSizePixel = 0
  214. Frame.Position = UDim2.new(0, 0, 1, 0)
  215. Frame.Size = UDim2.new(1, 0, 0, 2)
  216.  
  217. Tab.Name = "Tab"
  218. Tab.Parent = Prefabs
  219. Tab.BackgroundColor3 = Color3.new(1, 1, 1)
  220. Tab.BackgroundTransparency = 1
  221. Tab.Size = UDim2.new(1, 0, 1, 0)
  222. Tab.Visible = false
  223.  
  224. UIListLayout_2.Parent = Tab
  225. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  226. UIListLayout_2.Padding = UDim.new(0, 5)
  227.  
  228. TextBox.Parent = Prefabs
  229. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  230. TextBox.BackgroundTransparency = 1
  231. TextBox.BorderSizePixel = 0
  232. TextBox.Size = UDim2.new(1, 0, 0, 20)
  233. TextBox.ZIndex = 2
  234. TextBox.Font = Enum.Font.GothamSemibold
  235. TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  236. TextBox.PlaceholderText = "Input Text"
  237. TextBox.Text = ""
  238. TextBox.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  239. TextBox.TextSize = 14
  240.  
  241. TextBox_Roundify_4px.Name = "TextBox_Roundify_4px"
  242. TextBox_Roundify_4px.Parent = TextBox
  243. TextBox_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  244. TextBox_Roundify_4px.BackgroundTransparency = 1
  245. TextBox_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  246. TextBox_Roundify_4px.Image = "rbxassetid://2851929490"
  247. TextBox_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  248. TextBox_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  249. TextBox_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  250.  
  251. Slider.Name = "Slider"
  252. Slider.Parent = Prefabs
  253. Slider.BackgroundColor3 = Color3.new(1, 1, 1)
  254. Slider.BackgroundTransparency = 1
  255. Slider.Position = UDim2.new(0, 0, 0.178571433, 0)
  256. Slider.Size = UDim2.new(1, 0, 0, 20)
  257. Slider.Image = "rbxassetid://2851929490"
  258. Slider.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  259. Slider.ScaleType = Enum.ScaleType.Slice
  260. Slider.SliceCenter = Rect.new(4, 4, 4, 4)
  261.  
  262. Title_2.Name = "Title"
  263. Title_2.Parent = Slider
  264. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  265. Title_2.BackgroundTransparency = 1
  266. Title_2.Position = UDim2.new(0.5, 0, 0.5, -10)
  267. Title_2.Size = UDim2.new(0, 0, 0, 20)
  268. Title_2.ZIndex = 2
  269. Title_2.Font = Enum.Font.GothamBold
  270. Title_2.Text = "Slider"
  271. Title_2.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  272. Title_2.TextSize = 14
  273.  
  274. Indicator.Name = "Indicator"
  275. Indicator.Parent = Slider
  276. Indicator.BackgroundColor3 = Color3.new(1, 1, 1)
  277. Indicator.BackgroundTransparency = 1
  278. Indicator.Size = UDim2.new(0, 0, 0, 20)
  279. Indicator.Image = "rbxassetid://2851929490"
  280. Indicator.ImageColor3 = Color3.new(0.254902, 0.262745, 0.278431)
  281. Indicator.ScaleType = Enum.ScaleType.Slice
  282. Indicator.SliceCenter = Rect.new(4, 4, 4, 4)
  283.  
  284. Value.Name = "Value"
  285. Value.Parent = Slider
  286. Value.BackgroundColor3 = Color3.new(1, 1, 1)
  287. Value.BackgroundTransparency = 1
  288. Value.Position = UDim2.new(1, -55, 0.5, -10)
  289. Value.Size = UDim2.new(0, 50, 0, 20)
  290. Value.Font = Enum.Font.GothamBold
  291. Value.Text = "0%"
  292. Value.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  293. Value.TextSize = 14
  294.  
  295. TextLabel.Parent = Slider
  296. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  297. TextLabel.BackgroundTransparency = 1
  298. TextLabel.Position = UDim2.new(1, -20, -0.75, 0)
  299. TextLabel.Size = UDim2.new(0, 26, 0, 50)
  300. TextLabel.Font = Enum.Font.GothamBold
  301. TextLabel.Text = "]"
  302. TextLabel.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  303. TextLabel.TextSize = 14
  304.  
  305. TextLabel_2.Parent = Slider
  306. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  307. TextLabel_2.BackgroundTransparency = 1
  308. TextLabel_2.Position = UDim2.new(1, -65, -0.75, 0)
  309. TextLabel_2.Size = UDim2.new(0, 26, 0, 50)
  310. TextLabel_2.Font = Enum.Font.GothamBold
  311. TextLabel_2.Text = "["
  312. TextLabel_2.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  313. TextLabel_2.TextSize = 14
  314.  
  315. Circle.Name = "Circle"
  316. Circle.Parent = Prefabs
  317. Circle.BackgroundColor3 = Color3.new(1, 1, 1)
  318. Circle.BackgroundTransparency = 1
  319. Circle.Image = "rbxassetid://266543268"
  320. Circle.ImageTransparency = 0.5
  321.  
  322. UIListLayout_3.Parent = Prefabs
  323. UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
  324. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  325. UIListLayout_3.Padding = UDim.new(0, 20)
  326.  
  327. Dropdown.Name = "Dropdown"
  328. Dropdown.Parent = Prefabs
  329. Dropdown.BackgroundColor3 = Color3.new(1, 1, 1)
  330. Dropdown.BackgroundTransparency = 1
  331. Dropdown.BorderSizePixel = 0
  332. Dropdown.Position = UDim2.new(-0.055555556, 0, 0.0833333284, 0)
  333. Dropdown.Size = UDim2.new(0, 200, 0, 20)
  334. Dropdown.ZIndex = 2
  335. Dropdown.Font = Enum.Font.GothamBold
  336. Dropdown.Text = "      Dropdown"
  337. Dropdown.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  338. Dropdown.TextSize = 14
  339. Dropdown.TextXAlignment = Enum.TextXAlignment.Left
  340.  
  341. Indicator_2.Name = "Indicator"
  342. Indicator_2.Parent = Dropdown
  343. Indicator_2.BackgroundColor3 = Color3.new(1, 1, 1)
  344. Indicator_2.BackgroundTransparency = 1
  345. Indicator_2.Position = UDim2.new(0.899999976, -10, 0.100000001, 0)
  346. Indicator_2.Rotation = -90
  347. Indicator_2.Size = UDim2.new(0, 15, 0, 15)
  348. Indicator_2.ZIndex = 2
  349. Indicator_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4744658743"
  350.  
  351. Box.Name = "Box"
  352. Box.Parent = Dropdown
  353. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  354. Box.BackgroundTransparency = 1
  355. Box.Position = UDim2.new(0, 0, 0, 25)
  356. Box.Size = UDim2.new(1, 0, 0, 150)
  357. Box.ZIndex = 3
  358. Box.Image = "rbxassetid://2851929490"
  359. Box.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  360. Box.ScaleType = Enum.ScaleType.Slice
  361. Box.SliceCenter = Rect.new(4, 4, 4, 4)
  362.  
  363. Objects.Name = "Objects"
  364. Objects.Parent = Box
  365. Objects.BackgroundColor3 = Color3.new(1, 1, 1)
  366. Objects.BackgroundTransparency = 1
  367. Objects.BorderSizePixel = 0
  368. Objects.Size = UDim2.new(1, 0, 1, 0)
  369. Objects.ZIndex = 3
  370. Objects.CanvasSize = UDim2.new(0, 0, 0, 0)
  371. Objects.ScrollBarThickness = 8
  372.  
  373. UIListLayout_4.Parent = Objects
  374. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  375.  
  376. TextButton_Roundify_4px.Name = "TextButton_Roundify_4px"
  377. TextButton_Roundify_4px.Parent = Dropdown
  378. TextButton_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  379. TextButton_Roundify_4px.BackgroundTransparency = 1
  380. TextButton_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  381. TextButton_Roundify_4px.Image = "rbxassetid://2851929490"
  382. TextButton_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  383. TextButton_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  384. TextButton_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  385.  
  386. TabButton.Name = "TabButton"
  387. TabButton.Parent = Prefabs
  388. TabButton.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  389. TabButton.BackgroundTransparency = 1
  390. TabButton.BorderSizePixel = 0
  391. TabButton.Position = UDim2.new(0.185185179, 0, 0, 0)
  392. TabButton.Size = UDim2.new(0, 71, 0, 20)
  393. TabButton.ZIndex = 2
  394. TabButton.Font = Enum.Font.GothamSemibold
  395. TabButton.Text = "Test tab"
  396. TabButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  397. TabButton.TextSize = 14
  398.  
  399. TextButton_Roundify_4px_2.Name = "TextButton_Roundify_4px"
  400. TextButton_Roundify_4px_2.Parent = TabButton
  401. TextButton_Roundify_4px_2.BackgroundColor3 = Color3.new(1, 1, 1)
  402. TextButton_Roundify_4px_2.BackgroundTransparency = 1
  403. TextButton_Roundify_4px_2.Size = UDim2.new(1, 0, 1, 0)
  404. TextButton_Roundify_4px_2.Image = "rbxassetid://2851929490"
  405. TextButton_Roundify_4px_2.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  406. TextButton_Roundify_4px_2.ScaleType = Enum.ScaleType.Slice
  407. TextButton_Roundify_4px_2.SliceCenter = Rect.new(4, 4, 4, 4)
  408.  
  409. Folder.Name = "Folder"
  410. Folder.Parent = Prefabs
  411. Folder.BackgroundColor3 = Color3.new(1, 1, 1)
  412. Folder.BackgroundTransparency = 1
  413. Folder.Position = UDim2.new(0, 0, 0, 50)
  414. Folder.Size = UDim2.new(1, 0, 0, 20)
  415. Folder.Image = "rbxassetid://2851929490"
  416. Folder.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  417. Folder.ScaleType = Enum.ScaleType.Slice
  418. Folder.SliceCenter = Rect.new(4, 4, 4, 4)
  419.  
  420. Button.Name = "Button"
  421. Button.Parent = Folder
  422. Button.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  423. Button.BackgroundTransparency = 1
  424. Button.BorderSizePixel = 0
  425. Button.Size = UDim2.new(1, 0, 0, 20)
  426. Button.ZIndex = 2
  427. Button.Font = Enum.Font.GothamSemibold
  428. Button.Text = "      Folder"
  429. Button.TextColor3 = Color3.new(1, 1, 1)
  430. Button.TextSize = 14
  431. Button.TextXAlignment = Enum.TextXAlignment.Left
  432.  
  433. TextButton_Roundify_4px_3.Name = "TextButton_Roundify_4px"
  434. TextButton_Roundify_4px_3.Parent = Button
  435. TextButton_Roundify_4px_3.BackgroundColor3 = Color3.new(1, 1, 1)
  436. TextButton_Roundify_4px_3.BackgroundTransparency = 1
  437. TextButton_Roundify_4px_3.Size = UDim2.new(1, 0, 1, 0)
  438. TextButton_Roundify_4px_3.Image = "rbxassetid://2851929490"
  439. TextButton_Roundify_4px_3.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  440. TextButton_Roundify_4px_3.ScaleType = Enum.ScaleType.Slice
  441. TextButton_Roundify_4px_3.SliceCenter = Rect.new(4, 4, 4, 4)
  442.  
  443. Toggle_2.Name = "Toggle"
  444. Toggle_2.Parent = Button
  445. Toggle_2.BackgroundColor3 = Color3.new(1, 1, 1)
  446. Toggle_2.BackgroundTransparency = 1
  447. Toggle_2.Position = UDim2.new(0, 5, 0, 0)
  448. Toggle_2.Size = UDim2.new(0, 20, 0, 20)
  449. Toggle_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  450.  
  451. Objects_2.Name = "Objects"
  452. Objects_2.Parent = Folder
  453. Objects_2.BackgroundColor3 = Color3.new(1, 1, 1)
  454. Objects_2.BackgroundTransparency = 1
  455. Objects_2.Position = UDim2.new(0, 10, 0, 25)
  456. Objects_2.Size = UDim2.new(1, -10, 1, -25)
  457. Objects_2.Visible = false
  458.  
  459. UIListLayout_5.Parent = Objects_2
  460. UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder
  461. UIListLayout_5.Padding = UDim.new(0, 5)
  462.  
  463. HorizontalAlignment.Name = "HorizontalAlignment"
  464. HorizontalAlignment.Parent = Prefabs
  465. HorizontalAlignment.BackgroundColor3 = Color3.new(1, 1, 1)
  466. HorizontalAlignment.BackgroundTransparency = 1
  467. HorizontalAlignment.Size = UDim2.new(1, 0, 0, 20)
  468.  
  469. UIListLayout_6.Parent = HorizontalAlignment
  470. UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal
  471. UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder
  472. UIListLayout_6.Padding = UDim.new(0, 5)
  473.  
  474. Console.Name = "Console"
  475. Console.Parent = Prefabs
  476. Console.BackgroundColor3 = Color3.new(1, 1, 1)
  477. Console.BackgroundTransparency = 1
  478. Console.Size = UDim2.new(1, 0, 0, 200)
  479. Console.Image = "rbxassetid://2851928141"
  480. Console.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  481. Console.ScaleType = Enum.ScaleType.Slice
  482. Console.SliceCenter = Rect.new(8, 8, 8, 8)
  483.  
  484. ScrollingFrame.Parent = Console
  485. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  486. ScrollingFrame.BackgroundTransparency = 1
  487. ScrollingFrame.BorderSizePixel = 0
  488. ScrollingFrame.Size = UDim2.new(1, 0, 1, 1)
  489. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  490. ScrollingFrame.ScrollBarThickness = 4
  491.  
  492. Source.Name = "Source"
  493. Source.Parent = ScrollingFrame
  494. Source.BackgroundColor3 = Color3.new(1, 1, 1)
  495. Source.BackgroundTransparency = 1
  496. Source.Position = UDim2.new(0, 40, 0, 0)
  497. Source.Size = UDim2.new(1, -40, 0, 10000)
  498. Source.ZIndex = 3
  499. Source.ClearTextOnFocus = false
  500. Source.Font = Enum.Font.Code
  501. Source.MultiLine = true
  502. Source.PlaceholderColor3 = Color3.new(0.8, 0.8, 0.8)
  503. Source.Text = ""
  504. Source.TextColor3 = Color3.new(1, 1, 1)
  505. Source.TextSize = 15
  506. Source.TextStrokeColor3 = Color3.new(1, 1, 1)
  507. Source.TextWrapped = true
  508. Source.TextXAlignment = Enum.TextXAlignment.Left
  509. Source.TextYAlignment = Enum.TextYAlignment.Top
  510.  
  511. Comments.Name = "Comments"
  512. Comments.Parent = Source
  513. Comments.BackgroundColor3 = Color3.new(1, 1, 1)
  514. Comments.BackgroundTransparency = 1
  515. Comments.Size = UDim2.new(1, 0, 1, 0)
  516. Comments.ZIndex = 5
  517. Comments.Font = Enum.Font.Code
  518. Comments.Text = ""
  519. Comments.TextColor3 = Color3.new(0.231373, 0.784314, 0.231373)
  520. Comments.TextSize = 15
  521. Comments.TextXAlignment = Enum.TextXAlignment.Left
  522. Comments.TextYAlignment = Enum.TextYAlignment.Top
  523.  
  524. Globals.Name = "Globals"
  525. Globals.Parent = Source
  526. Globals.BackgroundColor3 = Color3.new(1, 1, 1)
  527. Globals.BackgroundTransparency = 1
  528. Globals.Size = UDim2.new(1, 0, 1, 0)
  529. Globals.ZIndex = 5
  530. Globals.Font = Enum.Font.Code
  531. Globals.Text = ""
  532. Globals.TextColor3 = Color3.new(0.517647, 0.839216, 0.968628)
  533. Globals.TextSize = 15
  534. Globals.TextXAlignment = Enum.TextXAlignment.Left
  535. Globals.TextYAlignment = Enum.TextYAlignment.Top
  536.  
  537. Keywords.Name = "Keywords"
  538. Keywords.Parent = Source
  539. Keywords.BackgroundColor3 = Color3.new(1, 1, 1)
  540. Keywords.BackgroundTransparency = 1
  541. Keywords.Size = UDim2.new(1, 0, 1, 0)
  542. Keywords.ZIndex = 5
  543. Keywords.Font = Enum.Font.Code
  544. Keywords.Text = ""
  545. Keywords.TextColor3 = Color3.new(0.972549, 0.427451, 0.486275)
  546. Keywords.TextSize = 15
  547. Keywords.TextXAlignment = Enum.TextXAlignment.Left
  548. Keywords.TextYAlignment = Enum.TextYAlignment.Top
  549.  
  550. RemoteHighlight.Name = "RemoteHighlight"
  551. RemoteHighlight.Parent = Source
  552. RemoteHighlight.BackgroundColor3 = Color3.new(1, 1, 1)
  553. RemoteHighlight.BackgroundTransparency = 1
  554. RemoteHighlight.Size = UDim2.new(1, 0, 1, 0)
  555. RemoteHighlight.ZIndex = 5
  556. RemoteHighlight.Font = Enum.Font.Code
  557. RemoteHighlight.Text = ""
  558. RemoteHighlight.TextColor3 = Color3.new(0, 0.568627, 1)
  559. RemoteHighlight.TextSize = 15
  560. RemoteHighlight.TextXAlignment = Enum.TextXAlignment.Left
  561. RemoteHighlight.TextYAlignment = Enum.TextYAlignment.Top
  562.  
  563. Strings.Name = "Strings"
  564. Strings.Parent = Source
  565. Strings.BackgroundColor3 = Color3.new(1, 1, 1)
  566. Strings.BackgroundTransparency = 1
  567. Strings.Size = UDim2.new(1, 0, 1, 0)
  568. Strings.ZIndex = 5
  569. Strings.Font = Enum.Font.Code
  570. Strings.Text = ""
  571. Strings.TextColor3 = Color3.new(0.678431, 0.945098, 0.584314)
  572. Strings.TextSize = 15
  573. Strings.TextXAlignment = Enum.TextXAlignment.Left
  574. Strings.TextYAlignment = Enum.TextYAlignment.Top
  575.  
  576. Tokens.Name = "Tokens"
  577. Tokens.Parent = Source
  578. Tokens.BackgroundColor3 = Color3.new(1, 1, 1)
  579. Tokens.BackgroundTransparency = 1
  580. Tokens.Size = UDim2.new(1, 0, 1, 0)
  581. Tokens.ZIndex = 5
  582. Tokens.Font = Enum.Font.Code
  583. Tokens.Text = ""
  584. Tokens.TextColor3 = Color3.new(1, 1, 1)
  585. Tokens.TextSize = 15
  586. Tokens.TextXAlignment = Enum.TextXAlignment.Left
  587. Tokens.TextYAlignment = Enum.TextYAlignment.Top
  588.  
  589. Numbers.Name = "Numbers"
  590. Numbers.Parent = Source
  591. Numbers.BackgroundColor3 = Color3.new(1, 1, 1)
  592. Numbers.BackgroundTransparency = 1
  593. Numbers.Size = UDim2.new(1, 0, 1, 0)
  594. Numbers.ZIndex = 4
  595. Numbers.Font = Enum.Font.Code
  596. Numbers.Text = ""
  597. Numbers.TextColor3 = Color3.new(1, 0.776471, 0)
  598. Numbers.TextSize = 15
  599. Numbers.TextXAlignment = Enum.TextXAlignment.Left
  600. Numbers.TextYAlignment = Enum.TextYAlignment.Top
  601.  
  602. Info.Name = "Info"
  603. Info.Parent = Source
  604. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  605. Info.BackgroundTransparency = 1
  606. Info.Size = UDim2.new(1, 0, 1, 0)
  607. Info.ZIndex = 5
  608. Info.Font = Enum.Font.Code
  609. Info.Text = ""
  610. Info.TextColor3 = Color3.new(0, 0.635294, 1)
  611. Info.TextSize = 15
  612. Info.TextXAlignment = Enum.TextXAlignment.Left
  613. Info.TextYAlignment = Enum.TextYAlignment.Top
  614.  
  615. Lines.Name = "Lines"
  616. Lines.Parent = ScrollingFrame
  617. Lines.BackgroundColor3 = Color3.new(1, 1, 1)
  618. Lines.BackgroundTransparency = 1
  619. Lines.BorderSizePixel = 0
  620. Lines.Size = UDim2.new(0, 40, 0, 10000)
  621. Lines.ZIndex = 4
  622. Lines.Font = Enum.Font.Code
  623. Lines.Text = "1\n"
  624. Lines.TextColor3 = Color3.new(1, 1, 1)
  625. Lines.TextSize = 15
  626. Lines.TextWrapped = true
  627. Lines.TextYAlignment = Enum.TextYAlignment.Top
  628.  
  629. ColorPicker.Name = "ColorPicker"
  630. ColorPicker.Parent = Prefabs
  631. ColorPicker.BackgroundColor3 = Color3.new(1, 1, 1)
  632. ColorPicker.BackgroundTransparency = 1
  633. ColorPicker.Size = UDim2.new(0, 180, 0, 110)
  634. ColorPicker.Image = "rbxassetid://2851929490"
  635. ColorPicker.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  636. ColorPicker.ScaleType = Enum.ScaleType.Slice
  637. ColorPicker.SliceCenter = Rect.new(4, 4, 4, 4)
  638.  
  639. Palette.Name = "Palette"
  640. Palette.Parent = ColorPicker
  641. Palette.BackgroundColor3 = Color3.new(1, 1, 1)
  642. Palette.BackgroundTransparency = 1
  643. Palette.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0)
  644. Palette.Size = UDim2.new(0, 100, 0, 100)
  645. Palette.Image = "rbxassetid://698052001"
  646. Palette.ScaleType = Enum.ScaleType.Slice
  647. Palette.SliceCenter = Rect.new(4, 4, 4, 4)
  648.  
  649. Indicator_3.Name = "Indicator"
  650. Indicator_3.Parent = Palette
  651. Indicator_3.BackgroundColor3 = Color3.new(1, 1, 1)
  652. Indicator_3.BackgroundTransparency = 1
  653. Indicator_3.Size = UDim2.new(0, 5, 0, 5)
  654. Indicator_3.ZIndex = 2
  655. Indicator_3.Image = "rbxassetid://2851926732"
  656. Indicator_3.ImageColor3 = Color3.new(0, 0, 0)
  657. Indicator_3.ScaleType = Enum.ScaleType.Slice
  658. Indicator_3.SliceCenter = Rect.new(12, 12, 12, 12)
  659.  
  660. Sample.Name = "Sample"
  661. Sample.Parent = ColorPicker
  662. Sample.BackgroundColor3 = Color3.new(1, 1, 1)
  663. Sample.BackgroundTransparency = 1
  664. Sample.Position = UDim2.new(0.800000012, 0, 0.0500000007, 0)
  665. Sample.Size = UDim2.new(0, 25, 0, 25)
  666. Sample.Image = "rbxassetid://2851929490"
  667. Sample.ScaleType = Enum.ScaleType.Slice
  668. Sample.SliceCenter = Rect.new(4, 4, 4, 4)
  669.  
  670. Saturation.Name = "Saturation"
  671. Saturation.Parent = ColorPicker
  672. Saturation.BackgroundColor3 = Color3.new(1, 1, 1)
  673. Saturation.Position = UDim2.new(0.649999976, 0, 0.0500000007, 0)
  674. Saturation.Size = UDim2.new(0, 15, 0, 100)
  675. Saturation.Image = "rbxassetid://3641079629"
  676.  
  677. Indicator_4.Name = "Indicator"
  678. Indicator_4.Parent = Saturation
  679. Indicator_4.BackgroundColor3 = Color3.new(1, 1, 1)
  680. Indicator_4.BorderSizePixel = 0
  681. Indicator_4.Size = UDim2.new(0, 20, 0, 2)
  682. Indicator_4.ZIndex = 2
  683.  
  684. Switch.Name = "Switch"
  685. Switch.Parent = Prefabs
  686. Switch.BackgroundColor3 = Color3.new(1, 1, 1)
  687. Switch.BackgroundTransparency = 1
  688. Switch.BorderSizePixel = 0
  689. Switch.Position = UDim2.new(0.229411766, 0, 0.20714286, 0)
  690. Switch.Size = UDim2.new(0, 20, 0, 20)
  691. Switch.ZIndex = 2
  692. Switch.Font = Enum.Font.SourceSans
  693. Switch.Text = ""
  694. Switch.TextColor3 = Color3.new(1, 1, 1)
  695. Switch.TextSize = 18
  696.  
  697. TextButton_Roundify_4px_4.Name = "TextButton_Roundify_4px"
  698. TextButton_Roundify_4px_4.Parent = Switch
  699. TextButton_Roundify_4px_4.BackgroundColor3 = Color3.new(1, 1, 1)
  700. TextButton_Roundify_4px_4.BackgroundTransparency = 1
  701. TextButton_Roundify_4px_4.Size = UDim2.new(1, 0, 1, 0)
  702. TextButton_Roundify_4px_4.Image = "rbxassetid://2851929490"
  703. TextButton_Roundify_4px_4.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  704. TextButton_Roundify_4px_4.ImageTransparency = 0.5
  705. TextButton_Roundify_4px_4.ScaleType = Enum.ScaleType.Slice
  706. TextButton_Roundify_4px_4.SliceCenter = Rect.new(4, 4, 4, 4)
  707.  
  708. Title_3.Name = "Title"
  709. Title_3.Parent = Switch
  710. Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
  711. Title_3.BackgroundTransparency = 1
  712. Title_3.Position = UDim2.new(1.20000005, 0, 0, 0)
  713. Title_3.Size = UDim2.new(0, 20, 0, 20)
  714. Title_3.Font = Enum.Font.GothamSemibold
  715. Title_3.Text = "Switch"
  716. Title_3.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  717. Title_3.TextSize = 14
  718. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  719.  
  720. Button_2.Name = "Button"
  721. Button_2.Parent = Prefabs
  722. Button_2.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  723. Button_2.BackgroundTransparency = 1
  724. Button_2.BorderSizePixel = 0
  725. Button_2.Size = UDim2.new(0, 91, 0, 20)
  726. Button_2.ZIndex = 2
  727. Button_2.Font = Enum.Font.GothamSemibold
  728. Button_2.TextColor3 = Color3.new(1, 1, 1)
  729. Button_2.TextSize = 14
  730.  
  731. TextButton_Roundify_4px_5.Name = "TextButton_Roundify_4px"
  732. TextButton_Roundify_4px_5.Parent = Button_2
  733. TextButton_Roundify_4px_5.BackgroundColor3 = Color3.new(1, 1, 1)
  734. TextButton_Roundify_4px_5.BackgroundTransparency = 1
  735. TextButton_Roundify_4px_5.Size = UDim2.new(1, 0, 1, 0)
  736. TextButton_Roundify_4px_5.Image = "rbxassetid://2851929490"
  737. TextButton_Roundify_4px_5.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  738. TextButton_Roundify_4px_5.ScaleType = Enum.ScaleType.Slice
  739. TextButton_Roundify_4px_5.SliceCenter = Rect.new(4, 4, 4, 4)
  740.  
  741. DropdownButton.Name = "DropdownButton"
  742. DropdownButton.Parent = Prefabs
  743. DropdownButton.BackgroundColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  744. DropdownButton.BorderSizePixel = 0
  745. DropdownButton.Size = UDim2.new(1, 0, 0, 20)
  746. DropdownButton.ZIndex = 3
  747. DropdownButton.Font = Enum.Font.GothamBold
  748. DropdownButton.Text = "      Button"
  749. DropdownButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  750. DropdownButton.TextSize = 14
  751. DropdownButton.TextXAlignment = Enum.TextXAlignment.Left
  752.  
  753. Keybind.Name = "Keybind"
  754. Keybind.Parent = Prefabs
  755. Keybind.BackgroundColor3 = Color3.new(1, 1, 1)
  756. Keybind.BackgroundTransparency = 1
  757. Keybind.Size = UDim2.new(0, 200, 0, 20)
  758. Keybind.Image = "rbxassetid://2851929490"
  759. Keybind.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  760. Keybind.ScaleType = Enum.ScaleType.Slice
  761. Keybind.SliceCenter = Rect.new(4, 4, 4, 4)
  762.  
  763. Title_4.Name = "Title"
  764. Title_4.Parent = Keybind
  765. Title_4.BackgroundColor3 = Color3.new(1, 1, 1)
  766. Title_4.BackgroundTransparency = 1
  767. Title_4.Size = UDim2.new(0, 0, 1, 0)
  768. Title_4.Font = Enum.Font.GothamBold
  769. Title_4.Text = "Keybind"
  770. Title_4.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  771. Title_4.TextSize = 14
  772. Title_4.TextXAlignment = Enum.TextXAlignment.Left
  773.  
  774. Input.Name = "Input"
  775. Input.Parent = Keybind
  776. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  777. Input.BackgroundTransparency = 1
  778. Input.BorderSizePixel = 0
  779. Input.Position = UDim2.new(1, -85, 0, 2)
  780. Input.Size = UDim2.new(0, 80, 1, -4)
  781. Input.ZIndex = 2
  782. Input.Font = Enum.Font.GothamSemibold
  783. Input.Text = "RShift"
  784. Input.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  785. Input.TextSize = 12
  786. Input.TextWrapped = true
  787.  
  788. Input_Roundify_4px.Name = "Input_Roundify_4px"
  789. Input_Roundify_4px.Parent = Input
  790. Input_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  791. Input_Roundify_4px.BackgroundTransparency = 1
  792. Input_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  793. Input_Roundify_4px.Image = "rbxassetid://2851929490"
  794. Input_Roundify_4px.ImageColor3 = Color3.new(0.290196, 0.294118, 0.313726)
  795. Input_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  796. Input_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  797.  
  798. Windows.Name = "Windows"
  799. Windows.Parent = imgui
  800. Windows.BackgroundColor3 = Color3.new(1, 1, 1)
  801. Windows.BackgroundTransparency = 1
  802. Windows.Position = UDim2.new(0, 20, 0, 20)
  803. Windows.Size = UDim2.new(1, 20, 1, -20)
  804.  
  805.  
  806. script.Parent = imgui
  807.  
  808. local UIS = game:GetService("UserInputService")
  809. local TweenService = game:GetService("TweenService")
  810. local RS = game:GetService("RunService")
  811. local ps = game:GetService("Players")
  812.  
  813. local p = ps.LocalPlayer
  814. local mouse = p:GetMouse()
  815.  
  816. local Prefabs = script.Parent:WaitForChild("Prefabs")
  817. local Windows = script.Parent:FindFirstChild("Windows")
  818.  
  819. local checks = {
  820.     ["binding"] = false,
  821. }
  822.  
  823. UIS.InputBegan:Connect(function(input, gameProcessed)
  824.     if input.KeyCode == ((typeof(ui_options.toggle_key) == "EnumItem") and ui_options.toggle_key or Enum.KeyCode.RightShift) then
  825.         if script.Parent then
  826.             if not checks.binding then
  827.                 script.Parent.Enabled = not script.Parent.Enabled
  828.             end
  829.         end
  830.     end
  831. end)
  832.  
  833. local function Resize(part, new, _delay)
  834.     _delay = _delay or 0.5
  835.     local tweenInfo = TweenInfo.new(_delay, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  836.     local tween = TweenService:Create(part, tweenInfo, new)
  837.     tween:Play()
  838. end
  839.  
  840. local function rgbtohsv(r, g, b)
  841.     r, g, b = r / 255, g / 255, b / 255
  842.     local max, min = math.max(r, g, b), math.min(r, g, b)
  843.     local h, s, v
  844.     v = max
  845.  
  846.     local d = max - min
  847.     if max == 0 then
  848.         s = 0
  849.     else
  850.         s = d / max
  851.     end
  852.  
  853.     if max == min then
  854.         h = 0
  855.     else
  856.         if max == r then
  857.             h = (g - b) / d
  858.             if g < b then
  859.                 h = h + 6
  860.             end
  861.         elseif max == g then
  862.             h = (b - r) / d + 2
  863.         elseif max == b then
  864.             h = (r - g) / d + 4
  865.         end
  866.         h = h / 6
  867.     end
  868.  
  869.     return h, s, v
  870. end
  871.  
  872. local function hasprop(object, prop)
  873.     local a, b = pcall(function()
  874.         return object[tostring(prop)]
  875.     end)
  876.     if a then
  877.         return b
  878.     end
  879. end
  880.  
  881. local function gNameLen(obj)
  882.     return obj.TextBounds.X + 15
  883. end
  884.  
  885. local function gMouse()
  886.     return Vector2.new(UIS:GetMouseLocation().X + 1, UIS:GetMouseLocation().Y - 35)
  887. end
  888.  
  889. local function ripple(button, x, y)
  890.     spawn(function()
  891.         button.ClipsDescendants = true
  892.  
  893.         local circle = Prefabs:FindFirstChild("Circle"):Clone()
  894.  
  895.         circle.Parent = button
  896.         circle.ZIndex = 1000
  897.  
  898.         local new_x = x - circle.AbsolutePosition.X
  899.         local new_y = y - circle.AbsolutePosition.Y
  900.         circle.Position = UDim2.new(0, new_x, 0, new_y)
  901.  
  902.         local size = 0
  903.         if button.AbsoluteSize.X > button.AbsoluteSize.Y then
  904.              size = button.AbsoluteSize.X * 1.5
  905.         elseif button.AbsoluteSize.X < button.AbsoluteSize.Y then
  906.              size = button.AbsoluteSize.Y * 1.5
  907.         elseif button.AbsoluteSize.X == button.AbsoluteSize.Y then
  908.             size = button.AbsoluteSize.X * 1.5
  909.         end
  910.  
  911.         circle:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, -size / 2, 0.5, -size / 2), "Out", "Quad", 0.5, false, nil)
  912.         Resize(circle, {ImageTransparency = 1}, 0.5)
  913.  
  914.         wait(0.5)
  915.         circle:Destroy()
  916.     end)
  917. end
  918.  
  919. local windows = 0
  920. local library = {}
  921.  
  922. local function format_windows()
  923.     local ull = Prefabs:FindFirstChild("UIListLayout"):Clone()
  924.     ull.Parent = Windows
  925.     local data = {}
  926.  
  927.     for i,v in next, Windows:GetChildren() do
  928.         if not (v:IsA("UIListLayout")) then
  929.             data[v] = v.AbsolutePosition
  930.         end
  931.     end
  932.  
  933.     ull:Destroy()
  934.  
  935.     for i,v in next, data do
  936.         i.Position = UDim2.new(0, v.X, 0, v.Y)
  937.     end
  938. end
  939.  
  940. function library:FormatWindows()
  941.     format_windows()
  942. end
  943.  
  944. function library:AddWindow(title, options)
  945.     windows = windows + 1
  946.     local dropdown_open = false
  947.     title = tostring(title or "New Window")
  948.     options = (typeof(options) == "table") and options or ui_options
  949.     options.tween_time = 0.1
  950.  
  951.     local Window = Prefabs:FindFirstChild("Window"):Clone()
  952.     Window.Parent = Windows
  953.     Window:FindFirstChild("Title").Text = title
  954.     Window.Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)
  955.     Window.ZIndex = Window.ZIndex + (windows * 10)
  956.  
  957.     do
  958.         local Title = Window:FindFirstChild("Title")
  959.         local Bar = Window:FindFirstChild("Bar")
  960.         local Base = Bar:FindFirstChild("Base")
  961.         local Top = Bar:FindFirstChild("Top")
  962.         local SplitFrame = Window:FindFirstChild("TabSelection"):FindFirstChild("Frame")
  963.         local Toggle = Bar:FindFirstChild("Toggle")
  964.  
  965.         spawn(function()
  966.             while true do
  967.                 Bar.BackgroundColor3 = options.main_color
  968.                 Base.BackgroundColor3 = options.main_color
  969.                 Base.ImageColor3 = options.main_color
  970.                 Top.ImageColor3 = options.main_color
  971.                 SplitFrame.BackgroundColor3 = options.main_color
  972.  
  973.                 RS.Heartbeat:Wait()
  974.             end
  975.         end)
  976.  
  977.     end
  978.  
  979.     local Resizer = Window:WaitForChild("Resizer")
  980.  
  981.     local window_data = {}
  982.     Window.Draggable = true
  983.  
  984.     do
  985.         local oldIcon = mouse.Icon
  986.         local Entered = false
  987.         Resizer.MouseEnter:Connect(function()
  988.             Window.Draggable = false
  989.             if options.can_resize then
  990.                 oldIcon = mouse.Icon
  991.                
  992.             end
  993.             Entered = true
  994.         end)
  995.  
  996.         Resizer.MouseLeave:Connect(function()
  997.             Entered = false
  998.             if options.can_resize then
  999.                 mouse.Icon = oldIcon
  1000.             end
  1001.             Window.Draggable = true
  1002.         end)
  1003.  
  1004.         local Held = false
  1005.         UIS.InputBegan:Connect(function(inputObject)
  1006.             if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1007.                 Held = true
  1008.  
  1009.                 spawn(function()
  1010.                     if Entered and Resizer.Active and options.can_resize then
  1011.                         while Held and Resizer.Active do
  1012.  
  1013.                             local mouse_location = gMouse()
  1014.                             local x = mouse_location.X - Window.AbsolutePosition.X
  1015.                             local y = mouse_location.Y - Window.AbsolutePosition.Y
  1016.  
  1017.                            
  1018.                             if x >= options.min_size.X and y >= options.min_size.Y then
  1019.                                 Resize(Window, {Size = UDim2.new(0, x, 0, y)}, options.tween_time)
  1020.                             elseif x >= options.min_size.X then
  1021.                                 Resize(Window, {Size = UDim2.new(0, x, 0, options.min_size.Y)}, options.tween_time)
  1022.                             elseif y >= options.min_size.Y then
  1023.                                 Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, y)}, options.tween_time)
  1024.                             else
  1025.                                 Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)}, options.tween_time)
  1026.                             end
  1027.  
  1028.                             RS.Heartbeat:Wait()
  1029.                         end
  1030.                     end
  1031.                 end)
  1032.             end
  1033.         end)
  1034.         UIS.InputEnded:Connect(function(inputObject)
  1035.             if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1036.                 Held = false
  1037.             end
  1038.         end)
  1039.     end
  1040.  
  1041.     do
  1042.         local open_close = Window:FindFirstChild("Bar"):FindFirstChild("Toggle")
  1043.         local open = true
  1044.         local canopen = true
  1045.  
  1046.         local oldwindowdata = {}
  1047.         local oldy = Window.AbsoluteSize.Y
  1048.         open_close.MouseButton1Click:Connect(function()
  1049.             if canopen then
  1050.                 canopen = false
  1051.  
  1052.                 if open then
  1053.                    
  1054.  
  1055.                     oldwindowdata = {}
  1056.                     for i,v in next, Window:FindFirstChild("Tabs"):GetChildren() do
  1057.                         oldwindowdata[v] = v.Visible
  1058.                         v.Visible = false
  1059.                     end
  1060.  
  1061.                     Resizer.Active = false
  1062.  
  1063.                     oldy = Window.AbsoluteSize.Y
  1064.                     Resize(open_close, {Rotation = 0}, options.tween_time)
  1065.                     Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, 26)}, options.tween_time)
  1066.                     open_close.Parent:FindFirstChild("Base").Transparency = 1
  1067.  
  1068.                 else
  1069.                    
  1070.  
  1071.                     for i,v in next, oldwindowdata do
  1072.                         i.Visible = v
  1073.                     end
  1074.  
  1075.                     Resizer.Active = true
  1076.  
  1077.                     Resize(open_close, {Rotation = 90}, options.tween_time)
  1078.                     Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, oldy)}, options.tween_time)
  1079.                     open_close.Parent:FindFirstChild("Base").Transparency = 0
  1080.  
  1081.                 end
  1082.  
  1083.                 open = not open
  1084.                 wait(options.tween_time)
  1085.                 canopen = true
  1086.  
  1087.             end
  1088.         end)
  1089.     end
  1090.  
  1091.     do
  1092.         local tabs = Window:FindFirstChild("Tabs")
  1093.         local tab_selection = Window:FindFirstChild("TabSelection")
  1094.         local tab_buttons = tab_selection:FindFirstChild("TabButtons")
  1095.  
  1096.         do
  1097.             function window_data:AddTab(tab_name)
  1098.                 local tab_data = {}
  1099.                 tab_name = tostring(tab_name or "New Tab")
  1100.                 tab_selection.Visible = true
  1101.  
  1102.                 local new_button = Prefabs:FindFirstChild("TabButton"):Clone()
  1103.                 new_button.Parent = tab_buttons
  1104.                 new_button.Text = tab_name
  1105.                 new_button.Size = UDim2.new(0, gNameLen(new_button), 0, 20)
  1106.                 new_button.ZIndex = new_button.ZIndex + (windows * 10)
  1107.                 new_button:GetChildren()[1].ZIndex = new_button:GetChildren()[1].ZIndex + (windows * 10)
  1108.  
  1109.                 local new_tab = Prefabs:FindFirstChild("Tab"):Clone()
  1110.                 new_tab.Parent = tabs
  1111.                 new_tab.ZIndex = new_tab.ZIndex + (windows * 10)
  1112.  
  1113.                 local function show()
  1114.                     if dropdown_open then return end
  1115.                     for i, v in next, tab_buttons:GetChildren() do
  1116.                         if not (v:IsA("UIListLayout")) then
  1117.                             v:GetChildren()[1].ImageColor3 = Color3.fromRGB(52, 53, 56)
  1118.                             Resize(v, {Size = UDim2.new(0, v.AbsoluteSize.X, 0, 20)}, options.tween_time)
  1119.                         end
  1120.                     end
  1121.                     for i, v in next, tabs:GetChildren() do
  1122.                         v.Visible = false
  1123.                     end
  1124.  
  1125.                     Resize(new_button, {Size = UDim2.new(0, new_button.AbsoluteSize.X, 0, 25)}, options.tween_time)
  1126.                     new_button:GetChildren()[1].ImageColor3 = Color3.fromRGB(73, 75, 79)
  1127.                     new_tab.Visible = true
  1128.                 end
  1129.  
  1130.                 new_button.MouseButton1Click:Connect(function()
  1131.                     show()
  1132.                 end)
  1133.  
  1134.                 function tab_data:Show()
  1135.                     show()
  1136.                 end
  1137.  
  1138.                 do
  1139.  
  1140.                     function tab_data:AddLabel(label_text)
  1141.                         label_text = tostring(label_text or "New Label")
  1142.  
  1143.                         local label = Prefabs:FindFirstChild("Label"):Clone()
  1144.  
  1145.                         label.Parent = new_tab
  1146.                         label.Text = label_text
  1147.                         label.Size = UDim2.new(0, gNameLen(label), 0, 20)
  1148.                         label.ZIndex = label.ZIndex + (windows * 10)
  1149.  
  1150.                         return label
  1151.                     end
  1152.  
  1153.                     function tab_data:AddButton(button_text, callback)
  1154.                         button_text = tostring(button_text or "New Button")
  1155.                         callback = typeof(callback) == "function" and callback or function()end
  1156.  
  1157.                         local button = Prefabs:FindFirstChild("Button"):Clone()
  1158.  
  1159.                         button.Parent = new_tab
  1160.                         button.Text = button_text
  1161.                         button.Size = UDim2.new(0, gNameLen(button), 0, 20)
  1162.                         button.ZIndex = button.ZIndex + (windows * 10)
  1163.                         button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1164.  
  1165.                         spawn(function()
  1166.                             while true do
  1167.                                 if button and button:GetChildren()[1] then
  1168.                                     button:GetChildren()[1].ImageColor3 = options.main_color
  1169.                                 end
  1170.                                 RS.Heartbeat:Wait()
  1171.                             end
  1172.                         end)
  1173.  
  1174.                         button.MouseButton1Click:Connect(function()
  1175.                             ripple(button, mouse.X, mouse.Y)
  1176.                             pcall(callback)
  1177.                         end)
  1178.  
  1179.                         return button
  1180.                     end
  1181.  
  1182.                     function tab_data:AddSwitch(switch_text, callback)
  1183.                         local switch_data = {}
  1184.  
  1185.                         switch_text = tostring(switch_text or "New Switch")
  1186.                         callback = typeof(callback) == "function" and callback or function()end
  1187.  
  1188.                         local switch = Prefabs:FindFirstChild("Switch"):Clone()
  1189.  
  1190.                         switch.Parent = new_tab
  1191.                         switch:FindFirstChild("Title").Text = switch_text
  1192.  
  1193.                         switch:FindFirstChild("Title").ZIndex = switch:FindFirstChild("Title").ZIndex + (windows * 10)
  1194.                         switch.ZIndex = switch.ZIndex + (windows * 10)
  1195.                         switch:GetChildren()[1].ZIndex = switch:GetChildren()[1].ZIndex + (windows * 10)
  1196.  
  1197.                         spawn(function()
  1198.                             while true do
  1199.                                 if switch and switch:GetChildren()[1] then
  1200.                                     switch:GetChildren()[1].ImageColor3 = options.main_color
  1201.                                 end
  1202.                                 RS.Heartbeat:Wait()
  1203.                             end
  1204.                         end)
  1205.  
  1206.                         local toggled = false
  1207.                         switch.MouseButton1Click:Connect(function()
  1208.                             toggled = not toggled
  1209.                             switch.Text = toggled and utf8.char(10003) or ""
  1210.                             pcall(callback, toggled)
  1211.                         end)
  1212.  
  1213.                         function switch_data:Set(bool)
  1214.                             toggled = (typeof(bool) == "boolean") and bool or false
  1215.                             switch.Text = toggled and utf8.char(10003) or ""
  1216.                             pcall(callback,toggled)
  1217.                         end
  1218.  
  1219.                         return switch_data, switch
  1220.                     end
  1221.  
  1222.                     function tab_data:AddTextBox(textbox_text, callback, textbox_options)
  1223.                         textbox_text = tostring(textbox_text or "New TextBox")
  1224.                         callback = typeof(callback) == "function" and callback or function()end
  1225.                         textbox_options = typeof(textbox_options) == "table" and textbox_options or {["clear"] = true}
  1226.                         textbox_options = {
  1227.                             ["clear"] = ((textbox_options.clear) == true)
  1228.                         }
  1229.  
  1230.                         local textbox = Prefabs:FindFirstChild("TextBox"):Clone()
  1231.  
  1232.                         textbox.Parent = new_tab
  1233.                         textbox.PlaceholderText = textbox_text
  1234.                         textbox.ZIndex = textbox.ZIndex + (windows * 10)
  1235.                         textbox:GetChildren()[1].ZIndex = textbox:GetChildren()[1].ZIndex + (windows * 10)
  1236.  
  1237.                         textbox.FocusLost:Connect(function(ep)
  1238.                             if ep then
  1239.                                 if #textbox.Text > 0 then
  1240.                                     pcall(callback, textbox.Text)
  1241.                                     if textbox_options.clear then
  1242.                                         textbox.Text = ""
  1243.                                     end
  1244.                                 end
  1245.                             end
  1246.                         end)
  1247.  
  1248.                         return textbox
  1249.                     end
  1250.  
  1251.                     function tab_data:AddSlider(slider_text, callback, slider_options)
  1252.                         local slider_data = {}
  1253.  
  1254.                         slider_text = tostring(slider_text or "New Slider")
  1255.                         callback = typeof(callback) == "function" and callback or function()end
  1256.                         slider_options = typeof(slider_options) == "table" and slider_options or {}
  1257.                         slider_options = {
  1258.                             ["min"] = slider_options.min or 0,
  1259.                             ["max"] = slider_options.max or 100,
  1260.                             ["readonly"] = slider_options.readonly or false,
  1261.                         }
  1262.  
  1263.                         local slider = Prefabs:FindFirstChild("Slider"):Clone()
  1264.  
  1265.                         slider.Parent = new_tab
  1266.                         slider.ZIndex = slider.ZIndex + (windows * 10)
  1267.  
  1268.                         local title = slider:FindFirstChild("Title")
  1269.                         local indicator = slider:FindFirstChild("Indicator")
  1270.                         local value = slider:FindFirstChild("Value")
  1271.                         title.ZIndex = title.ZIndex + (windows * 10)
  1272.                         indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1273.                         value.ZIndex = value.ZIndex + (windows * 10)
  1274.  
  1275.                         title.Text = slider_text
  1276.  
  1277.                         do
  1278.                             local Entered = false
  1279.                             slider.MouseEnter:Connect(function()
  1280.                                 Entered = true
  1281.                                 Window.Draggable = false
  1282.                             end)
  1283.                             slider.MouseLeave:Connect(function()
  1284.                                 Entered = false
  1285.                                 Window.Draggable = true
  1286.                             end)
  1287.  
  1288.                             local Held = false
  1289.                             UIS.InputBegan:Connect(function(inputObject)
  1290.                                 if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1291.                                     Held = true
  1292.  
  1293.                                     spawn(function()
  1294.                                         if Entered and not slider_options.readonly then
  1295.                                             while Held and (not dropdown_open) do
  1296.                                                 local mouse_location = gMouse()
  1297.                                                 local x = (slider.AbsoluteSize.X - (slider.AbsoluteSize.X - ((mouse_location.X - slider.AbsolutePosition.X)) + 1)) / slider.AbsoluteSize.X
  1298.  
  1299.                                                 local min = 0
  1300.                                                 local max = 1
  1301.  
  1302.                                                 local size = min
  1303.                                                 if x >= min and x <= max then
  1304.                                                     size = x
  1305.                                                 elseif x < min then
  1306.                                                     size = min
  1307.                                                 elseif x > max then
  1308.                                                     size = max
  1309.                                                 end
  1310.  
  1311.                                                 Resize(indicator, {Size = UDim2.new(size or min, 0, 0, 20)}, options.tween_time)
  1312.                                                 local p = math.floor((size or min) * 100)
  1313.  
  1314.                                                 local maxv = slider_options.max
  1315.                                                 local minv = slider_options.min
  1316.                                                 local diff = maxv - minv
  1317.  
  1318.                                                 local sel_value = math.floor(((diff / 100) * p) + minv)
  1319.  
  1320.                                                 value.Text = tostring(sel_value)
  1321.                                                 pcall(callback, sel_value)
  1322.  
  1323.                                                 RS.Heartbeat:Wait()
  1324.                                             end
  1325.                                         end
  1326.                                     end)
  1327.                                 end
  1328.                             end)
  1329.                             UIS.InputEnded:Connect(function(inputObject)
  1330.                                 if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1331.                                     Held = false
  1332.                                 end
  1333.                             end)
  1334.  
  1335.                             function slider_data:Set(new_value)
  1336.                                 new_value = tonumber(new_value) or 0
  1337.                                 new_value = (((new_value >= 0 and new_value <= 100) and new_value) / 100)
  1338.  
  1339.                                 Resize(indicator, {Size = UDim2.new(new_value or 0, 0, 0, 20)}, options.tween_time)
  1340.                                 local p = math.floor((new_value or 0) * 100)
  1341.  
  1342.                                 local maxv = slider_options.max
  1343.                                 local minv = slider_options.min
  1344.                                 local diff = maxv - minv
  1345.  
  1346.                                 local sel_value = math.floor(((diff / 100) * p) + minv)
  1347.  
  1348.                                 value.Text = tostring(sel_value)
  1349.                                 pcall(callback, sel_value)
  1350.                             end
  1351.  
  1352.                             slider_data:Set(slider_options["min"])
  1353.                         end
  1354.  
  1355.                         return slider_data, slider
  1356.                     end
  1357.  
  1358.                     function tab_data:AddKeybind(keybind_name, callback, keybind_options)
  1359.                         local keybind_data = {}
  1360.  
  1361.                         keybind_name = tostring(keybind_name or "New Keybind")
  1362.                         callback = typeof(callback) == "function" and callback or function()end
  1363.                         keybind_options = typeof(keybind_options) == "table" and keybind_options or {}
  1364.                         keybind_options = {
  1365.                             ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift,
  1366.                         }
  1367.  
  1368.                         local keybind = Prefabs:FindFirstChild("Keybind"):Clone()
  1369.                         local input = keybind:FindFirstChild("Input")
  1370.                         local title = keybind:FindFirstChild("Title")
  1371.                         keybind.ZIndex = keybind.ZIndex + (windows * 10)
  1372.                         input.ZIndex = input.ZIndex + (windows * 10)
  1373.                         input:GetChildren()[1].ZIndex = input:GetChildren()[1].ZIndex + (windows * 10)
  1374.                         title.ZIndex = title.ZIndex + (windows * 10)
  1375.  
  1376.                         keybind.Parent = new_tab
  1377.                         title.Text = "  " .. keybind_name
  1378.                         keybind.Size = UDim2.new(0, gNameLen(title) + 80, 0, 20)
  1379.  
  1380.                         local shortkeys = {
  1381.                             RightControl = 'RightCtrl',
  1382.                             LeftControl = 'LeftCtrl',
  1383.                             LeftShift = 'LShift',
  1384.                             RightShift = 'RShift',
  1385.                             MouseButton1 = "Mouse1",
  1386.                             MouseButton2 = "Mouse2"
  1387.                         }
  1388.  
  1389.                         local keybind = keybind_options.standard
  1390.  
  1391.                         function keybind_data:SetKeybind(Keybind)
  1392.                             local key = shortkeys[Keybind.Name] or Keybind.Name
  1393.                             input.Text = key
  1394.                             keybind = Keybind
  1395.                         end
  1396.  
  1397.                         UIS.InputBegan:Connect(function(a, b)
  1398.                             if checks.binding then
  1399.                                 spawn(function()
  1400.                                     wait()
  1401.                                     checks.binding = false
  1402.                                 end)
  1403.                                 return
  1404.                             end
  1405.                             if a.KeyCode == keybind and not b then
  1406.                                 pcall(callback, keybind)
  1407.                             end
  1408.                         end)
  1409.  
  1410.                         keybind_data:SetKeybind(keybind_options.standard)
  1411.  
  1412.                         input.MouseButton1Click:Connect(function()
  1413.                             if checks.binding then return end
  1414.                             input.Text = "..."
  1415.                             checks.binding = true
  1416.                             local a, b = UIS.InputBegan:Wait()
  1417.                             keybind_data:SetKeybind(a.KeyCode)
  1418.                         end)
  1419.  
  1420.                         return keybind_data, keybind
  1421.                     end
  1422.  
  1423.                     function tab_data:AddDropdown(dropdown_name, callback)
  1424.                         local dropdown_data = {}
  1425.                         dropdown_name = tostring(dropdown_name or "New Dropdown")
  1426.                         callback = typeof(callback) == "function" and callback or function()end
  1427.  
  1428.                         local dropdown = Prefabs:FindFirstChild("Dropdown"):Clone()
  1429.                         local box = dropdown:FindFirstChild("Box")
  1430.                         local objects = box:FindFirstChild("Objects")
  1431.                         local indicator = dropdown:FindFirstChild("Indicator")
  1432.                         dropdown.ZIndex = dropdown.ZIndex + (windows * 10)
  1433.                         box.ZIndex = box.ZIndex + (windows * 10)
  1434.                         objects.ZIndex = objects.ZIndex + (windows * 10)
  1435.                         indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1436.                         dropdown:GetChildren()[3].ZIndex = dropdown:GetChildren()[3].ZIndex + (windows * 10)
  1437.  
  1438.                         dropdown.Parent = new_tab
  1439.                         dropdown.Text = "      " .. dropdown_name
  1440.                         box.Size = UDim2.new(1, 0, 0, 0)
  1441.  
  1442.                         local open = false
  1443.                         dropdown.MouseButton1Click:Connect(function()
  1444.                             open = not open
  1445.  
  1446.                             local len = (#objects:GetChildren() - 1) * 20
  1447.                             if #objects:GetChildren() - 1 >= 10 then
  1448.                                 len = 10 * 20
  1449.                                 objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1450.                             end
  1451.  
  1452.                             if open then
  1453.                                 if dropdown_open then return end
  1454.                                 dropdown_open = true
  1455.                                 Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1456.                                 Resize(indicator, {Rotation = 90}, options.tween_time)
  1457.                             else
  1458.                                 dropdown_open = false
  1459.                                 Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1460.                                 Resize(indicator, {Rotation = -90}, options.tween_time)
  1461.                             end
  1462.  
  1463.                         end)
  1464.  
  1465.                         function dropdown_data:Add(n)
  1466.                             local object_data = {}
  1467.                             n = tostring(n or "New Object")
  1468.  
  1469.                             local object = Prefabs:FindFirstChild("DropdownButton"):Clone()
  1470.  
  1471.                             object.Parent = objects
  1472.                             object.Text = n
  1473.                             object.ZIndex = object.ZIndex + (windows * 10)
  1474.  
  1475.                             object.MouseEnter:Connect(function()
  1476.                                 object.BackgroundColor3 = options.main_color
  1477.                             end)
  1478.                             object.MouseLeave:Connect(function()
  1479.                                 object.BackgroundColor3 = Color3.fromRGB(33, 34, 36)
  1480.                             end)
  1481.  
  1482.                             if open then
  1483.                                 local len = (#objects:GetChildren() - 1) * 20
  1484.                                 if #objects:GetChildren() - 1 >= 10 then
  1485.                                     len = 10 * 20
  1486.                                     objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1487.                                 end
  1488.                                 Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1489.                             end
  1490.  
  1491.                             object.MouseButton1Click:Connect(function()
  1492.                                 if dropdown_open then
  1493.                                     dropdown.Text = "      [ " .. n .. " ]"
  1494.                                     dropdown_open = false
  1495.                                     open = false
  1496.                                     Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1497.                                     Resize(indicator, {Rotation = -90}, options.tween_time)
  1498.                                     pcall(callback, n)
  1499.                                 end
  1500.                             end)
  1501.  
  1502.                             function object_data:Remove()
  1503.                                 object:Destroy()
  1504.                             end
  1505.  
  1506.                             return object, object_data
  1507.                         end
  1508.  
  1509.                         return dropdown_data, dropdown
  1510.                     end
  1511.  
  1512.                     function tab_data:AddColorPicker(callback)
  1513.                         local color_picker_data = {}
  1514.                         callback = typeof(callback) == "function" and callback or function()end
  1515.  
  1516.                         local color_picker = Prefabs:FindFirstChild("ColorPicker"):Clone()
  1517.  
  1518.                         color_picker.Parent = new_tab
  1519.                         color_picker.ZIndex = color_picker.ZIndex + (windows * 10)
  1520.  
  1521.                         local palette = color_picker:FindFirstChild("Palette")
  1522.                         local sample = color_picker:FindFirstChild("Sample")
  1523.                         local saturation = color_picker:FindFirstChild("Saturation")
  1524.                         palette.ZIndex = palette.ZIndex + (windows * 10)
  1525.                         sample.ZIndex = sample.ZIndex + (windows * 10)
  1526.                         saturation.ZIndex = saturation.ZIndex + (windows * 10)
  1527.  
  1528.                         do
  1529.                             local h = 0
  1530.                             local s = 1
  1531.                             local v = 1
  1532.  
  1533.                             local function update()
  1534.                                 local color = Color3.fromHSV(h, s, v)
  1535.                                 sample.ImageColor3 = color
  1536.                                 saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1537.                                 pcall(callback, color)
  1538.                             end
  1539.  
  1540.                             do
  1541.                                 local color = Color3.fromHSV(h, s, v)
  1542.                                 sample.ImageColor3 = color
  1543.                                 saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1544.                             end
  1545.  
  1546.                             local Entered1, Entered2 = false, false
  1547.                             palette.MouseEnter:Connect(function()
  1548.                                 Window.Draggable = false
  1549.                                 Entered1 = true
  1550.                             end)
  1551.                             palette.MouseLeave:Connect(function()
  1552.                                 Window.Draggable = true
  1553.                                 Entered1 = false
  1554.                             end)
  1555.                             saturation.MouseEnter:Connect(function()
  1556.                                 Window.Draggable = false
  1557.                                 Entered2 = true
  1558.                             end)
  1559.                             saturation.MouseLeave:Connect(function()
  1560.                                 Window.Draggable = true
  1561.                                 Entered2 = false
  1562.                             end)
  1563.  
  1564.                             local palette_indicator = palette:FindFirstChild("Indicator")
  1565.                             local saturation_indicator = saturation:FindFirstChild("Indicator")
  1566.                             palette_indicator.ZIndex = palette_indicator.ZIndex + (windows * 10)
  1567.                             saturation_indicator.ZIndex = saturation_indicator.ZIndex + (windows * 10)
  1568.  
  1569.                             local Held = false
  1570.                             UIS.InputBegan:Connect(function(inputObject)
  1571.                                 if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1572.                                     Held = true
  1573.  
  1574.                                     spawn(function()
  1575.                                         while Held and Entered1 and (not dropdown_open) do
  1576.                                             local mouse_location = gMouse()
  1577.  
  1578.                                             local x = ((palette.AbsoluteSize.X - (mouse_location.X - palette.AbsolutePosition.X)) + 1)
  1579.                                             local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1580.  
  1581.                                             local color = Color3.fromHSV(x / 100, y / 100, 0)
  1582.                                             h = x / 100
  1583.                                             s = y / 100
  1584.  
  1585.                                             Resize(palette_indicator, {Position = UDim2.new(0, math.abs(x - 100) - (palette_indicator.AbsoluteSize.X / 2), 0, math.abs(y - 100) - (palette_indicator.AbsoluteSize.Y / 2))}, options.tween_time)
  1586.  
  1587.                                             update()
  1588.                                             RS.Heartbeat:Wait()
  1589.                                         end
  1590.  
  1591.                                         while Held and Entered2 and (not dropdown_open) do
  1592.                                             local mouse_location = gMouse()
  1593.                                             local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1594.                                             v = y / 100
  1595.  
  1596.                                             Resize(saturation_indicator, {Position = UDim2.new(0, 0, 0, math.abs(y - 100))}, options.tween_time)
  1597.  
  1598.                                             update()
  1599.                                             RS.Heartbeat:Wait()
  1600.                                         end
  1601.                                     end)
  1602.                                 end
  1603.                             end)
  1604.                             UIS.InputEnded:Connect(function(inputObject)
  1605.                                 if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1606.                                     Held = false
  1607.                                 end
  1608.                             end)
  1609.  
  1610.                             function color_picker_data:Set(color)
  1611.                                 color = typeof(color) == "Color3" and color or Color3.new(1, 1, 1)
  1612.                                 local h2, s2, v2 = rgbtohsv(color.r * 255, color.g * 255, color.b * 255)
  1613.                                 sample.ImageColor3 = color
  1614.                                 saturation.ImageColor3 = Color3.fromHSV(h2, 1, 1)
  1615.                                 pcall(callback, color)
  1616.                             end
  1617.                         end
  1618.  
  1619.                         return color_picker_data, color_picker
  1620.                     end
  1621.  
  1622.                     function tab_data:AddConsole(console_options)
  1623.                         local console_data = {}
  1624.  
  1625.                         console_options = typeof(console_options) == "table" and console_options or {["readonly"] = true,["full"] = false,}
  1626.                         console_options = {
  1627.                             ["y"] = tonumber(console_options.y) or 200,
  1628.                             ["source"] = console_options.source or "Logs",
  1629.                             ["readonly"] = ((console_options.readonly) == true),
  1630.                             ["full"] = ((console_options.full) == true),
  1631.                         }
  1632.  
  1633.                         local console = Prefabs:FindFirstChild("Console"):Clone()
  1634.  
  1635.                         console.Parent = new_tab
  1636.                         console.ZIndex = console.ZIndex + (windows * 10)
  1637.                         console.Size = UDim2.new(1, 0, console_options.full and 1 or 0, console_options.y)
  1638.  
  1639.                         local sf = console:GetChildren()[1]
  1640.                         local Source = sf:FindFirstChild("Source")
  1641.                         local Lines = sf:FindFirstChild("Lines")
  1642.                         Source.ZIndex = Source.ZIndex + (windows * 10)
  1643.                         Lines.ZIndex = Lines.ZIndex + (windows * 10)
  1644.  
  1645.                         Source.TextEditable = not console_options.readonly
  1646.  
  1647.                         do
  1648.                             for i,v in next, Source:GetChildren() do
  1649.                                 v.ZIndex = v.ZIndex + (windows * 10) + 1
  1650.                             end
  1651.                         end
  1652.                         Source.Comments.ZIndex = Source.Comments.ZIndex + 1
  1653.  
  1654.                         do
  1655.                             local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while"}
  1656.                             local global_env = {"getrawmetatable", "newcclosure", "islclosure", "setclipboard", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16", "load", "fire", "Fire"}
  1657.  
  1658.                             local Highlight = function(string, keywords)
  1659.                                 local K = {}
  1660.                                 local S = string
  1661.                                 local Token =
  1662.                                 {
  1663.                                     ["="] = true,
  1664.                                     ["."] = true,
  1665.                                     [","] = true,
  1666.                                     ["("] = true,
  1667.                                     [")"] = true,
  1668.                                     ["["] = true,
  1669.                                     ["]"] = true,
  1670.                                     ["{"] = true,
  1671.                                     ["}"] = true,
  1672.                                     [":"] = true,
  1673.                                     ["*"] = true,
  1674.                                     ["/"] = true,
  1675.                                     ["+"] = true,
  1676.                                     ["-"] = true,
  1677.                                     ["%"] = true,
  1678.                                     [";"] = true,
  1679.                                     ["~"] = true
  1680.                                 }
  1681.                                 for i, v in pairs(keywords) do
  1682.                                     K[v] = true
  1683.                                 end
  1684.                                 S = S:gsub(".", function(c)
  1685.                                     if Token[c] ~= nil then
  1686.                                         return "\32"
  1687.                                     else
  1688.                                         return c
  1689.                                     end
  1690.                                 end)
  1691.                                 S = S:gsub("%S+", function(c)
  1692.                                     if K[c] ~= nil then
  1693.                                         return c
  1694.                                     else
  1695.                                         return (" "):rep(#c)
  1696.                                     end
  1697.                                 end)
  1698.  
  1699.                                 return S
  1700.                             end
  1701.  
  1702.                             local hTokens = function(string)
  1703.                                 local Token =
  1704.                                 {
  1705.                                     ["="] = true,
  1706.                                     ["."] = true,
  1707.                                     [","] = true,
  1708.                                     ["("] = true,
  1709.                                     [")"] = true,
  1710.                                     ["["] = true,
  1711.                                     ["]"] = true,
  1712.                                     ["{"] = true,
  1713.                                     ["}"] = true,
  1714.                                     [":"] = true,
  1715.                                     ["*"] = true,
  1716.                                     ["/"] = true,
  1717.                                     ["+"] = true,
  1718.                                     ["-"] = true,
  1719.                                     ["%"] = true,
  1720.                                     [";"] = true,
  1721.                                     ["~"] = true
  1722.                                 }
  1723.                                 local A = ""
  1724.                                 string:gsub(".", function(c)
  1725.                                     if Token[c] ~= nil then
  1726.                                         A = A .. c
  1727.                                     elseif c == "\n" then
  1728.                                         A = A .. "\n"
  1729.                                     elseif c == "\t" then
  1730.                                         A = A .. "\t"
  1731.                                     else
  1732.                                         A = A .. "\32"
  1733.                                     end
  1734.                                 end)
  1735.  
  1736.                                 return A
  1737.                             end
  1738.  
  1739.                             local strings = function(string)
  1740.                                 local highlight = ""
  1741.                                 local quote = false
  1742.                                 string:gsub(".", function(c)
  1743.                                     if quote == false and c == "\34" then
  1744.                                         quote = true
  1745.                                     elseif quote == true and c == "\34" then
  1746.                                         quote = false
  1747.                                     end
  1748.                                     if quote == false and c == "\34" then
  1749.                                         highlight = highlight .. "\34"
  1750.                                     elseif c == "\n" then
  1751.                                         highlight = highlight .. "\n"
  1752.                                     elseif c == "\t" then
  1753.                                         highlight = highlight .. "\t"
  1754.                                     elseif quote == true then
  1755.                                         highlight = highlight .. c
  1756.                                     elseif quote == false then
  1757.                                         highlight = highlight .. "\32"
  1758.                                     end
  1759.                                 end)
  1760.  
  1761.                                 return highlight
  1762.                             end
  1763.  
  1764.                             local info = function(string)
  1765.                                 local highlight = ""
  1766.                                 local quote = false
  1767.                                 string:gsub(".", function(c)
  1768.                                     if quote == false and c == "[" then
  1769.                                         quote = true
  1770.                                     elseif quote == true and c == "]" then
  1771.                                         quote = false
  1772.                                     end
  1773.                                     if quote == false and c == "\]" then
  1774.                                         highlight = highlight .. "\]"
  1775.                                     elseif c == "\n" then
  1776.                                         highlight = highlight .. "\n"
  1777.                                     elseif c == "\t" then
  1778.                                         highlight = highlight .. "\t"
  1779.                                     elseif quote == true then
  1780.                                         highlight = highlight .. c
  1781.                                     elseif quote == false then
  1782.                                         highlight = highlight .. "\32"
  1783.                                     end
  1784.                                 end)
  1785.  
  1786.                                 return highlight
  1787.                             end
  1788.  
  1789.                             local comments = function(string)
  1790.                                 local ret = ""
  1791.                                 string:gsub("[^\r\n]+", function(c)
  1792.                                     local comm = false
  1793.                                     local i = 0
  1794.                                     c:gsub(".", function(n)
  1795.                                         i = i + 1
  1796.                                         if c:sub(i, i + 1) == "--" then
  1797.                                             comm = true
  1798.                                         end
  1799.                                         if comm == true then
  1800.                                             ret = ret .. n
  1801.                                         else
  1802.                                             ret = ret .. "\32"
  1803.                                         end
  1804.                                     end)
  1805.                                     ret = ret
  1806.                                 end)
  1807.  
  1808.                                 return ret
  1809.                             end
  1810.  
  1811.                             local numbers = function(string)
  1812.                                 local A = ""
  1813.                                 string:gsub(".", function(c)
  1814.                                     if tonumber(c) ~= nil then
  1815.                                         A = A .. c
  1816.                                     elseif c == "\n" then
  1817.                                         A = A .. "\n"
  1818.                                     elseif c == "\t" then
  1819.                                         A = A .. "\t"
  1820.                                     else
  1821.                                         A = A .. "\32"
  1822.                                     end
  1823.                                 end)
  1824.  
  1825.                                 return A
  1826.                             end
  1827.  
  1828.                             local highlight_lua = function(type)
  1829.                                 if type == "Text" then
  1830.                                     Source.Text = Source.Text:gsub("\13", "")
  1831.                                     Source.Text = Source.Text:gsub("\t", "      ")
  1832.                                     local s = Source.Text
  1833.  
  1834.                                     Source.Keywords.Text = Highlight(s, lua_keywords)
  1835.                                     Source.Globals.Text = Highlight(s, global_env)
  1836.                                     Source.RemoteHighlight.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  1837.                                     Source.Tokens.Text = hTokens(s)
  1838.                                     Source.Numbers.Text = numbers(s)
  1839.                                     Source.Strings.Text = strings(s)
  1840.                                     Source.Comments.Text = comments(s)
  1841.  
  1842.                                     local lin = 1
  1843.                                     s:gsub("\n", function()
  1844.                                         lin = lin + 1
  1845.                                     end)
  1846.  
  1847.                                     Lines.Text = ""
  1848.                                     for i = 1, lin do
  1849.                                         Lines.Text = Lines.Text .. i .. "\n"
  1850.                                     end
  1851.  
  1852.                                     sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1853.                                 end
  1854.  
  1855.                             local highlight_logs = function(type)
  1856.                             end
  1857.                                 if type == "Text" then
  1858.                                     Source.Text = Source.Text:gsub("\13", "")
  1859.                                     Source.Text = Source.Text:gsub("\t", "      ")
  1860.                                     local s = Source.Text
  1861.  
  1862.                                     Source.Info.Text = info(s)
  1863.  
  1864.                                     local lin = 1
  1865.                                     s:gsub("\n", function()
  1866.                                         lin = lin + 1
  1867.                                     end)
  1868.  
  1869.                                     sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1870.                                 end
  1871.                             end
  1872.  
  1873.                             if console_options.source == "Lua" then
  1874.                                 highlight_lua("Text")
  1875.                                 Source.Changed:Connect(highlight_lua)
  1876.                             elseif console_options.source == "Logs" then
  1877.                                 Lines.Visible = false
  1878.  
  1879.                                 highlight_logs("Text")
  1880.                                 Source.Changed:Connect(highlight_logs)
  1881.                             end
  1882.  
  1883.                             function console_data:Set(code)
  1884.                                 Source.Text = tostring(code)
  1885.                             end
  1886.  
  1887.                             function console_data:Get()
  1888.                                 return Source.Text
  1889.                             end
  1890.  
  1891.                             function console_data:Log(msg)
  1892.                                 Source.Text = Source.Text .. "[*] " .. tostring(msg) .. "\n"
  1893.                             end
  1894.  
  1895.                         end
  1896.  
  1897.                         return console_data, console
  1898.                     end
  1899.  
  1900.                     function tab_data:AddHorizontalAlignment()
  1901.                         local ha_data = {}
  1902.  
  1903.                         local ha = Prefabs:FindFirstChild("HorizontalAlignment"):Clone()
  1904.                         ha.Parent = new_tab
  1905.  
  1906.                         function ha_data:AddButton(...)
  1907.                             local data, object
  1908.                             local ret = {tab_data:AddButton(...)}
  1909.                             if typeof(ret[1]) == "table" then
  1910.                                 data = ret[1]
  1911.                                 object = ret[2]
  1912.                                 object.Parent = ha
  1913.                                 return data, object
  1914.                             else
  1915.                                 object = ret[1]
  1916.                                 object.Parent = ha
  1917.                                 return object
  1918.                             end
  1919.                         end
  1920.  
  1921.                         return ha_data, ha
  1922.                     end
  1923.  
  1924.                     function tab_data:AddFolder(folder_name)
  1925.                         local folder_data = {}
  1926.  
  1927.                         folder_name = tostring(folder_name or "New Folder")
  1928.  
  1929.                         local folder = Prefabs:FindFirstChild("Folder"):Clone()
  1930.                         local button = folder:FindFirstChild("Button")
  1931.                         local objects = folder:FindFirstChild("Objects")
  1932.                         local toggle = button:FindFirstChild("Toggle")
  1933.                         folder.ZIndex = folder.ZIndex + (windows * 10)
  1934.                         button.ZIndex = button.ZIndex + (windows * 10)
  1935.                         objects.ZIndex = objects.ZIndex + (windows * 10)
  1936.                         toggle.ZIndex = toggle.ZIndex + (windows * 10)
  1937.                         button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1938.  
  1939.                         folder.Parent = new_tab
  1940.                         button.Text = "      " .. folder_name
  1941.  
  1942.                         spawn(function()
  1943.                             while true do
  1944.                                 if button and button:GetChildren()[1] then
  1945.                                     button:GetChildren()[1].ImageColor3 = options.main_color
  1946.                                 end
  1947.                                 RS.Heartbeat:Wait()
  1948.                             end
  1949.                         end)
  1950.  
  1951.                         local function gFolderLen()
  1952.                             local n = 25
  1953.                             for i,v in next, objects:GetChildren() do
  1954.                                 if not (v:IsA("UIListLayout")) then
  1955.                                     n = n + v.AbsoluteSize.Y + 5
  1956.                                 end
  1957.                             end
  1958.                             return n
  1959.                         end
  1960.  
  1961.                         local open = false
  1962.                         button.MouseButton1Click:Connect(function()
  1963.                             if open then
  1964.                                 Resize(toggle, {Rotation = 0}, options.tween_time)
  1965.                                 objects.Visible = false
  1966.                             else
  1967.                                 Resize(toggle, {Rotation = 90}, options.tween_time)
  1968.                                 objects.Visible = true
  1969.                             end
  1970.  
  1971.                             open = not open
  1972.                         end)
  1973.  
  1974.                         spawn(function()
  1975.                             while true do
  1976.                                 Resize(folder, {Size = UDim2.new(1, 0, 0, (open and gFolderLen() or 20))}, options.tween_time)
  1977.                                 wait()
  1978.                             end
  1979.                         end)
  1980.  
  1981.                         for i,v in next, tab_data do
  1982.                             folder_data[i] = function(...)
  1983.                                 local data, object
  1984.                                 local ret = {v(...)}
  1985.                                 if typeof(ret[1]) == "table" then
  1986.                                     data = ret[1]
  1987.                                     object = ret[2]
  1988.                                     object.Parent = objects
  1989.                                     return data, object
  1990.                                 else
  1991.                                     object = ret[1]
  1992.                                     object.Parent = objects
  1993.                                     return object
  1994.                                 end
  1995.                             end
  1996.                         end
  1997.  
  1998.                         return folder_data, folder
  1999.                     end
  2000.  
  2001.                 end
  2002.  
  2003.                 return tab_data, new_tab
  2004.             end
  2005.         end
  2006.     end
  2007.  
  2008.     do
  2009.         for i, v in next, Window:GetDescendants() do
  2010.             if hasprop(v, "ZIndex") then
  2011.                 v.ZIndex = v.ZIndex + (windows * 10)
  2012.             end
  2013.         end
  2014.     end
  2015.  
  2016.     return window_data, Window
  2017. end
  2018.  
  2019. do
  2020.     local Window = library:AddWindow("Preview", {
  2021.         main_color = Color3.fromRGB(41, 74, 122),
  2022.         min_size = Vector2.new(500, 600),
  2023.         toggle_key = Enum.KeyCode.RightShift,
  2024.         can_resize = true,
  2025.     })
  2026.     local Tab = Window:AddTab("Tab 1")
  2027.  
  2028.     do
  2029.         Tab:AddLabel("Hello World!")
  2030.  
  2031.         Tab:AddButton("Button", function()
  2032.             print("Button clicked.")
  2033.         end)
  2034.  
  2035.         Tab:AddTextBox("TextBox", function(text)
  2036.             print(text)
  2037.         end, {
  2038.             ["clear"] = false,
  2039.         })
  2040.  
  2041.         local Switch = Tab:AddSwitch("Switch", function(bool)
  2042.             print(bool)
  2043.         end)
  2044.         Switch:Set(true)
  2045.  
  2046.         local Slider = Tab:AddSlider("Slider", function(x)
  2047.             print(x)
  2048.         end, {
  2049.             ["min"] = 0,
  2050.             ["max"] = 100,
  2051.             ["readonly"] = false,
  2052.         })
  2053.         Slider:Set(50)
  2054.  
  2055.         Tab:AddKeybind("Keybind", function(key)
  2056.             print(key)
  2057.         end, {
  2058.             ["standard"] = Enum.KeyCode.RightShift
  2059.         })
  2060.  
  2061.         local Dropdown = Tab:AddDropdown("Dropdown", function(object)
  2062.             print(object)
  2063.         end)
  2064.         for i = 1, 9 do
  2065.             Dropdown:Add(tostring(i))
  2066.         end
  2067.         local obj = Dropdown:Add("10")
  2068.         obj:Remove()
  2069.  
  2070.         local CP = Tab:AddColorPicker(function(color)
  2071.             print(color)
  2072.         end)
  2073.         CP:Set(Color3.new(1, 0, 0))
  2074.  
  2075.         local Console = Tab:AddConsole({
  2076.             ["y"] = 100,
  2077.             ["source"] = "Lua",
  2078.         })
  2079.         Console:Set("-- Gamer time!\nfor i = 1, 9 do \n    print(i)\nend")
  2080.         print(Console:Get())
  2081.  
  2082.         local HA = Tab:AddHorizontalAlignment()
  2083.         HA:AddButton("Execute", function()
  2084.             loadstring(Console:Get())()
  2085.         end)
  2086.         HA:AddButton("Clear", function()
  2087.             Console:Set("")
  2088.         end)
  2089.  
  2090.         local Folder = Tab:AddFolder("Folder")
  2091.         Folder:AddLabel("Hello")
  2092.         local Folder2 = Folder:AddFolder("?")
  2093.         Folder2:AddLabel("Woo!")
  2094.  
  2095.     end
  2096.  
  2097.     Tab:Show()
  2098.     library:FormatWindows()
  2099. end
  2100.  
  2101. local Window = library:AddWindow("Sin X", {
  2102.     main_color = Color3.fromRGB(10, 10, 10),
  2103.     min_size = Vector2.new(450, 500),
  2104.     toggle_key = Enum.KeyCode.RightShift,
  2105.     can_resize = true,
  2106. })
  2107.  
  2108. local Aiming = loadstring(game:HttpGet("https://raw.githubusercontent.com/farthefarter/e/main/e"))()
  2109. local ESP = loadstring(game:HttpGet("https://kiriot22.com/releases/ESP.lua"))()
  2110. ESP:Toggle(false)
  2111. ESP.Tracers = false
  2112. ESP.Names = false
  2113. ESP.Boxes = false
  2114. Aiming.TeamCheck(false)
  2115. Aiming.VisibleCheck = false
  2116.  
  2117. local Workspace = game:GetService("Workspace")
  2118. local Players = game:GetService("Players")
  2119. local RunService = game:GetService("RunService")
  2120. local UserInputService = game:GetService("UserInputService")
  2121.  
  2122. local LocalPlayer = Players.LocalPlayer
  2123. local Mouse = LocalPlayer:GetMouse()
  2124. local CurrentCamera = Workspace.CurrentCamera
  2125.  
  2126. local themes = {
  2127.     Background = Color3.fromRGB(24, 24, 24),
  2128.     Glow = Color3.fromRGB(0, 0, 0),
  2129.     Accent = Color3.fromRGB(10, 10, 10),
  2130.     LightContrast = Color3.fromRGB(20, 20, 20),
  2131.     DarkContrast = Color3.fromRGB(14, 14, 14),  
  2132.     TextColor = Color3.fromRGB(255, 255, 255)
  2133. }
  2134.  
  2135. local DaHoodSettings = {
  2136.     SilentAim = false,
  2137.     AimLock = false,
  2138.     Prediction = 0.178
  2139. }
  2140.  
  2141. getgenv().DaHoodSettings = DaHoodSettings
  2142.  
  2143. local function callback(text)
  2144.     if text == "Yes" then
  2145.     print("User said yes")
  2146.     elseif text == "No" then
  2147.     print("User said no")
  2148.     end
  2149. end
  2150.  
  2151. local bindableFunction= Instance.new("BindableFunction")
  2152.  
  2153. game.StarterGui:SetCore("SendNotification", {
  2154.     Title = "Sin X";
  2155.     Text = "Welcome";
  2156.     Icon = "RBXID OR BLANK";
  2157.     Duration = "DURATION IN SECONDS";
  2158.     callbakc = bindableFunction;
  2159.     Button1 = "Okay";
  2160. })
  2161.  
  2162. local ALTab = Window:AddTab("Silent Aimbot")
  2163. local AimTab = Window:AddTab("AimLock")
  2164. local ESPTab = Window:AddTab("Esp")
  2165. local RCTab = Window:AddTab("Misc")
  2166. local AnimTab = Window:AddTab("Anim")
  2167. local TpsTab = Window:AddTab("Tps")
  2168. local CreditTAB = Window:AddTab("Credits")
  2169.  
  2170. local folder = TpsTab:AddFolder("Tps")
  2171. folder:AddButton("Rev Mountain", function(bool)
  2172.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-696.847717, 167.674957, -41.0118256, 0.626992583, 7.53169349e-09, -0.779025197, -1.29610933e-09, 1, 8.62493632e-09, 0.779025197, -4.39806902e-09, 0.626992583)
  2173. end)
  2174.  
  2175. folder:AddButton("Ak Mountain", function(bool)
  2176.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-696.847717, 167.674957, -41.0118256, 0.626992583, 7.53169349e-09, -0.779025197, -1.29610933e-09, 1, 8.62493632e-09, 0.779025197, -4.39806902e-09, 0.626992583)
  2177. end)
  2178.  
  2179. folder:AddButton("Db Mountain", function(bool)
  2180.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1087.02783, 104.254997, -268.160614, 0.0359299146, -0.000130457382, -0.99935472, -2.87694893e-05, 1, -0.000131575929, 0.99935472, 3.34783836e-05, 0.0359299146)
  2181. end)
  2182.  
  2183. folder:AddButton("Flame Mountain", function(bool)
  2184.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-228.709259, 96.75, -46.1524429, 0.988781095, -6.16038989e-08, -0.149372295, 5.44428751e-08, 1, -5.20298862e-08, 0.149372295, 4.33139249e-08, 0.988781095)
  2185. end)
  2186.  
  2187. folder:AddButton("Tactical Mountain", function(bool)
  2188.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(493.328918, 112.5, -689.263916, -0.999886096, 0.000241556234, -0.0150990579, 0.000226202334, 0.999999464, 0.00101856329, 0.0150993001, 0.00101503218, -0.999885678)
  2189. end)
  2190.  
  2191. folder:AddButton("Church Mountain", function(bool)
  2192.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(288.8479, 143.25, -245.123169, -0.999539435, 3.95160157e-07, 0.0303715728, -3.52983733e-07, 1, -2.46274394e-05, -0.0303715728, -2.4626821e-05, -0.999539435)
  2193. end)
  2194.  
  2195. folder:AddButton("Admin Guns", function(bool)
  2196.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-872.853516, -34.4276848, -538.013306, -0.999724388, -3.9898886e-08, -0.0234765243, -3.9204977e-08, 1, -3.00177518e-08, 0.0234765243, -2.90890814e-08, -0.999724388)
  2197. end)
  2198.  
  2199. folder:AddButton("Admin Guns 2", function(bool)
  2200.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-808.708557, -39.6492004, -932.789368, 0.999899805, 2.01343173e-08, -0.0141554065, -2.17800533e-08, 1, -1.16108232e-07, 0.0141554065, 1.16404912e-07, 0.999899805)
  2201. end)
  2202.  
  2203. folder:AddButton("Admin Food", function(bool)
  2204.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-788.053406, -39.6492004, -932.951233, 0.998369277, 2.46515359e-08, 0.0570784509, -2.8773524e-08, 1, 7.13949646e-08, -0.0570784509, -7.29209759e-08, 0.998369277)
  2205. end)
  2206.  
  2207. local folder2 = TpsTab:AddFolder("Tps 2")
  2208. folder2:AddButton("Buy Armor", function(bool)
  2209.     local plr = game.Players.LocalPlayer
  2210.     local savedarmourpos = plr.Character.HumanoidRootPart.Position
  2211.     plr.Character.HumanoidRootPart.CFrame = CFrame.new(-938.476685, -25.2498264, 570.100159, -0.0353576206, 9.85617206e-08, -0.999374807, -2.69198441e-09, 1, 9.871858e-08, 0.999374807, 6.18077589e-09, -0.0353576206)
  2212.     wait(.2)
  2213.  
  2214.     fireclickdetector(game.Workspace.Ignored.Shop['[High-Medium Armor] - $2300'].ClickDetector)
  2215.     plr.Character.HumanoidRootPart.CFrame = CFrame.new(savedarmourpos)
  2216. end)
  2217.  
  2218. folder2:AddButton("Ufo", function(bool)
  2219.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2.85052466, 132, -736.571106, -0.0460956171, -4.24733706e-08, -0.998937011, 7.26012459e-08, 1, -4.58687275e-08, 0.998937011, -7.46384217e-08, -0.0460956171)
  2220. end)
  2221.  
  2222. folder2:AddButton("Rpg", function(bool)
  2223.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(139.815933, -22.9016266, -136.737762, 0.0339428484, -7.90177737e-08, 0.999423802, -4.7851227e-08, 1, 8.06884728e-08, -0.999423802, -5.0562452e-08, 0.0339428484)
  2224. end)
  2225.  
  2226. folder2:AddButton("Bank", function(bool)
  2227.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-318.891174, 80.2145309, -257.177429, 0.0479469746, -5.14644114e-08, 0.998850107, -3.12971538e-09, 1, 5.16738901e-08, -0.998850107, -5.60372015e-09, 0.0479469746)
  2228. end)
  2229.  
  2230. folder2:AddButton("Taco", function(bool)
  2231.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(707.502014, 139, -543.044739, -0.00318608154, -0.00102963799, 0.999993861, 0.000187970581, 0.999999464, 0.00103024102, -0.99999404, 0.00019125198, -0.00318560796)
  2232. end)
  2233.  
  2234. folder2:AddButton("Drum Gun", function(bool)
  2235.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-80.8381271, 46.828949, -85.845993, 0.999289691, 4.71884114e-08, 0.0376862474, -4.71660684e-08, 1, -1.48225032e-09, -0.0376862474, -2.96314889e-10, 0.999289691)
  2236. end)
  2237.  
  2238. folder2:AddButton("Rev Roof", function(bool)
  2239.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-634.463135, 80.434761, -204.232559, -0.0190527271, -1.03574322e-07, -0.999818563, 4.36709335e-09, 1, -1.03676342e-07, 0.999818563, -6.3416179e-09, -0.0190527271)
  2240. end)
  2241.  
  2242. folder2:AddButton("PlayGround", function(bool)
  2243.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-308.851196, 103.049866, -685.874817, 0.0775452703, 4.43633544e-05, -0.996988416, 4.02679916e-06, 1, 4.48105384e-05, 0.996988416, -7.48951334e-06, 0.0775452703)
  2244. end)
  2245.  
  2246. folder2:AddButton("G Station", function(bool)
  2247.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(595.925171, 130.75, -346.41568, -0.0400748774, 7.26109022e-08, 0.999196708, 2.20863914e-08, 1, -7.17834538e-08, -0.999196708, 1.91919352e-08, -0.0400748774)
  2248. end)
  2249.  
  2250. folder2:AddButton("Cementery", function(bool)
  2251.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(135.109558, 99.75, -57.2315979, 0.999993503, -0.000633752206, -0.0035054055, 0.000638642872, 0.999998808, 0.00139435288, 0.00350463158, -0.00139658386, 0.999992728)
  2252. end)
  2253.  
  2254. folder2:AddButton("School Roof", function(bool)
  2255.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-525.353455, 68.125, 311.824402, 0.999992013, 1.03866675e-08, -0.00399552286, -1.03507425e-08, 1, 9.01170427e-09, 0.00399552286, -8.97027519e-09, 0.999992013)
  2256. end)
  2257.  
  2258. CreditTAB:AddButton("Made by Alosh#0001", function(bool)
  2259.     setclipboard("Alosh0001")
  2260.     wait(1)
  2261.     local function callback(text)
  2262.         if text == "Yes" then
  2263.         print("User said yes")
  2264.         elseif text == "No" then
  2265.         print("User said no")
  2266.         end
  2267.     end
  2268.    
  2269.     local bindableFunction= Instance.new("BindableFunction")
  2270.    
  2271.     game.StarterGui:SetCore("SendNotification", {
  2272.         Title = "Hii ^^";
  2273.         Text = "Discord Link Copied On Clipboard";
  2274.         Icon = "RBXID OR BLANK";
  2275.         Duration = "DURATION IN SECONDS";
  2276.         callbakc = bindableFunction;
  2277.         Button1 = "Okay ;)";
  2278.     })
  2279. end)
  2280.  
  2281. CreditTAB:AddButton("Alosh ware", function(bool)
  2282.     wait(1)
  2283.     local function callback(text)
  2284.         if text == "Yes" then
  2285.         print("User said yes")
  2286.         elseif text == "No" then
  2287.         print("User said no")
  2288.         end
  2289.     end
  2290.  
  2291.     local bindableFunction= Instance.new("BindableFunction")
  2292.    
  2293.     game.StarterGui:SetCore("SendNotification", {
  2294.         Title = "Sin X";
  2295.         Text = "Discord Link Copied On Clipboard";
  2296.         Icon = "RBXID OR BLANK";
  2297.         Duration = "DURATION IN SECONDS";
  2298.         callbakc = bindableFunction;
  2299.         Button1 = "Okay, Thanks :)";
  2300.     })
  2301. end)
  2302.  
  2303. RCTab:AddButton("Speed Kaias (LeftShift)", function(bool)
  2304.     loadstring(game:HttpGet("https://raw.githubusercontent.com/MainNeg/Sources/main/Speed"))()
  2305. end)
  2306.  
  2307. RCTab:AddLabel("Enable/Disable with T// n, m to change Speed")
  2308.  
  2309. RCTab:AddButton("Fly (X)", function(bool)
  2310.     repeat wait()
  2311.     until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  2312. local mouse = game.Players.LocalPlayer:GetMouse()
  2313. repeat wait() until mouse
  2314. local plr = game.Players.LocalPlayer
  2315. local torso = plr.Character.Head
  2316. local flying = false
  2317. local deb = true
  2318. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  2319. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2320. local maxspeed = 400
  2321. local speed = 5000
  2322.  
  2323. function Fly()
  2324. local bg = Instance.new("BodyGyro", torso)
  2325. bg.P = 9e4
  2326. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2327. bg.cframe = torso.CFrame
  2328. local bv = Instance.new("BodyVelocity", torso)
  2329. bv.velocity = Vector3.new(0,0.1,0)
  2330. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2331. repeat wait()
  2332. plr.Character.Humanoid.PlatformStand = true
  2333. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  2334. speed = speed+.5+(speed/maxspeed)
  2335. if speed > maxspeed then
  2336. speed = maxspeed
  2337. end
  2338. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  2339. speed = speed-1
  2340. if speed < 0 then
  2341. speed = 0
  2342. end
  2343. end
  2344. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  2345. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2346. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  2347. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  2348. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2349. else
  2350. bv.velocity = Vector3.new(0,0.1,0)
  2351. end
  2352. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  2353. until not flying
  2354. ctrl = {f = 0, b = 0, l = 0, r = 0}
  2355. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2356. speed = 0
  2357. bg:Destroy()
  2358. bv:Destroy()
  2359. plr.Character.Humanoid.PlatformStand = false
  2360. end
  2361. mouse.KeyDown:connect(function(key)
  2362. if key:lower() == "x" then
  2363. if flying then flying = false
  2364. else
  2365. flying = true
  2366. Fly()
  2367. end
  2368. elseif key:lower() == "w" then
  2369. ctrl.f = 1
  2370. elseif key:lower() == "s" then
  2371. ctrl.b = -1
  2372. elseif key:lower() == "a" then
  2373. ctrl.l = -1
  2374. elseif key:lower() == "d" then
  2375. ctrl.r = 1
  2376. end
  2377. end)
  2378. mouse.KeyUp:connect(function(key)
  2379. if key:lower() == "w" then
  2380. ctrl.f = 0
  2381. elseif key:lower() == "s" then
  2382. ctrl.b = 0
  2383. elseif key:lower() == "a" then
  2384. ctrl.l = 0
  2385. elseif key:lower() == "d" then
  2386. ctrl.r = 0
  2387. end
  2388. end)
  2389. Fly()
  2390. end)
  2391.  
  2392. RCTab:AddTextBox("Fov Camera", function(text)
  2393.     workspace.CurrentCamera.FieldOfView = (text)
  2394. end)
  2395.  
  2396. RCTab:AddButton("Headless", function(bool)
  2397. game.Players.LocalPlayer.Character.Head.Transparency = 1
  2398. for i,v in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
  2399. if (v:IsA("Decal")) then
  2400. v:Destroy()
  2401. end
  2402. end
  2403. end)
  2404.  
  2405. RCTab:AddButton("Korblox", function(bool)
  2406.     local ply = game.Players.LocalPlayer
  2407.     local chr = ply.Character
  2408.     chr.RightLowerLeg.MeshId = "902942093"
  2409.     chr.RightLowerLeg.Transparency = "1"
  2410.     chr.RightUpperLeg.MeshId = "http://www.roblox.com/asset/?id=902942096"
  2411.     chr.RightUpperLeg.TextureID = "http://roblox.com/asset/?id=902843398"
  2412.     chr.RightFoot.MeshId = "902942089"
  2413.     chr.RightFoot.Transparency = "1"
  2414. end)
  2415.  
  2416. RCTab:AddButton("Korblox Left", function(bool)
  2417.     local ply = game.Players.LocalPlayer
  2418.     local chr = ply.Character
  2419.     chr.LeftLowerLeg.MeshId = "902942093"
  2420.     chr.LeftLowerLeg.Transparency = "1"
  2421.     chr.LeftUpperLeg.MeshId = "http://www.roblox.com/asset/?id=902942096"
  2422.     chr.LeftUpperLeg.TextureID = "http://roblox.com/asset/?id=902843398"
  2423.     chr.LeftFoot.MeshId = "902942089"
  2424.     chr.LeftFoot.Transparency = "1"
  2425. end)
  2426.  
  2427. ESPTab:AddSwitch("Enable ESP", function(bool)
  2428.     ESP:Toggle(bool)
  2429. end)
  2430.  
  2431. ESPTab:AddSwitch("Enable Tracers", function(bool)
  2432.     ESP.Tracers = bool
  2433. end)
  2434.  
  2435. ESPTab:AddSwitch("Enable Names", function(bool)
  2436.     ESP.Names = bool
  2437. end)
  2438.  
  2439. ESPTab:AddSwitch("Enable Boxes", function(bool)
  2440.     ESP.Boxes = bool
  2441. end)
  2442.  
  2443. ALTab:AddSwitch("Silent Aim", function(bool)
  2444.     DaHoodSettings.SilentAim = bool
  2445. end)
  2446.  
  2447. ALTab:AddSwitch("AimLock", function(bool)
  2448.     DaHoodSettings.AimLock = bool
  2449. end)
  2450.  
  2451. ALTab:AddSwitch("Webhook Mode", function(bool)
  2452.     DaHoodSettings.Webh = bool
  2453. end)
  2454.  
  2455. ALTab:AddSwitch("Notification Mode", function(bool)
  2456.     DaHoodSettings.Not = bool
  2457. end)
  2458.  
  2459. ALTab:AddSwitch("Copy Mode", function(bool)
  2460.     DaHoodSettings.Cop = bool
  2461. end)
  2462.  
  2463.  
  2464. ALTab:AddSwitch("Predict Lag", function(bool)
  2465.     DaHoodSettings.Prediction.Lag = bool
  2466. end)
  2467.  
  2468. ALTab:AddSwitch("FOV Circle", function(bool)
  2469.     Aiming.ShowFOV = bool
  2470. end)
  2471.  
  2472. ALTab:AddSlider("FOV Size", function(value)
  2473.     Aiming.FOV = value
  2474. end, {
  2475.     ["min"] = 0,
  2476.     ["max"] = 400,
  2477.     ["readonly"] = false,
  2478. })
  2479.  
  2480. ALTab:AddSlider("Hitchance", function(value)
  2481.     DaHoodSettings.Prediction = tonumer("0." .. value)
  2482. end, {
  2483.     ["min"] = 0,
  2484.     ["max"] = 400,
  2485.     ["readonly"] = false,
  2486. })
  2487.  
  2488. ALTab:AddSwitch("Visible Check", function(bool)
  2489.     Aiming.VisibleCheck = bool
  2490. end)
  2491.  
  2492. ALTab:AddSwitch("Hit all Airshots", function(bool)
  2493.     Aiming.Airshots = true
  2494. end)
  2495.  
  2496. AimTab:AddSwitch("Coming Soon", function(bool)
  2497. end)
  2498.  
  2499. function Aiming.Check()
  2500.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  2501.         return false
  2502.     end
  2503.  
  2504.     local Character = Aiming.Character(Aiming.Selected)
  2505.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  2506.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  2507.  
  2508.     if (KOd or Grabbed) then
  2509.         return false
  2510.     end
  2511.  
  2512.     return true
  2513. end
  2514. local __index
  2515. __index = hookmetamethod(game, "__index", function(t, k)
  2516.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  2517.         local SelectedPart = Aiming.SelectedPart
  2518.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  2519.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  2520.  
  2521.             return (k == "Hit" and Hit or SelectedPart)
  2522.         end
  2523.     end
  2524.  
  2525.     return __index(t, k)
  2526. end)
  2527.  
  2528. local LMFAO = false
  2529.  
  2530. UserInputService.InputBegan:Connect(function(Key, Is)
  2531.     if Key.UserInputType == Enum.UserInputType.MouseButton2 and not Is then
  2532.         LMFAO = true
  2533.     end
  2534. end)
  2535.  
  2536. UserInputService.InputEnded:Connect(function(Key, Is)
  2537.     if Key.UserInputType == Enum.UserInputType.MouseButton2 and not Is then
  2538.         LMFAO = false
  2539.     end
  2540. end)
  2541.  
  2542. game:GetService("CoreGui").imgui.Windows.Window.Visible = false
  2543. RunService:BindToRenderStep("AimLock", 0, function()
  2544.     if (DaHoodSettings.AimLock and Aiming.Check() and LMFAO) then
  2545.         local SelectedPart = Aiming.SelectedPart
  2546.  
  2547.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  2548.  
  2549.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  2550.     end
  2551. end)
Add Comment
Please, Sign In to add comment