Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.03 KB | None | 0 0
  1. pawn(function()
  2. local screnv = getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript)
  3. local real_pcall = screnv.pcall
  4. screnv.pcall = function(f)
  5. for _,v in next,getupvalues(f) do
  6. if v == screnv then
  7. for k2,v2 in next,getupvalues(f) do
  8. if v2==false then
  9. setupvalue(f,k2,true)
  10. end
  11. end
  12. screnv.pcall = real_pcall
  13. break
  14. end
  15. end
  16. return real_pcall(f)
  17. end
  18. end)
  19. local ui_options = {
  20. main_color = Color3.fromRGB(41, 74, 122),
  21. min_size = Vector2.new(450, 600),
  22. toggle_key = Enum.KeyCode.RightShift,
  23. can_resize = true,
  24. }
  25.  
  26. do
  27. local imgui = game:GetService("CoreGui"):FindFirstChild("imgui")
  28. if imgui then imgui:Destroy() end
  29. end
  30.  
  31. local imgui = Instance.new("ScreenGui")
  32. local Prefabs = Instance.new("Frame")
  33. local Label = Instance.new("TextLabel")
  34. local Window = Instance.new("ImageLabel")
  35. local Resizer = Instance.new("Frame")
  36. local Bar = Instance.new("Frame")
  37. local Toggle = Instance.new("ImageButton")
  38. local Base = Instance.new("ImageLabel")
  39. local Top = Instance.new("ImageLabel")
  40. local Tabs = Instance.new("Frame")
  41. local Title = Instance.new("TextLabel")
  42. local TabSelection = Instance.new("ImageLabel")
  43. local TabButtons = Instance.new("Frame")
  44. local UIListLayout = Instance.new("UIListLayout")
  45. local Frame = Instance.new("Frame")
  46. local Tab = Instance.new("Frame")
  47. local UIListLayout_2 = Instance.new("UIListLayout")
  48. local TextBox = Instance.new("TextBox")
  49. local TextBox_Roundify_4px = Instance.new("ImageLabel")
  50. local Slider = Instance.new("ImageLabel")
  51. local Title_2 = Instance.new("TextLabel")
  52. local Indicator = Instance.new("ImageLabel")
  53. local Value = Instance.new("TextLabel")
  54. local TextLabel = Instance.new("TextLabel")
  55. local TextLabel_2 = Instance.new("TextLabel")
  56. local Circle = Instance.new("ImageLabel")
  57. local UIListLayout_3 = Instance.new("UIListLayout")
  58. local Dropdown = Instance.new("TextButton")
  59. local Indicator_2 = Instance.new("ImageLabel")
  60. local Box = Instance.new("ImageButton")
  61. local Objects = Instance.new("ScrollingFrame")
  62. local UIListLayout_4 = Instance.new("UIListLayout")
  63. local TextButton_Roundify_4px = Instance.new("ImageLabel")
  64. local TabButton = Instance.new("TextButton")
  65. local TextButton_Roundify_4px_2 = Instance.new("ImageLabel")
  66. local Folder = Instance.new("ImageLabel")
  67. local Button = Instance.new("TextButton")
  68. local TextButton_Roundify_4px_3 = Instance.new("ImageLabel")
  69. local Toggle_2 = Instance.new("ImageLabel")
  70. local Objects_2 = Instance.new("Frame")
  71. local UIListLayout_5 = Instance.new("UIListLayout")
  72. local HorizontalAlignment = Instance.new("Frame")
  73. local UIListLayout_6 = Instance.new("UIListLayout")
  74. local Console = Instance.new("ImageLabel")
  75. local ScrollingFrame = Instance.new("ScrollingFrame")
  76. local Source = Instance.new("TextBox")
  77. local Comments = Instance.new("TextLabel")
  78. local Globals = Instance.new("TextLabel")
  79. local Keywords = Instance.new("TextLabel")
  80. local RemoteHighlight = Instance.new("TextLabel")
  81. local Strings = Instance.new("TextLabel")
  82. local Tokens = Instance.new("TextLabel")
  83. local Numbers = Instance.new("TextLabel")
  84. local Info = Instance.new("TextLabel")
  85. local Lines = Instance.new("TextLabel")
  86. local ColorPicker = Instance.new("ImageLabel")
  87. local Palette = Instance.new("ImageLabel")
  88. local Indicator_3 = Instance.new("ImageLabel")
  89. local Sample = Instance.new("ImageLabel")
  90. local Saturation = Instance.new("ImageLabel")
  91. local Indicator_4 = Instance.new("Frame")
  92. local Switch = Instance.new("TextButton")
  93. local TextButton_Roundify_4px_4 = Instance.new("ImageLabel")
  94. local Title_3 = Instance.new("TextLabel")
  95. local Button_2 = Instance.new("TextButton")
  96. local TextButton_Roundify_4px_5 = Instance.new("ImageLabel")
  97. local DropdownButton = Instance.new("TextButton")
  98. local Keybind = Instance.new("ImageLabel")
  99. local Title_4 = Instance.new("TextLabel")
  100. local Input = Instance.new("TextButton")
  101. local Input_Roundify_4px = Instance.new("ImageLabel")
  102. local Windows = Instance.new("Frame")
  103.  
  104. imgui.Name = "imgui"
  105. imgui.Parent = game:GetService("CoreGui")
  106.  
  107. Prefabs.Name = "Prefabs"
  108. Prefabs.Parent = imgui
  109. Prefabs.BackgroundColor3 = Color3.new(1, 1, 1)
  110. Prefabs.Size = UDim2.new(0, 100, 0, 100)
  111. Prefabs.Visible = false
  112.  
  113. Label.Name = "Label"
  114. Label.Parent = Prefabs
  115. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  116. Label.BackgroundTransparency = 1
  117. Label.Size = UDim2.new(0, 200, 0, 20)
  118. Label.Font = Enum.Font.GothamSemibold
  119. Label.Text = "Hello, world 123"
  120. Label.TextColor3 = Color3.new(1, 1, 1)
  121. Label.TextSize = 14
  122. Label.TextXAlignment = Enum.TextXAlignment.Left
  123.  
  124. Window.Name = "Window"
  125. Window.Parent = Prefabs
  126. Window.Active = true
  127. Window.BackgroundColor3 = Color3.new(1, 1, 1)
  128. Window.BackgroundTransparency = 1
  129. Window.ClipsDescendants = true
  130. Window.Position = UDim2.new(0, 20, 0, 20)
  131. Window.Selectable = true
  132. Window.Size = UDim2.new(0, 200, 0, 200)
  133. Window.Image = "rbxassetid://2851926732"
  134. Window.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  135. Window.ScaleType = Enum.ScaleType.Slice
  136. Window.SliceCenter = Rect.new(12, 12, 12, 12)
  137.  
  138. Resizer.Name = "Resizer"
  139. Resizer.Parent = Window
  140. Resizer.Active = true
  141. Resizer.BackgroundColor3 = Color3.new(1, 1, 1)
  142. Resizer.BackgroundTransparency = 1
  143. Resizer.BorderSizePixel = 0
  144. Resizer.Position = UDim2.new(1, -20, 1, -20)
  145. Resizer.Size = UDim2.new(0, 20, 0, 20)
  146.  
  147. Bar.Name = "Bar"
  148. Bar.Parent = Window
  149. Bar.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  150. Bar.BorderSizePixel = 0
  151. Bar.Position = UDim2.new(0, 0, 0, 5)
  152. Bar.Size = UDim2.new(1, 0, 0, 15)
  153.  
  154. Toggle.Name = "Toggle"
  155. Toggle.Parent = Bar
  156. Toggle.BackgroundColor3 = Color3.new(1, 1, 1)
  157. Toggle.BackgroundTransparency = 1
  158. Toggle.Position = UDim2.new(0, 5, 0, -2)
  159. Toggle.Rotation = 90
  160. Toggle.Size = UDim2.new(0, 20, 0, 20)
  161. Toggle.ZIndex = 2
  162. Toggle.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  163.  
  164. Base.Name = "Base"
  165. Base.Parent = Bar
  166. Base.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  167. Base.BorderSizePixel = 0
  168. Base.Position = UDim2.new(0, 0, 0.800000012, 0)
  169. Base.Size = UDim2.new(1, 0, 0, 10)
  170. Base.Image = "rbxassetid://2851926732"
  171. Base.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  172. Base.ScaleType = Enum.ScaleType.Slice
  173. Base.SliceCenter = Rect.new(12, 12, 12, 12)
  174.  
  175. Top.Name = "Top"
  176. Top.Parent = Bar
  177. Top.BackgroundColor3 = Color3.new(1, 1, 1)
  178. Top.BackgroundTransparency = 1
  179. Top.Position = UDim2.new(0, 0, 0, -5)
  180. Top.Size = UDim2.new(1, 0, 0, 10)
  181. Top.Image = "rbxassetid://2851926732"
  182. Top.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  183. Top.ScaleType = Enum.ScaleType.Slice
  184. Top.SliceCenter = Rect.new(12, 12, 12, 12)
  185.  
  186. Tabs.Name = "Tabs"
  187. Tabs.Parent = Window
  188. Tabs.BackgroundColor3 = Color3.new(1, 1, 1)
  189. Tabs.BackgroundTransparency = 1
  190. Tabs.Position = UDim2.new(0, 15, 0, 60)
  191. Tabs.Size = UDim2.new(1, -30, 1, -60)
  192.  
  193. Title.Name = "Title"
  194. Title.Parent = Window
  195. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  196. Title.BackgroundTransparency = 1
  197. Title.Position = UDim2.new(0, 30, 0, 3)
  198. Title.Size = UDim2.new(0, 200, 0, 20)
  199. Title.Font = Enum.Font.GothamBold
  200. Title.Text = "Gamer Time"
  201. Title.TextColor3 = Color3.new(1, 1, 1)
  202. Title.TextSize = 14
  203. Title.TextXAlignment = Enum.TextXAlignment.Left
  204.  
  205. TabSelection.Name = "TabSelection"
  206. TabSelection.Parent = Window
  207. TabSelection.BackgroundColor3 = Color3.new(1, 1, 1)
  208. TabSelection.BackgroundTransparency = 1
  209. TabSelection.Position = UDim2.new(0, 15, 0, 30)
  210. TabSelection.Size = UDim2.new(1, -30, 0, 25)
  211. TabSelection.Visible = false
  212. TabSelection.Image = "rbxassetid://2851929490"
  213. TabSelection.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  214. TabSelection.ScaleType = Enum.ScaleType.Slice
  215. TabSelection.SliceCenter = Rect.new(4, 4, 4, 4)
  216.  
  217. TabButtons.Name = "TabButtons"
  218. TabButtons.Parent = TabSelection
  219. TabButtons.BackgroundColor3 = Color3.new(1, 1, 1)
  220. TabButtons.BackgroundTransparency = 1
  221. TabButtons.Size = UDim2.new(1, 0, 1, 0)
  222.  
  223. UIListLayout.Parent = TabButtons
  224. UIListLayout.FillDirection = Enum.FillDirection.Horizontal
  225. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  226. UIListLayout.Padding = UDim.new(0, 2)
  227.  
  228. Frame.Parent = TabSelection
  229. Frame.BackgroundColor3 = Color3.new(0.12549, 0.227451, 0.372549)
  230. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  231. Frame.BorderSizePixel = 0
  232. Frame.Position = UDim2.new(0, 0, 1, 0)
  233. Frame.Size = UDim2.new(1, 0, 0, 2)
  234.  
  235. Tab.Name = "Tab"
  236. Tab.Parent = Prefabs
  237. Tab.BackgroundColor3 = Color3.new(1, 1, 1)
  238. Tab.BackgroundTransparency = 1
  239. Tab.Size = UDim2.new(1, 0, 1, 0)
  240. Tab.Visible = false
  241.  
  242. UIListLayout_2.Parent = Tab
  243. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  244. UIListLayout_2.Padding = UDim.new(0, 5)
  245.  
  246. TextBox.Parent = Prefabs
  247. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  248. TextBox.BackgroundTransparency = 1
  249. TextBox.BorderSizePixel = 0
  250. TextBox.Size = UDim2.new(1, 0, 0, 20)
  251. TextBox.ZIndex = 2
  252. TextBox.Font = Enum.Font.GothamSemibold
  253. TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  254. TextBox.PlaceholderText = "Input Text"
  255. TextBox.Text = ""
  256. TextBox.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  257. TextBox.TextSize = 14
  258.  
  259. TextBox_Roundify_4px.Name = "TextBox_Roundify_4px"
  260. TextBox_Roundify_4px.Parent = TextBox
  261. TextBox_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  262. TextBox_Roundify_4px.BackgroundTransparency = 1
  263. TextBox_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  264. TextBox_Roundify_4px.Image = "rbxassetid://2851929490"
  265. TextBox_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  266. TextBox_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  267. TextBox_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  268.  
  269. Slider.Name = "Slider"
  270. Slider.Parent = Prefabs
  271. Slider.BackgroundColor3 = Color3.new(1, 1, 1)
  272. Slider.BackgroundTransparency = 1
  273. Slider.Position = UDim2.new(0, 0, 0.178571433, 0)
  274. Slider.Size = UDim2.new(1, 0, 0, 20)
  275. Slider.Image = "rbxassetid://2851929490"
  276. Slider.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  277. Slider.ScaleType = Enum.ScaleType.Slice
  278. Slider.SliceCenter = Rect.new(4, 4, 4, 4)
  279.  
  280. Title_2.Name = "Title"
  281. Title_2.Parent = Slider
  282. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  283. Title_2.BackgroundTransparency = 1
  284. Title_2.Position = UDim2.new(0.5, 0, 0.5, -10)
  285. Title_2.Size = UDim2.new(0, 0, 0, 20)
  286. Title_2.ZIndex = 2
  287. Title_2.Font = Enum.Font.GothamBold
  288. Title_2.Text = "Slider"
  289. Title_2.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  290. Title_2.TextSize = 14
  291.  
  292. Indicator.Name = "Indicator"
  293. Indicator.Parent = Slider
  294. Indicator.BackgroundColor3 = Color3.new(1, 1, 1)
  295. Indicator.BackgroundTransparency = 1
  296. Indicator.Size = UDim2.new(0, 0, 0, 20)
  297. Indicator.Image = "rbxassetid://2851929490"
  298. Indicator.ImageColor3 = Color3.new(0.254902, 0.262745, 0.278431)
  299. Indicator.ScaleType = Enum.ScaleType.Slice
  300. Indicator.SliceCenter = Rect.new(4, 4, 4, 4)
  301.  
  302. Value.Name = "Value"
  303. Value.Parent = Slider
  304. Value.BackgroundColor3 = Color3.new(1, 1, 1)
  305. Value.BackgroundTransparency = 1
  306. Value.Position = UDim2.new(1, -55, 0.5, -10)
  307. Value.Size = UDim2.new(0, 50, 0, 20)
  308. Value.Font = Enum.Font.GothamBold
  309. Value.Text = "0%"
  310. Value.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  311. Value.TextSize = 14
  312.  
  313. TextLabel.Parent = Slider
  314. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  315. TextLabel.BackgroundTransparency = 1
  316. TextLabel.Position = UDim2.new(1, -20, -0.75, 0)
  317. TextLabel.Size = UDim2.new(0, 26, 0, 50)
  318. TextLabel.Font = Enum.Font.GothamBold
  319. TextLabel.Text = "]"
  320. TextLabel.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  321. TextLabel.TextSize = 14
  322.  
  323. TextLabel_2.Parent = Slider
  324. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  325. TextLabel_2.BackgroundTransparency = 1
  326. TextLabel_2.Position = UDim2.new(1, -65, -0.75, 0)
  327. TextLabel_2.Size = UDim2.new(0, 26, 0, 50)
  328. TextLabel_2.Font = Enum.Font.GothamBold
  329. TextLabel_2.Text = "["
  330. TextLabel_2.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  331. TextLabel_2.TextSize = 14
  332.  
  333. Circle.Name = "Circle"
  334. Circle.Parent = Prefabs
  335. Circle.BackgroundColor3 = Color3.new(1, 1, 1)
  336. Circle.BackgroundTransparency = 1
  337. Circle.Image = "rbxassetid://266543268"
  338. Circle.ImageTransparency = 0.5
  339.  
  340. UIListLayout_3.Parent = Prefabs
  341. UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
  342. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  343. UIListLayout_3.Padding = UDim.new(0, 20)
  344.  
  345. Dropdown.Name = "Dropdown"
  346. Dropdown.Parent = Prefabs
  347. Dropdown.BackgroundColor3 = Color3.new(1, 1, 1)
  348. Dropdown.BackgroundTransparency = 1
  349. Dropdown.BorderSizePixel = 0
  350. Dropdown.Position = UDim2.new(-0.055555556, 0, 0.0833333284, 0)
  351. Dropdown.Size = UDim2.new(0, 200, 0, 20)
  352. Dropdown.ZIndex = 2
  353. Dropdown.Font = Enum.Font.GothamBold
  354. Dropdown.Text = " Dropdown"
  355. Dropdown.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  356. Dropdown.TextSize = 14
  357. Dropdown.TextXAlignment = Enum.TextXAlignment.Left
  358.  
  359. Indicator_2.Name = "Indicator"
  360. Indicator_2.Parent = Dropdown
  361. Indicator_2.BackgroundColor3 = Color3.new(1, 1, 1)
  362. Indicator_2.BackgroundTransparency = 1
  363. Indicator_2.Position = UDim2.new(0.899999976, -10, 0.100000001, 0)
  364. Indicator_2.Rotation = -90
  365. Indicator_2.Size = UDim2.new(0, 15, 0, 15)
  366. Indicator_2.ZIndex = 2
  367. Indicator_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4744658743"
  368.  
  369. Box.Name = "Box"
  370. Box.Parent = Dropdown
  371. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  372. Box.BackgroundTransparency = 1
  373. Box.Position = UDim2.new(0, 0, 0, 25)
  374. Box.Size = UDim2.new(1, 0, 0, 150)
  375. Box.ZIndex = 3
  376. Box.Image = "rbxassetid://2851929490"
  377. Box.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  378. Box.ScaleType = Enum.ScaleType.Slice
  379. Box.SliceCenter = Rect.new(4, 4, 4, 4)
  380.  
  381. Objects.Name = "Objects"
  382. Objects.Parent = Box
  383. Objects.BackgroundColor3 = Color3.new(1, 1, 1)
  384. Objects.BackgroundTransparency = 1
  385. Objects.BorderSizePixel = 0
  386. Objects.Size = UDim2.new(1, 0, 1, 0)
  387. Objects.ZIndex = 3
  388. Objects.CanvasSize = UDim2.new(0, 0, 0, 0)
  389. Objects.ScrollBarThickness = 8
  390.  
  391. UIListLayout_4.Parent = Objects
  392. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  393.  
  394. TextButton_Roundify_4px.Name = "TextButton_Roundify_4px"
  395. TextButton_Roundify_4px.Parent = Dropdown
  396. TextButton_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  397. TextButton_Roundify_4px.BackgroundTransparency = 1
  398. TextButton_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  399. TextButton_Roundify_4px.Image = "rbxassetid://2851929490"
  400. TextButton_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  401. TextButton_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  402. TextButton_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  403.  
  404. TabButton.Name = "TabButton"
  405. TabButton.Parent = Prefabs
  406. TabButton.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  407. TabButton.BackgroundTransparency = 1
  408. TabButton.BorderSizePixel = 0
  409. TabButton.Position = UDim2.new(0.185185179, 0, 0, 0)
  410. TabButton.Size = UDim2.new(0, 71, 0, 20)
  411. TabButton.ZIndex = 2
  412. TabButton.Font = Enum.Font.GothamSemibold
  413. TabButton.Text = "Test tab"
  414. TabButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  415. TabButton.TextSize = 14
  416.  
  417. TextButton_Roundify_4px_2.Name = "TextButton_Roundify_4px"
  418. TextButton_Roundify_4px_2.Parent = TabButton
  419. TextButton_Roundify_4px_2.BackgroundColor3 = Color3.new(1, 1, 1)
  420. TextButton_Roundify_4px_2.BackgroundTransparency = 1
  421. TextButton_Roundify_4px_2.Size = UDim2.new(1, 0, 1, 0)
  422. TextButton_Roundify_4px_2.Image = "rbxassetid://2851929490"
  423. TextButton_Roundify_4px_2.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  424. TextButton_Roundify_4px_2.ScaleType = Enum.ScaleType.Slice
  425. TextButton_Roundify_4px_2.SliceCenter = Rect.new(4, 4, 4, 4)
  426.  
  427. Folder.Name = "Folder"
  428. Folder.Parent = Prefabs
  429. Folder.BackgroundColor3 = Color3.new(1, 1, 1)
  430. Folder.BackgroundTransparency = 1
  431. Folder.Position = UDim2.new(0, 0, 0, 50)
  432. Folder.Size = UDim2.new(1, 0, 0, 20)
  433. Folder.Image = "rbxassetid://2851929490"
  434. Folder.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  435. Folder.ScaleType = Enum.ScaleType.Slice
  436. Folder.SliceCenter = Rect.new(4, 4, 4, 4)
  437.  
  438. Button.Name = "Button"
  439. Button.Parent = Folder
  440. Button.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  441. Button.BackgroundTransparency = 1
  442. Button.BorderSizePixel = 0
  443. Button.Size = UDim2.new(1, 0, 0, 20)
  444. Button.ZIndex = 2
  445. Button.Font = Enum.Font.GothamSemibold
  446. Button.Text = " Folder"
  447. Button.TextColor3 = Color3.new(1, 1, 1)
  448. Button.TextSize = 14
  449. Button.TextXAlignment = Enum.TextXAlignment.Left
  450.  
  451. TextButton_Roundify_4px_3.Name = "TextButton_Roundify_4px"
  452. TextButton_Roundify_4px_3.Parent = Button
  453. TextButton_Roundify_4px_3.BackgroundColor3 = Color3.new(1, 1, 1)
  454. TextButton_Roundify_4px_3.BackgroundTransparency = 1
  455. TextButton_Roundify_4px_3.Size = UDim2.new(1, 0, 1, 0)
  456. TextButton_Roundify_4px_3.Image = "rbxassetid://2851929490"
  457. TextButton_Roundify_4px_3.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  458. TextButton_Roundify_4px_3.ScaleType = Enum.ScaleType.Slice
  459. TextButton_Roundify_4px_3.SliceCenter = Rect.new(4, 4, 4, 4)
  460.  
  461. Toggle_2.Name = "Toggle"
  462. Toggle_2.Parent = Button
  463. Toggle_2.BackgroundColor3 = Color3.new(1, 1, 1)
  464. Toggle_2.BackgroundTransparency = 1
  465. Toggle_2.Position = UDim2.new(0, 5, 0, 0)
  466. Toggle_2.Size = UDim2.new(0, 20, 0, 20)
  467. Toggle_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  468.  
  469. Objects_2.Name = "Objects"
  470. Objects_2.Parent = Folder
  471. Objects_2.BackgroundColor3 = Color3.new(1, 1, 1)
  472. Objects_2.BackgroundTransparency = 1
  473. Objects_2.Position = UDim2.new(0, 10, 0, 25)
  474. Objects_2.Size = UDim2.new(1, -10, 1, -25)
  475. Objects_2.Visible = false
  476.  
  477. UIListLayout_5.Parent = Objects_2
  478. UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder
  479. UIListLayout_5.Padding = UDim.new(0, 5)
  480.  
  481. HorizontalAlignment.Name = "HorizontalAlignment"
  482. HorizontalAlignment.Parent = Prefabs
  483. HorizontalAlignment.BackgroundColor3 = Color3.new(1, 1, 1)
  484. HorizontalAlignment.BackgroundTransparency = 1
  485. HorizontalAlignment.Size = UDim2.new(1, 0, 0, 20)
  486.  
  487. UIListLayout_6.Parent = HorizontalAlignment
  488. UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal
  489. UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder
  490. UIListLayout_6.Padding = UDim.new(0, 5)
  491.  
  492. Console.Name = "Console"
  493. Console.Parent = Prefabs
  494. Console.BackgroundColor3 = Color3.new(1, 1, 1)
  495. Console.BackgroundTransparency = 1
  496. Console.Size = UDim2.new(1, 0, 0, 200)
  497. Console.Image = "rbxassetid://2851928141"
  498. Console.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  499. Console.ScaleType = Enum.ScaleType.Slice
  500. Console.SliceCenter = Rect.new(8, 8, 8, 8)
  501.  
  502. ScrollingFrame.Parent = Console
  503. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  504. ScrollingFrame.BackgroundTransparency = 1
  505. ScrollingFrame.BorderSizePixel = 0
  506. ScrollingFrame.Size = UDim2.new(1, 0, 1, 1)
  507. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  508. ScrollingFrame.ScrollBarThickness = 4
  509.  
  510. Source.Name = "Source"
  511. Source.Parent = ScrollingFrame
  512. Source.BackgroundColor3 = Color3.new(1, 1, 1)
  513. Source.BackgroundTransparency = 1
  514. Source.Position = UDim2.new(0, 40, 0, 0)
  515. Source.Size = UDim2.new(1, -40, 0, 10000)
  516. Source.ZIndex = 3
  517. Source.ClearTextOnFocus = false
  518. Source.Font = Enum.Font.Code
  519. Source.MultiLine = true
  520. Source.PlaceholderColor3 = Color3.new(0.8, 0.8, 0.8)
  521. Source.Text = ""
  522. Source.TextColor3 = Color3.new(1, 1, 1)
  523. Source.TextSize = 15
  524. Source.TextStrokeColor3 = Color3.new(1, 1, 1)
  525. Source.TextWrapped = true
  526. Source.TextXAlignment = Enum.TextXAlignment.Left
  527. Source.TextYAlignment = Enum.TextYAlignment.Top
  528.  
  529. Comments.Name = "Comments"
  530. Comments.Parent = Source
  531. Comments.BackgroundColor3 = Color3.new(1, 1, 1)
  532. Comments.BackgroundTransparency = 1
  533. Comments.Size = UDim2.new(1, 0, 1, 0)
  534. Comments.ZIndex = 5
  535. Comments.Font = Enum.Font.Code
  536. Comments.Text = ""
  537. Comments.TextColor3 = Color3.new(0.231373, 0.784314, 0.231373)
  538. Comments.TextSize = 15
  539. Comments.TextXAlignment = Enum.TextXAlignment.Left
  540. Comments.TextYAlignment = Enum.TextYAlignment.Top
  541.  
  542. Globals.Name = "Globals"
  543. Globals.Parent = Source
  544. Globals.BackgroundColor3 = Color3.new(1, 1, 1)
  545. Globals.BackgroundTransparency = 1
  546. Globals.Size = UDim2.new(1, 0, 1, 0)
  547. Globals.ZIndex = 5
  548. Globals.Font = Enum.Font.Code
  549. Globals.Text = ""
  550. Globals.TextColor3 = Color3.new(0.517647, 0.839216, 0.968628)
  551. Globals.TextSize = 15
  552. Globals.TextXAlignment = Enum.TextXAlignment.Left
  553. Globals.TextYAlignment = Enum.TextYAlignment.Top
  554.  
  555. Keywords.Name = "Keywords"
  556. Keywords.Parent = Source
  557. Keywords.BackgroundColor3 = Color3.new(1, 1, 1)
  558. Keywords.BackgroundTransparency = 1
  559. Keywords.Size = UDim2.new(1, 0, 1, 0)
  560. Keywords.ZIndex = 5
  561. Keywords.Font = Enum.Font.Code
  562. Keywords.Text = ""
  563. Keywords.TextColor3 = Color3.new(0.972549, 0.427451, 0.486275)
  564. Keywords.TextSize = 15
  565. Keywords.TextXAlignment = Enum.TextXAlignment.Left
  566. Keywords.TextYAlignment = Enum.TextYAlignment.Top
  567.  
  568. RemoteHighlight.Name = "RemoteHighlight"
  569. RemoteHighlight.Parent = Source
  570. RemoteHighlight.BackgroundColor3 = Color3.new(1, 1, 1)
  571. RemoteHighlight.BackgroundTransparency = 1
  572. RemoteHighlight.Size = UDim2.new(1, 0, 1, 0)
  573. RemoteHighlight.ZIndex = 5
  574. RemoteHighlight.Font = Enum.Font.Code
  575. RemoteHighlight.Text = ""
  576. RemoteHighlight.TextColor3 = Color3.new(0, 0.568627, 1)
  577. RemoteHighlight.TextSize = 15
  578. RemoteHighlight.TextXAlignment = Enum.TextXAlignment.Left
  579. RemoteHighlight.TextYAlignment = Enum.TextYAlignment.Top
  580.  
  581. Strings.Name = "Strings"
  582. Strings.Parent = Source
  583. Strings.BackgroundColor3 = Color3.new(1, 1, 1)
  584. Strings.BackgroundTransparency = 1
  585. Strings.Size = UDim2.new(1, 0, 1, 0)
  586. Strings.ZIndex = 5
  587. Strings.Font = Enum.Font.Code
  588. Strings.Text = ""
  589. Strings.TextColor3 = Color3.new(0.678431, 0.945098, 0.584314)
  590. Strings.TextSize = 15
  591. Strings.TextXAlignment = Enum.TextXAlignment.Left
  592. Strings.TextYAlignment = Enum.TextYAlignment.Top
  593.  
  594. Tokens.Name = "Tokens"
  595. Tokens.Parent = Source
  596. Tokens.BackgroundColor3 = Color3.new(1, 1, 1)
  597. Tokens.BackgroundTransparency = 1
  598. Tokens.Size = UDim2.new(1, 0, 1, 0)
  599. Tokens.ZIndex = 5
  600. Tokens.Font = Enum.Font.Code
  601. Tokens.Text = ""
  602. Tokens.TextColor3 = Color3.new(1, 1, 1)
  603. Tokens.TextSize = 15
  604. Tokens.TextXAlignment = Enum.TextXAlignment.Left
  605. Tokens.TextYAlignment = Enum.TextYAlignment.Top
  606.  
  607. Numbers.Name = "Numbers"
  608. Numbers.Parent = Source
  609. Numbers.BackgroundColor3 = Color3.new(1, 1, 1)
  610. Numbers.BackgroundTransparency = 1
  611. Numbers.Size = UDim2.new(1, 0, 1, 0)
  612. Numbers.ZIndex = 4
  613. Numbers.Font = Enum.Font.Code
  614. Numbers.Text = ""
  615. Numbers.TextColor3 = Color3.new(1, 0.776471, 0)
  616. Numbers.TextSize = 15
  617. Numbers.TextXAlignment = Enum.TextXAlignment.Left
  618. Numbers.TextYAlignment = Enum.TextYAlignment.Top
  619.  
  620. Info.Name = "Info"
  621. Info.Parent = Source
  622. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  623. Info.BackgroundTransparency = 1
  624. Info.Size = UDim2.new(1, 0, 1, 0)
  625. Info.ZIndex = 5
  626. Info.Font = Enum.Font.Code
  627. Info.Text = ""
  628. Info.TextColor3 = Color3.new(0, 0.635294, 1)
  629. Info.TextSize = 15
  630. Info.TextXAlignment = Enum.TextXAlignment.Left
  631. Info.TextYAlignment = Enum.TextYAlignment.Top
  632.  
  633. Lines.Name = "Lines"
  634. Lines.Parent = ScrollingFrame
  635. Lines.BackgroundColor3 = Color3.new(1, 1, 1)
  636. Lines.BackgroundTransparency = 1
  637. Lines.BorderSizePixel = 0
  638. Lines.Size = UDim2.new(0, 40, 0, 10000)
  639. Lines.ZIndex = 4
  640. Lines.Font = Enum.Font.Code
  641. Lines.Text = "1\n"
  642. Lines.TextColor3 = Color3.new(1, 1, 1)
  643. Lines.TextSize = 15
  644. Lines.TextWrapped = true
  645. Lines.TextYAlignment = Enum.TextYAlignment.Top
  646.  
  647. ColorPicker.Name = "ColorPicker"
  648. ColorPicker.Parent = Prefabs
  649. ColorPicker.BackgroundColor3 = Color3.new(1, 1, 1)
  650. ColorPicker.BackgroundTransparency = 1
  651. ColorPicker.Size = UDim2.new(0, 180, 0, 110)
  652. ColorPicker.Image = "rbxassetid://2851929490"
  653. ColorPicker.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  654. ColorPicker.ScaleType = Enum.ScaleType.Slice
  655. ColorPicker.SliceCenter = Rect.new(4, 4, 4, 4)
  656.  
  657. Palette.Name = "Palette"
  658. Palette.Parent = ColorPicker
  659. Palette.BackgroundColor3 = Color3.new(1, 1, 1)
  660. Palette.BackgroundTransparency = 1
  661. Palette.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0)
  662. Palette.Size = UDim2.new(0, 100, 0, 100)
  663. Palette.Image = "rbxassetid://698052001"
  664. Palette.ScaleType = Enum.ScaleType.Slice
  665. Palette.SliceCenter = Rect.new(4, 4, 4, 4)
  666.  
  667. Indicator_3.Name = "Indicator"
  668. Indicator_3.Parent = Palette
  669. Indicator_3.BackgroundColor3 = Color3.new(1, 1, 1)
  670. Indicator_3.BackgroundTransparency = 1
  671. Indicator_3.Size = UDim2.new(0, 5, 0, 5)
  672. Indicator_3.ZIndex = 2
  673. Indicator_3.Image = "rbxassetid://2851926732"
  674. Indicator_3.ImageColor3 = Color3.new(0, 0, 0)
  675. Indicator_3.ScaleType = Enum.ScaleType.Slice
  676. Indicator_3.SliceCenter = Rect.new(12, 12, 12, 12)
  677.  
  678. Sample.Name = "Sample"
  679. Sample.Parent = ColorPicker
  680. Sample.BackgroundColor3 = Color3.new(1, 1, 1)
  681. Sample.BackgroundTransparency = 1
  682. Sample.Position = UDim2.new(0.800000012, 0, 0.0500000007, 0)
  683. Sample.Size = UDim2.new(0, 25, 0, 25)
  684. Sample.Image = "rbxassetid://2851929490"
  685. Sample.ScaleType = Enum.ScaleType.Slice
  686. Sample.SliceCenter = Rect.new(4, 4, 4, 4)
  687.  
  688. Saturation.Name = "Saturation"
  689. Saturation.Parent = ColorPicker
  690. Saturation.BackgroundColor3 = Color3.new(1, 1, 1)
  691. Saturation.Position = UDim2.new(0.649999976, 0, 0.0500000007, 0)
  692. Saturation.Size = UDim2.new(0, 15, 0, 100)
  693. Saturation.Image = "rbxassetid://3641079629"
  694.  
  695. Indicator_4.Name = "Indicator"
  696. Indicator_4.Parent = Saturation
  697. Indicator_4.BackgroundColor3 = Color3.new(1, 1, 1)
  698. Indicator_4.BorderSizePixel = 0
  699. Indicator_4.Size = UDim2.new(0, 20, 0, 2)
  700. Indicator_4.ZIndex = 2
  701.  
  702. Switch.Name = "Switch"
  703. Switch.Parent = Prefabs
  704. Switch.BackgroundColor3 = Color3.new(1, 1, 1)
  705. Switch.BackgroundTransparency = 1
  706. Switch.BorderSizePixel = 0
  707. Switch.Position = UDim2.new(0.229411766, 0, 0.20714286, 0)
  708. Switch.Size = UDim2.new(0, 20, 0, 20)
  709. Switch.ZIndex = 2
  710. Switch.Font = Enum.Font.SourceSans
  711. Switch.Text = ""
  712. Switch.TextColor3 = Color3.new(1, 1, 1)
  713. Switch.TextSize = 18
  714.  
  715. TextButton_Roundify_4px_4.Name = "TextButton_Roundify_4px"
  716. TextButton_Roundify_4px_4.Parent = Switch
  717. TextButton_Roundify_4px_4.BackgroundColor3 = Color3.new(1, 1, 1)
  718. TextButton_Roundify_4px_4.BackgroundTransparency = 1
  719. TextButton_Roundify_4px_4.Size = UDim2.new(1, 0, 1, 0)
  720. TextButton_Roundify_4px_4.Image = "rbxassetid://2851929490"
  721. TextButton_Roundify_4px_4.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  722. TextButton_Roundify_4px_4.ImageTransparency = 0.5
  723. TextButton_Roundify_4px_4.ScaleType = Enum.ScaleType.Slice
  724. TextButton_Roundify_4px_4.SliceCenter = Rect.new(4, 4, 4, 4)
  725.  
  726. Title_3.Name = "Title"
  727. Title_3.Parent = Switch
  728. Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
  729. Title_3.BackgroundTransparency = 1
  730. Title_3.Position = UDim2.new(1.20000005, 0, 0, 0)
  731. Title_3.Size = UDim2.new(0, 20, 0, 20)
  732. Title_3.Font = Enum.Font.GothamSemibold
  733. Title_3.Text = "Switch"
  734. Title_3.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  735. Title_3.TextSize = 14
  736. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  737.  
  738. Button_2.Name = "Button"
  739. Button_2.Parent = Prefabs
  740. Button_2.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  741. Button_2.BackgroundTransparency = 1
  742. Button_2.BorderSizePixel = 0
  743. Button_2.Size = UDim2.new(0, 91, 0, 20)
  744. Button_2.ZIndex = 2
  745. Button_2.Font = Enum.Font.GothamSemibold
  746. Button_2.TextColor3 = Color3.new(1, 1, 1)
  747. Button_2.TextSize = 14
  748.  
  749. TextButton_Roundify_4px_5.Name = "TextButton_Roundify_4px"
  750. TextButton_Roundify_4px_5.Parent = Button_2
  751. TextButton_Roundify_4px_5.BackgroundColor3 = Color3.new(1, 1, 1)
  752. TextButton_Roundify_4px_5.BackgroundTransparency = 1
  753. TextButton_Roundify_4px_5.Size = UDim2.new(1, 0, 1, 0)
  754. TextButton_Roundify_4px_5.Image = "rbxassetid://2851929490"
  755. TextButton_Roundify_4px_5.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  756. TextButton_Roundify_4px_5.ScaleType = Enum.ScaleType.Slice
  757. TextButton_Roundify_4px_5.SliceCenter = Rect.new(4, 4, 4, 4)
  758.  
  759. DropdownButton.Name = "DropdownButton"
  760. DropdownButton.Parent = Prefabs
  761. DropdownButton.BackgroundColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  762. DropdownButton.BorderSizePixel = 0
  763. DropdownButton.Size = UDim2.new(1, 0, 0, 20)
  764. DropdownButton.ZIndex = 3
  765. DropdownButton.Font = Enum.Font.GothamBold
  766. DropdownButton.Text = " Button"
  767. DropdownButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  768. DropdownButton.TextSize = 14
  769. DropdownButton.TextXAlignment = Enum.TextXAlignment.Left
  770.  
  771. Keybind.Name = "Keybind"
  772. Keybind.Parent = Prefabs
  773. Keybind.BackgroundColor3 = Color3.new(1, 1, 1)
  774. Keybind.BackgroundTransparency = 1
  775. Keybind.Size = UDim2.new(0, 200, 0, 20)
  776. Keybind.Image = "rbxassetid://2851929490"
  777. Keybind.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  778. Keybind.ScaleType = Enum.ScaleType.Slice
  779. Keybind.SliceCenter = Rect.new(4, 4, 4, 4)
  780.  
  781. Title_4.Name = "Title"
  782. Title_4.Parent = Keybind
  783. Title_4.BackgroundColor3 = Color3.new(1, 1, 1)
  784. Title_4.BackgroundTransparency = 1
  785. Title_4.Size = UDim2.new(0, 0, 1, 0)
  786. Title_4.Font = Enum.Font.GothamBold
  787. Title_4.Text = "Keybind"
  788. Title_4.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  789. Title_4.TextSize = 14
  790. Title_4.TextXAlignment = Enum.TextXAlignment.Left
  791.  
  792. Input.Name = "Input"
  793. Input.Parent = Keybind
  794. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  795. Input.BackgroundTransparency = 1
  796. Input.BorderSizePixel = 0
  797. Input.Position = UDim2.new(1, -85, 0, 2)
  798. Input.Size = UDim2.new(0, 80, 1, -4)
  799. Input.ZIndex = 2
  800. Input.Font = Enum.Font.GothamSemibold
  801. Input.Text = "RShift"
  802. Input.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  803. Input.TextSize = 12
  804. Input.TextWrapped = true
  805.  
  806. Input_Roundify_4px.Name = "Input_Roundify_4px"
  807. Input_Roundify_4px.Parent = Input
  808. Input_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  809. Input_Roundify_4px.BackgroundTransparency = 1
  810. Input_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  811. Input_Roundify_4px.Image = "rbxassetid://2851929490"
  812. Input_Roundify_4px.ImageColor3 = Color3.new(0.290196, 0.294118, 0.313726)
  813. Input_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  814. Input_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  815.  
  816. Windows.Name = "Windows"
  817. Windows.Parent = imgui
  818. Windows.BackgroundColor3 = Color3.new(1, 1, 1)
  819. Windows.BackgroundTransparency = 1
  820. Windows.Position = UDim2.new(0, 20, 0, 20)
  821. Windows.Size = UDim2.new(1, 20, 1, -20)
  822.  
  823.  
  824. script.Parent = imgui
  825.  
  826. local UIS = game:GetService("UserInputService")
  827. local TweenService = game:GetService("TweenService")
  828. local RS = game:GetService("RunService")
  829. local ps = game:GetService("Players")
  830.  
  831. local p = ps.LocalPlayer
  832. local mouse = p:GetMouse()
  833.  
  834. local Prefabs = script.Parent:WaitForChild("Prefabs")
  835. local Windows = script.Parent:FindFirstChild("Windows")
  836.  
  837. local checks = {
  838. ["binding"] = false,
  839. }
  840.  
  841. UIS.InputBegan:Connect(function(input, gameProcessed)
  842. if input.KeyCode == ((typeof(ui_options.toggle_key) == "EnumItem") and ui_options.toggle_key or Enum.KeyCode.RightShift) then
  843. if script.Parent then
  844. if not checks.binding then
  845. script.Parent.Enabled = not script.Parent.Enabled
  846. end
  847. end
  848. end
  849. end)
  850.  
  851. local function Resize(part, new, _delay)
  852. _delay = _delay or 0.5
  853. local tweenInfo = TweenInfo.new(_delay, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  854. local tween = TweenService:Create(part, tweenInfo, new)
  855. tween:Play()
  856. end
  857.  
  858. local function rgbtohsv(r, g, b)
  859. r, g, b = r / 255, g / 255, b / 255
  860. local max, min = math.max(r, g, b), math.min(r, g, b)
  861. local h, s, v
  862. v = max
  863.  
  864. local d = max - min
  865. if max == 0 then
  866. s = 0
  867. else
  868. s = d / max
  869. end
  870.  
  871. if max == min then
  872. h = 0
  873. else
  874. if max == r then
  875. h = (g - b) / d
  876. if g < b then
  877. h = h + 6
  878. end
  879. elseif max == g then
  880. h = (b - r) / d + 2
  881. elseif max == b then
  882. h = (r - g) / d + 4
  883. end
  884. h = h / 6
  885. end
  886.  
  887. return h, s, v
  888. end
  889.  
  890. local function hasprop(object, prop)
  891. local a, b = pcall(function()
  892. return object[tostring(prop)]
  893. end)
  894. if a then
  895. return b
  896. end
  897. end
  898.  
  899. local function gNameLen(obj)
  900. return obj.TextBounds.X + 15
  901. end
  902.  
  903. local function gMouse()
  904. return Vector2.new(UIS:GetMouseLocation().X + 1, UIS:GetMouseLocation().Y - 35)
  905. end
  906.  
  907. local function ripple(button, x, y)
  908. spawn(function()
  909. button.ClipsDescendants = true
  910.  
  911. local circle = Prefabs:FindFirstChild("Circle"):Clone()
  912.  
  913. circle.Parent = button
  914. circle.ZIndex = 1000
  915.  
  916. local new_x = x - circle.AbsolutePosition.X
  917. local new_y = y - circle.AbsolutePosition.Y
  918. circle.Position = UDim2.new(0, new_x, 0, new_y)
  919.  
  920. local size = 0
  921. if button.AbsoluteSize.X > button.AbsoluteSize.Y then
  922. size = button.AbsoluteSize.X * 1.5
  923. elseif button.AbsoluteSize.X < button.AbsoluteSize.Y then
  924. size = button.AbsoluteSize.Y * 1.5
  925. elseif button.AbsoluteSize.X == button.AbsoluteSize.Y then
  926. size = button.AbsoluteSize.X * 1.5
  927. end
  928.  
  929. circle:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, -size / 2, 0.5, -size / 2), "Out", "Quad", 0.5, false, nil)
  930. Resize(circle, {ImageTransparency = 1}, 0.5)
  931.  
  932. wait(0.5)
  933. circle:Destroy()
  934. end)
  935. end
  936.  
  937. local windows = 0
  938. local library = {}
  939.  
  940. local function format_windows()
  941. local ull = Prefabs:FindFirstChild("UIListLayout"):Clone()
  942. ull.Parent = Windows
  943. local data = {}
  944.  
  945. for i,v in next, Windows:GetChildren() do
  946. if not (v:IsA("UIListLayout")) then
  947. data[v] = v.AbsolutePosition
  948. end
  949. end
  950.  
  951. ull:Destroy()
  952.  
  953. for i,v in next, data do
  954. i.Position = UDim2.new(0, v.X, 0, v.Y)
  955. end
  956. end
  957.  
  958. function library:FormatWindows()
  959. format_windows()
  960. end
  961.  
  962. function library:AddWindow(title, options)
  963. windows = windows + 1
  964. local dropdown_open = false
  965. title = tostring(title or "New Window")
  966. options = (typeof(options) == "table") and options or ui_options
  967. options.tween_time = 0.1
  968.  
  969. local Window = Prefabs:FindFirstChild("Window"):Clone()
  970. Window.Parent = Windows
  971. Window:FindFirstChild("Title").Text = title
  972. Window.Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)
  973. Window.ZIndex = Window.ZIndex + (windows * 10)
  974.  
  975. do -- Altering Window Color
  976. local Title = Window:FindFirstChild("Title")
  977. local Bar = Window:FindFirstChild("Bar")
  978. local Base = Bar:FindFirstChild("Base")
  979. local Top = Bar:FindFirstChild("Top")
  980. local SplitFrame = Window:FindFirstChild("TabSelection"):FindFirstChild("Frame")
  981. local Toggle = Bar:FindFirstChild("Toggle")
  982.  
  983. spawn(function()
  984. while true do
  985. Bar.BackgroundColor3 = options.main_color
  986. Base.BackgroundColor3 = options.main_color
  987. Base.ImageColor3 = options.main_color
  988. Top.ImageColor3 = options.main_color
  989. SplitFrame.BackgroundColor3 = options.main_color
  990.  
  991. RS.Heartbeat:Wait()
  992. end
  993. end)
  994.  
  995. end
  996.  
  997. local Resizer = Window:WaitForChild("Resizer")
  998.  
  999. local window_data = {}
  1000. Window.Draggable = true
  1001.  
  1002. do -- Resize Window
  1003. local oldIcon = mouse.Icon
  1004. local Entered = false
  1005. Resizer.MouseEnter:Connect(function()
  1006. Window.Draggable = false
  1007. if options.can_resize then
  1008. oldIcon = mouse.Icon
  1009. end
  1010. Entered = true
  1011. end)
  1012.  
  1013. Resizer.MouseLeave:Connect(function()
  1014. Entered = false
  1015. if options.can_resize then
  1016. mouse.Icon = oldIcon
  1017. end
  1018. Window.Draggable = true
  1019. end)
  1020.  
  1021. local Held = false
  1022. UIS.InputBegan:Connect(function(inputObject)
  1023. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1024. Held = true
  1025.  
  1026. spawn(function() -- Loop check
  1027. if Entered and Resizer.Active and options.can_resize then
  1028. while Held and Resizer.Active do
  1029.  
  1030. local mouse_location = gMouse()
  1031. local x = mouse_location.X - Window.AbsolutePosition.X
  1032. local y = mouse_location.Y - Window.AbsolutePosition.Y
  1033.  
  1034. if x >= options.min_size.X and y >= options.min_size.Y then
  1035. Resize(Window, {Size = UDim2.new(0, x, 0, y)}, options.tween_time)
  1036. elseif x >= options.min_size.X then
  1037. Resize(Window, {Size = UDim2.new(0, x, 0, options.min_size.Y)}, options.tween_time)
  1038. elseif y >= options.min_size.Y then
  1039. Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, y)}, options.tween_time)
  1040. else
  1041. Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)}, options.tween_time)
  1042. end
  1043.  
  1044. RS.Heartbeat:Wait()
  1045. end
  1046. end
  1047. end)
  1048. end
  1049. end)
  1050. UIS.InputEnded:Connect(function(inputObject)
  1051. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1052. Held = false
  1053. end
  1054. end)
  1055. end
  1056.  
  1057. do
  1058. local open_close = Window:FindFirstChild("Bar"):FindFirstChild("Toggle")
  1059. local open = true
  1060. local canopen = true
  1061.  
  1062. local oldwindowdata = {}
  1063. local oldy = Window.AbsoluteSize.Y
  1064. open_close.MouseButton1Click:Connect(function()
  1065. if canopen then
  1066. canopen = false
  1067.  
  1068. if open then
  1069.  
  1070. oldwindowdata = {}
  1071. for i,v in next, Window:FindFirstChild("Tabs"):GetChildren() do
  1072. oldwindowdata[v] = v.Visible
  1073. v.Visible = false
  1074. end
  1075.  
  1076. Resizer.Active = false
  1077.  
  1078. oldy = Window.AbsoluteSize.Y
  1079. Resize(open_close, {Rotation = 0}, options.tween_time)
  1080. Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, 26)}, options.tween_time)
  1081. open_close.Parent:FindFirstChild("Base").Transparency = 1
  1082.  
  1083. else
  1084.  
  1085. for i,v in next, oldwindowdata do
  1086. i.Visible = v
  1087. end
  1088.  
  1089. Resizer.Active = true
  1090.  
  1091. Resize(open_close, {Rotation = 90}, options.tween_time)
  1092. Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, oldy)}, options.tween_time)
  1093. open_close.Parent:FindFirstChild("Base").Transparency = 0
  1094.  
  1095. end
  1096.  
  1097. open = not open
  1098. wait(options.tween_time)
  1099. canopen = true
  1100.  
  1101. end
  1102. end)
  1103. end
  1104.  
  1105. do -- UI Elements
  1106. local tabs = Window:FindFirstChild("Tabs")
  1107. local tab_selection = Window:FindFirstChild("TabSelection")
  1108. local tab_buttons = tab_selection:FindFirstChild("TabButtons")
  1109.  
  1110. do -- Add Tab
  1111. function window_data:AddTab(tab_name)
  1112. local tab_data = {}
  1113. tab_name = tostring(tab_name or "New Tab")
  1114. tab_selection.Visible = true
  1115.  
  1116. local new_button = Prefabs:FindFirstChild("TabButton"):Clone()
  1117. new_button.Parent = tab_buttons
  1118. new_button.Text = tab_name
  1119. new_button.Size = UDim2.new(0, gNameLen(new_button), 0, 20)
  1120. new_button.ZIndex = new_button.ZIndex + (windows * 10)
  1121. new_button:GetChildren()[1].ZIndex = new_button:GetChildren()[1].ZIndex + (windows * 10)
  1122.  
  1123. local new_tab = Prefabs:FindFirstChild("Tab"):Clone()
  1124. new_tab.Parent = tabs
  1125. new_tab.ZIndex = new_tab.ZIndex + (windows * 10)
  1126.  
  1127. local function show()
  1128. if dropdown_open then return end
  1129. for i, v in next, tab_buttons:GetChildren() do
  1130. if not (v:IsA("UIListLayout")) then
  1131. v:GetChildren()[1].ImageColor3 = Color3.fromRGB(52, 53, 56)
  1132. Resize(v, {Size = UDim2.new(0, v.AbsoluteSize.X, 0, 20)}, options.tween_time)
  1133. end
  1134. end
  1135. for i, v in next, tabs:GetChildren() do
  1136. v.Visible = false
  1137. end
  1138.  
  1139. Resize(new_button, {Size = UDim2.new(0, new_button.AbsoluteSize.X, 0, 25)}, options.tween_time)
  1140. new_button:GetChildren()[1].ImageColor3 = Color3.fromRGB(73, 75, 79)
  1141. new_tab.Visible = true
  1142. end
  1143.  
  1144. new_button.MouseButton1Click:Connect(function()
  1145. show()
  1146. end)
  1147.  
  1148. function tab_data:Show()
  1149. show()
  1150. end
  1151.  
  1152. do -- Tab Elements
  1153.  
  1154. function tab_data:AddLabel(label_text)
  1155. label_text = tostring(label_text or "New Label")
  1156.  
  1157. local label = Prefabs:FindFirstChild("Label"):Clone()
  1158.  
  1159. label.Parent = new_tab
  1160. label.Text = label_text
  1161. label.Size = UDim2.new(0, gNameLen(label), 0, 20)
  1162. label.ZIndex = label.ZIndex + (windows * 10)
  1163.  
  1164. return label
  1165. end
  1166.  
  1167. function tab_data:AddButton(button_text, callback)
  1168. button_text = tostring(button_text or "New Button")
  1169. callback = typeof(callback) == "function" and callback or function()end
  1170.  
  1171. local button = Prefabs:FindFirstChild("Button"):Clone()
  1172.  
  1173. button.Parent = new_tab
  1174. button.Text = button_text
  1175. button.Size = UDim2.new(0, gNameLen(button), 0, 20)
  1176. button.ZIndex = button.ZIndex + (windows * 10)
  1177. button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1178.  
  1179. spawn(function()
  1180. while true do
  1181. button:GetChildren()[1].ImageColor3 = options.main_color
  1182. RS.Heartbeat:Wait()
  1183. end
  1184. end)
  1185.  
  1186. button.MouseButton1Click:Connect(function()
  1187. ripple(button, mouse.X, mouse.Y)
  1188. pcall(callback)
  1189. end)
  1190.  
  1191. return button
  1192. end
  1193.  
  1194. function tab_data:AddSwitch(switch_text, callback)
  1195. local switch_data = {}
  1196.  
  1197. switch_text = tostring(switch_text or "New Switch")
  1198. callback = typeof(callback) == "function" and callback or function()end
  1199.  
  1200. local switch = Prefabs:FindFirstChild("Switch"):Clone()
  1201.  
  1202. switch.Parent = new_tab
  1203. switch:FindFirstChild("Title").Text = switch_text
  1204.  
  1205. switch:FindFirstChild("Title").ZIndex = switch:FindFirstChild("Title").ZIndex + (windows * 10)
  1206. switch.ZIndex = switch.ZIndex + (windows * 10)
  1207. switch:GetChildren()[1].ZIndex = switch:GetChildren()[1].ZIndex + (windows * 10)
  1208.  
  1209. spawn(function()
  1210. while true do
  1211. switch:GetChildren()[1].ImageColor3 = options.main_color
  1212. RS.Heartbeat:Wait()
  1213. end
  1214. end)
  1215.  
  1216. local toggled = false
  1217. switch.MouseButton1Click:Connect(function()
  1218. toggled = not toggled
  1219. switch.Text = toggled and utf8.char(10003) or ""
  1220. pcall(callback, toggled)
  1221. end)
  1222.  
  1223. function switch_data:Set(bool)
  1224. toggled = (typeof(bool) == "boolean") and bool or false
  1225. switch.Text = toggled and utf8.char(10003) or ""
  1226. pcall(callback,toggled)
  1227. end
  1228.  
  1229. return switch_data, switch
  1230. end
  1231.  
  1232. function tab_data:AddTextBox(textbox_text, callback, textbox_options)
  1233. textbox_text = tostring(textbox_text or "New TextBox")
  1234. callback = typeof(callback) == "function" and callback or function()end
  1235. textbox_options = typeof(textbox_options) == "table" and textbox_options or {["clear"] = true}
  1236. textbox_options = {
  1237. ["clear"] = ((textbox_options.clear) == true)
  1238. }
  1239.  
  1240. local textbox = Prefabs:FindFirstChild("TextBox"):Clone()
  1241.  
  1242. textbox.Parent = new_tab
  1243. textbox.PlaceholderText = textbox_text
  1244. textbox.ZIndex = textbox.ZIndex + (windows * 10)
  1245. textbox:GetChildren()[1].ZIndex = textbox:GetChildren()[1].ZIndex + (windows * 10)
  1246.  
  1247. textbox.FocusLost:Connect(function(ep)
  1248. if ep then
  1249. if #textbox.Text > 0 then
  1250. pcall(callback, textbox.Text)
  1251. if textbox_options.clear then
  1252. textbox.Text = ""
  1253. end
  1254. end
  1255. end
  1256. end)
  1257.  
  1258. return textbox
  1259. end
  1260.  
  1261. function tab_data:AddSlider(slider_text, callback, slider_options)
  1262. local slider_data = {}
  1263.  
  1264. slider_text = tostring(slider_text or "New Slider")
  1265. callback = typeof(callback) == "function" and callback or function()end
  1266. slider_options = typeof(slider_options) == "table" and slider_options or {}
  1267. slider_options = {
  1268. ["min"] = slider_options.min or 0,
  1269. ["max"] = slider_options.max or 100,
  1270. ["readonly"] = slider_options.readonly or false,
  1271. }
  1272.  
  1273. local slider = Prefabs:FindFirstChild("Slider"):Clone()
  1274.  
  1275. slider.Parent = new_tab
  1276. slider.ZIndex = slider.ZIndex + (windows * 10)
  1277.  
  1278. local title = slider:FindFirstChild("Title")
  1279. local indicator = slider:FindFirstChild("Indicator")
  1280. local value = slider:FindFirstChild("Value")
  1281. title.ZIndex = title.ZIndex + (windows * 10)
  1282. indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1283. value.ZIndex = value.ZIndex + (windows * 10)
  1284.  
  1285. title.Text = slider_text
  1286.  
  1287. do -- Slider Math
  1288. local Entered = false
  1289. slider.MouseEnter:Connect(function()
  1290. Entered = true
  1291. Window.Draggable = false
  1292. end)
  1293. slider.MouseLeave:Connect(function()
  1294. Entered = false
  1295. Window.Draggable = true
  1296. end)
  1297.  
  1298. local Held = false
  1299. UIS.InputBegan:Connect(function(inputObject)
  1300. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1301. Held = true
  1302.  
  1303. spawn(function() -- Loop check
  1304. if Entered and not slider_options.readonly then
  1305. while Held and (not dropdown_open) do
  1306. local mouse_location = gMouse()
  1307. local x = (slider.AbsoluteSize.X - (slider.AbsoluteSize.X - ((mouse_location.X - slider.AbsolutePosition.X)) + 1)) / slider.AbsoluteSize.X
  1308.  
  1309. local min = 0
  1310. local max = 1
  1311.  
  1312. local size = min
  1313. if x >= min and x <= max then
  1314. size = x
  1315. elseif x < min then
  1316. size = min
  1317. elseif x > max then
  1318. size = max
  1319. end
  1320.  
  1321. Resize(indicator, {Size = UDim2.new(size or min, 0, 0, 20)}, options.tween_time)
  1322. local p = math.floor((size or min) * 100)
  1323.  
  1324. local maxv = slider_options.max
  1325. local minv = slider_options.min
  1326. local diff = maxv - minv
  1327.  
  1328. local sel_value = math.floor(((diff / 100) * p) + minv)
  1329.  
  1330. value.Text = tostring(sel_value)
  1331. pcall(callback, sel_value)
  1332.  
  1333. RS.Heartbeat:Wait()
  1334. end
  1335. end
  1336. end)
  1337. end
  1338. end)
  1339. UIS.InputEnded:Connect(function(inputObject)
  1340. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1341. Held = false
  1342. end
  1343. end)
  1344.  
  1345. function slider_data:Set(new_value)
  1346. new_value = tonumber(new_value) or 0
  1347. new_value = (((new_value >= 0 and new_value <= 100) and new_value) / 100)
  1348.  
  1349. Resize(indicator, {Size = UDim2.new(new_value or 0, 0, 0, 20)}, options.tween_time)
  1350. local p = math.floor((new_value or 0) * 100)
  1351.  
  1352. local maxv = slider_options.max
  1353. local minv = slider_options.min
  1354. local diff = maxv - minv
  1355.  
  1356. local sel_value = math.floor(((diff / 100) * p) + minv)
  1357.  
  1358. value.Text = tostring(sel_value)
  1359. pcall(callback, sel_value)
  1360. end
  1361.  
  1362. slider_data:Set(slider_options["min"])
  1363. end
  1364.  
  1365. return slider_data, slider
  1366. end
  1367.  
  1368. function tab_data:AddKeybind(keybind_name, callback, keybind_options)
  1369. local keybind_data = {}
  1370.  
  1371. keybind_name = tostring(keybind_name or "New Keybind")
  1372. callback = typeof(callback) == "function" and callback or function()end
  1373. keybind_options = typeof(keybind_options) == "table" and keybind_options or {}
  1374. keybind_options = {
  1375. ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift,
  1376. }
  1377.  
  1378. local keybind = Prefabs:FindFirstChild("Keybind"):Clone()
  1379. local input = keybind:FindFirstChild("Input")
  1380. local title = keybind:FindFirstChild("Title")
  1381. keybind.ZIndex = keybind.ZIndex + (windows * 10)
  1382. input.ZIndex = input.ZIndex + (windows * 10)
  1383. input:GetChildren()[1].ZIndex = input:GetChildren()[1].ZIndex + (windows * 10)
  1384. title.ZIndex = title.ZIndex + (windows * 10)
  1385.  
  1386. keybind.Parent = new_tab
  1387. title.Text = " " .. keybind_name
  1388. keybind.Size = UDim2.new(0, gNameLen(title) + 80, 0, 20)
  1389.  
  1390. local shortkeys = { -- credits to stroketon
  1391. RightControl = 'RightCtrl',
  1392. LeftControl = 'LeftCtrl',
  1393. LeftShift = 'LShift',
  1394. RightShift = 'RShift',
  1395. MouseButton1 = "Mouse1",
  1396. MouseButton2 = "Mouse2"
  1397. }
  1398.  
  1399. local keybind = keybind_options.standard
  1400.  
  1401. function keybind_data:SetKeybind(Keybind)
  1402. local key = shortkeys[Keybind.Name] or Keybind.Name
  1403. input.Text = key
  1404. keybind = Keybind
  1405. end
  1406.  
  1407. UIS.InputBegan:Connect(function(a, b)
  1408. if checks.binding then
  1409. spawn(function()
  1410. wait()
  1411. checks.binding = false
  1412. end)
  1413. return
  1414. end
  1415. if a.KeyCode == keybind and not b then
  1416. pcall(callback, keybind)
  1417. end
  1418. end)
  1419.  
  1420. keybind_data:SetKeybind(keybind_options.standard)
  1421.  
  1422. input.MouseButton1Click:Connect(function()
  1423. if checks.binding then return end
  1424. input.Text = "..."
  1425. checks.binding = true
  1426. local a, b = UIS.InputBegan:Wait()
  1427. keybind_data:SetKeybind(a.KeyCode)
  1428. end)
  1429.  
  1430. return keybind_data, keybind
  1431. end
  1432.  
  1433. function tab_data:AddDropdown(dropdown_name, callback)
  1434. local dropdown_data = {}
  1435. dropdown_name = tostring(dropdown_name or "New Dropdown")
  1436. callback = typeof(callback) == "function" and callback or function()end
  1437.  
  1438. local dropdown = Prefabs:FindFirstChild("Dropdown"):Clone()
  1439. local box = dropdown:FindFirstChild("Box")
  1440. local objects = box:FindFirstChild("Objects")
  1441. local indicator = dropdown:FindFirstChild("Indicator")
  1442. dropdown.ZIndex = dropdown.ZIndex + (windows * 10)
  1443. box.ZIndex = box.ZIndex + (windows * 10)
  1444. objects.ZIndex = objects.ZIndex + (windows * 10)
  1445. indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1446. dropdown:GetChildren()[3].ZIndex = dropdown:GetChildren()[3].ZIndex + (windows * 10)
  1447.  
  1448. dropdown.Parent = new_tab
  1449. dropdown.Text = " " .. dropdown_name
  1450. box.Size = UDim2.new(1, 0, 0, 0)
  1451.  
  1452. local open = false
  1453. dropdown.MouseButton1Click:Connect(function()
  1454. open = not open
  1455.  
  1456. local len = (#objects:GetChildren() - 1) * 20
  1457. if #objects:GetChildren() - 1 >= 10 then
  1458. len = 10 * 20
  1459. objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1460. end
  1461.  
  1462. if open then -- Open
  1463. if dropdown_open then return end
  1464. dropdown_open = true
  1465. Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1466. Resize(indicator, {Rotation = 90}, options.tween_time)
  1467. else -- Close
  1468. dropdown_open = false
  1469. Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1470. Resize(indicator, {Rotation = -90}, options.tween_time)
  1471. end
  1472.  
  1473. end)
  1474.  
  1475. function dropdown_data:Add(n)
  1476. local object_data = {}
  1477. n = tostring(n or "New Object")
  1478.  
  1479. local object = Prefabs:FindFirstChild("DropdownButton"):Clone()
  1480.  
  1481. object.Parent = objects
  1482. object.Text = n
  1483. object.ZIndex = object.ZIndex + (windows * 10)
  1484.  
  1485. object.MouseEnter:Connect(function()
  1486. object.BackgroundColor3 = options.main_color
  1487. end)
  1488. object.MouseLeave:Connect(function()
  1489. object.BackgroundColor3 = Color3.fromRGB(33, 34, 36)
  1490. end)
  1491.  
  1492. if open then
  1493. local len = (#objects:GetChildren() - 1) * 20
  1494. if #objects:GetChildren() - 1 >= 10 then
  1495. len = 10 * 20
  1496. objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1497. end
  1498. Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1499. end
  1500.  
  1501. object.MouseButton1Click:Connect(function()
  1502. if dropdown_open then
  1503. dropdown.Text = " [ " .. n .. " ]"
  1504. dropdown_open = false
  1505. open = false
  1506. Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1507. Resize(indicator, {Rotation = -90}, options.tween_time)
  1508. pcall(callback, n)
  1509. end
  1510. end)
  1511.  
  1512. function object_data:Remove()
  1513. object:Destroy()
  1514. end
  1515.  
  1516. return object, object_data
  1517. end
  1518.  
  1519. return dropdown_data, dropdown
  1520. end
  1521.  
  1522. function tab_data:AddColorPicker(callback)
  1523. local color_picker_data = {}
  1524. callback = typeof(callback) == "function" and callback or function()end
  1525.  
  1526. local color_picker = Prefabs:FindFirstChild("ColorPicker"):Clone()
  1527.  
  1528. color_picker.Parent = new_tab
  1529. color_picker.ZIndex = color_picker.ZIndex + (windows * 10)
  1530.  
  1531. local palette = color_picker:FindFirstChild("Palette")
  1532. local sample = color_picker:FindFirstChild("Sample")
  1533. local saturation = color_picker:FindFirstChild("Saturation")
  1534. palette.ZIndex = palette.ZIndex + (windows * 10)
  1535. sample.ZIndex = sample.ZIndex + (windows * 10)
  1536. saturation.ZIndex = saturation.ZIndex + (windows * 10)
  1537.  
  1538. do -- Color Picker Math
  1539. local h = 0
  1540. local s = 1
  1541. local v = 1
  1542.  
  1543. local function update()
  1544. local color = Color3.fromHSV(h, s, v)
  1545. sample.ImageColor3 = color
  1546. saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1547. pcall(callback, color)
  1548. end
  1549.  
  1550. do
  1551. local color = Color3.fromHSV(h, s, v)
  1552. sample.ImageColor3 = color
  1553. saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1554. end
  1555.  
  1556. local Entered1, Entered2 = false, false
  1557. palette.MouseEnter:Connect(function()
  1558. Window.Draggable = false
  1559. Entered1 = true
  1560. end)
  1561. palette.MouseLeave:Connect(function()
  1562. Window.Draggable = true
  1563. Entered1 = false
  1564. end)
  1565. saturation.MouseEnter:Connect(function()
  1566. Window.Draggable = false
  1567. Entered2 = true
  1568. end)
  1569. saturation.MouseLeave:Connect(function()
  1570. Window.Draggable = true
  1571. Entered2 = false
  1572. end)
  1573.  
  1574. local palette_indicator = palette:FindFirstChild("Indicator")
  1575. local saturation_indicator = saturation:FindFirstChild("Indicator")
  1576. palette_indicator.ZIndex = palette_indicator.ZIndex + (windows * 10)
  1577. saturation_indicator.ZIndex = saturation_indicator.ZIndex + (windows * 10)
  1578.  
  1579. local Held = false
  1580. UIS.InputBegan:Connect(function(inputObject)
  1581. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1582. Held = true
  1583.  
  1584. spawn(function() -- Loop check
  1585. while Held and Entered1 and (not dropdown_open) do -- Palette
  1586. local mouse_location = gMouse()
  1587.  
  1588. local x = ((palette.AbsoluteSize.X - (mouse_location.X - palette.AbsolutePosition.X)) + 1)
  1589. local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1590.  
  1591. local color = Color3.fromHSV(x / 100, y / 100, 0)
  1592. h = x / 100
  1593. s = y / 100
  1594.  
  1595. 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)
  1596.  
  1597. update()
  1598. RS.Heartbeat:Wait()
  1599. end
  1600.  
  1601. while Held and Entered2 and (not dropdown_open) do -- Saturation
  1602. local mouse_location = gMouse()
  1603. local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1604. v = y / 100
  1605.  
  1606. Resize(saturation_indicator, {Position = UDim2.new(0, 0, 0, math.abs(y - 100))}, options.tween_time)
  1607.  
  1608. update()
  1609. RS.Heartbeat:Wait()
  1610. end
  1611. end)
  1612. end
  1613. end)
  1614. UIS.InputEnded:Connect(function(inputObject)
  1615. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1616. Held = false
  1617. end
  1618. end)
  1619.  
  1620. function color_picker_data:Set(color)
  1621. color = typeof(color) == "Color3" and color or Color3.new(1, 1, 1)
  1622. local h2, s2, v2 = rgbtohsv(color.r * 255, color.g * 255, color.b * 255)
  1623. sample.ImageColor3 = color
  1624. saturation.ImageColor3 = Color3.fromHSV(h2, 1, 1)
  1625. pcall(callback, color)
  1626. end
  1627. end
  1628.  
  1629. return color_picker_data, color_picker
  1630. end
  1631.  
  1632. function tab_data:AddConsole(console_options)
  1633. local console_data = {}
  1634.  
  1635. console_options = typeof(console_options) == "table" and console_options or {["readonly"] = true,["full"] = false,}
  1636. console_options = {
  1637. ["y"] = tonumber(console_options.y) or 200,
  1638. ["source"] = console_options.source or "Logs",
  1639. ["readonly"] = ((console_options.readonly) == true),
  1640. ["full"] = ((console_options.full) == true),
  1641. }
  1642.  
  1643. local console = Prefabs:FindFirstChild("Console"):Clone()
  1644.  
  1645. console.Parent = new_tab
  1646. console.ZIndex = console.ZIndex + (windows * 10)
  1647. console.Size = UDim2.new(1, 0, console_options.full and 1 or 0, console_options.y)
  1648.  
  1649. local sf = console:GetChildren()[1]
  1650. local Source = sf:FindFirstChild("Source")
  1651. local Lines = sf:FindFirstChild("Lines")
  1652. Source.ZIndex = Source.ZIndex + (windows * 10)
  1653. Lines.ZIndex = Lines.ZIndex + (windows * 10)
  1654.  
  1655. Source.TextEditable = not console_options.readonly
  1656.  
  1657. do -- Syntax Zindex
  1658. for i,v in next, Source:GetChildren() do
  1659. v.ZIndex = v.ZIndex + (windows * 10) + 1
  1660. end
  1661. end
  1662. Source.Comments.ZIndex = Source.Comments.ZIndex + 1
  1663.  
  1664. do -- Highlighting
  1665. 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"}
  1666. 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"}
  1667.  
  1668. local Highlight = function(string, keywords)
  1669. local K = {}
  1670. local S = string
  1671. local Token =
  1672. {
  1673. ["="] = true,
  1674. ["."] = true,
  1675. [","] = true,
  1676. ["("] = true,
  1677. [")"] = true,
  1678. ["["] = true,
  1679. ["]"] = true,
  1680. ["{"] = true,
  1681. ["}"] = true,
  1682. [":"] = true,
  1683. ["*"] = true,
  1684. ["/"] = true,
  1685. ["+"] = true,
  1686. ["-"] = true,
  1687. ["%"] = true,
  1688. [";"] = true,
  1689. ["~"] = true
  1690. }
  1691. for i, v in pairs(keywords) do
  1692. K[v] = true
  1693. end
  1694. S = S:gsub(".", function(c)
  1695. if Token[c] ~= nil then
  1696. return "\32"
  1697. else
  1698. return c
  1699. end
  1700. end)
  1701. S = S:gsub("%S+", function(c)
  1702. if K[c] ~= nil then
  1703. return c
  1704. else
  1705. return (" "):rep(#c)
  1706. end
  1707. end)
  1708.  
  1709. return S
  1710. end
  1711.  
  1712. local hTokens = function(string)
  1713. local Token =
  1714. {
  1715. ["="] = true,
  1716. ["."] = true,
  1717. [","] = true,
  1718. ["("] = true,
  1719. [")"] = true,
  1720. ["["] = true,
  1721. ["]"] = true,
  1722. ["{"] = true,
  1723. ["}"] = true,
  1724. [":"] = true,
  1725. ["*"] = true,
  1726. ["/"] = true,
  1727. ["+"] = true,
  1728. ["-"] = true,
  1729. ["%"] = true,
  1730. [";"] = true,
  1731. ["~"] = true
  1732. }
  1733. local A = ""
  1734. string:gsub(".", function(c)
  1735. if Token[c] ~= nil then
  1736. A = A .. c
  1737. elseif c == "\n" then
  1738. A = A .. "\n"
  1739. elseif c == "\t" then
  1740. A = A .. "\t"
  1741. else
  1742. A = A .. "\32"
  1743. end
  1744. end)
  1745.  
  1746. return A
  1747. end
  1748.  
  1749. local strings = function(string)
  1750. local highlight = ""
  1751. local quote = false
  1752. string:gsub(".", function(c)
  1753. if quote == false and c == "\34" then
  1754. quote = true
  1755. elseif quote == true and c == "\34" then
  1756. quote = false
  1757. end
  1758. if quote == false and c == "\34" then
  1759. highlight = highlight .. "\34"
  1760. elseif c == "\n" then
  1761. highlight = highlight .. "\n"
  1762. elseif c == "\t" then
  1763. highlight = highlight .. "\t"
  1764. elseif quote == true then
  1765. highlight = highlight .. c
  1766. elseif quote == false then
  1767. highlight = highlight .. "\32"
  1768. end
  1769. end)
  1770.  
  1771. return highlight
  1772. end
  1773.  
  1774. local info = function(string)
  1775. local highlight = ""
  1776. local quote = false
  1777. string:gsub(".", function(c)
  1778. if quote == false and c == "[" then
  1779. quote = true
  1780. elseif quote == true and c == "]" then
  1781. quote = false
  1782. end
  1783. if quote == false and c == "\]" then
  1784. highlight = highlight .. "\]"
  1785. elseif c == "\n" then
  1786. highlight = highlight .. "\n"
  1787. elseif c == "\t" then
  1788. highlight = highlight .. "\t"
  1789. elseif quote == true then
  1790. highlight = highlight .. c
  1791. elseif quote == false then
  1792. highlight = highlight .. "\32"
  1793. end
  1794. end)
  1795.  
  1796. return highlight
  1797. end
  1798.  
  1799. local comments = function(string)
  1800. local ret = ""
  1801. string:gsub("[^\r\n]+", function(c)
  1802. local comm = false
  1803. local i = 0
  1804. c:gsub(".", function(n)
  1805. i = i + 1
  1806. if c:sub(i, i + 1) == "--" then
  1807. comm = true
  1808. end
  1809. if comm == true then
  1810. ret = ret .. n
  1811. else
  1812. ret = ret .. "\32"
  1813. end
  1814. end)
  1815. ret = ret
  1816. end)
  1817.  
  1818. return ret
  1819. end
  1820.  
  1821. local numbers = function(string)
  1822. local A = ""
  1823. string:gsub(".", function(c)
  1824. if tonumber(c) ~= nil then
  1825. A = A .. c
  1826. elseif c == "\n" then
  1827. A = A .. "\n"
  1828. elseif c == "\t" then
  1829. A = A .. "\t"
  1830. else
  1831. A = A .. "\32"
  1832. end
  1833. end)
  1834.  
  1835. return A
  1836. end
  1837.  
  1838. local highlight_lua = function(type)
  1839. if type == "Text" then
  1840. Source.Text = Source.Text:gsub("\13", "")
  1841. Source.Text = Source.Text:gsub("\t", " ")
  1842. local s = Source.Text
  1843.  
  1844. Source.Keywords.Text = Highlight(s, lua_keywords)
  1845. Source.Globals.Text = Highlight(s, global_env)
  1846. Source.RemoteHighlight.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  1847. Source.Tokens.Text = hTokens(s)
  1848. Source.Numbers.Text = numbers(s)
  1849. Source.Strings.Text = strings(s)
  1850. Source.Comments.Text = comments(s)
  1851.  
  1852. local lin = 1
  1853. s:gsub("\n", function()
  1854. lin = lin + 1
  1855. end)
  1856.  
  1857. Lines.Text = ""
  1858. for i = 1, lin do
  1859. Lines.Text = Lines.Text .. i .. "\n"
  1860. end
  1861.  
  1862. sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1863. end
  1864.  
  1865. local highlight_logs = function(type)
  1866. end
  1867. if type == "Text" then
  1868. Source.Text = Source.Text:gsub("\13", "")
  1869. Source.Text = Source.Text:gsub("\t", " ")
  1870. local s = Source.Text
  1871.  
  1872. Source.Info.Text = info(s)
  1873.  
  1874. local lin = 1
  1875. s:gsub("\n", function()
  1876. lin = lin + 1
  1877. end)
  1878.  
  1879. sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1880. end
  1881. end
  1882.  
  1883. if console_options.source == "Lua" then
  1884. highlight_lua("Text")
  1885. Source.Changed:Connect(highlight_lua)
  1886. elseif console_options.source == "Logs" then
  1887. Lines.Visible = false
  1888.  
  1889. highlight_logs("Text")
  1890. Source.Changed:Connect(highlight_logs)
  1891. end
  1892.  
  1893. function console_data:Set(code)
  1894. Source.Text = tostring(code)
  1895. end
  1896.  
  1897. function console_data:Get()
  1898. return Source.Text
  1899. end
  1900.  
  1901. function console_data:Log(msg)
  1902. Source.Text = Source.Text .. "[*] " .. tostring(msg) .. "\n"
  1903. end
  1904.  
  1905. end
  1906.  
  1907. return console_data, console
  1908. end
  1909.  
  1910. function tab_data:AddHorizontalAlignment()
  1911. local ha_data = {}
  1912.  
  1913. local ha = Prefabs:FindFirstChild("HorizontalAlignment"):Clone()
  1914. ha.Parent = new_tab
  1915.  
  1916. function ha_data:AddButton(...)
  1917. local data, object
  1918. local ret = {tab_data:AddButton(...)}
  1919. if typeof(ret[1]) == "table" then
  1920. data = ret[1]
  1921. object = ret[2]
  1922. object.Parent = ha
  1923. return data, object
  1924. else
  1925. object = ret[1]
  1926. object.Parent = ha
  1927. return object
  1928. end
  1929. end
  1930.  
  1931. return ha_data, ha
  1932. end
  1933.  
  1934. function tab_data:AddFolder(folder_name) -- [Folder]
  1935. local folder_data = {}
  1936.  
  1937. folder_name = tostring(folder_name or "New Folder")
  1938.  
  1939. local folder = Prefabs:FindFirstChild("Folder"):Clone()
  1940. local button = folder:FindFirstChild("Button")
  1941. local objects = folder:FindFirstChild("Objects")
  1942. local toggle = button:FindFirstChild("Toggle")
  1943. folder.ZIndex = folder.ZIndex + (windows * 10)
  1944. button.ZIndex = button.ZIndex + (windows * 10)
  1945. objects.ZIndex = objects.ZIndex + (windows * 10)
  1946. toggle.ZIndex = toggle.ZIndex + (windows * 10)
  1947. button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1948.  
  1949. folder.Parent = new_tab
  1950. button.Text = " " .. folder_name
  1951.  
  1952. spawn(function()
  1953. while true do
  1954. button:GetChildren()[1].ImageColor3 = options.main_color
  1955. RS.Heartbeat:Wait()
  1956. end
  1957. end)
  1958.  
  1959. local function gFolderLen()
  1960. local n = 25
  1961. for i,v in next, objects:GetChildren() do
  1962. if not (v:IsA("UIListLayout")) then
  1963. n = n + v.AbsoluteSize.Y + 5
  1964. end
  1965. end
  1966. return n
  1967. end
  1968.  
  1969. local open = false
  1970. button.MouseButton1Click:Connect(function()
  1971. if open then -- Close
  1972. Resize(toggle, {Rotation = 0}, options.tween_time)
  1973. objects.Visible = false
  1974. else -- Open
  1975. Resize(toggle, {Rotation = 90}, options.tween_time)
  1976. objects.Visible = true
  1977. end
  1978.  
  1979. open = not open
  1980. end)
  1981.  
  1982. spawn(function()
  1983. while true do
  1984. Resize(folder, {Size = UDim2.new(1, 0, 0, (open and gFolderLen() or 20))}, options.tween_time)
  1985. wait()
  1986. end
  1987. end)
  1988.  
  1989. for i,v in next, tab_data do
  1990. folder_data[i] = function(...)
  1991. local data, object
  1992. local ret = {v(...)}
  1993. if typeof(ret[1]) == "table" then
  1994. data = ret[1]
  1995. object = ret[2]
  1996. object.Parent = objects
  1997. return data, object
  1998. else
  1999. object = ret[1]
  2000. object.Parent = objects
  2001. return object
  2002. end
  2003. end
  2004. end
  2005.  
  2006. return folder_data, folder
  2007. end
  2008.  
  2009. end
  2010.  
  2011. return tab_data, new_tab
  2012. end
  2013. end
  2014. end
  2015.  
  2016. do
  2017. for i, v in next, Window:GetDescendants() do
  2018. if hasprop(v, "ZIndex") then
  2019. v.ZIndex = v.ZIndex + (windows * 10)
  2020. end
  2021. end
  2022. end
  2023.  
  2024. return window_data, Window
  2025. end
  2026.  
  2027. --uilib
  2028. local EditorLib = loadstring(game:HttpGet('https://vindict.xyz/uploads/editorlib.lua'))();
  2029. local Remote = EditorLib:getgcindex('FireServer');
  2030.  
  2031. local Hashes = {
  2032. ['Pickpocket'] = 'mv6za2h6',
  2033. ['EatDonut'] = 'i0cxe5mh',
  2034. ['Gun'] = 'sgpdnb9p',
  2035. ['UseGlider'] = 'rvxdf4w0',
  2036. ['MobileGarage'] = 'en41w5sd',
  2037. ['GarageModify'] = "qmor5ia9",
  2038. ['ChangeTeam'] = 'mugm8jzb',
  2039. ["Eject"] = "kl0r6smv",
  2040. ["KickVehicle"] = "g1mnpehz",
  2041. ["Punch"] = "it0nxzhc",
  2042. ["GetOnCar"] = "jxaknw1t",
  2043. ["GetOffCar"] = "e5i2v5is",
  2044. ["GunShop"] = "vzztt6rg",
  2045. ["Taze"] = "ybmxnqyw",
  2046. ["Arrest"] = "qgyfxslq",
  2047. ["TouchTrigger"] = "rshn1c3j",
  2048. ["JetPackFill"] = "ehu5fv34",
  2049. ["Breakout"] = "flh6hdle"
  2050. };
  2051. local Locations = {
  2052. {'Jewelry Out', CFrame.new(156.103851, 18.540699, 1353.72388)},
  2053. {'Jewelry In', CFrame.new(132.030716, 18.4045238, 1319.0968)},
  2054. {'Bank Out', CFrame.new(11.6854906, 17.8929214, 788.188171)},
  2055. {'Bank In', CFrame.new(24.6513691, 19.4347649, 853.291687)},
  2056. {'Museum Out', CFrame.new(1110.89099, 135.825775, 1187.70996)},
  2057. {'Museum In', CFrame.new(1077.63452, 102.225456, 1183.25793)},
  2058. {'Donut Shop', CFrame.new(270.763885, 18.4229183, -1762.90149)},
  2059. {'Gas Station', CFrame.new(-1584.1051, 18.4732189, 721.38739)},
  2060. {'Prison Yard', CFrame.new(-1219.85864, 18.447998, -1759.50354)},
  2061. {'Gun Shop', CFrame.new(-27.8670673, 17.7929249, -1774.66882)},
  2062. {'Volcano Base', CFrame.new(1726.72266, 50.4146309, -1745.76196)},
  2063. {'City Base', CFrame.new(-304.287933, 18.2636738, 1599.85596)},
  2064. {'Police HQ', CFrame.new(-1134.69604, 17.9251575, -1586.79395)},
  2065. {'Military Base', CFrame.new(789.205261, 18.3974056, -313.158508)},
  2066. {'Garage', CFrame.new(-339.413605, 18.2636738, 1151.13403)},
  2067. {'Powerplant', CFrame.new(617.22583, 37.4575157, 2400.79492)},
  2068. {'Airport', CFrame.new(-1390.4408, 41.5697594, 2849.97339)}
  2069. };
  2070. local function CollectActionEvents()
  2071. local UI = require(game:GetService('ReplicatedStorage').Module:WaitForChild('UI'));
  2072. return UI.CircleAction.Specs;
  2073. end
  2074.  
  2075. function TP(cframe)
  2076. if game:GetService('Workspace').Vehicles:FindFirstChild('Camaro') then
  2077. local AlreadyInVehicle = false;
  2078. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2079. AlreadyInVehicle = true
  2080. end;
  2081. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2082. if v.Name == "Camaro" then
  2083. Remote:FireServer(Hashes["GetUpCar"], v, v.Seat)
  2084. end
  2085. end
  2086. wait(.2);
  2087. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2088. if v:FindFirstChild('Seat') then
  2089. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2090. v:SetPrimaryPartCFrame(cframe);
  2091. wait(.1);
  2092. if AlreadyInVehicle ~= true then
  2093. v:SetPrimaryPartCFrame(cframe);
  2094. wait(.1);
  2095. v:SetPrimaryPartCFrame(cframe);
  2096. wait(.1);
  2097. v:SetPrimaryPartCFrame(cframe);
  2098. v:Remove();
  2099. Remote:FireServer(Hashes["GetOffCar"])
  2100. end;
  2101. end;
  2102. end;
  2103. end;
  2104. else
  2105. if game:GetService('Workspace').Vehicles:FindFirstChild('Jeep') then
  2106. local AlreadyInVehicle = false;
  2107. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2108. AlreadyInVehicle = true
  2109. end;
  2110. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2111. if v.Name == "Jeep" then
  2112. Remote:FireServer(Hashes["GetOnCar"], v, v.Seat)
  2113. end
  2114. end
  2115. wait(.2);
  2116. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2117. if v:FindFirstChild('Seat') then
  2118. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2119. v:SetPrimaryPartCFrame(cframe);
  2120. wait(.1);
  2121. if AlreadyInVehicle ~= true then
  2122. v:SetPrimaryPartCFrame(cframe);
  2123. wait(.1);
  2124. v:SetPrimaryPartCFrame(cframe);
  2125. wait(.1);
  2126. v:SetPrimaryPartCFrame(cframe);
  2127. Remote:FireServer(Hashes["GetOffCar"])
  2128. end;
  2129. end;
  2130. end;
  2131. end;
  2132. else
  2133. if game:GetService('Workspace').Vehicles:FindFirstChild('Camaro') then
  2134. local AlreadyInVehicle = false;
  2135. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2136. AlreadyInVehicle = true
  2137. end;
  2138. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2139. if v.Name == "Camaro" then
  2140. Remote:FireServer(Hashes["GetOnCar"], v, v.Seat)
  2141. end
  2142. end
  2143. wait(.2);
  2144. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2145. if v:FindFirstChild('Seat') then
  2146. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2147. v:SetPrimaryPartCFrame(cframe);
  2148. wait(.1);
  2149. if AlreadyInVehicle ~= true then
  2150. v:SetPrimaryPartCFrame(cframe);
  2151. wait(.1);
  2152. v:SetPrimaryPartCFrame(cframe);
  2153. wait(.1);
  2154. v:SetPrimaryPartCFrame(cframe);
  2155. Remote:FireServer(Hashes["GetOffCar"])
  2156. end;
  2157. end;
  2158. end;
  2159. end;
  2160. else
  2161.  
  2162. end;
  2163. end;
  2164. end;
  2165. end;
  2166.  
  2167. function FixTP(cframe)
  2168. if game:GetService('Workspace').Vehicles:FindFirstChild('Camaro') then
  2169. local AlreadyInVehicle = false;
  2170. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2171. AlreadyInVehicle = true
  2172. end;
  2173. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2174. if v.Name == "Camaro" then
  2175. Remote:FireServer(Hashes["GetOnCar"], v, v.Seat)
  2176. end
  2177. end
  2178. wait(.2);
  2179. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2180. if v:FindFirstChild('Seat') then
  2181. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2182. v:SetPrimaryPartCFrame(cframe);
  2183. wait(.1);
  2184. if AlreadyInVehicle ~= true then
  2185. v:SetPrimaryPartCFrame(cframe);
  2186. wait(.1);
  2187. v:SetPrimaryPartCFrame(cframe);
  2188. wait(.1);
  2189. v:SetPrimaryPartCFrame(cframe);
  2190. Remote:FireServer(Hashes["GetOffCar"])
  2191. end;
  2192. end;
  2193. end;
  2194. end;
  2195. else
  2196. if game:GetService('Workspace').Vehicles:FindFirstChild('Jeep') then
  2197. local AlreadyInVehicle = false;
  2198. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2199. AlreadyInVehicle = true
  2200. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2201. if v:FindFirstChild('Seat') then
  2202. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2203. v:SetPrimaryPartCFrame(cframe);
  2204. end
  2205. end
  2206. end
  2207. end;
  2208. for i,v in next, CollectActionEvents() do
  2209. if v.Name == 'Enter Driver' then
  2210. if v.Part.Parent.Name == 'Camaro' or v.Part.Parent.Name == 'Jeep' then
  2211. v:Callback(true);
  2212. end;
  2213. end;
  2214. end;
  2215. wait(.2);
  2216. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2217. if v:FindFirstChild('Seat') then
  2218. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2219. v:SetPrimaryPartCFrame(cframe);
  2220. wait(.1);
  2221. if AlreadyInVehicle ~= true then
  2222. v:SetPrimaryPartCFrame(cframe);
  2223. wait(.1);
  2224. v:SetPrimaryPartCFrame(cframe);
  2225. wait(.1);
  2226. v:SetPrimaryPartCFrame(cframe);
  2227. Remote:FireServer(Hashes["GetOffCar"])
  2228. end;
  2229. end;
  2230. end;
  2231. end;
  2232. else
  2233. if game:GetService('Workspace').Vehicles:FindFirstChild('Camaro') then
  2234. local AlreadyInVehicle = false;
  2235. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2236. AlreadyInVehicle = true
  2237. end;
  2238. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2239. if v.Name == "Camaro" then
  2240. Remote:FireServer(Hashes["GetOnCar"], v, v.Seat)
  2241. end
  2242. end
  2243. wait(.2);
  2244. for _,v in pairs(workspace.Vehicles:GetChildren()) do
  2245. if v:FindFirstChild('Seat') then
  2246. if v.Seat.PlayerName.Value == game:GetService('Players').LocalPlayer.Name then
  2247. v:SetPrimaryPartCFrame(cframe);
  2248. wait(.1);
  2249. if AlreadyInVehicle ~= true then
  2250. v:SetPrimaryPartCFrame(cframe);
  2251. wait(.1);
  2252. v:SetPrimaryPartCFrame(cframe);
  2253. wait(.1);
  2254. v:SetPrimaryPartCFrame(cframe);
  2255. Remote:FireServer(Hashes["GetOffCar"])
  2256. end;
  2257. end;
  2258. end;
  2259. end;
  2260. else
  2261.  
  2262. end;
  2263. end;
  2264. end;
  2265. end
  2266.  
  2267. --some library
  2268.  
  2269. local mainwindow = library:AddWindow("M00n Hub")
  2270. local tptab = mainwindow:AddTab("Teleports")
  2271. local playertab = mainwindow:AddTab("Player")
  2272. local combatab = mainwindow:AddTab("Combat")
  2273. local vehicle = mainwindow:AddTab("Vehicle")
  2274. local setting = mainwindow:AddTab("Settings")
  2275. tptab:AddTextBox("Type Player Name", function(callback)
  2276. for i,v in next, game:GetService("Players"):GetPlayers() do
  2277. if string.find(string.lower(v.Name), string.lower(tostring(callback))) then
  2278. TP(v.Character.HumanoidRootPart.CFrame)
  2279. FixTP(v.Character.HumanoidRootPart.CFrame)
  2280. end
  2281. end
  2282. end)
  2283. for i,location in next, Locations do
  2284. tptab:AddButton(tostring(location[1]), function(Press)
  2285. local AlreadyInVehicle = false;
  2286.  
  2287. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('InVehicle') then
  2288. AlreadyInVehicle = true
  2289. end;
  2290.  
  2291. TP(location[2]);
  2292. FixTP(location[2]);
  2293.  
  2294. if AlreadyInVehicle ~= true then
  2295. TP(location[2]);
  2296. FixTP(location[2]);
  2297. end;
  2298. end);
  2299. end;
  2300. _G.WalkSpeed = 16
  2301. local walk_slide = playertab:AddSlider("Set WalkSpeed", function(callback)
  2302. _G.WalkSpeed = callback
  2303. end, {
  2304. ["min"] = 16,
  2305. ["max"] = 100,
  2306. })
  2307. walk_slide:Set(16)
  2308.  
  2309. local jump_slide = playertab:AddSlider("Set JumpPower", function(callback)
  2310. game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = tonumber(callback)
  2311. end, {
  2312. ["min"] = 0,
  2313. ["max"] = 200,
  2314. })
  2315. jump_slide:Set(25)
  2316.  
  2317. playertab:AddSwitch("No Wait", function(arg)
  2318. _G.NWt = (arg and true or false)
  2319. local UI = require(game:GetService("ReplicatedStorage").Module:WaitForChild("UI"));
  2320. while _G.NWt and wait() do
  2321. for i,v in pairs (UI.CircleAction.Specs) do
  2322. v.Duration = 0;
  2323. v.Timed = true;
  2324. end
  2325. end
  2326. end)
  2327. playertab:AddSwitch("Noclip", function(arg)
  2328. _G.NCt = (arg and true or false)
  2329. while _G.NCt and wait() do
  2330. game:GetService("Players").LocalPlayer.Character.Humanoid:ChangeState(11)
  2331. end
  2332. end)
  2333. playertab:AddSwitch("Anti Arrest", function(arg)
  2334. _G.AAt = (arg and true or false)
  2335. while _G.AAt and wait() do
  2336. if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Handcuffs") then
  2337. Remote:FireServer(Hashes["Breakout"], game:GetService("Players").LocalPlayer.Name)
  2338. wait()
  2339. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 16
  2340. end
  2341. end
  2342. end)
  2343. playertab:AddSwitch("Punch Spam", function(arg)
  2344. _G.PSt = (arg and true or false)
  2345. function Spam(bool)
  2346. _G.PunchSpam = bool
  2347.  
  2348. repeat wait()
  2349.  
  2350. if _G.PunchSpam == true then
  2351. if not game.Workspace:FindFirstChild(game:GetService("Players").LocalPlayer.Name):FindFirstChild("InVehicle") then
  2352.  
  2353. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = function() return 0/0 end
  2354. if isrbxactive() then
  2355. keypress(0x46)
  2356. wait(0.05)
  2357. keyrelease(0x46)
  2358. else
  2359. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = tick
  2360. end
  2361. end
  2362. else
  2363. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = tick
  2364. end
  2365.  
  2366. until _G.PunchSpam == false
  2367. end
  2368. Spam(_G.PSt)
  2369. end)
  2370. playertab:AddSwitch("Auto Eject All", function(arg)
  2371. _G.AEAt = (arg and true or false)
  2372. while _G.AEAt and wait() do
  2373. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2374. Remote:FireServer(Hashes["KickVehicle"], v.Name)
  2375. end
  2376. end
  2377. end)
  2378. playertab:AddSwitch("God Mode", function(arg)
  2379. _G.GMt = (arg and true or false)
  2380. while _G.GMt and wait() do
  2381. if game:GetService("Players").LocalPlayer.Character.Humanoid.Health < 100 then
  2382. Remote:FireServer(Hashes["TouchTrigger"], "Donut")
  2383. Remote:FireServer(Hashes["EatDonut"])
  2384. end
  2385. end
  2386. end)
  2387. playertab:AddButton("Give JetPack", function()
  2388. Remote:FireServer(Hashes["TouchTrigger"], "JetPackGiver")
  2389. end)
  2390. playertab:AddButton("Inf JetPack Fuel (Rocket)", function()
  2391. local bruh = {}
  2392. for i,v in next, debug.getupvalues(require(game.ReplicatedStorage.Game.JetPack.JetPack).Init) do
  2393. if typeof(v) == "table" then
  2394. if v.Equip then
  2395. bruh = v
  2396. break
  2397. end
  2398. end
  2399. end
  2400. while wait() do
  2401. bruh.LocalMaxFuel = math.huge
  2402. bruh.LocalFuel = math.huge
  2403. bruh.LocalFuelType = "Rocket"
  2404. end
  2405. end)
  2406. playertab:AddButton("Anti Ragdoll", function()
  2407. for i,v in next, getgc() do
  2408. if type(v) == "table" and rawget(v, 'Ragdoll') and rawget(v, 'Unragdoll') then
  2409. v.Ragdoll = function() return wait(9e9) end
  2410. end
  2411. end
  2412. end)
  2413. playertab:AddButton("Pickpocket", function()
  2414. for i,player in next, game:GetService('Players'):GetPlayers() do
  2415. if game:GetService('Players').LocalPlayer ~= player then
  2416. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2417. if game:GetService('Players')[tostring(player)]:FindFirstChild('TeamValue') then
  2418. if game:GetService('Players').LocalPlayer:FindFirstChild('TeamValue') then
  2419. if game:GetService('Players').LocalPlayer.TeamValue.Value == 'Prisoner' then
  2420. if game:GetService('Players')[tostring(player)].TeamValue.Value == 'Police' then
  2421. if game:GetService('Players').LocalPlayer.Character then
  2422. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('HumanoidRootPart') then
  2423. if game:GetService('Players')[tostring(player)].Character then
  2424. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('InVehicle') then
  2425. else
  2426. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2427. local OriginalPosition = game:GetService('Players').LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame
  2428. TP(game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.CFrame);
  2429. FixTP(game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.CFrame);
  2430. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2431. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2432. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2433. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2434. wait(0.1);
  2435. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2436. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2437. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2438. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2439. wait(0.1);
  2440. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2441. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2442. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2443. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2444. wait(0.1);
  2445. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2446. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2447. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2448. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2449. wait(0.1);
  2450. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2451. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2452. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2453. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2454. wait(0.1);
  2455. TP(OriginalPosition);
  2456. FixTP(game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.CFrame);
  2457. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2458. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2459. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2460. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2461. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2462. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2463. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2464. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2465. wait(0.01);
  2466. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2467. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2468. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2469. Remote:FireServer(Hashes['Pickpocket'], tostring(player));
  2470. break;
  2471. end;
  2472. end;
  2473. end;
  2474. end;
  2475. end;
  2476. end;
  2477. end;
  2478. end;
  2479. end;
  2480. end;
  2481. end;
  2482. end;
  2483. end)
  2484. playertab:AddButton("Change Suit", function()
  2485. fireclickdetector(game:GetService('Workspace').ClothingRacks.ClothingRack.Hitbox.ClickDetector);
  2486. end)
  2487. local cteam = playertab:AddDropdown("Change Team", function(callback)
  2488. Remote:FireServer(Hashes['ChangeTeam'], tostring(callback))
  2489. end)
  2490. cteam:Add("Prisoner")
  2491. cteam:Add("Police")
  2492. vehicle:AddSwitch("Unlock Mobile Garage", function(callback)
  2493. _G.FreeMobileGarage = (callback and true or false)
  2494.  
  2495. if not PlrUserId then
  2496. getgenv().PlrUserId = game:GetService("Players").LocalPlayer.UserId
  2497. end
  2498.  
  2499. if _G.FreeMobileGarage == true then
  2500. spawn(function()
  2501. repeat wait()
  2502. game:GetService("Players").LocalPlayer.UserId = 2837719
  2503. until game:GetService("Players").LocalPlayer.UserId == 2837719
  2504. end)
  2505. else
  2506. spawn(function()
  2507. repeat wait()
  2508. game:GetService("Players").LocalPlayer.UserId = PlrUserId
  2509. until game:GetService("Players").LocalPlayer.UserId == PlrUserId
  2510. end)
  2511. end
  2512. end)
  2513. vehicle:AddSwitch("Rainbow Car (Server Side)", function(arg)
  2514. _G.RCSSt = (arg and true or false)
  2515. while _G.RCSSt and wait() do
  2516. Remote:FireServer(Hashes["GarageModify"], "Red", "BodyColor")
  2517. Remote:FireServer(Hashes["GarageModify"], "Red", "WindowColor")
  2518. Remote:FireServer(Hashes["GarageModify"], "Red", "SpoilerColor")
  2519. Remote:FireServer(Hashes["GarageModify"], "Red", "WheelColor")
  2520. wait(.5)
  2521. Remote:FireServer(Hashes["GarageModify"], "Orange", "BodyColor")
  2522. Remote:FireServer(Hashes["GarageModify"], "Orange", "WindowColor")
  2523. Remote:FireServer(Hashes["GarageModify"], "Orange", "SpoilerColor")
  2524. Remote:FireServer(Hashes["GarageModify"], "Orange", "WheelColor")
  2525. wait(.5)
  2526. Remote:FireServer(Hashes["GarageModify"], "Yellow", "BodyColor")
  2527. Remote:FireServer(Hashes["GarageModify"], "Yellow", "WindowColor")
  2528. Remote:FireServer(Hashes["GarageModify"], "Yellow", "SpoilerColor")
  2529. Remote:FireServer(Hashes["GarageModify"], "Yellow", "WheelColor")
  2530. wait(.5)
  2531. Remote:FireServer(Hashes["GarageModify"], "Green", "BodyColor")
  2532. Remote:FireServer(Hashes["GarageModify"], "Green", "WindowColor")
  2533. Remote:FireServer(Hashes["GarageModify"], "Green", "SpoilerColor")
  2534. Remote:FireServer(Hashes["GarageModify"], "Green", "WheelColor")
  2535. wait(.5)
  2536. Remote:FireServer(Hashes["GarageModify"], "Cyan", "BodyColor")
  2537. Remote:FireServer(Hashes["GarageModify"], "Cyan", "WindowColor")
  2538. Remote:FireServer(Hashes["GarageModify"], "Cyan", "SpoilerColor")
  2539. Remote:FireServer(Hashes["GarageModify"], "Cyan", "WheelColor")
  2540. wait(.5)
  2541. Remote:FireServer(Hashes["GarageModify"], "Blue", "BodyColor")
  2542. Remote:FireServer(Hashes["GarageModify"], "Blue", "WindowColor")
  2543. Remote:FireServer(Hashes["GarageModify"], "Blue", "SpoilerColor")
  2544. Remote:FireServer(Hashes["GarageModify"], "Blue", "WheelColor")
  2545. wait(.5)
  2546. Remote:FireServer(Hashes["GarageModify"], "Purple", "BodyColor")
  2547. Remote:FireServer(Hashes["GarageModify"], "Purple", "WindowColor")
  2548. Remote:FireServer(Hashes["GarageModify"], "Purple", "SpoilerColor")
  2549. Remote:FireServer(Hashes["GarageModify"], "Purple", "WheelColor")
  2550. wait(.5)
  2551. end
  2552. end)
  2553. vehicle:AddSwitch("Rainbow Car (Client Side)", function(arg)
  2554. _G.RCt = (arg and true or false)
  2555. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2556. local counter = 0
  2557. while _G.RCt == true do
  2558. wait()
  2559. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2560. if v:FindFirstChild('Seat') then
  2561. if v.Seat:WaitForChild("PlayerName").Value == game:GetService('Players').LocalPlayer.Name then
  2562. v.Model.Body.Color = (Color3.fromHSV(zigzag(counter),1,1))
  2563. v.Model.Windows.Color = (Color3.fromHSV(zigzag(counter),1,1))
  2564. counter = counter + 0.01
  2565. end
  2566. end
  2567. end
  2568. end
  2569. end)
  2570. vehicle:AddSwitch("Rainbow Nitro (Client Side)", function(arg)
  2571. _G.RNt = (arg and true or false)
  2572. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2573. local counter = 0
  2574. while _G.RNt == true do
  2575. wait()
  2576. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  2577. if v:FindFirstChild('Seat') then
  2578. if v.Seat:WaitForChild("PlayerName").Value == game:GetService('Players').LocalPlayer.Name then
  2579. for a,b in pairs(v.Model:GetChildren()) do
  2580. if b.Name == "Nitrous" then
  2581. b.Fire.Color = ColorSequence.new(Color3.fromHSV(zigzag(counter),1,1))
  2582. b.Smoke.Color = ColorSequence.new(Color3.fromHSV(zigzag(counter),1,1))
  2583. counter = counter + 0.01
  2584. end
  2585. end
  2586. end
  2587. end
  2588. end
  2589. end
  2590. end)
  2591. vehicle:AddButton("Car Speed", function()
  2592. dir = 0
  2593. gs = game.GetService
  2594. gs(game,"RunService").Heartbeat:connect(function()
  2595. for i,v in next,workspace.Vehicles:children() do
  2596. if v.Name ~= "Heli" then
  2597. if v:FindFirstChild("Engine") then
  2598. local bf,cf = v.Engine:FindFirstChild("NewForce"),v:GetPrimaryPartCFrame().lookVector
  2599. if not bf then
  2600. bf = v.Engine:FindFirstChild("BodyForce") or v.Engine:FindFirstChild("VectorForce")
  2601. if bf then
  2602. bf = bf:Clone()
  2603. bf.Parent = v.Engine
  2604. bf.Name = "NewForce"
  2605. end
  2606. end
  2607. if bf then
  2608. local fa = 1
  2609. if v.Name:lower():find("bike") then fa = .3 elseif v.Name:lower():find("bugg") then fa = .5 end
  2610. if v.Seat.PlayerName.Value ~= game:GetService("Players").LocalPlayer.Name then fa = 0 end
  2611. bf.Force = Vector3.new(cf.X*300000*dir*fa,0,cf.Z*300000*dir*fa)
  2612. end
  2613. end
  2614. end
  2615. end
  2616. end)
  2617. val = {
  2618. {Enum.KeyCode.W,1};
  2619. {Enum.KeyCode.S,-1};
  2620. }
  2621. uis = gs(game,"UserInputService")
  2622. chk = function(k)
  2623. for i,v in next,val do
  2624. if v[1]==k.KeyCode then
  2625. return v[2]
  2626. end
  2627. end
  2628. end
  2629. uis.InputBegan:connect(function(k)
  2630. dir = chk(k) or dir
  2631. end)
  2632. uis.InputEnded:connect(function(k)
  2633. if chk(k) == dir then
  2634. dir = 0
  2635. end
  2636. end)
  2637. end)
  2638. vehicle:AddButton("Inf Nitro SS", function()
  2639. repeat wait()
  2640. if game.Workspace:FindFirstChild(game:GetService("Players").LocalPlayer.Name):FindFirstChild("InVehicle") then
  2641. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = function() return 0/0 end
  2642. else
  2643. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = tick
  2644. end
  2645. until false
  2646. end)
  2647. local summonvehicle = vehicle:AddDropdown("Select Vehicle", function(selected)
  2648. Remote:FireServer(Hashes["MobileGarage"], "Chassis", tostring(selected))
  2649. end)
  2650. for i,v in pairs(game:GetService("ReplicatedStorage").Resource.Vehicles:GetChildren()) do
  2651. summonvehicle:Add(v)
  2652. end
  2653. combatab:AddTextBox("Kill Type Name", function(callback)
  2654. for i,v in next, game:GetService("Players"):GetPlayers() do
  2655. if string.find(string.lower(v.Name), string.lower(tostring(callback))) then
  2656. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart);
  2657. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart);
  2658. end
  2659. end
  2660. end)
  2661. combatab:AddButton("Grab Gunshop Items", function()
  2662. local guns = {
  2663. {
  2664. ["Name"] = "AK47"
  2665. },
  2666. {
  2667. ["Name"] = "Uzi"
  2668. },
  2669. {
  2670. ["Name"] = "RocketLauncher"
  2671. },
  2672. {
  2673. ["Name"] = "Shotgun"
  2674. },
  2675. {
  2676. ["Name"] = "Pistol"
  2677. },
  2678. {
  2679. ["Name"] = "PlasmaPistol"
  2680. },
  2681. {
  2682. ["Name"] = "Revolver"
  2683. },
  2684. {
  2685. ["Name"] = "Rifle"
  2686. },
  2687. {
  2688. ["Name"] = "Sniper"
  2689. },
  2690. {
  2691. ["Name"] = "Sword"
  2692. },
  2693. {
  2694. ["Name"] = "Taser"
  2695. }
  2696. }
  2697. for i,v in pairs(guns) do
  2698. Remote:FireServer(Hashes["GunShop"], v)
  2699. end
  2700. end)
  2701. combatab:AddSwitch("Taze All", function(arg)
  2702. _G.TAt = (arg and true or false)
  2703. while _G.TAt and wait() do
  2704. for i,player in next, game:GetService('Players'):GetPlayers() do
  2705. if game:GetService('Players').LocalPlayer ~= player then
  2706. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2707. if game:GetService('Players')[tostring(player)].Character then
  2708. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('Humanoid') then
  2709. if game:GetService('Players')[tostring(player)].Character.Humanoid.Health > 0 then
  2710. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2711. Remote:FireServer(Hashes['Taze'], game:GetService('Players')[tostring(player)].Name, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position);
  2712. end;
  2713. end;
  2714. end;
  2715. end;
  2716. end;
  2717. end;
  2718. end;
  2719. end;
  2720. end)
  2721. combatab:AddSwitch("Taze Aura", function(arg)
  2722. _G.TAut = (arg and true or false)
  2723. while _G.TAut and wait() do
  2724. for i,v in next, game:GetService('Players'):GetPlayers() do
  2725. if game:GetService("Players").LocalPlayer ~= v then
  2726. if (game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude < 20 then
  2727. Remote:FireServer(Hashes['Taze'], game:GetService('Players')[tostring(player)].Name, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position);
  2728. end
  2729. end
  2730. end
  2731. end
  2732. end)
  2733. combatab:AddSwitch("Kill All (Loop)", function(arg)
  2734. _G.KAEt = (arg and true or false)
  2735. while _G.KAEt and wait() do
  2736. Remote:FireServer(Hashes['ChangeTeam'], 'Prisoner')
  2737. wait(0.5)
  2738. for i,player in next, game:GetService('Players'):GetPlayers() do
  2739. if game:GetService('Players').LocalPlayer ~= player then
  2740. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2741. if game:GetService('Players')[tostring(player)]:FindFirstChild('TeamValue') then
  2742. if game:GetService('Players').LocalPlayer:FindFirstChild('TeamValue') then
  2743. if game:GetService('Players').LocalPlayer.TeamValue.Value ~= game:GetService('Players')[tostring(player)].TeamValue.Value then
  2744. if game:GetService('Players')[tostring(player)].Character then
  2745. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('Humanoid') then
  2746. if game:GetService('Players')[tostring(player)].Character.Humanoid.Health > 0 then
  2747. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2748. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2749. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2750. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2751. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2752. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2753. wait(0.01)
  2754. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2755. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2756. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2757. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2758. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2759. wait(0.01)
  2760. Remote:FireServer(Hashes["ChangeTeam"], "Police")
  2761. wait(.1)
  2762. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2763. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2764. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2765. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2766. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2767. end;
  2768. end;
  2769. end;
  2770. end;
  2771. end;
  2772. end;
  2773. end;
  2774. end;
  2775. end;
  2776. end;
  2777. end
  2778. end)
  2779. combatab:AddSwitch("Kill All Criminal", function(arg)
  2780. _G.KACt = (arg and true or false)
  2781. while _G.KACt and wait(1) do
  2782. for i,player in next, game:GetService('Players'):GetPlayers() do
  2783. if game:GetService('Players').LocalPlayer ~= player then
  2784. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2785. if game:GetService('Players')[tostring(player)]:FindFirstChild('TeamValue') then
  2786. if game:GetService('Players').LocalPlayer:FindFirstChild('TeamValue') then
  2787. if game:GetService('Players')[tostring(player)].TeamValue.Value == "Prisoner" then
  2788. if game:GetService('Players')[tostring(player)].Character then
  2789. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('Humanoid') then
  2790. if game:GetService('Players')[tostring(player)].Character.Humanoid.Health > 0 then
  2791. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2792. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2793. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2794. end;
  2795. end
  2796. end;
  2797. end;
  2798. end;
  2799. end;
  2800. end;
  2801. end;
  2802. end;
  2803. end;
  2804. end;
  2805. end)
  2806. combatab:AddSwitch("Kill All Criminal (Loop)", function(arg)
  2807. _G.KACLt = (arg and true or false)
  2808. while _G.KACLt and wait() do
  2809. for i,player in next, game:GetService('Players'):GetPlayers() do
  2810. if game:GetService('Players').LocalPlayer ~= player then
  2811. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2812. if game:GetService('Players')[tostring(player)]:FindFirstChild('TeamValue') then
  2813. if game:GetService('Players').LocalPlayer:FindFirstChild('TeamValue') then
  2814. if game:GetService('Players')[tostring(player)].TeamValue.Value == "Prisoner" then
  2815. if game:GetService('Players')[tostring(player)].Character then
  2816. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('Humanoid') then
  2817. if game:GetService('Players')[tostring(player)].Character.Humanoid.Health > 0 then
  2818. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2819. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2820. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2821. if game:GetService("Players").LocalPlayer.TeamValue.Value == "Prisoner" then
  2822. Remote:FireServer(Hashes['ChangeTeam'], "Police")
  2823. end
  2824. end;
  2825. end
  2826. end;
  2827. end;
  2828. end;
  2829. end;
  2830. end;
  2831. end;
  2832. end;
  2833. end;
  2834. end;
  2835. end)
  2836. combatab:AddSwitch("Kill All Police", function(arg)
  2837. _G.KAPt = (arg and true or false)
  2838. while _G.KAPt and wait(1) do
  2839. for i,player in next, game:GetService('Players'):GetPlayers() do
  2840. if game:GetService('Players').LocalPlayer ~= player then
  2841. if game:GetService('Players')[tostring(player)]:IsA('Player') then
  2842. if game:GetService('Players')[tostring(player)]:FindFirstChild('TeamValue') then
  2843. if game:GetService('Players').LocalPlayer:FindFirstChild('TeamValue') then
  2844. if game:GetService('Players')[tostring(player)].TeamValue.Value == "Police" then
  2845. if game:GetService('Players')[tostring(player)].Character then
  2846. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('Humanoid') then
  2847. if game:GetService('Players')[tostring(player)].Character.Humanoid.Health > 0 then
  2848. if game:GetService('Players')[tostring(player)].Character:FindFirstChild('HumanoidRootPart') then
  2849. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2850. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart.Position, game:GetService('Players')[tostring(player)].Character.HumanoidRootPart);
  2851. end;
  2852. end
  2853. end;
  2854. end;
  2855. end;
  2856. end;
  2857. end;
  2858. end;
  2859. end;
  2860. end;
  2861. end;
  2862. end)
  2863. combatab:AddSwitch("Kill Aura", function(arg)
  2864. _G.KAt = (arg and true or false)
  2865. while _G.KAt and wait() do
  2866. for i,v in next, game:GetService('Players'):GetPlayers() do
  2867. if game:GetService("Players").LocalPlayer ~= v then
  2868. if (game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude < 20 then
  2869. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart);
  2870. Remote:FireServer(Hashes['Gun'], 'RocketLauncher', v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart);
  2871. end
  2872. end
  2873. end
  2874. end
  2875. end)
  2876. combatab:AddLabel("Gun Mods")
  2877. combatab:AddTextBox("Set Fire Rate", function(callback)
  2878. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2879. local frt = require(v)
  2880. frt.FireFreq = tonumber(callback)
  2881. end
  2882. end)
  2883. combatab:AddTextBox("Set Mag Size", function(callback)
  2884. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2885. local mst = require(v)
  2886. mst.MagSize = tonumber(callback)
  2887. end
  2888. end)
  2889. combatab:AddTextBox("Set Camera Shake", function(callback)
  2890. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2891. local cst = require(v)
  2892. cst.CamShakeMagnitude = tonumber(callback)
  2893. end
  2894. end)
  2895. combatab:AddTextBox("Set Bullet Speed", function(callback)
  2896. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2897. local bst = require(v)
  2898. bst.BulletSpeed = tonumber(callback)
  2899. end
  2900. end)
  2901. combatab:AddTextBox("Set Damage", function(callback)
  2902. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2903. local setdt = require(v)
  2904. setdt.Damage = tonumber(callback)
  2905. end
  2906. end)
  2907. combatab:AddTextBox("Set Reload Time", function(callback)
  2908. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2909. local srtt = require(v)
  2910. srtt.ReloadTime = tonumber(callback)
  2911. end
  2912. end)
  2913. combatab:AddSwitch("Toggle Auto Fire", function(arg)
  2914. _G.AFt = (arg and true or false)
  2915. for i,v in pairs(game:GetService("ReplicatedStorage").Game.ItemConfig:GetChildren()) do
  2916. local AFt = require(v)
  2917. AFt.FireAuto = _G.AFt
  2918. end
  2919. end)
  2920.  
  2921. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2922. local counter = 0
  2923.  
  2924. setting:AddButton("Join Our Discord!", function()
  2925. Site = "https://discord.gg/FnkyzTE"
  2926. site = string.gsub(string.gsub(Site,"/","\\"),":\\\\","://").."?www.roblox.com"
  2927. game.GuiService:OpenBrowserWindow(site)
  2928. end)
  2929. setting:AddButton("Rejoin To Same Server", function()
  2930. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId)
  2931. end)
  2932. local keybind = setting:AddKeybind("Toggle Gui Key", function(obj)
  2933. ui_options.toggle_key = obj
  2934. end, {
  2935. ["standard"] = Enum.KeyCode.RightShift,
  2936. })
  2937. local cp = setting:AddColorPicker(function(color)
  2938. ui_options.main_color = color
  2939. end)
  2940. setting:AddSwitch("Rainbow Gui", function(arg)
  2941. _G.RanibowG = (arg and true or false)
  2942. while _G.RanibowG and wait() do
  2943. ui_options.main_color = Color3.fromHSV(zigzag(counter),1,1)
  2944. counter = counter + 0.01
  2945. end
  2946. end)
  2947. library:FormatWindows()
  2948.  
  2949. local mt = getrawmetatable(game)
  2950. setreadonly(mt, false)
  2951. local old = mt.__newindex
  2952.  
  2953. mt.__newindex = newcclosure(function(a, b, c)
  2954. if b == "WalkSpeed" then
  2955. return old(a, b, _G.WalkSpeed)
  2956. end
  2957. return old(a, b, c)
  2958. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement