hackerslayercohen11

Anime Fighting Simulator

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