├── README.md ├── Ven Lib.lua ├── cockesp.txt ├── Vape.txt └── helios old.txt /README.md: -------------------------------------------------------------------------------- 1 | # UI-Libs 2 | 3 | this is where i upload my public uis 4 | -------------------------------------------------------------------------------- /Ven Lib.lua: -------------------------------------------------------------------------------- 1 | local TweenService = game:GetService("TweenService") 2 | local function ripple(obj) 3 | spawn( 4 | function() 5 | local Mouse = game.Players.LocalPlayer:GetMouse() 6 | local Circle = Instance.new("ImageLabel") 7 | Circle.Name = "Circle" 8 | Circle.Parent = obj 9 | Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 10 | Circle.BackgroundTransparency = 1.000 11 | Circle.ZIndex = 10 12 | Circle.Image = "rbxassetid://266543268" 13 | Circle.ImageColor3 = Color3.fromRGB(255, 255, 255) 14 | Circle.ImageTransparency = 0.4 15 | local NewX, NewY = Mouse.X - Circle.AbsolutePosition.X, Mouse.Y - Circle.AbsolutePosition.Y 16 | Circle.Position = UDim2.new(0, NewX, 0, NewY) 17 | local Size = 0 18 | if obj.AbsoluteSize.X > obj.AbsoluteSize.Y then 19 | Size = obj.AbsoluteSize.X * 1.5 20 | elseif obj.AbsoluteSize.X < obj.AbsoluteSize.Y then 21 | Size = obj.AbsoluteSize.Y * 1.5 22 | elseif obj.AbsoluteSize.X == obj.AbsoluteSize.Y then 23 | Size = obj.AbsoluteSize.X * 1.5 24 | end 25 | Circle:TweenSizeAndPosition( 26 | UDim2.new(0, Size, 0, Size), 27 | UDim2.new(0.5, -Size / 2, 0.5, -Size / 2), 28 | "Out", 29 | "Quad", 30 | 0.2, 31 | false 32 | ) 33 | for i = 1, 20 do 34 | Circle.ImageTransparency = Circle.ImageTransparency + 0.05 35 | wait(0.3 / 10) 36 | end 37 | Circle:Destroy() 38 | end 39 | ) 40 | end 41 | 42 | local function draggable(obj) 43 | local UserInputService = game:GetService("UserInputService") 44 | 45 | local gui = obj 46 | 47 | local dragging 48 | local dragInput 49 | local dragStart 50 | local startPos 51 | 52 | local function update(input) 53 | local delta = input.Position - dragStart 54 | local EndPos = 55 | UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) 56 | local Tween = TweenService:Create(gui, TweenInfo.new(0.2), {Position = EndPos}) 57 | Tween:Play() 58 | end 59 | 60 | gui.InputBegan:Connect( 61 | function(input) 62 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then 63 | dragging = true 64 | dragStart = input.Position 65 | startPos = gui.Position 66 | 67 | input.Changed:Connect( 68 | function() 69 | if input.UserInputState == Enum.UserInputState.End then 70 | dragging = false 71 | end 72 | end 73 | ) 74 | end 75 | end 76 | ) 77 | 78 | gui.InputChanged:Connect( 79 | function(input) 80 | if 81 | input.UserInputType == Enum.UserInputType.MouseMovement or 82 | input.UserInputType == Enum.UserInputType.Touch 83 | then 84 | dragInput = input 85 | end 86 | end 87 | ) 88 | 89 | UserInputService.InputChanged:Connect( 90 | function(input) 91 | if input == dragInput and dragging then 92 | update(input) 93 | end 94 | end 95 | ) 96 | end 97 | 98 | local lib = {} 99 | 100 | function lib:Window(text) 101 | local ft = false 102 | local vistab = true 103 | local mini = false 104 | 105 | local VenLib = Instance.new("ScreenGui") 106 | local mainframe = Instance.new("Frame") 107 | local mainholder = Instance.new("Frame") 108 | local containers = Instance.new("Folder") 109 | local tabholder = Instance.new("Frame") 110 | local tablist = Instance.new("UIListLayout") 111 | local top = Instance.new("Frame") 112 | local title = Instance.new("TextLabel") 113 | local minimize = Instance.new("ImageButton") 114 | 115 | VenLib.Name = "VenLib" 116 | VenLib.Parent = game.CoreGui 117 | VenLib.ZIndexBehavior = Enum.ZIndexBehavior.Sibling 118 | 119 | mainframe.Name = "mainframe" 120 | mainframe.Parent = VenLib 121 | mainframe.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 122 | mainframe.BorderSizePixel = 0 123 | mainframe.ClipsDescendants = true 124 | mainframe.Position = UDim2.new(0.396874994, 0, 0.372807026, 0) 125 | mainframe.Size = UDim2.new(0, 396, 0, 231) 126 | draggable(mainframe) 127 | 128 | mainholder.Name = "mainholder" 129 | mainholder.Parent = mainframe 130 | mainholder.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 131 | mainholder.BorderSizePixel = 0 132 | mainholder.Position = UDim2.new(0, 0, -0.00381628261, 0) 133 | mainholder.Size = UDim2.new(0, 396, 0, 27) 134 | 135 | containers.Name = "containers" 136 | containers.Parent = mainholder 137 | 138 | tabholder.Name = "tabholder" 139 | tabholder.Parent = mainholder 140 | tabholder.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 141 | tabholder.BackgroundTransparency = 1.000 142 | tabholder.BorderSizePixel = 0 143 | tabholder.Position = UDim2.new(0.023, 0, 1.33703697, 0) 144 | tabholder.Size = UDim2.new(0, 377, 0, 21) 145 | 146 | tablist.Name = "tablist" 147 | tablist.Parent = tabholder 148 | tablist.FillDirection = Enum.FillDirection.Horizontal 149 | tablist.SortOrder = Enum.SortOrder.LayoutOrder 150 | 151 | top.Name = "top" 152 | top.Parent = mainholder 153 | top.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 154 | top.BorderSizePixel = 0 155 | top.Position = UDim2.new(0, 0, -0.00381628261, 0) 156 | top.Size = UDim2.new(0, 396, 0, 27) 157 | 158 | minimize.Name = "minimize" 159 | minimize.Parent = top 160 | minimize.BackgroundTransparency = 1.000 161 | minimize.LayoutOrder = 6 162 | minimize.Position = UDim2.new(0.931818187, 0, 0.111111112, 0) 163 | minimize.Size = UDim2.new(0, 20, 0, 20) 164 | minimize.ZIndex = 2 165 | minimize.Image = "rbxassetid://3926307971" 166 | minimize.ImageRectOffset = Vector2.new(884, 284) 167 | minimize.ImageRectSize = Vector2.new(36, 36) 168 | 169 | title.Name = "title" 170 | title.Parent = top 171 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 172 | title.BackgroundTransparency = 1.000 173 | title.BorderSizePixel = 0 174 | title.Position = UDim2.new(0.0227272734, 0, 0.0364662446, 0) 175 | title.Size = UDim2.new(0, 42, 0, 26) 176 | title.Font = Enum.Font.Gotham 177 | title.Text = text 178 | title.TextColor3 = Color3.fromRGB(255, 255, 255) 179 | title.TextSize = 15.000 180 | title.TextXAlignment = Enum.TextXAlignment.Left 181 | 182 | minimize.MouseButton1Click:Connect( 183 | function() 184 | if mini == false then 185 | mainframe:TweenSize(UDim2.new(0, 396, 0, 27), "Out", "Quad", 0.25) 186 | mini = not mini 187 | else 188 | mainframe:TweenSize(UDim2.new(0, 396, 0, 231), "In", "Quad", 0.25) 189 | mini = not mini 190 | end 191 | end 192 | ) 193 | 194 | local tabs = {} 195 | 196 | function tabs:Tab(title) 197 | local tabbtn = Instance.new("TextButton") 198 | local containerpadding = Instance.new("UIPadding") 199 | local container = Instance.new("ScrollingFrame") 200 | local containerlist = Instance.new("UIListLayout") 201 | tabbtn.Name = "tabbtn" 202 | tabbtn.Parent = tabholder 203 | tabbtn.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 204 | tabbtn.BorderSizePixel = 0 205 | tabbtn.BackgroundTransparency = 1 206 | tabbtn.AutoButtonColor = false 207 | tabbtn.Font = Enum.Font.Gotham 208 | tabbtn.Text = title 209 | tabbtn.TextColor3 = Color3.fromRGB(255, 255, 255) 210 | tabbtn.TextSize = 14.000 211 | tabbtn.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) 212 | tabbtn.Size = UDim2.new(0, tabbtn.TextBounds.X + 15, 0, 21) 213 | 214 | container.Name = "container" 215 | container.Parent = containers 216 | container.Active = true 217 | container.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 218 | container.BorderSizePixel = 0 219 | container.Position = UDim2.new(0.0227272734, 0, 2.11481524, 0) 220 | container.Size = UDim2.new(0, 377, 0, 164) 221 | container.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" 222 | container.CanvasSize = UDim2.new(0, 0, 0, 0) 223 | container.ScrollBarThickness = 3 224 | container.Visible = vistab 225 | container.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" 226 | 227 | containerpadding.Name = "containerpadding" 228 | containerpadding.Parent = container 229 | containerpadding.PaddingLeft = UDim.new(0, 6) 230 | containerpadding.PaddingTop = UDim.new(0, 6) 231 | 232 | containerlist.Name = "containerlist" 233 | containerlist.Parent = container 234 | containerlist.SortOrder = Enum.SortOrder.LayoutOrder 235 | containerlist.Padding = UDim.new(0, 3) 236 | 237 | if ft == false then 238 | ft = true 239 | vistab = false 240 | tabbtn.BackgroundTransparency = 0 241 | end 242 | 243 | tabbtn.MouseButton1Click:Connect( 244 | function() 245 | for i, v in next, containers:GetChildren() do 246 | if v.Name == "container" then 247 | v.Visible = false 248 | end 249 | end 250 | for i, v in next, tabholder:GetChildren() do 251 | if v.ClassName == "TextButton" then 252 | v.BackgroundTransparency = 1 253 | end 254 | end 255 | tabbtn.BackgroundTransparency = 0 256 | container.Visible = true 257 | end 258 | ) 259 | 260 | local tab = {} 261 | 262 | function tab:Button(text, callback) 263 | callback = callback or function(...) 264 | end 265 | local button = Instance.new("TextButton") 266 | local me = 267 | TweenService:Create( 268 | button, 269 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 270 | { 271 | BackgroundColor3 = Color3.fromRGB(49, 49, 49) 272 | } 273 | ) 274 | 275 | local ml = 276 | TweenService:Create( 277 | button, 278 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 279 | { 280 | BackgroundColor3 = Color3.fromRGB(24, 24, 24) 281 | } 282 | ) 283 | 284 | button.Name = "button" 285 | button.Parent = container 286 | button.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 287 | button.BorderSizePixel = 0 288 | button.AutoButtonColor = false 289 | button.Font = Enum.Font.Gotham 290 | button.Text = text 291 | button.TextColor3 = Color3.fromRGB(255, 255, 255) 292 | button.TextSize = 14.000 293 | button.Size = UDim2.new(0, button.TextBounds.X + 15, 0, 27) 294 | button.ClipsDescendants = true 295 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 296 | 297 | button.MouseEnter:Connect( 298 | function() 299 | me:Play() 300 | end 301 | ) 302 | button.MouseLeave:Connect( 303 | function() 304 | ml:Play() 305 | end 306 | ) 307 | 308 | button.MouseButton1Click:Connect( 309 | function() 310 | ripple(button) 311 | pcall(callback) 312 | end 313 | ) 314 | end 315 | 316 | function tab:Toggle(text, callback) 317 | local toggle = Instance.new("TextButton") 318 | local title = Instance.new("TextLabel") 319 | local status = Instance.new("Frame") 320 | local toggled = false 321 | callback = callback or function(...) 322 | end 323 | toggle.Name = "toggle" 324 | toggle.Parent = container 325 | toggle.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 326 | toggle.BorderSizePixel = 0 327 | toggle.ClipsDescendants = true 328 | toggle.Position = UDim2.new(0.128787875, 0, 0.519480526, 0) 329 | toggle.AutoButtonColor = false 330 | toggle.Font = Enum.Font.SourceSans 331 | toggle.Text = "" 332 | toggle.TextColor3 = Color3.fromRGB(0, 0, 0) 333 | toggle.TextSize = 14.000 334 | 335 | title.Name = "title" 336 | title.Parent = toggle 337 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 338 | title.BackgroundTransparency = 1.000 339 | title.BorderSizePixel = 0 340 | title.Position = UDim2.new(0, 40, 0, 0) 341 | title.Font = Enum.Font.Gotham 342 | title.Text = text 343 | title.Size = UDim2.new(0, 20, 1, 0) 344 | title.TextColor3 = Color3.fromRGB(255, 255, 255) 345 | title.TextSize = 14.000 346 | title.TextXAlignment = Enum.TextXAlignment.Left 347 | toggle.Size = UDim2.new(0, title.TextBounds.X + 50, 0, 30) 348 | 349 | status.Name = "status" 350 | status.Parent = toggle 351 | status.AnchorPoint = Vector2.new(0, 0.5) 352 | status.BackgroundColor3 = Color3.fromRGB(255, 49, 49) 353 | status.BorderSizePixel = 0 354 | status.Position = UDim2.new(0.00505050505, 8, 0.5, 0) 355 | status.Size = UDim2.new(0, 20, 0, 20) 356 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 357 | local me = 358 | TweenService:Create( 359 | toggle, 360 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 361 | { 362 | BackgroundColor3 = Color3.fromRGB(49, 49, 49) 363 | } 364 | ) 365 | 366 | local ml = 367 | TweenService:Create( 368 | toggle, 369 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 370 | { 371 | BackgroundColor3 = Color3.fromRGB(24, 24, 24) 372 | } 373 | ) 374 | 375 | local truetoggle = 376 | TweenService:Create( 377 | status, 378 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 379 | { 380 | BackgroundColor3 = Color3.fromRGB(81, 255, 55) 381 | } 382 | ) 383 | 384 | local falsetoggle = 385 | TweenService:Create( 386 | status, 387 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 388 | { 389 | BackgroundColor3 = Color3.fromRGB(255, 49, 49) 390 | } 391 | ) 392 | 393 | toggle.MouseEnter:Connect( 394 | function() 395 | me:Play() 396 | end 397 | ) 398 | toggle.MouseLeave:Connect( 399 | function() 400 | ml:Play() 401 | end 402 | ) 403 | 404 | toggle.MouseButton1Click:Connect( 405 | function() 406 | if toggled == false then 407 | truetoggle:Play() 408 | toggled = not toggled 409 | else 410 | falsetoggle:Play() 411 | toggled = not toggled 412 | end 413 | ripple(toggle) 414 | callback(toggled) 415 | end 416 | ) 417 | end 418 | 419 | function tab:Slider(text, min, max, start, callback) 420 | local inputService = game:GetService("UserInputService") 421 | local slider = Instance.new("Frame") 422 | local title = Instance.new("TextLabel") 423 | local placetoslide = Instance.new("TextButton") 424 | local slideframe = Instance.new("Frame") 425 | local value = Instance.new("TextLabel") 426 | local dragging = false 427 | 428 | slider.Name = "slider" 429 | slider.Parent = container 430 | slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 431 | slider.BackgroundTransparency = 1.000 432 | slider.Position = UDim2.new(0.503712893, 0, 0.239035085, 0) 433 | 434 | title.Name = "title" 435 | title.Parent = slider 436 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 437 | title.BackgroundTransparency = 1.000 438 | title.BorderSizePixel = 0 439 | title.Position = UDim2.new(0, 6, 0, 0) 440 | title.Size = UDim2.new(0, 23, 1, 0) 441 | title.ZIndex = 2 442 | title.Font = Enum.Font.Gotham 443 | title.Text = text 444 | title.TextColor3 = Color3.fromRGB(255, 255, 255) 445 | title.TextSize = 14.000 446 | title.TextXAlignment = Enum.TextXAlignment.Left 447 | slider.Size = UDim2.new(0, title.TextBounds.X + 185, 0, 30) 448 | 449 | placetoslide.Name = "placetoslide" 450 | placetoslide.Parent = slider 451 | placetoslide.AnchorPoint = Vector2.new(1, 0.5) 452 | placetoslide.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 453 | placetoslide.BorderSizePixel = 0 454 | placetoslide.Position = UDim2.new(1, 0, 0.5, 0) 455 | placetoslide.Size = UDim2.new(0, 165, 0, 26) 456 | placetoslide.AutoButtonColor = false 457 | placetoslide.Text = "" 458 | 459 | slideframe.Name = "slideframe" 460 | slideframe.Parent = placetoslide 461 | slideframe.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 462 | slideframe.BorderSizePixel = 0 463 | slideframe.Size = UDim2.new((start or 0) / max, 0, 1, 0) 464 | 465 | value.Name = "value" 466 | value.Parent = placetoslide 467 | value.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 468 | value.BackgroundTransparency = 1.000 469 | value.BorderSizePixel = 0 470 | value.Size = UDim2.new(1, 0, 1, 0) 471 | value.Font = Enum.Font.Gotham 472 | value.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0) 473 | value.TextColor3 = Color3.fromRGB(255, 255, 255) 474 | value.TextSize = 14.000 475 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 476 | 477 | local function slide(input) 478 | local pos = 479 | UDim2.new( 480 | math.clamp((input.Position.X - placetoslide.AbsolutePosition.X) / placetoslide.AbsoluteSize.X, 0, 1), 481 | 0, 482 | 1, 483 | 0 484 | ) 485 | slideframe:TweenSize(pos, Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.2, true) 486 | local s = math.floor(((pos.X.Scale * max) / max) * (max - min) + min) 487 | value.Text = tostring(s) 488 | callback(s) 489 | end 490 | 491 | placetoslide.InputBegan:Connect( 492 | function(input) 493 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 494 | slide(input) 495 | dragging = true 496 | end 497 | end 498 | ) 499 | 500 | placetoslide.InputEnded:Connect( 501 | function(input) 502 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 503 | dragging = false 504 | end 505 | end 506 | ) 507 | 508 | inputService.InputChanged:Connect( 509 | function(input) 510 | if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then 511 | slide(input) 512 | end 513 | end 514 | ) 515 | end 516 | 517 | function tab:Dropdown(text, list, callback) 518 | list = list or {} 519 | local d = false 520 | callback = callback or function(...) 521 | end 522 | local dropdown = Instance.new("TextButton") 523 | local title = Instance.new("TextLabel") 524 | local arrow = Instance.new("ImageButton") 525 | local dropdowncontainer = Instance.new("ScrollingFrame") 526 | local dropdownlist = Instance.new("UIListLayout") 527 | 528 | dropdown.Name = "dropdown" 529 | dropdown.Parent = container 530 | dropdown.BackgroundColor3 = Color3.fromRGB(24, 24, 24) 531 | dropdown.BorderSizePixel = 0 532 | dropdown.Position = UDim2.new(0.295454532, 0, 0.36796537, 0) 533 | dropdown.Size = UDim2.new(0, 200, 0, 30) 534 | dropdown.ZIndex = 2 535 | dropdown.AutoButtonColor = false 536 | dropdown.Font = Enum.Font.SourceSans 537 | dropdown.Text = "" 538 | dropdown.TextColor3 = Color3.fromRGB(0, 0, 0) 539 | dropdown.TextSize = 14.000 540 | dropdown.ClipsDescendants = false 541 | 542 | local t = 543 | TweenService:Create( 544 | dropdown, 545 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 546 | { 547 | BackgroundColor3 = Color3.fromRGB(36, 36, 36) 548 | } 549 | ) 550 | 551 | local nt = 552 | TweenService:Create( 553 | dropdown, 554 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 555 | { 556 | BackgroundColor3 = Color3.fromRGB(24, 24, 24) 557 | } 558 | ) 559 | 560 | local closetween = 561 | TweenService:Create( 562 | arrow, 563 | TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), 564 | { 565 | Rotation = 90 566 | } 567 | ) 568 | local opentween = 569 | TweenService:Create( 570 | arrow, 571 | TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), 572 | { 573 | Rotation = 0 574 | } 575 | ) 576 | 577 | title.Name = "title" 578 | title.Parent = dropdown 579 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 580 | title.BackgroundTransparency = 1.000 581 | title.BorderSizePixel = 0 582 | title.Position = UDim2.new(0, 8, 0, 0) 583 | title.Size = UDim2.new(0, 23, 1, 0) 584 | title.Font = Enum.Font.Gotham 585 | title.Text = text 586 | title.TextColor3 = Color3.fromRGB(255, 255, 255) 587 | title.TextSize = 14.000 588 | title.TextXAlignment = Enum.TextXAlignment.Left 589 | 590 | arrow.Name = "arrow" 591 | arrow.Parent = dropdown 592 | arrow.BackgroundTransparency = 1.000 593 | arrow.LayoutOrder = 11 594 | arrow.Position = UDim2.new(0.870000005, 0, 0.166666657, 0) 595 | arrow.Size = UDim2.new(0, 20, 0, 20) 596 | arrow.ZIndex = 2 597 | arrow.Image = "rbxassetid://3926305904" 598 | arrow.ImageRectOffset = Vector2.new(564, 284) 599 | arrow.ImageRectSize = Vector2.new(36, 36) 600 | arrow.Rotation = 90 601 | 602 | dropdowncontainer.Name = "dropdowncontainer" 603 | dropdowncontainer.Parent = dropdown 604 | dropdowncontainer.Active = true 605 | dropdowncontainer.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 606 | dropdowncontainer.BorderSizePixel = 0 607 | dropdowncontainer.Position = UDim2.new(0, 0, 0.999998987, 0) 608 | dropdowncontainer.Size = UDim2.new(0, 146, 0, 0) 609 | dropdowncontainer.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" 610 | dropdowncontainer.CanvasSize = UDim2.new(0, 0, 0, 0) 611 | dropdowncontainer.ScrollBarThickness = 3 612 | dropdowncontainer.Visible = false 613 | dropdowncontainer.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" 614 | 615 | dropdownlist.Name = "dropdownlist" 616 | dropdownlist.Parent = dropdowncontainer 617 | dropdownlist.SortOrder = Enum.SortOrder.LayoutOrder 618 | 619 | dropdown.MouseButton1Click:Connect( 620 | function() 621 | if d == false then 622 | d = not d 623 | opentween:Play() 624 | dropdowncontainer.Visible = true 625 | t:Play() 626 | dropdowncontainer:TweenSize(UDim2.new(0, 146, 0, 92), "In", "Quad", 0.25) 627 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 105) 628 | else 629 | d = not d 630 | closetween:Play() 631 | nt:Play() 632 | dropdowncontainer:TweenSize(UDim2.new(0, 146, 0, 0), "Out", "Quad", 0.25) 633 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 634 | wait(0.3) 635 | dropdowncontainer.Visible = false 636 | end 637 | end 638 | ) 639 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 640 | 641 | for i, v in next, list do 642 | local option = Instance.new("TextButton") 643 | option.Name = "option" 644 | option.Parent = dropdowncontainer 645 | option.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 646 | option.BorderSizePixel = 0 647 | option.Size = UDim2.new(0, 146, 0, 27) 648 | option.AutoButtonColor = false 649 | option.Font = Enum.Font.Gotham 650 | option.TextColor3 = Color3.fromRGB(255, 255, 255) 651 | option.TextSize = 14.000 652 | option.Text = v 653 | 654 | local me = 655 | TweenService:Create( 656 | option, 657 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 658 | { 659 | BackgroundColor3 = Color3.fromRGB(49, 49, 49) 660 | } 661 | ) 662 | 663 | local ml = 664 | TweenService:Create( 665 | option, 666 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 667 | { 668 | BackgroundColor3 = Color3.fromRGB(36, 36, 36) 669 | } 670 | ) 671 | 672 | option.MouseEnter:Connect( 673 | function() 674 | me:Play() 675 | end 676 | ) 677 | option.MouseLeave:Connect( 678 | function() 679 | ml:Play() 680 | end 681 | ) 682 | 683 | option.MouseButton1Click:Connect( 684 | function() 685 | title.Text = v 686 | d = not d 687 | closetween:Play() 688 | nt:Play() 689 | dropdowncontainer:TweenSize(UDim2.new(0, 146, 0, 0), "Out", "Quad", 0.25) 690 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 691 | wait(0.3) 692 | dropdowncontainer.Visible = false 693 | end 694 | ) 695 | dropdowncontainer.CanvasSize = UDim2.new(0, 0, 0, dropdownlist.AbsoluteContentSize.Y) 696 | end 697 | end 698 | 699 | function tab:Textbox(text, disapeer, callback) 700 | callback = callback or function(...) 701 | end 702 | local textbox = Instance.new("Frame") 703 | local title = Instance.new("TextLabel") 704 | local textboxframe = Instance.new("Frame") 705 | local textboxmain = Instance.new("TextBox") 706 | 707 | textbox.Name = "textbox" 708 | textbox.Parent = container 709 | textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 710 | textbox.BackgroundTransparency = 1.000 711 | textbox.Position = UDim2.new(0.503712893, 0, 0.239035085, 0) 712 | 713 | title.Name = "title" 714 | title.Parent = textbox 715 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 716 | title.BackgroundTransparency = 1.000 717 | title.BorderSizePixel = 0 718 | title.Position = UDim2.new(0, 6, 0, 0) 719 | title.Size = UDim2.new(0, 23, 1, 0) 720 | title.ZIndex = 2 721 | title.Font = Enum.Font.Gotham 722 | title.Text = text 723 | title.TextColor3 = Color3.fromRGB(255, 255, 255) 724 | title.TextSize = 14.000 725 | title.TextXAlignment = Enum.TextXAlignment.Left 726 | textbox.Size = UDim2.new(0, title.TextBounds.X + 185, 0, 30) 727 | 728 | textboxframe.Name = "textboxframe" 729 | textboxframe.Parent = textbox 730 | textboxframe.AnchorPoint = Vector2.new(1, 0.5) 731 | textboxframe.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 732 | textboxframe.BorderSizePixel = 0 733 | textboxframe.Position = UDim2.new(1, 0, 0.5, 0) 734 | textboxframe.Size = UDim2.new(0, 165, 0, 26) 735 | 736 | textboxmain.Name = "textboxmain" 737 | textboxmain.Parent = textboxframe 738 | textboxmain.BackgroundColor3 = Color3.fromRGB(36, 36, 36) 739 | textboxmain.BorderSizePixel = 0 740 | textboxmain.Size = UDim2.new(0, 165, 0, 26) 741 | textboxmain.Font = Enum.Font.Gotham 742 | textboxmain.Text = "" 743 | textboxmain.TextColor3 = Color3.fromRGB(255, 255, 255) 744 | textboxmain.TextSize = 14.000 745 | container.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y + 10) 746 | 747 | textboxmain.FocusLost:Connect( 748 | function(ep) 749 | if ep then 750 | if #textboxmain.Text > 0 then 751 | pcall(callback, textboxmain.Text) 752 | if disapeer then 753 | textboxmain.Text = "" 754 | end 755 | end 756 | end 757 | end 758 | ) 759 | end 760 | return tab 761 | end 762 | return tabs 763 | end 764 | return lib 765 | 766 | -------------------------------------------------------------------------------- /cockesp.txt: -------------------------------------------------------------------------------- 1 | return(function(l,...)local O="This file was obfuscated using PSU Obfuscator 4.0.A | https://www.psu.dev/ & discord.gg/psu";local y=l[((#{204;406;544;}+449454237))];local f=l[(665443775)];local C=l['mm1Yygc'];local L=l['y6HCR'];local m=l[(540581072)];local o=l[(786081961)];local P=l[(400676892)];local I=l['egnLr0gc'];local Y=l[(69470411)];local b=l.vuJlPCtPN;local r=l[((189791935-#("luraph is now down until further notice for an emergency major security update")))];local F=l.RzkQCs;local v=l[((#{942;870;}+173826351))];local i=l[((#{770;425;276;}+489965447))];local x=l['bYP2k6HX'];local Z=l[(499818310)];local N=l['w1xbGCyY'];local X=l[(372774919)];local M=l[((#{(function(...)return 746,72,124,472,...;end)(100,712,693,941)}+240078395))];local s=l["LWUTsZFNXb"];local B=l[((#{}+669518605))];local p=l[(750756167)];local E=l[((835960678-#("@everyone designs are done. luraph website coming.... eta JULY 2020")))];local H=l[((#{706;27;(function(...)return 114;end)()}+136936380))];local U=l[((#{620;(function(...)return 426,61,225,414;end)()}+283775718))];local c=l[(158393724)];local J=l['CV1x5rsn'];local a=l[((486147780-#("psu 34567890fps, luraph 1fps, xen 0fps")))];local k=((getfenv)or(function(...)return(_ENV);end));local n,d,e=({}),(""),(k(a));local t=((e["\98"..l[s]..l.BWfClO.."\51"..l.d3EA45hluQ])or(e[""..l[c].."\105\116"])or({}));local n=(((t)and(t["\98"..l.sOIcyu0s6.."\111"..l['pEhaLO']]))or(function(l,e)local n,a=a,i;while((l>i)and(e>i))do local t,c=l%o,e%o;if t~=c then a=a+n;end;l,e,n=(l-t)/o,(e-c)/o,n*o;end;if li do local e=l%o;if e>i then a=a+n;end;l,n=(l-e)/o,n*o;end;return(a);end));local h=(o^b);local g=(h-a);local w,A,D;local h=(d["\103\115"..l[p].."\98"]);local z=(d["\99"..l[x]..l['bDMke'].."\114"]);local u=(d["\98\121\116"..l["Mfx49F"]]);local h=(d["\115\117\98"]);local d=((e[""..l[p].."\110\112"..l["bDMke"].."\99"..l[F]])or(e["\116"..l.bDMke..l[c]..l[f].."\101"][""..l[p].."\110\112"..l['bDMke']..l[C].."\107"]));local F=(e["\116"..l[M].."\112\101"]);local M=(e[""..l[r].."\101"..l[f].."\101"..l[C].."\116"]);local Q=(e[""..l[r]..l["Mfx49F"]..l["BWfClO"].."\109"..l['Mfx49F'].."\116\97"..l["BWfClO"]..l.bDMke..l[c]..l[f].."\101"]);local W=(e[""..l[E].."\97"..l[s]..l.pEhaLO.."\115"]);local F=(e[""..l['pEhaLO'].."\97\119"..l[r].."\101\116"]);local F=(e["\116"..l["rp2Lat3tDn"]..l[B]..l[p]..l[L]..l[c]..l.Mfx49F.."\114"]);local p=(e[""..l[L]..l['bDMke']..l.BWfClO..l[x]]["\102\108"..l.rp2Lat3tDn.."\111\114"]);local L=((e["\109\97\116\104"][""..l[f]..l[m]..l['Mfx49F']..l["sOIcyu0s6"]..l[E]])or(function(l,e,...)return((l*o)^e);end));A=((t[""..l["pEhaLO"]..l[r]..l[x]..l[s]..l[y]..l["BWfClO"]])or(function(e,l,...)if(l=l)and(a))or(g));end;end;local E=""..l[C];local function g(...)return({...}),M(E,...);end;local function O(...)local C=l[(434130539)];local y=l[(786081961)];local O=l[(564653246)];local m=l[((499818331-#("psu == femboy hangout")))];local w=l[(270410280)];local g=l['vuJlPCtPN'];local v=l['Ztj3lrDN'];local P=l[((#{328;900;635;}+69277811))];local I=l[((#{942;}+278403518))];local o=l[((486147847-#("PSU|161027525v21222B11273172751L275102731327523d27f22I27f21o26o24Y21J1827F1X27f1r27F23823a26w1... oh wait")))];local F=l.h4cey;local z=l[((179507446-#("why does psu.dev attract so many ddosing retards wtf")))];local B=l[(895705031)];local a=l[(489965450)];local b=l[((#{956;722;563;550;(function(...)return 378,937;end)()}+279381520))];local X=l[((#{(function(...)return;end)()}+194089333))];local _=l[(339096913)];local k=l[(283775723)];local S=l[((401974990-#("this isn't krnl support you bonehead moron")))];local j=l["g09EHm7Hn"];local T=l[((#{}+197248074))];local Z=l.TUqrjn;local N=l[((#{669;732;406;994;}+385883734))];local H=l[(182121267)];local A=l[(372774919)];local Y=l[(861266607)];local U=l[((982646389-#("LuraphDeobfuscator.zip (oh god DMCA incoming everyone hide)")))];local J=l["CIV5HMLlA"];local function E(...)local l=({});local D=({});local s=({});local Q=i(e);local M=f(e);for l=a,c(e)-o,o do D[l]=E();end;for i=a,c(e)-o,o do local d=f(e);if(d==w)then local e=f(e);l[i]=(e~=a);elseif(d==X)then while(true)do local n=c(e);local e=c(e);local c=o;local t=(r(e,o,H)*(y^g))+n;local n=r(e,w,Y);local e=((-o)^r(e,g));if(n==a)then if(t==a)then l[i]=(e*a);break;else n=o;c=a;end;elseif(n==_)then l[i]=(t==a)and(e*(o/a))or(e*(a/a));break;end;l[i]=L(e,n-N)*(c+(t/(y^U)));break;end;elseif(d==j)then while(true)do local e=c(e);l[i]=h(x,t,t+e-o);t=t+e;break;end;elseif(d==J)then while(true)do local c=c(e);if(c==a)then l[i]=('');break;end;if(c>T)then local a,d=(''),(h(x,t,t+c-o));t=t+c;for l=o,#d,o do local l=n(u(h(d,l,l)),e);e=l%F;a=a..p[l];end;l[i]=a;else local o,a=(''),({u(x,t,t+c-o)});t=t+c;for a,l in W(a)do local l=n(l,e);e=l%F;o=o..p[l];end;l[i]=o;end;break;end;else l[i]=nil end;end;local n=c(e);for l=a,n-o,o do s[l]=({});end;for w=a,n-o,o do local n=f(e);if(n~=a)then n=n-o;local p,h,g,t,d,x=a,a,a,a,a,a;local u=r(n,o,A);if(u==C)then elseif(u==y)then t=s[(c(e))];d=(i(e));x=(f(e));elseif(u==m)then h=(i(e));t=(c(e));d=(i(e));x=(f(e));p=({});for l=o,h,o do p[l]=({[a]=f(e),[o]=i(e)});end;elseif(u==a)then h=(i(e));t=(i(e));d=(i(e));x=(f(e));elseif(u==A)then h=(i(e));t=s[(c(e))];d=(i(e));x=(f(e));elseif(u==o)then t=(c(e));d=(i(e));x=(f(e));end;if(r(n,C,C)==o)then h=l[h];end;if(r(n,k,k)==o)then g=s[c(e)];else g=s[w+o];end;if(r(n,m,m)==o)then t=l[t];end;if(r(n,B,B)==o)then d=l[d];end;if(r(n,b,b)==o)then p=({});for l=o,f(),o do p[l]=c();end;end;local l=s[w];l[-O]=d;l[S]=t;l[Z]=p;l[P]=h;l[-z]=g;l['HmG']=x;end;end;return({[-v]=l;['QwXZ']=s;[I]=D;['uW7UP7']=a;['JMSBlWm']=Q;["eC08eZP"]=M;});end;return(E(...));end;local function x(l,r,f,...)local B=0;local e=l[-256244];local s=l['QwXZ'];local c=l['eC08eZP'];local i=l["JMSBlWm"];local C=l[135832];return(function(...)local m=(M(E,...)-1);local w="HmG";local e={};local t=375338;local l=(true);local u={...};local b=({});local h=-(1);local o=-924546;local p={};local A=216676;local n=-121770;local a=459331;local l=(581259709);local s=s[B];for l=0,m,1 do if(l>=c)then p[l-c]=u[l+1];else e[l]=u[l+1];end;end;local u=m-c+1;while(true)do local l=s;local c=l[w];s=l[o];if(c<=33)then if(c<=16)then if(c<=7)then if(c<=3)then if(c<=1)then if(c>0)then local n=l[n];e[n](d(e,n+1,l[a]));for l=n+1,i do e[l]=nil;end;elseif(c<1)then e[l[n]]();end;elseif(c>2)then l=l[o];local a=l[n];h=a+u-1;for l=0,u do e[a+l]=p[l];end;for l=h+1,i do e[l]=nil;end;l=l[o];local n=l[n];do return d(e,n,h);end;l=l[o];l=l[o];elseif(c<3)then e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];e[c]=e[c]();l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=-(e[l[a]]);l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];l=l[o];end;elseif(c<=5)then if(c>4)then e[l[n]]=-(e[l[a]]);elseif(c<5)then local n=l[n];e[n]=0+(e[n]);e[n+1]=0+(e[n+1]);e[n+2]=0+(e[n+2]);local o=e[n];local t=e[n+2];if(t>0)then if(o>e[n+1])then s=l[a];else e[n+3]=o;end;elseif(o6)then e[l[n]]=f[l[a]];l=l[o];local c=l[n];local f=e[l[a]];e[c+1]=f;e[c]=f[l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];local c=l[n];local a=e[l[a]];e[c+1]=a;e[c]=a[l[t]];l=l[o];local a=l[n];local f,c=g(e[a](e[a+1]));h=c+a-1;local c=0;for l=a,h do c=c+1;e[l]=f[c];end;l=l[o];local n=l[n];local c={e[n](d(e,n+1,h));};local t=l[t];local a=0;for l=n,t do a=a+1;e[l]=c[a];end;for l=t+1,i do e[l]=nil;end;l=l[o];l=l[o];elseif(c<7)then local n=l[n];e[n](e[n+1]);for l=n,i do e[l]=nil;end;l=l[o];l=l[o];end;elseif(c<=11)then if(c<=9)then if(c>8)then e[l[n]]=e[l[a]]*e[l[t]];elseif(c<9)then e[l[n]]=e[l[a]]*l[t];end;elseif(c==10)then local l=l[n];e[l]=e[l]();elseif(c<=11)then local n=l[n];e[n]=e[n](d(e,n+1,l[a]));for l=n+1,i do e[l]=nil;end;end;elseif(c<=13)then if(c==12)then local n=l[n];e[n](e[n+1]);for l=n,i do e[l]=nil;end;l=l[o];l=l[o];elseif(c<=13)then e[l[n]]=y(256);end;elseif(c<=14)then local o=l[n];local t=l[t];local n=o+2;local o=({e[o](e[o+1],e[n]);});for l=1,t do e[n+l]=o[l];end;local o=o[1];if(o)then e[n]=o;s=l[a];end;elseif(c==15)then s=l[a];elseif(c<=16)then e[l[n]]=l[a];end;elseif(c<=24)then if(c<=20)then if(c<=18)then if(c>17)then if(e[l[n]]==l[t])then s=l[a];end;elseif(c<18)then local l=l[n];h=l+u-1;for n=0,u do e[l+n]=p[n];end;for l=h+1,i do e[l]=nil;end;end;elseif(c>19)then e[l[n]]=e[l[a]]-e[l[t]];elseif(c<20)then if(e[l[n]]==e[l[t]])then s=l[a];end;end;elseif(c<=22)then if(c>21)then local n=l[n];local a=l[a];local t=50*(l[t]-1);local o=e[n];local l=0;for a=n+1,a do o[t+l+1]=e[n+(a-n)];l=l+1;end;elseif(c<22)then local h=l[n];local c=e[l[a]];e[h+1]=c;e[h]=c[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]]-e[l[t]];l=l[o];local c=l[n];local u=({e[c](d(e,c+1,l[a]))});local s=l[t];local h=0;for l=c,s,1 do h=h+1;e[l]=u[h];end;for l=s+1,i do e[l]=nil;end;l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];local h=e[l[a]];e[c+1]=h;e[c]=h[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]]-e[l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];local h=e[l[a]];e[c+1]=h;e[c]=h[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]]-e[l[t]];l=l[o];local n=l[n];e[n]=e[n](d(e,n+1,l[a]));for l=n+1,i do e[l]=nil;end;l=l[o];l=l[o];end;elseif(c==23)then e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](e[c+1]);for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];l=l[o];elseif(c<=24)then e[l[n]]=(l[a]~=0);end;elseif(c<=28)then if(c<=26)then if(c==25)then e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];l=l[o];elseif(c<=26)then e[l[n]]=r[l[a]];end;elseif(c>27)then local n=l[n];local t=e[n+2];local o=e[n]+t;e[n]=o;if(t>0)then if(o<=e[n+1])then s=l[a];e[n+3]=o;end;elseif(o>=e[n+1])then s=l[a];e[n+3]=o;end;elseif(c<28)then local n=l[n];local o=e[l[a]];e[n+1]=o;e[n]=o[l[t]];end;elseif(c<=30)then if(c>29)then local n=l[n];local a=({e[n](d(e,n+1,l[a]))});local o=l[t];local l=0;for n=n,o,1 do l=l+1;e[n]=a[l];end;for l=o+1,i do e[l]=nil;end;elseif(c<30)then e[l[n]][l[a]]=e[l[t]];end;elseif(c<=31)then e[l[n]]=f[l[a]];elseif(c>32)then e[l[n]]=y(l[a]);elseif(c<33)then local l=l[n];e[l]=e[l](e[l+1]);for l=l+1,i do e[l]=nil;end;end;elseif(c<=50)then if(c<=41)then if(c<=37)then if(c<=35)then if(c==34)then local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]]+l[t];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]]+l[t];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]]+l[t];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]]+l[t];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];local s=e[l[a]];e[c+1]=s;e[c]=s[l[t]];l=l[o];e[l[n]]=e[l[a]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]]*e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];local c=l[n];local r=e[l[a]];e[c+1]=r;e[c]=r[l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];local f,a=g(e[c](d(e,c+1,l[a])));h=a+c-1;local a=0;for l=c,h do a=a+1;e[l]=f[a];end;l=l[o];local a=l[n];local c={e[a](d(e,a+1,h));};local t=l[t];local n=0;for l=a,t do n=n+1;e[l]=c[n];end;for l=t+1,i do e[l]=nil;end;l=l[o];l=l[o];elseif(c<=35)then l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];local f=e[l[a]];e[c+1]=f;e[c]=f[l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local n=l[n];local a=e[l[a]];e[n+1]=a;e[n]=a[l[t]];l=l[o];l=l[o];end;elseif(c==36)then e[l[n]]=l[a]/e[l[t]];elseif(c<=37)then e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];l=l[o];end;elseif(c<=39)then if(c==38)then e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local f=l[n];local c=e[l[a]];e[f+1]=c;e[f]=c[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local n=l[n];e[n]=e[n](d(e,n+1,l[a]));for l=n+1,i do e[l]=nil;end;l=l[o];l=l[o];elseif(c<=39)then local l=l[n];do return d(e,l,h);end;end;elseif(c>40)then e[l[n]]=y(l[a]);l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];l=l[o];elseif(c<41)then e[l[n]]=e[l[a]];l=l[o];l=l[o];end;elseif(c<=45)then if(c<=43)then if(c>42)then e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];l=l[o];elseif(c<43)then e[l[n]][l[a]]=l[t];end;elseif(c>44)then e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]];l=l[o];local a=l[n];e[a]=e[a](e[a+1]);for l=a+1,i do e[l]=nil;end;l=l[o];e[l[n]]();l=l[o];l=l[o];elseif(c<45)then do return;end;end;elseif(c<=47)then if(c>46)then local n=l[n];local o,l=g(e[n](d(e,n+1,l[a])));h=l+n-1;local l=0;for n=n,h do l=l+1;e[n]=o[l];end;elseif(c<47)then e[l[n]]=x(C[l[a]],(nil),f);end;elseif(c<=48)then e[l[n]]=e[l[a]][l[t]];elseif(c>49)then l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];e[c]=e[c]();l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];l=l[o];elseif(c<50)then local n=l[n];local a={e[n](d(e,n+1,h));};local o=l[t];local l=0;for n=n,o do l=l+1;e[n]=a[l];end;for l=o+1,i do e[l]=nil;end;end;elseif(c<=59)then if(c<=54)then if(c<=52)then if(c>51)then e[l[n]]=e[l[a]];elseif(c<52)then e[l[n]]=e[l[a]]+l[t];end;elseif(c==53)then l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](e[c+1]);for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](e[c+1]);for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](e[c+1]);for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]][l[a]]=l[t];l=l[o];e[l[n]]=f[l[a]];l=l[o];l=l[o];elseif(c<=54)then if(not(e[l[n]]))then s=l[a];end;end;elseif(c<=56)then if(c>55)then e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];l=l[o];elseif(c<56)then e[l[n]]=e[l[a]][e[l[t]]];end;elseif(c<=57)then local l=l[n];e[l](e[l+1]);for l=l,i do e[l]=nil;end;elseif(c==58)then e[l[n]]=#e[l[a]];elseif(c<=59)then end;elseif(c<=63)then if(c<=61)then if(c==60)then local l=l[n];local o,n=g(e[l](e[l+1]));h=n+l-1;local n=0;for l=l,h do n=n+1;e[l]=o[n];end;elseif(c<=61)then e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];e[c]=e[c]();l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=-(e[l[a]]);l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=(l[a]~=0);l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]][l[a]]=e[l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=r[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=e[l[a]]-e[l[t]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a]/e[l[t]];l=l[o];e[l[n]]=e[l[a]]*l[t];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];l=l[o];end;elseif(c>62)then e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=l[a];l=l[o];l=l[o];elseif(c<63)then local c=C[l[a]];local a=l[A];local o={};local i=Q({},{__index=function(e,l)local l=o[l];return(l[1][l[2]]);end,__newindex=function(n,l,e)local l=o[l];l[1][l[2]]=e;end;});for n=1,l[t],1 do local l=a[n];if(l[0]==0)then o[n-1]=({e,l[1]});else o[n-1]=({r,l[1]});end;b[#b+1]=o;end;e[l[n]]=x(c,i,f);end;elseif(c<=65)then if(c>64)then local a=l[a];local o=e[a];for l=a+1,l[t]do o=o..e[l];end;e[l[n]]=o;elseif(c<65)then e[l[n]]=e[l[a]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];local r=e[l[a]];e[c+1]=r;e[c]=r[l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=f[l[a]];l=l[o];local c=l[n];local f=e[l[a]];e[c+1]=f;e[c]=f[l[t]];l=l[o];e[l[n]]=l[a];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];l=l[o];end;elseif(c<=66)then e[l[n]]=e[l[a]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=f[l[a]];l=l[o];e[l[n]]=e[l[a]][l[t]];l=l[o];e[l[n]]=l[a];l=l[o];e[l[n]]=#e[l[a]];l=l[o];local c=l[n];e[c]=e[c](d(e,c+1,l[a]));for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=e[l[a]][e[l[t]]];l=l[o];local c=l[n];e[c]=e[c](e[c+1]);for l=c+1,i do e[l]=nil;end;l=l[o];e[l[n]]=l[a];l=l[o];local f=l[a];local c=e[f];for l=f+1,l[t]do c=c..e[l];end;e[l[n]]=c;l=l[o];local n=l[n];e[n](d(e,n+1,l[a]));for l=n+1,i do e[l]=nil;end;l=l[o];l=l[o];elseif(c==67)then if(e[l[n]]~=l[t])then s=l[a];end;elseif(c<=68)then if(l[n]>=e[l[t]])then s=l[a];end;end;end;end);end;return x(O(),{},k())(...);end)(({[((#{168;(function(...)return 939,580,...;end)(202)}+20151022))]=("\105");['LWUTsZFNXb']=(((#{}+20151026)));[(69470411)]=((804035410));[((283775744-#("psu == femboy hangout")))]=((8));[(982646330)]=(((147-#("uh oh everyone watch out pain exist coming in with the backspace method one dot two dot man dot"))));["g09EHm7Hn"]=((9));[((240078510-#("I'm not ignoring you, my DMs are full. Can't DM me? Shoot me a email: mem@mem.rip (Business enquiries only)")))]=(((#{}+953729407)));[(385883738)]=((1023));["egnLr0gc"]=(((#{538;965;}+88)));['RzkQCs']=(((554319125-#("please suck my cock :pleading:"))));[(271823266)]=("\110");[((257839412-#("i am not wally stop asking me for wally hub support please fuck off")))]=("\117");TUqrjn=(((216758-#("who the fuck looked at synapse xen and said 'yeah this is good enough for release'"))));[(136936383)]=((248));[(278403519)]=((135832));["g1vQC0v"]=((367780079));Mfx49F=("\101");[(554319095)]=("\107");["y6HCR"]=(((#{277;633;700;(function(...)return 252,64,7;end)()}+894283500)));[(564653246)]=((121770));[(866590023)]=("\100");[((#{(function(...)return 609;end)()}+401974947))]=(((459410-#("Are you using AztupBrew, clvbrew, or IB2? Congratulations! You're deobfuscated!"))));['CIV5HMLlA']=(((#{752;638;991;}+16)));["Ztj3lrDN"]=(((#{940;}+256243)));[(146152132)]=("\112");[((#{113;116;907;}+372774916))]=((3));[((#{(function(...)return 993,34,12,585,...;end)(244,858,692,711)}+182121259))]=((20));[((321937752-#("you dumped constants by printing the deserializer??? ladies and gentlemen stand clear we have a genius in the building.")))]=(((#{490;}+65535)));[((#{969;864;547;}+248548352))]=("\102");[((173826432-#("Are you using AztupBrew, clvbrew, or IB2? Congratulations! You're deobfuscated!")))]=((36));[((#{100;662;572;942;}+869034921))]=("\115");[(665443775)]=(((#{(function(...)return 913;end)()}+518344103)));['pEhaLO']=("\114");[(804035410)]=("\51");[((179507461-#("i am not wally stop asking me for wally hub support please fuck off")))]=(((924567-#("psu == femboy hangout"))));[(400676892)]=(((123-#("who the fuck looked at synapse xen and said 'yeah this is good enough for release'"))));[(894283506)]=("\109");[((449454307-#("@everyone designs are done. luraph website coming.... eta JULY 2020")))]=((248548355));[((#{}+339096913))]=((2047));["bYP2k6HX"]=(((#{}+825069753)));['sOIcyu0s6']=("\120");BWfClO=("\116");["d3EA45hluQ"]=("\50");[((#{136;509;999;(function(...)return;end)()}+515229075))]=("\99");[((197248114-#("still waiting for luci to fix the API :|")))]=(((5060-#("woooow u hooked an opcode, congratulations~ now suck my cock"))));[((#{(function(...)return 32;end)()}+499818309))]=((5));[((367780119-#("still waiting for luci to fix the API :|")))]=("\35");[((#{289;}+835960610))]=((146152132));[((669518647-#("this isn't krnl support you bonehead moron")))]=((271823266));CV1x5rsn=(((295-#("this isn't krnl support you bonehead moron"))));[(486147742)]=(((22-#("psu == femboy hangout"))));[((953729474-#("@everyone designs are done. luraph website coming.... eta JULY 2020")))]=("\121");[(279381526)]=(((#{926;489;(function(...)return 859,970,3,102;end)()}+1)));[(194089333)]=((48));[(270410280)]=((21));['w1xbGCyY']=((165));h4cey=(((375-#("you dumped constants by printing the deserializer??? ladies and gentlemen stand clear we have a genius in the building."))));[(540581072)]=((866590023));[(750756167)]=(((#{106;}+257839344)));[((#{455;362;251;}+825069750))]=("\104");[(895705031)]=((4));[((936850668-#("Luraph v12.6 has been released!: changed absolutely fucking nothing but donate to my patreon!")))]=((16777216));[((#{544;256;419;435;(function(...)return 477;end)()}+101132712))]=("\98");["mm1Yygc"]=(((515229108-#("please suck my cock :pleading:"))));[((#{450;}+158393723))]=((101132717));[(489965450)]=(((122-#("oh Mr. Pools, thats a little close please dont touch me there... please Mr. Pools I am only eight years old please stop..."))));["bDMke"]=("\97");[((69277933-#("you dumped constants by printing the deserializer??? ladies and gentlemen stand clear we have a genius in the building.")))]=(((375420-#("who the fuck looked at synapse xen and said 'yeah this is good enough for release'"))));[(786081961)]=(((40-#("psu 34567890fps, luraph 1fps, xen 0fps"))));[(434130539)]=(((101-#("uh oh everyone watch out pain exist coming in with the backspace method one dot two dot man dot"))));[(861266607)]=(((#{830;(function(...)return 966,...;end)(944)}+28)));[((#{}+518344104))]=("\108");["vuJlPCtPN"]=(((#{898;(function(...)return...;end)()}+31)));[(189791857)]=(((869034965-#("still waiting for luci to fix the API :|"))));rp2Lat3tDn=("\111");}),...); 2 | -------------------------------------------------------------------------------- /Vape.txt: -------------------------------------------------------------------------------- 1 | local lib = {RainbowColorValue = 0, HueSelectionPosition = 0} 2 | local UserInputService = game:GetService("UserInputService") 3 | local TweenService = game:GetService("TweenService") 4 | local RunService = game:GetService("RunService") 5 | local LocalPlayer = game:GetService("Players").LocalPlayer 6 | local Mouse = LocalPlayer:GetMouse() 7 | local PresetColor = Color3.fromRGB(44, 120, 224) 8 | local CloseBind = Enum.KeyCode.RightControl 9 | 10 | local ui = Instance.new("ScreenGui") 11 | ui.Name = "ui" 12 | ui.Parent = game.CoreGui 13 | ui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling 14 | 15 | coroutine.wrap( 16 | function() 17 | while wait() do 18 | lib.RainbowColorValue = lib.RainbowColorValue + 1 / 255 19 | lib.HueSelectionPosition = lib.HueSelectionPosition + 1 20 | 21 | if lib.RainbowColorValue >= 1 then 22 | lib.RainbowColorValue = 0 23 | end 24 | 25 | if lib.HueSelectionPosition == 80 then 26 | lib.HueSelectionPosition = 0 27 | end 28 | end 29 | end 30 | )() 31 | 32 | local function MakeDraggable(topbarobject, object) 33 | local Dragging = nil 34 | local DragInput = nil 35 | local DragStart = nil 36 | local StartPosition = nil 37 | 38 | local function Update(input) 39 | local Delta = input.Position - DragStart 40 | local pos = 41 | UDim2.new( 42 | StartPosition.X.Scale, 43 | StartPosition.X.Offset + Delta.X, 44 | StartPosition.Y.Scale, 45 | StartPosition.Y.Offset + Delta.Y 46 | ) 47 | object.Position = pos 48 | end 49 | 50 | topbarobject.InputBegan:Connect( 51 | function(input) 52 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then 53 | Dragging = true 54 | DragStart = input.Position 55 | StartPosition = object.Position 56 | 57 | input.Changed:Connect( 58 | function() 59 | if input.UserInputState == Enum.UserInputState.End then 60 | Dragging = false 61 | end 62 | end 63 | ) 64 | end 65 | end 66 | ) 67 | 68 | topbarobject.InputChanged:Connect( 69 | function(input) 70 | if 71 | input.UserInputType == Enum.UserInputType.MouseMovement or 72 | input.UserInputType == Enum.UserInputType.Touch 73 | then 74 | DragInput = input 75 | end 76 | end 77 | ) 78 | 79 | UserInputService.InputChanged:Connect( 80 | function(input) 81 | if input == DragInput and Dragging then 82 | Update(input) 83 | end 84 | end 85 | ) 86 | end 87 | 88 | function lib:Window(text, preset, closebind) 89 | CloseBind = closebind or Enum.KeyCode.RightControl 90 | PresetColor = preset or Color3.fromRGB(44, 120, 224) 91 | fs = false 92 | local Main = Instance.new("Frame") 93 | local TabHold = Instance.new("Frame") 94 | local TabHoldLayout = Instance.new("UIListLayout") 95 | local Title = Instance.new("TextLabel") 96 | local TabFolder = Instance.new("Folder") 97 | local DragFrame = Instance.new("Frame") 98 | 99 | Main.Name = "Main" 100 | Main.Parent = ui 101 | Main.AnchorPoint = Vector2.new(0.5, 0.5) 102 | Main.BackgroundColor3 = Color3.fromRGB(30, 30, 30) 103 | Main.BorderSizePixel = 0 104 | Main.Position = UDim2.new(0.5, 0, 0.5, 0) 105 | Main.Size = UDim2.new(0, 0, 0, 0) 106 | Main.ClipsDescendants = true 107 | Main.Visible = true 108 | 109 | TabHold.Name = "TabHold" 110 | TabHold.Parent = Main 111 | TabHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 112 | TabHold.BackgroundTransparency = 1.000 113 | TabHold.Position = UDim2.new(0.0339285731, 0, 0.147335425, 0) 114 | TabHold.Size = UDim2.new(0, 107, 0, 254) 115 | 116 | TabHoldLayout.Name = "TabHoldLayout" 117 | TabHoldLayout.Parent = TabHold 118 | TabHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder 119 | TabHoldLayout.Padding = UDim.new(0, 11) 120 | 121 | Title.Name = "Title" 122 | Title.Parent = Main 123 | Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 124 | Title.BackgroundTransparency = 1.000 125 | Title.Position = UDim2.new(0.0339285731, 0, 0.0564263314, 0) 126 | Title.Size = UDim2.new(0, 200, 0, 23) 127 | Title.Font = Enum.Font.GothamSemibold 128 | Title.Text = text 129 | Title.TextColor3 = Color3.fromRGB(68, 68, 68) 130 | Title.TextSize = 12.000 131 | Title.TextXAlignment = Enum.TextXAlignment.Left 132 | 133 | DragFrame.Name = "DragFrame" 134 | DragFrame.Parent = Main 135 | DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 136 | DragFrame.BackgroundTransparency = 1.000 137 | DragFrame.Size = UDim2.new(0, 560, 0, 41) 138 | 139 | Main:TweenSize(UDim2.new(0, 560, 0, 319), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .6, true) 140 | 141 | MakeDraggable(DragFrame, Main) 142 | 143 | local uitoggled = false 144 | UserInputService.InputBegan:Connect( 145 | function(io, p) 146 | if io.KeyCode == CloseBind then 147 | if uitoggled == false then 148 | uitoggled = true 149 | 150 | Main:TweenSize( 151 | UDim2.new(0, 0, 0, 0), 152 | Enum.EasingDirection.Out, 153 | Enum.EasingStyle.Quart, 154 | .6, 155 | true, 156 | function() 157 | ui.Enabled = false 158 | end 159 | ) 160 | 161 | else 162 | uitoggled = false 163 | ui.Enabled = true 164 | 165 | Main:TweenSize( 166 | UDim2.new(0, 560, 0, 319), 167 | Enum.EasingDirection.Out, 168 | Enum.EasingStyle.Quart, 169 | .6, 170 | true 171 | ) 172 | end 173 | end 174 | end 175 | ) 176 | 177 | TabFolder.Name = "TabFolder" 178 | TabFolder.Parent = Main 179 | 180 | function lib:ChangePresetColor(toch) 181 | PresetColor = toch 182 | end 183 | 184 | function lib:Notification(texttitle, textdesc, textbtn) 185 | local NotificationHold = Instance.new("TextButton") 186 | local NotificationFrame = Instance.new("Frame") 187 | local OkayBtn = Instance.new("TextButton") 188 | local OkayBtnCorner = Instance.new("UICorner") 189 | local OkayBtnTitle = Instance.new("TextLabel") 190 | local NotificationTitle = Instance.new("TextLabel") 191 | local NotificationDesc = Instance.new("TextLabel") 192 | 193 | NotificationHold.Name = "NotificationHold" 194 | NotificationHold.Parent = Main 195 | NotificationHold.BackgroundColor3 = Color3.fromRGB(0, 0, 0) 196 | NotificationHold.BackgroundTransparency = 1.000 197 | NotificationHold.BorderSizePixel = 0 198 | NotificationHold.Size = UDim2.new(0, 560, 0, 319) 199 | NotificationHold.AutoButtonColor = false 200 | NotificationHold.Font = Enum.Font.SourceSans 201 | NotificationHold.Text = "" 202 | NotificationHold.TextColor3 = Color3.fromRGB(0, 0, 0) 203 | NotificationHold.TextSize = 14.000 204 | 205 | TweenService:Create( 206 | NotificationHold, 207 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 208 | {BackgroundTransparency = 0.7} 209 | ):Play() 210 | wait(0.4) 211 | 212 | NotificationFrame.Name = "NotificationFrame" 213 | NotificationFrame.Parent = NotificationHold 214 | NotificationFrame.AnchorPoint = Vector2.new(0.5, 0.5) 215 | NotificationFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) 216 | NotificationFrame.BorderSizePixel = 0 217 | NotificationFrame.ClipsDescendants = true 218 | NotificationFrame.Position = UDim2.new(0.5, 0, 0.498432577, 0) 219 | 220 | NotificationFrame:TweenSize( 221 | UDim2.new(0, 164, 0, 193), 222 | Enum.EasingDirection.Out, 223 | Enum.EasingStyle.Quart, 224 | .6, 225 | true 226 | ) 227 | 228 | OkayBtn.Name = "OkayBtn" 229 | OkayBtn.Parent = NotificationFrame 230 | OkayBtn.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 231 | OkayBtn.Position = UDim2.new(0.0609756112, 0, 0.720207274, 0) 232 | OkayBtn.Size = UDim2.new(0, 144, 0, 42) 233 | OkayBtn.AutoButtonColor = false 234 | OkayBtn.Font = Enum.Font.SourceSans 235 | OkayBtn.Text = "" 236 | OkayBtn.TextColor3 = Color3.fromRGB(0, 0, 0) 237 | OkayBtn.TextSize = 14.000 238 | 239 | OkayBtnCorner.CornerRadius = UDim.new(0, 5) 240 | OkayBtnCorner.Name = "OkayBtnCorner" 241 | OkayBtnCorner.Parent = OkayBtn 242 | 243 | OkayBtnTitle.Name = "OkayBtnTitle" 244 | OkayBtnTitle.Parent = OkayBtn 245 | OkayBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 246 | OkayBtnTitle.BackgroundTransparency = 1.000 247 | OkayBtnTitle.Position = UDim2.new(0.0763888881, 0, 0, 0) 248 | OkayBtnTitle.Size = UDim2.new(0, 181, 0, 42) 249 | OkayBtnTitle.Font = Enum.Font.Gotham 250 | OkayBtnTitle.Text = textbtn 251 | OkayBtnTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 252 | OkayBtnTitle.TextSize = 14.000 253 | OkayBtnTitle.TextXAlignment = Enum.TextXAlignment.Left 254 | 255 | NotificationTitle.Name = "NotificationTitle" 256 | NotificationTitle.Parent = NotificationFrame 257 | NotificationTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 258 | NotificationTitle.BackgroundTransparency = 1.000 259 | NotificationTitle.Position = UDim2.new(0.0670731738, 0, 0.0829015523, 0) 260 | NotificationTitle.Size = UDim2.new(0, 143, 0, 26) 261 | NotificationTitle.Font = Enum.Font.Gotham 262 | NotificationTitle.Text = texttitle 263 | NotificationTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 264 | NotificationTitle.TextSize = 18.000 265 | NotificationTitle.TextXAlignment = Enum.TextXAlignment.Left 266 | 267 | NotificationDesc.Name = "NotificationDesc" 268 | NotificationDesc.Parent = NotificationFrame 269 | NotificationDesc.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 270 | NotificationDesc.BackgroundTransparency = 1.000 271 | NotificationDesc.Position = UDim2.new(0.0670000017, 0, 0.218999997, 0) 272 | NotificationDesc.Size = UDim2.new(0, 143, 0, 91) 273 | NotificationDesc.Font = Enum.Font.Gotham 274 | NotificationDesc.Text = textdesc 275 | NotificationDesc.TextColor3 = Color3.fromRGB(255, 255, 255) 276 | NotificationDesc.TextSize = 15.000 277 | NotificationDesc.TextWrapped = true 278 | NotificationDesc.TextXAlignment = Enum.TextXAlignment.Left 279 | NotificationDesc.TextYAlignment = Enum.TextYAlignment.Top 280 | 281 | OkayBtn.MouseEnter:Connect( 282 | function() 283 | TweenService:Create( 284 | OkayBtn, 285 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 286 | {BackgroundColor3 = Color3.fromRGB(37, 37, 37)} 287 | ):Play() 288 | end 289 | ) 290 | 291 | OkayBtn.MouseLeave:Connect( 292 | function() 293 | TweenService:Create( 294 | OkayBtn, 295 | TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 296 | {BackgroundColor3 = Color3.fromRGB(34, 34, 34)} 297 | ):Play() 298 | end 299 | ) 300 | 301 | OkayBtn.MouseButton1Click:Connect( 302 | function() 303 | NotificationFrame:TweenSize( 304 | UDim2.new(0, 0, 0, 0), 305 | Enum.EasingDirection.Out, 306 | Enum.EasingStyle.Quart, 307 | .6, 308 | true 309 | ) 310 | 311 | wait(0.4) 312 | 313 | TweenService:Create( 314 | NotificationHold, 315 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 316 | {BackgroundTransparency = 1} 317 | ):Play() 318 | 319 | wait(.3) 320 | 321 | NotificationHold:Destroy() 322 | end 323 | ) 324 | end 325 | local tabhold = {} 326 | function tabhold:Tab(text) 327 | local TabBtn = Instance.new("TextButton") 328 | local TabTitle = Instance.new("TextLabel") 329 | local TabBtnIndicator = Instance.new("Frame") 330 | local TabBtnIndicatorCorner = Instance.new("UICorner") 331 | 332 | TabBtn.Name = "TabBtn" 333 | TabBtn.Parent = TabHold 334 | TabBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 335 | TabBtn.BackgroundTransparency = 1.000 336 | TabBtn.Size = UDim2.new(0, 107, 0, 21) 337 | TabBtn.Font = Enum.Font.SourceSans 338 | TabBtn.Text = "" 339 | TabBtn.TextColor3 = Color3.fromRGB(0, 0, 0) 340 | TabBtn.TextSize = 14.000 341 | 342 | TabTitle.Name = "TabTitle" 343 | TabTitle.Parent = TabBtn 344 | TabTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 345 | TabTitle.BackgroundTransparency = 1.000 346 | TabTitle.Size = UDim2.new(0, 107, 0, 21) 347 | TabTitle.Font = Enum.Font.Gotham 348 | TabTitle.Text = text 349 | TabTitle.TextColor3 = Color3.fromRGB(150, 150, 150) 350 | TabTitle.TextSize = 14.000 351 | TabTitle.TextXAlignment = Enum.TextXAlignment.Left 352 | 353 | TabBtnIndicator.Name = "TabBtnIndicator" 354 | TabBtnIndicator.Parent = TabBtn 355 | TabBtnIndicator.BackgroundColor3 = PresetColor 356 | TabBtnIndicator.BorderSizePixel = 0 357 | TabBtnIndicator.Position = UDim2.new(0, 0, 1, 0) 358 | TabBtnIndicator.Size = UDim2.new(0, 0, 0, 2) 359 | 360 | TabBtnIndicatorCorner.Name = "TabBtnIndicatorCorner" 361 | TabBtnIndicatorCorner.Parent = TabBtnIndicator 362 | 363 | coroutine.wrap( 364 | function() 365 | while wait() do 366 | TabBtnIndicator.BackgroundColor3 = PresetColor 367 | end 368 | end 369 | )() 370 | 371 | local Tab = Instance.new("ScrollingFrame") 372 | local TabLayout = Instance.new("UIListLayout") 373 | 374 | Tab.Name = "Tab" 375 | Tab.Parent = TabFolder 376 | Tab.Active = true 377 | Tab.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 378 | Tab.BackgroundTransparency = 1.000 379 | Tab.BorderSizePixel = 0 380 | Tab.Position = UDim2.new(0.31400001, 0, 0.147, 0) 381 | Tab.Size = UDim2.new(0, 373, 0, 254) 382 | Tab.CanvasSize = UDim2.new(0, 0, 0, 0) 383 | Tab.ScrollBarThickness = 3 384 | Tab.Visible = false 385 | 386 | TabLayout.Name = "TabLayout" 387 | TabLayout.Parent = Tab 388 | TabLayout.SortOrder = Enum.SortOrder.LayoutOrder 389 | TabLayout.Padding = UDim.new(0, 6) 390 | 391 | if fs == false then 392 | fs = true 393 | TabBtnIndicator.Size = UDim2.new(0, 13, 0, 2) 394 | TabTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 395 | Tab.Visible = true 396 | end 397 | 398 | TabBtn.MouseButton1Click:Connect( 399 | function() 400 | for i, v in next, TabFolder:GetChildren() do 401 | if v.Name == "Tab" then 402 | v.Visible = false 403 | end 404 | Tab.Visible = true 405 | end 406 | for i, v in next, TabHold:GetChildren() do 407 | if v.Name == "TabBtn" then 408 | v.TabBtnIndicator:TweenSize( 409 | UDim2.new(0, 0, 0, 2), 410 | Enum.EasingDirection.Out, 411 | Enum.EasingStyle.Quart, 412 | .2, 413 | true 414 | ) 415 | TabBtnIndicator:TweenSize( 416 | UDim2.new(0, 13, 0, 2), 417 | Enum.EasingDirection.Out, 418 | Enum.EasingStyle.Quart, 419 | .2, 420 | true 421 | ) 422 | TweenService:Create( 423 | v.TabTitle, 424 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 425 | {TextColor3 = Color3.fromRGB(150, 150, 150)} 426 | ):Play() 427 | TweenService:Create( 428 | TabTitle, 429 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 430 | {TextColor3 = Color3.fromRGB(255, 255, 255)} 431 | ):Play() 432 | end 433 | end 434 | end 435 | ) 436 | local tabcontent = {} 437 | function tabcontent:Button(text, callback) 438 | local Button = Instance.new("TextButton") 439 | local ButtonCorner = Instance.new("UICorner") 440 | local ButtonTitle = Instance.new("TextLabel") 441 | 442 | Button.Name = "Button" 443 | Button.Parent = Tab 444 | Button.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 445 | Button.Size = UDim2.new(0, 363, 0, 42) 446 | Button.AutoButtonColor = false 447 | Button.Font = Enum.Font.SourceSans 448 | Button.Text = "" 449 | Button.TextColor3 = Color3.fromRGB(0, 0, 0) 450 | Button.TextSize = 14.000 451 | 452 | ButtonCorner.CornerRadius = UDim.new(0, 5) 453 | ButtonCorner.Name = "ButtonCorner" 454 | ButtonCorner.Parent = Button 455 | 456 | ButtonTitle.Name = "ButtonTitle" 457 | ButtonTitle.Parent = Button 458 | ButtonTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 459 | ButtonTitle.BackgroundTransparency = 1.000 460 | ButtonTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 461 | ButtonTitle.Size = UDim2.new(0, 187, 0, 42) 462 | ButtonTitle.Font = Enum.Font.Gotham 463 | ButtonTitle.Text = text 464 | ButtonTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 465 | ButtonTitle.TextSize = 14.000 466 | ButtonTitle.TextXAlignment = Enum.TextXAlignment.Left 467 | 468 | Button.MouseEnter:Connect( 469 | function() 470 | TweenService:Create( 471 | Button, 472 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 473 | {BackgroundColor3 = Color3.fromRGB(37, 37, 37)} 474 | ):Play() 475 | end 476 | ) 477 | 478 | Button.MouseLeave:Connect( 479 | function() 480 | TweenService:Create( 481 | Button, 482 | TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 483 | {BackgroundColor3 = Color3.fromRGB(34, 34, 34)} 484 | ):Play() 485 | end 486 | ) 487 | 488 | Button.MouseButton1Click:Connect( 489 | function() 490 | pcall(callback) 491 | end 492 | ) 493 | 494 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 495 | end 496 | function tabcontent:Toggle(text,default, callback) 497 | local toggled = false 498 | 499 | local Toggle = Instance.new("TextButton") 500 | local ToggleCorner = Instance.new("UICorner") 501 | local ToggleTitle = Instance.new("TextLabel") 502 | local FrameToggle1 = Instance.new("Frame") 503 | local FrameToggle1Corner = Instance.new("UICorner") 504 | local FrameToggle2 = Instance.new("Frame") 505 | local FrameToggle2Corner = Instance.new("UICorner") 506 | local FrameToggle3 = Instance.new("Frame") 507 | local FrameToggle3Corner = Instance.new("UICorner") 508 | local FrameToggleCircle = Instance.new("Frame") 509 | local FrameToggleCircleCorner = Instance.new("UICorner") 510 | 511 | Toggle.Name = "Toggle" 512 | Toggle.Parent = Tab 513 | Toggle.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 514 | Toggle.Position = UDim2.new(0.215625003, 0, 0.446271926, 0) 515 | Toggle.Size = UDim2.new(0, 363, 0, 42) 516 | Toggle.AutoButtonColor = false 517 | Toggle.Font = Enum.Font.SourceSans 518 | Toggle.Text = "" 519 | Toggle.TextColor3 = Color3.fromRGB(0, 0, 0) 520 | Toggle.TextSize = 14.000 521 | 522 | ToggleCorner.CornerRadius = UDim.new(0, 5) 523 | ToggleCorner.Name = "ToggleCorner" 524 | ToggleCorner.Parent = Toggle 525 | 526 | ToggleTitle.Name = "ToggleTitle" 527 | ToggleTitle.Parent = Toggle 528 | ToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 529 | ToggleTitle.BackgroundTransparency = 1.000 530 | ToggleTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 531 | ToggleTitle.Size = UDim2.new(0, 187, 0, 42) 532 | ToggleTitle.Font = Enum.Font.Gotham 533 | ToggleTitle.Text = text 534 | ToggleTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 535 | ToggleTitle.TextSize = 14.000 536 | ToggleTitle.TextXAlignment = Enum.TextXAlignment.Left 537 | 538 | FrameToggle1.Name = "FrameToggle1" 539 | FrameToggle1.Parent = Toggle 540 | FrameToggle1.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 541 | FrameToggle1.Position = UDim2.new(0.859504104, 0, 0.285714298, 0) 542 | FrameToggle1.Size = UDim2.new(0, 37, 0, 18) 543 | 544 | FrameToggle1Corner.Name = "FrameToggle1Corner" 545 | FrameToggle1Corner.Parent = FrameToggle1 546 | 547 | FrameToggle2.Name = "FrameToggle2" 548 | FrameToggle2.Parent = FrameToggle1 549 | FrameToggle2.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 550 | FrameToggle2.Position = UDim2.new(0.0489999987, 0, 0.0930000022, 0) 551 | FrameToggle2.Size = UDim2.new(0, 33, 0, 14) 552 | 553 | FrameToggle2Corner.Name = "FrameToggle2Corner" 554 | FrameToggle2Corner.Parent = FrameToggle2 555 | 556 | FrameToggle3.Name = "FrameToggle3" 557 | FrameToggle3.Parent = FrameToggle1 558 | FrameToggle3.BackgroundColor3 = PresetColor 559 | FrameToggle3.BackgroundTransparency = 1.000 560 | FrameToggle3.Size = UDim2.new(0, 37, 0, 18) 561 | 562 | FrameToggle3Corner.Name = "FrameToggle3Corner" 563 | FrameToggle3Corner.Parent = FrameToggle3 564 | 565 | FrameToggleCircle.Name = "FrameToggleCircle" 566 | FrameToggleCircle.Parent = FrameToggle1 567 | FrameToggleCircle.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 568 | FrameToggleCircle.Position = UDim2.new(0.127000004, 0, 0.222000003, 0) 569 | FrameToggleCircle.Size = UDim2.new(0, 10, 0, 10) 570 | 571 | FrameToggleCircleCorner.Name = "FrameToggleCircleCorner" 572 | FrameToggleCircleCorner.Parent = FrameToggleCircle 573 | 574 | coroutine.wrap( 575 | function() 576 | while wait() do 577 | FrameToggle3.BackgroundColor3 = PresetColor 578 | end 579 | end 580 | )() 581 | 582 | Toggle.MouseButton1Click:Connect( 583 | function() 584 | if toggled == false then 585 | TweenService:Create( 586 | Toggle, 587 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 588 | {BackgroundColor3 = Color3.fromRGB(37, 37, 37)} 589 | ):Play() 590 | TweenService:Create( 591 | FrameToggle1, 592 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 593 | {BackgroundTransparency = 1} 594 | ):Play() 595 | TweenService:Create( 596 | FrameToggle2, 597 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 598 | {BackgroundTransparency = 1} 599 | ):Play() 600 | TweenService:Create( 601 | FrameToggle3, 602 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 603 | {BackgroundTransparency = 0} 604 | ):Play() 605 | TweenService:Create( 606 | FrameToggleCircle, 607 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 608 | {BackgroundColor3 = Color3.fromRGB(255, 255, 255)} 609 | ):Play() 610 | FrameToggleCircle:TweenPosition( 611 | UDim2.new(0.587, 0, 0.222000003, 0), 612 | Enum.EasingDirection.Out, 613 | Enum.EasingStyle.Quart, 614 | .2, 615 | true 616 | ) 617 | else 618 | TweenService:Create( 619 | Toggle, 620 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 621 | {BackgroundColor3 = Color3.fromRGB(34, 34, 34)} 622 | ):Play() 623 | TweenService:Create( 624 | FrameToggle1, 625 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 626 | {BackgroundTransparency = 0} 627 | ):Play() 628 | TweenService:Create( 629 | FrameToggle2, 630 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 631 | {BackgroundTransparency = 0} 632 | ):Play() 633 | TweenService:Create( 634 | FrameToggle3, 635 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 636 | {BackgroundTransparency = 1} 637 | ):Play() 638 | TweenService:Create( 639 | FrameToggleCircle, 640 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 641 | {BackgroundColor3 = Color3.fromRGB(50, 50, 50)} 642 | ):Play() 643 | FrameToggleCircle:TweenPosition( 644 | UDim2.new(0.127000004, 0, 0.222000003, 0), 645 | Enum.EasingDirection.Out, 646 | Enum.EasingStyle.Quart, 647 | .2, 648 | true 649 | ) 650 | end 651 | toggled = not toggled 652 | pcall(callback, toggled) 653 | end 654 | ) 655 | 656 | if default == true then 657 | TweenService:Create( 658 | Toggle, 659 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 660 | {BackgroundColor3 = Color3.fromRGB(37, 37, 37)} 661 | ):Play() 662 | TweenService:Create( 663 | FrameToggle1, 664 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 665 | {BackgroundTransparency = 1} 666 | ):Play() 667 | TweenService:Create( 668 | FrameToggle2, 669 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 670 | {BackgroundTransparency = 1} 671 | ):Play() 672 | TweenService:Create( 673 | FrameToggle3, 674 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 675 | {BackgroundTransparency = 0} 676 | ):Play() 677 | TweenService:Create( 678 | FrameToggleCircle, 679 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 680 | {BackgroundColor3 = Color3.fromRGB(255, 255, 255)} 681 | ):Play() 682 | FrameToggleCircle:TweenPosition( 683 | UDim2.new(0.587, 0, 0.222000003, 0), 684 | Enum.EasingDirection.Out, 685 | Enum.EasingStyle.Quart, 686 | .2, 687 | true 688 | ) 689 | toggled = not toggled 690 | end 691 | 692 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 693 | end 694 | function tabcontent:Slider(text, min, max, start, callback) 695 | local dragging = false 696 | local Slider = Instance.new("TextButton") 697 | local SliderCorner = Instance.new("UICorner") 698 | local SliderTitle = Instance.new("TextLabel") 699 | local SliderValue = Instance.new("TextLabel") 700 | local SlideFrame = Instance.new("Frame") 701 | local CurrentValueFrame = Instance.new("Frame") 702 | local SlideCircle = Instance.new("ImageButton") 703 | 704 | Slider.Name = "Slider" 705 | Slider.Parent = Tab 706 | Slider.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 707 | Slider.Position = UDim2.new(-0.48035714, 0, -0.570532918, 0) 708 | Slider.Size = UDim2.new(0, 363, 0, 60) 709 | Slider.AutoButtonColor = false 710 | Slider.Font = Enum.Font.SourceSans 711 | Slider.Text = "" 712 | Slider.TextColor3 = Color3.fromRGB(0, 0, 0) 713 | Slider.TextSize = 14.000 714 | 715 | SliderCorner.CornerRadius = UDim.new(0, 5) 716 | SliderCorner.Name = "SliderCorner" 717 | SliderCorner.Parent = Slider 718 | 719 | SliderTitle.Name = "SliderTitle" 720 | SliderTitle.Parent = Slider 721 | SliderTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 722 | SliderTitle.BackgroundTransparency = 1.000 723 | SliderTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 724 | SliderTitle.Size = UDim2.new(0, 187, 0, 42) 725 | SliderTitle.Font = Enum.Font.Gotham 726 | SliderTitle.Text = text 727 | SliderTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 728 | SliderTitle.TextSize = 14.000 729 | SliderTitle.TextXAlignment = Enum.TextXAlignment.Left 730 | 731 | SliderValue.Name = "SliderValue" 732 | SliderValue.Parent = Slider 733 | SliderValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 734 | SliderValue.BackgroundTransparency = 1.000 735 | SliderValue.Position = UDim2.new(0.0358126722, 0, 0, 0) 736 | SliderValue.Size = UDim2.new(0, 335, 0, 42) 737 | SliderValue.Font = Enum.Font.Gotham 738 | SliderValue.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0) 739 | SliderValue.TextColor3 = Color3.fromRGB(255, 255, 255) 740 | SliderValue.TextSize = 14.000 741 | SliderValue.TextXAlignment = Enum.TextXAlignment.Right 742 | 743 | SlideFrame.Name = "SlideFrame" 744 | SlideFrame.Parent = Slider 745 | SlideFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 746 | SlideFrame.BorderSizePixel = 0 747 | SlideFrame.Position = UDim2.new(0.0342647657, 0, 0.686091602, 0) 748 | SlideFrame.Size = UDim2.new(0, 335, 0, 3) 749 | 750 | CurrentValueFrame.Name = "CurrentValueFrame" 751 | CurrentValueFrame.Parent = SlideFrame 752 | CurrentValueFrame.BackgroundColor3 = PresetColor 753 | CurrentValueFrame.BorderSizePixel = 0 754 | CurrentValueFrame.Size = UDim2.new((start or 0) / max, 0, 0, 3) 755 | 756 | SlideCircle.Name = "SlideCircle" 757 | SlideCircle.Parent = SlideFrame 758 | SlideCircle.BackgroundColor3 = PresetColor 759 | SlideCircle.BackgroundTransparency = 1.000 760 | SlideCircle.Position = UDim2.new((start or 0) / max, -6, -1.30499995, 0) 761 | SlideCircle.Size = UDim2.new(0, 11, 0, 11) 762 | SlideCircle.Image = "rbxassetid://3570695787" 763 | SlideCircle.ImageColor3 = PresetColor 764 | 765 | coroutine.wrap( 766 | function() 767 | while wait() do 768 | CurrentValueFrame.BackgroundColor3 = PresetColor 769 | SlideCircle.ImageColor3 = PresetColor 770 | end 771 | end 772 | )() 773 | 774 | local function move(input) 775 | local pos = 776 | UDim2.new( 777 | math.clamp((input.Position.X - SlideFrame.AbsolutePosition.X) / SlideFrame.AbsoluteSize.X, 0, 1), 778 | -6, 779 | -1.30499995, 780 | 0 781 | ) 782 | local pos1 = 783 | UDim2.new( 784 | math.clamp((input.Position.X - SlideFrame.AbsolutePosition.X) / SlideFrame.AbsoluteSize.X, 0, 1), 785 | 0, 786 | 0, 787 | 3 788 | ) 789 | CurrentValueFrame:TweenSize(pos1, "Out", "Sine", 0.1, true) 790 | SlideCircle:TweenPosition(pos, "Out", "Sine", 0.1, true) 791 | local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min) 792 | SliderValue.Text = tostring(value) 793 | pcall(callback, value) 794 | end 795 | SlideCircle.InputBegan:Connect( 796 | function(input) 797 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 798 | dragging = true 799 | end 800 | end 801 | ) 802 | SlideCircle.InputEnded:Connect( 803 | function(input) 804 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 805 | dragging = false 806 | end 807 | end 808 | ) 809 | game:GetService("UserInputService").InputChanged:Connect( 810 | function(input) 811 | if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then 812 | move(input) 813 | end 814 | end 815 | ) 816 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 817 | end 818 | function tabcontent:Dropdown(text, list, callback) 819 | local droptog = false 820 | local framesize = 0 821 | local itemcount = 0 822 | 823 | local Dropdown = Instance.new("Frame") 824 | local DropdownCorner = Instance.new("UICorner") 825 | local DropdownBtn = Instance.new("TextButton") 826 | local DropdownTitle = Instance.new("TextLabel") 827 | local ArrowImg = Instance.new("ImageLabel") 828 | local DropItemHolder = Instance.new("ScrollingFrame") 829 | local DropLayout = Instance.new("UIListLayout") 830 | 831 | Dropdown.Name = "Dropdown" 832 | Dropdown.Parent = Tab 833 | Dropdown.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 834 | Dropdown.ClipsDescendants = true 835 | Dropdown.Position = UDim2.new(-0.541071415, 0, -0.532915354, 0) 836 | Dropdown.Size = UDim2.new(0, 363, 0, 42) 837 | 838 | DropdownCorner.CornerRadius = UDim.new(0, 5) 839 | DropdownCorner.Name = "DropdownCorner" 840 | DropdownCorner.Parent = Dropdown 841 | 842 | DropdownBtn.Name = "DropdownBtn" 843 | DropdownBtn.Parent = Dropdown 844 | DropdownBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 845 | DropdownBtn.BackgroundTransparency = 1.000 846 | DropdownBtn.Size = UDim2.new(0, 363, 0, 42) 847 | DropdownBtn.Font = Enum.Font.SourceSans 848 | DropdownBtn.Text = "" 849 | DropdownBtn.TextColor3 = Color3.fromRGB(0, 0, 0) 850 | DropdownBtn.TextSize = 14.000 851 | 852 | DropdownTitle.Name = "DropdownTitle" 853 | DropdownTitle.Parent = Dropdown 854 | DropdownTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 855 | DropdownTitle.BackgroundTransparency = 1.000 856 | DropdownTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 857 | DropdownTitle.Size = UDim2.new(0, 187, 0, 42) 858 | DropdownTitle.Font = Enum.Font.Gotham 859 | DropdownTitle.Text = text 860 | DropdownTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 861 | DropdownTitle.TextSize = 14.000 862 | DropdownTitle.TextXAlignment = Enum.TextXAlignment.Left 863 | 864 | ArrowImg.Name = "ArrowImg" 865 | ArrowImg.Parent = DropdownTitle 866 | ArrowImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 867 | ArrowImg.BackgroundTransparency = 1.000 868 | ArrowImg.Position = UDim2.new(1.65240645, 0, 0.190476194, 0) 869 | ArrowImg.Size = UDim2.new(0, 26, 0, 26) 870 | ArrowImg.Image = "http://www.roblox.com/asset/?id=6034818375" 871 | 872 | DropItemHolder.Name = "DropItemHolder" 873 | DropItemHolder.Parent = DropdownTitle 874 | DropItemHolder.Active = true 875 | DropItemHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 876 | DropItemHolder.BackgroundTransparency = 1.000 877 | DropItemHolder.BorderSizePixel = 0 878 | DropItemHolder.Position = UDim2.new(-0.00400000019, 0, 1.04999995, 0) 879 | DropItemHolder.Size = UDim2.new(0, 342, 0, 0) 880 | DropItemHolder.CanvasSize = UDim2.new(0, 0, 0, 0) 881 | DropItemHolder.ScrollBarThickness = 3 882 | 883 | DropLayout.Name = "DropLayout" 884 | DropLayout.Parent = DropItemHolder 885 | DropLayout.SortOrder = Enum.SortOrder.LayoutOrder 886 | 887 | DropdownBtn.MouseButton1Click:Connect( 888 | function() 889 | if droptog == false then 890 | Dropdown:TweenSize( 891 | UDim2.new(0, 363, 0, 55 + framesize), 892 | Enum.EasingDirection.Out, 893 | Enum.EasingStyle.Quart, 894 | .2, 895 | true 896 | ) 897 | TweenService:Create( 898 | ArrowImg, 899 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 900 | {Rotation = 270} 901 | ):Play() 902 | wait(.2) 903 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 904 | else 905 | Dropdown:TweenSize( 906 | UDim2.new(0, 363, 0, 42), 907 | Enum.EasingDirection.Out, 908 | Enum.EasingStyle.Quart, 909 | .2, 910 | true 911 | ) 912 | TweenService:Create( 913 | ArrowImg, 914 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 915 | {Rotation = 0} 916 | ):Play() 917 | wait(.2) 918 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 919 | end 920 | droptog = not droptog 921 | end 922 | ) 923 | 924 | for i, v in next, list do 925 | itemcount = itemcount + 1 926 | if itemcount <= 3 then 927 | framesize = framesize + 26 928 | DropItemHolder.Size = UDim2.new(0, 342, 0, framesize) 929 | end 930 | local Item = Instance.new("TextButton") 931 | local ItemCorner = Instance.new("UICorner") 932 | 933 | Item.Name = "Item" 934 | Item.Parent = DropItemHolder 935 | Item.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 936 | Item.ClipsDescendants = true 937 | Item.Size = UDim2.new(0, 335, 0, 25) 938 | Item.AutoButtonColor = false 939 | Item.Font = Enum.Font.Gotham 940 | Item.Text = v 941 | Item.TextColor3 = Color3.fromRGB(255, 255, 255) 942 | Item.TextSize = 15.000 943 | 944 | ItemCorner.CornerRadius = UDim.new(0, 4) 945 | ItemCorner.Name = "ItemCorner" 946 | ItemCorner.Parent = Item 947 | 948 | Item.MouseEnter:Connect( 949 | function() 950 | TweenService:Create( 951 | Item, 952 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 953 | {BackgroundColor3 = Color3.fromRGB(37, 37, 37)} 954 | ):Play() 955 | end 956 | ) 957 | 958 | Item.MouseLeave:Connect( 959 | function() 960 | TweenService:Create( 961 | Item, 962 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 963 | {BackgroundColor3 = Color3.fromRGB(34, 34, 34)} 964 | ):Play() 965 | end 966 | ) 967 | 968 | Item.MouseButton1Click:Connect( 969 | function() 970 | droptog = not droptog 971 | DropdownTitle.Text = text .. " - " .. v 972 | pcall(callback, v) 973 | Dropdown:TweenSize( 974 | UDim2.new(0, 363, 0, 42), 975 | Enum.EasingDirection.Out, 976 | Enum.EasingStyle.Quart, 977 | .2, 978 | true 979 | ) 980 | TweenService:Create( 981 | ArrowImg, 982 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 983 | {Rotation = 0} 984 | ):Play() 985 | wait(.2) 986 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 987 | end 988 | ) 989 | 990 | DropItemHolder.CanvasSize = UDim2.new(0, 0, 0, DropLayout.AbsoluteContentSize.Y) 991 | end 992 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 993 | end 994 | function tabcontent:Colorpicker(text, preset, callback) 995 | local ColorPickerToggled = false 996 | local OldToggleColor = Color3.fromRGB(0, 0, 0) 997 | local OldColor = Color3.fromRGB(0, 0, 0) 998 | local OldColorSelectionPosition = nil 999 | local OldHueSelectionPosition = nil 1000 | local ColorH, ColorS, ColorV = 1, 1, 1 1001 | local RainbowColorPicker = false 1002 | local ColorPickerInput = nil 1003 | local ColorInput = nil 1004 | local HueInput = nil 1005 | 1006 | local Colorpicker = Instance.new("Frame") 1007 | local ColorpickerCorner = Instance.new("UICorner") 1008 | local ColorpickerTitle = Instance.new("TextLabel") 1009 | local BoxColor = Instance.new("Frame") 1010 | local BoxColorCorner = Instance.new("UICorner") 1011 | local ConfirmBtn = Instance.new("TextButton") 1012 | local ConfirmBtnCorner = Instance.new("UICorner") 1013 | local ConfirmBtnTitle = Instance.new("TextLabel") 1014 | local ColorpickerBtn = Instance.new("TextButton") 1015 | local RainbowToggle = Instance.new("TextButton") 1016 | local RainbowToggleCorner = Instance.new("UICorner") 1017 | local RainbowToggleTitle = Instance.new("TextLabel") 1018 | local FrameRainbowToggle1 = Instance.new("Frame") 1019 | local FrameRainbowToggle1Corner = Instance.new("UICorner") 1020 | local FrameRainbowToggle2 = Instance.new("Frame") 1021 | local FrameRainbowToggle2_2 = Instance.new("UICorner") 1022 | local FrameRainbowToggle3 = Instance.new("Frame") 1023 | local FrameToggle3 = Instance.new("UICorner") 1024 | local FrameRainbowToggleCircle = Instance.new("Frame") 1025 | local FrameRainbowToggleCircleCorner = Instance.new("UICorner") 1026 | local Color = Instance.new("ImageLabel") 1027 | local ColorCorner = Instance.new("UICorner") 1028 | local ColorSelection = Instance.new("ImageLabel") 1029 | local Hue = Instance.new("ImageLabel") 1030 | local HueCorner = Instance.new("UICorner") 1031 | local HueGradient = Instance.new("UIGradient") 1032 | local HueSelection = Instance.new("ImageLabel") 1033 | 1034 | Colorpicker.Name = "Colorpicker" 1035 | Colorpicker.Parent = Tab 1036 | Colorpicker.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1037 | Colorpicker.ClipsDescendants = true 1038 | Colorpicker.Position = UDim2.new(-0.541071415, 0, -0.532915354, 0) 1039 | Colorpicker.Size = UDim2.new(0, 363, 0, 42) 1040 | 1041 | ColorpickerCorner.CornerRadius = UDim.new(0, 5) 1042 | ColorpickerCorner.Name = "ColorpickerCorner" 1043 | ColorpickerCorner.Parent = Colorpicker 1044 | 1045 | ColorpickerTitle.Name = "ColorpickerTitle" 1046 | ColorpickerTitle.Parent = Colorpicker 1047 | ColorpickerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1048 | ColorpickerTitle.BackgroundTransparency = 1.000 1049 | ColorpickerTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 1050 | ColorpickerTitle.Size = UDim2.new(0, 187, 0, 42) 1051 | ColorpickerTitle.Font = Enum.Font.Gotham 1052 | ColorpickerTitle.Text = text 1053 | ColorpickerTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1054 | ColorpickerTitle.TextSize = 14.000 1055 | ColorpickerTitle.TextXAlignment = Enum.TextXAlignment.Left 1056 | 1057 | BoxColor.Name = "BoxColor" 1058 | BoxColor.Parent = ColorpickerTitle 1059 | BoxColor.BackgroundColor3 = Color3.fromRGB(255, 0, 4) 1060 | BoxColor.Position = UDim2.new(1.60427809, 0, 0.214285716, 0) 1061 | BoxColor.Size = UDim2.new(0, 41, 0, 23) 1062 | 1063 | BoxColorCorner.CornerRadius = UDim.new(0, 5) 1064 | BoxColorCorner.Name = "BoxColorCorner" 1065 | BoxColorCorner.Parent = BoxColor 1066 | 1067 | ConfirmBtn.Name = "ConfirmBtn" 1068 | ConfirmBtn.Parent = ColorpickerTitle 1069 | ConfirmBtn.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1070 | ConfirmBtn.Position = UDim2.new(1.25814295, 0, 1.09037197, 0) 1071 | ConfirmBtn.Size = UDim2.new(0, 105, 0, 32) 1072 | ConfirmBtn.AutoButtonColor = false 1073 | ConfirmBtn.Font = Enum.Font.SourceSans 1074 | ConfirmBtn.Text = "" 1075 | ConfirmBtn.TextColor3 = Color3.fromRGB(0, 0, 0) 1076 | ConfirmBtn.TextSize = 14.000 1077 | 1078 | ConfirmBtnCorner.CornerRadius = UDim.new(0, 5) 1079 | ConfirmBtnCorner.Name = "ConfirmBtnCorner" 1080 | ConfirmBtnCorner.Parent = ConfirmBtn 1081 | 1082 | ConfirmBtnTitle.Name = "ConfirmBtnTitle" 1083 | ConfirmBtnTitle.Parent = ConfirmBtn 1084 | ConfirmBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1085 | ConfirmBtnTitle.BackgroundTransparency = 1.000 1086 | ConfirmBtnTitle.Size = UDim2.new(0, 33, 0, 32) 1087 | ConfirmBtnTitle.Font = Enum.Font.Gotham 1088 | ConfirmBtnTitle.Text = "Confirm" 1089 | ConfirmBtnTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1090 | ConfirmBtnTitle.TextSize = 14.000 1091 | ConfirmBtnTitle.TextXAlignment = Enum.TextXAlignment.Left 1092 | 1093 | ColorpickerBtn.Name = "ColorpickerBtn" 1094 | ColorpickerBtn.Parent = ColorpickerTitle 1095 | ColorpickerBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1096 | ColorpickerBtn.BackgroundTransparency = 1.000 1097 | ColorpickerBtn.Size = UDim2.new(0, 363, 0, 42) 1098 | ColorpickerBtn.Font = Enum.Font.SourceSans 1099 | ColorpickerBtn.Text = "" 1100 | ColorpickerBtn.TextColor3 = Color3.fromRGB(0, 0, 0) 1101 | ColorpickerBtn.TextSize = 14.000 1102 | 1103 | RainbowToggle.Name = "RainbowToggle" 1104 | RainbowToggle.Parent = ColorpickerTitle 1105 | RainbowToggle.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1106 | RainbowToggle.Position = UDim2.new(1.26349044, 0, 2.12684202, 0) 1107 | RainbowToggle.Size = UDim2.new(0, 104, 0, 32) 1108 | RainbowToggle.AutoButtonColor = false 1109 | RainbowToggle.Font = Enum.Font.SourceSans 1110 | RainbowToggle.Text = "" 1111 | RainbowToggle.TextColor3 = Color3.fromRGB(0, 0, 0) 1112 | RainbowToggle.TextSize = 14.000 1113 | 1114 | RainbowToggleCorner.CornerRadius = UDim.new(0, 5) 1115 | RainbowToggleCorner.Name = "RainbowToggleCorner" 1116 | RainbowToggleCorner.Parent = RainbowToggle 1117 | 1118 | RainbowToggleTitle.Name = "RainbowToggleTitle" 1119 | RainbowToggleTitle.Parent = RainbowToggle 1120 | RainbowToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1121 | RainbowToggleTitle.BackgroundTransparency = 1.000 1122 | RainbowToggleTitle.Size = UDim2.new(0, 33, 0, 32) 1123 | RainbowToggleTitle.Font = Enum.Font.Gotham 1124 | RainbowToggleTitle.Text = "Rainbow" 1125 | RainbowToggleTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1126 | RainbowToggleTitle.TextSize = 14.000 1127 | RainbowToggleTitle.TextXAlignment = Enum.TextXAlignment.Left 1128 | 1129 | FrameRainbowToggle1.Name = "FrameRainbowToggle1" 1130 | FrameRainbowToggle1.Parent = RainbowToggle 1131 | FrameRainbowToggle1.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 1132 | FrameRainbowToggle1.Position = UDim2.new(0.649999976, 0, 0.186000004, 0) 1133 | FrameRainbowToggle1.Size = UDim2.new(0, 37, 0, 18) 1134 | 1135 | FrameRainbowToggle1Corner.Name = "FrameRainbowToggle1Corner" 1136 | FrameRainbowToggle1Corner.Parent = FrameRainbowToggle1 1137 | 1138 | FrameRainbowToggle2.Name = "FrameRainbowToggle2" 1139 | FrameRainbowToggle2.Parent = FrameRainbowToggle1 1140 | FrameRainbowToggle2.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1141 | FrameRainbowToggle2.Position = UDim2.new(0.0590000004, 0, 0.112999998, 0) 1142 | FrameRainbowToggle2.Size = UDim2.new(0, 33, 0, 14) 1143 | 1144 | FrameRainbowToggle2_2.Name = "FrameRainbowToggle2" 1145 | FrameRainbowToggle2_2.Parent = FrameRainbowToggle2 1146 | 1147 | FrameRainbowToggle3.Name = "FrameRainbowToggle3" 1148 | FrameRainbowToggle3.Parent = FrameRainbowToggle1 1149 | FrameRainbowToggle3.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1150 | FrameRainbowToggle3.BackgroundTransparency = 1.000 1151 | FrameRainbowToggle3.Size = UDim2.new(0, 37, 0, 18) 1152 | 1153 | FrameToggle3.Name = "FrameToggle3" 1154 | FrameToggle3.Parent = FrameRainbowToggle3 1155 | 1156 | FrameRainbowToggleCircle.Name = "FrameRainbowToggleCircle" 1157 | FrameRainbowToggleCircle.Parent = FrameRainbowToggle1 1158 | FrameRainbowToggleCircle.BackgroundColor3 = Color3.fromRGB(50, 50, 50) 1159 | FrameRainbowToggleCircle.Position = UDim2.new(0.127000004, 0, 0.222000003, 0) 1160 | FrameRainbowToggleCircle.Size = UDim2.new(0, 10, 0, 10) 1161 | 1162 | FrameRainbowToggleCircleCorner.Name = "FrameRainbowToggleCircleCorner" 1163 | FrameRainbowToggleCircleCorner.Parent = FrameRainbowToggleCircle 1164 | 1165 | Color.Name = "Color" 1166 | Color.Parent = ColorpickerTitle 1167 | Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4) 1168 | Color.Position = UDim2.new(0, 0, 0, 42) 1169 | Color.Size = UDim2.new(0, 194, 0, 80) 1170 | Color.ZIndex = 10 1171 | Color.Image = "rbxassetid://4155801252" 1172 | 1173 | ColorCorner.CornerRadius = UDim.new(0, 3) 1174 | ColorCorner.Name = "ColorCorner" 1175 | ColorCorner.Parent = Color 1176 | 1177 | ColorSelection.Name = "ColorSelection" 1178 | ColorSelection.Parent = Color 1179 | ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5) 1180 | ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1181 | ColorSelection.BackgroundTransparency = 1.000 1182 | ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset))) 1183 | ColorSelection.Size = UDim2.new(0, 18, 0, 18) 1184 | ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000" 1185 | ColorSelection.ScaleType = Enum.ScaleType.Fit 1186 | ColorSelection.Visible = false 1187 | 1188 | Hue.Name = "Hue" 1189 | Hue.Parent = ColorpickerTitle 1190 | Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1191 | Hue.Position = UDim2.new(0, 202, 0, 42) 1192 | Hue.Size = UDim2.new(0, 25, 0, 80) 1193 | 1194 | HueCorner.CornerRadius = UDim.new(0, 3) 1195 | HueCorner.Name = "HueCorner" 1196 | HueCorner.Parent = Hue 1197 | 1198 | HueGradient.Color = 1199 | ColorSequence.new { 1200 | ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)), 1201 | ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)), 1202 | ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)), 1203 | ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)), 1204 | ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)), 1205 | ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)), 1206 | ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4)) 1207 | } 1208 | HueGradient.Rotation = 270 1209 | HueGradient.Name = "HueGradient" 1210 | HueGradient.Parent = Hue 1211 | 1212 | HueSelection.Name = "HueSelection" 1213 | HueSelection.Parent = Hue 1214 | HueSelection.AnchorPoint = Vector2.new(0.5, 0.5) 1215 | HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1216 | HueSelection.BackgroundTransparency = 1.000 1217 | HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset))) 1218 | HueSelection.Size = UDim2.new(0, 18, 0, 18) 1219 | HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000" 1220 | HueSelection.Visible = false 1221 | 1222 | coroutine.wrap( 1223 | function() 1224 | while wait() do 1225 | FrameRainbowToggle3.BackgroundColor3 = PresetColor 1226 | end 1227 | end 1228 | )() 1229 | 1230 | ColorpickerBtn.MouseButton1Click:Connect( 1231 | function() 1232 | if ColorPickerToggled == false then 1233 | ColorSelection.Visible = true 1234 | HueSelection.Visible = true 1235 | Colorpicker:TweenSize( 1236 | UDim2.new(0, 363, 0, 132), 1237 | Enum.EasingDirection.Out, 1238 | Enum.EasingStyle.Quart, 1239 | .2, 1240 | true 1241 | ) 1242 | wait(.2) 1243 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1244 | else 1245 | ColorSelection.Visible = false 1246 | HueSelection.Visible = false 1247 | Colorpicker:TweenSize( 1248 | UDim2.new(0, 363, 0, 42), 1249 | Enum.EasingDirection.Out, 1250 | Enum.EasingStyle.Quart, 1251 | .2, 1252 | true 1253 | ) 1254 | wait(.2) 1255 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1256 | end 1257 | ColorPickerToggled = not ColorPickerToggled 1258 | end 1259 | ) 1260 | 1261 | local function UpdateColorPicker(nope) 1262 | BoxColor.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV) 1263 | Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1) 1264 | 1265 | pcall(callback, BoxColor.BackgroundColor3) 1266 | end 1267 | 1268 | ColorH = 1269 | 1 - 1270 | (math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) / 1271 | Hue.AbsoluteSize.Y) 1272 | ColorS = 1273 | (math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) / 1274 | Color.AbsoluteSize.X) 1275 | ColorV = 1276 | 1 - 1277 | (math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) / 1278 | Color.AbsoluteSize.Y) 1279 | 1280 | BoxColor.BackgroundColor3 = preset 1281 | Color.BackgroundColor3 = preset 1282 | pcall(callback, BoxColor.BackgroundColor3) 1283 | 1284 | Color.InputBegan:Connect( 1285 | function(input) 1286 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 1287 | if RainbowColorPicker then 1288 | return 1289 | end 1290 | 1291 | if ColorInput then 1292 | ColorInput:Disconnect() 1293 | end 1294 | 1295 | ColorInput = 1296 | RunService.RenderStepped:Connect( 1297 | function() 1298 | local ColorX = 1299 | (math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) / 1300 | Color.AbsoluteSize.X) 1301 | local ColorY = 1302 | (math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) / 1303 | Color.AbsoluteSize.Y) 1304 | 1305 | ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0) 1306 | ColorS = ColorX 1307 | ColorV = 1 - ColorY 1308 | 1309 | UpdateColorPicker(true) 1310 | end 1311 | ) 1312 | end 1313 | end 1314 | ) 1315 | 1316 | Color.InputEnded:Connect( 1317 | function(input) 1318 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 1319 | if ColorInput then 1320 | ColorInput:Disconnect() 1321 | end 1322 | end 1323 | end 1324 | ) 1325 | 1326 | Hue.InputBegan:Connect( 1327 | function(input) 1328 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 1329 | if RainbowColorPicker then 1330 | return 1331 | end 1332 | 1333 | if HueInput then 1334 | HueInput:Disconnect() 1335 | end 1336 | 1337 | HueInput = 1338 | RunService.RenderStepped:Connect( 1339 | function() 1340 | local HueY = 1341 | (math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) / 1342 | Hue.AbsoluteSize.Y) 1343 | 1344 | HueSelection.Position = UDim2.new(0.48, 0, HueY, 0) 1345 | ColorH = 1 - HueY 1346 | 1347 | UpdateColorPicker(true) 1348 | end 1349 | ) 1350 | end 1351 | end 1352 | ) 1353 | 1354 | Hue.InputEnded:Connect( 1355 | function(input) 1356 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 1357 | if HueInput then 1358 | HueInput:Disconnect() 1359 | end 1360 | end 1361 | end 1362 | ) 1363 | 1364 | RainbowToggle.MouseButton1Down:Connect( 1365 | function() 1366 | RainbowColorPicker = not RainbowColorPicker 1367 | 1368 | if ColorInput then 1369 | ColorInput:Disconnect() 1370 | end 1371 | 1372 | if HueInput then 1373 | HueInput:Disconnect() 1374 | end 1375 | 1376 | if RainbowColorPicker then 1377 | TweenService:Create( 1378 | FrameRainbowToggle1, 1379 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1380 | {BackgroundTransparency = 1} 1381 | ):Play() 1382 | TweenService:Create( 1383 | FrameRainbowToggle2, 1384 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1385 | {BackgroundTransparency = 1} 1386 | ):Play() 1387 | TweenService:Create( 1388 | FrameRainbowToggle3, 1389 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1390 | {BackgroundTransparency = 0} 1391 | ):Play() 1392 | TweenService:Create( 1393 | FrameRainbowToggleCircle, 1394 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1395 | {BackgroundColor3 = Color3.fromRGB(255, 255, 255)} 1396 | ):Play() 1397 | FrameRainbowToggleCircle:TweenPosition( 1398 | UDim2.new(0.587, 0, 0.222000003, 0), 1399 | Enum.EasingDirection.Out, 1400 | Enum.EasingStyle.Quart, 1401 | .2, 1402 | true 1403 | ) 1404 | 1405 | OldToggleColor = BoxColor.BackgroundColor3 1406 | OldColor = Color.BackgroundColor3 1407 | OldColorSelectionPosition = ColorSelection.Position 1408 | OldHueSelectionPosition = HueSelection.Position 1409 | 1410 | while RainbowColorPicker do 1411 | BoxColor.BackgroundColor3 = Color3.fromHSV(lib.RainbowColorValue, 1, 1) 1412 | Color.BackgroundColor3 = Color3.fromHSV(lib.RainbowColorValue, 1, 1) 1413 | 1414 | ColorSelection.Position = UDim2.new(1, 0, 0, 0) 1415 | HueSelection.Position = UDim2.new(0.48, 0, 0, lib.HueSelectionPosition) 1416 | 1417 | pcall(callback, BoxColor.BackgroundColor3) 1418 | wait() 1419 | end 1420 | elseif not RainbowColorPicker then 1421 | TweenService:Create( 1422 | FrameRainbowToggle1, 1423 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1424 | {BackgroundTransparency = 0} 1425 | ):Play() 1426 | TweenService:Create( 1427 | FrameRainbowToggle2, 1428 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1429 | {BackgroundTransparency = 0} 1430 | ):Play() 1431 | TweenService:Create( 1432 | FrameRainbowToggle3, 1433 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1434 | {BackgroundTransparency = 1} 1435 | ):Play() 1436 | TweenService:Create( 1437 | FrameRainbowToggleCircle, 1438 | TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1439 | {BackgroundColor3 = Color3.fromRGB(50, 50, 50)} 1440 | ):Play() 1441 | FrameRainbowToggleCircle:TweenPosition( 1442 | UDim2.new(0.127000004, 0, 0.222000003, 0), 1443 | Enum.EasingDirection.Out, 1444 | Enum.EasingStyle.Quart, 1445 | .2, 1446 | true 1447 | ) 1448 | 1449 | BoxColor.BackgroundColor3 = OldToggleColor 1450 | Color.BackgroundColor3 = OldColor 1451 | 1452 | ColorSelection.Position = OldColorSelectionPosition 1453 | HueSelection.Position = OldHueSelectionPosition 1454 | 1455 | pcall(callback, BoxColor.BackgroundColor3) 1456 | end 1457 | end 1458 | ) 1459 | 1460 | ConfirmBtn.MouseButton1Click:Connect( 1461 | function() 1462 | ColorSelection.Visible = false 1463 | HueSelection.Visible = false 1464 | Colorpicker:TweenSize( 1465 | UDim2.new(0, 363, 0, 42), 1466 | Enum.EasingDirection.Out, 1467 | Enum.EasingStyle.Quart, 1468 | .2, 1469 | true 1470 | ) 1471 | wait(.2) 1472 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1473 | end 1474 | ) 1475 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1476 | end 1477 | function tabcontent:Label(text) 1478 | local Label = Instance.new("TextButton") 1479 | local LabelCorner = Instance.new("UICorner") 1480 | local LabelTitle = Instance.new("TextLabel") 1481 | 1482 | Label.Name = "Button" 1483 | Label.Parent = Tab 1484 | Label.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1485 | Label.Size = UDim2.new(0, 363, 0, 42) 1486 | Label.AutoButtonColor = false 1487 | Label.Font = Enum.Font.SourceSans 1488 | Label.Text = "" 1489 | Label.TextColor3 = Color3.fromRGB(0, 0, 0) 1490 | Label.TextSize = 14.000 1491 | 1492 | LabelCorner.CornerRadius = UDim.new(0, 5) 1493 | LabelCorner.Name = "ButtonCorner" 1494 | LabelCorner.Parent = Label 1495 | 1496 | LabelTitle.Name = "ButtonTitle" 1497 | LabelTitle.Parent = Label 1498 | LabelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1499 | LabelTitle.BackgroundTransparency = 1.000 1500 | LabelTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 1501 | LabelTitle.Size = UDim2.new(0, 187, 0, 42) 1502 | LabelTitle.Font = Enum.Font.Gotham 1503 | LabelTitle.Text = text 1504 | LabelTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1505 | LabelTitle.TextSize = 14.000 1506 | LabelTitle.TextXAlignment = Enum.TextXAlignment.Left 1507 | 1508 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1509 | end 1510 | function tabcontent:Textbox(text, disapper, callback) 1511 | local Textbox = Instance.new("Frame") 1512 | local TextboxCorner = Instance.new("UICorner") 1513 | local TextboxTitle = Instance.new("TextLabel") 1514 | local TextboxFrame = Instance.new("Frame") 1515 | local TextboxFrameCorner = Instance.new("UICorner") 1516 | local TextBox = Instance.new("TextBox") 1517 | 1518 | Textbox.Name = "Textbox" 1519 | Textbox.Parent = Tab 1520 | Textbox.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1521 | Textbox.ClipsDescendants = true 1522 | Textbox.Position = UDim2.new(-0.541071415, 0, -0.532915354, 0) 1523 | Textbox.Size = UDim2.new(0, 363, 0, 42) 1524 | 1525 | TextboxCorner.CornerRadius = UDim.new(0, 5) 1526 | TextboxCorner.Name = "TextboxCorner" 1527 | TextboxCorner.Parent = Textbox 1528 | 1529 | TextboxTitle.Name = "TextboxTitle" 1530 | TextboxTitle.Parent = Textbox 1531 | TextboxTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1532 | TextboxTitle.BackgroundTransparency = 1.000 1533 | TextboxTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 1534 | TextboxTitle.Size = UDim2.new(0, 187, 0, 42) 1535 | TextboxTitle.Font = Enum.Font.Gotham 1536 | TextboxTitle.Text = text 1537 | TextboxTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1538 | TextboxTitle.TextSize = 14.000 1539 | TextboxTitle.TextXAlignment = Enum.TextXAlignment.Left 1540 | 1541 | TextboxFrame.Name = "TextboxFrame" 1542 | TextboxFrame.Parent = TextboxTitle 1543 | TextboxFrame.BackgroundColor3 = Color3.fromRGB(37, 37, 37) 1544 | TextboxFrame.Position = UDim2.new(1.28877008, 0, 0.214285716, 0) 1545 | TextboxFrame.Size = UDim2.new(0, 100, 0, 23) 1546 | 1547 | TextboxFrameCorner.CornerRadius = UDim.new(0, 5) 1548 | TextboxFrameCorner.Name = "TextboxFrameCorner" 1549 | TextboxFrameCorner.Parent = TextboxFrame 1550 | 1551 | TextBox.Parent = TextboxFrame 1552 | TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1553 | TextBox.BackgroundTransparency = 1.000 1554 | TextBox.Size = UDim2.new(0, 100, 0, 23) 1555 | TextBox.Font = Enum.Font.Gotham 1556 | TextBox.Text = "" 1557 | TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) 1558 | TextBox.TextSize = 14.000 1559 | 1560 | TextBox.FocusLost:Connect( 1561 | function(ep) 1562 | if ep then 1563 | if #TextBox.Text > 0 then 1564 | pcall(callback, TextBox.Text) 1565 | if disapper then 1566 | TextBox.Text = "" 1567 | end 1568 | end 1569 | end 1570 | end 1571 | ) 1572 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1573 | end 1574 | function tabcontent:Bind(text, keypreset, callback) 1575 | local binding = false 1576 | local Key = keypreset.Name 1577 | local Bind = Instance.new("TextButton") 1578 | local BindCorner = Instance.new("UICorner") 1579 | local BindTitle = Instance.new("TextLabel") 1580 | local BindText = Instance.new("TextLabel") 1581 | 1582 | Bind.Name = "Bind" 1583 | Bind.Parent = Tab 1584 | Bind.BackgroundColor3 = Color3.fromRGB(34, 34, 34) 1585 | Bind.Size = UDim2.new(0, 363, 0, 42) 1586 | Bind.AutoButtonColor = false 1587 | Bind.Font = Enum.Font.SourceSans 1588 | Bind.Text = "" 1589 | Bind.TextColor3 = Color3.fromRGB(0, 0, 0) 1590 | Bind.TextSize = 14.000 1591 | 1592 | BindCorner.CornerRadius = UDim.new(0, 5) 1593 | BindCorner.Name = "BindCorner" 1594 | BindCorner.Parent = Bind 1595 | 1596 | BindTitle.Name = "BindTitle" 1597 | BindTitle.Parent = Bind 1598 | BindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1599 | BindTitle.BackgroundTransparency = 1.000 1600 | BindTitle.Position = UDim2.new(0.0358126722, 0, 0, 0) 1601 | BindTitle.Size = UDim2.new(0, 187, 0, 42) 1602 | BindTitle.Font = Enum.Font.Gotham 1603 | BindTitle.Text = text 1604 | BindTitle.TextColor3 = Color3.fromRGB(255, 255, 255) 1605 | BindTitle.TextSize = 14.000 1606 | BindTitle.TextXAlignment = Enum.TextXAlignment.Left 1607 | 1608 | BindText.Name = "BindText" 1609 | BindText.Parent = Bind 1610 | BindText.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1611 | BindText.BackgroundTransparency = 1.000 1612 | BindText.Position = UDim2.new(0.0358126722, 0, 0, 0) 1613 | BindText.Size = UDim2.new(0, 337, 0, 42) 1614 | BindText.Font = Enum.Font.Gotham 1615 | BindText.Text = Key 1616 | BindText.TextColor3 = Color3.fromRGB(255, 255, 255) 1617 | BindText.TextSize = 14.000 1618 | BindText.TextXAlignment = Enum.TextXAlignment.Right 1619 | 1620 | Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y) 1621 | 1622 | Bind.MouseButton1Click:Connect( 1623 | function() 1624 | BindText.Text = "..." 1625 | binding = true 1626 | local inputwait = game:GetService("UserInputService").InputBegan:wait() 1627 | if inputwait.KeyCode.Name ~= "Unknown" then 1628 | BindText.Text = inputwait.KeyCode.Name 1629 | Key = inputwait.KeyCode.Name 1630 | binding = false 1631 | else 1632 | binding = false 1633 | end 1634 | end 1635 | ) 1636 | 1637 | game:GetService("UserInputService").InputBegan:connect( 1638 | function(current, pressed) 1639 | if not pressed then 1640 | if current.KeyCode.Name == Key and binding == false then 1641 | pcall(callback) 1642 | end 1643 | end 1644 | end 1645 | ) 1646 | end 1647 | return tabcontent 1648 | end 1649 | return tabhold 1650 | end 1651 | return lib 1652 | -------------------------------------------------------------------------------- /helios old.txt: -------------------------------------------------------------------------------- 1 | do 2 | local ui = game:GetService("CoreGui"):FindFirstChild("helioslib_by_dawid#0001") 3 | if ui then 4 | ui:Destroy() 5 | end 6 | end 7 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() 8 | local lib = {} 9 | local themesettings = { 10 | Dark = { 11 | MainFrameColor = Color3.fromRGB(24, 24, 24), 12 | ItemsColor = Color3.fromRGB(18, 18, 18), 13 | TextColor = Color3.fromRGB(255, 255, 255), 14 | hovercolor = Color3.fromRGB(13, 13, 13), 15 | SliderCircleColor = Color3.fromRGB(28, 28, 28), 16 | ripplecolor = Color3.fromRGB(193, 193, 193) 17 | }, 18 | Light = { 19 | MainFrameColor = Color3.fromRGB(235, 235, 235), 20 | ItemsColor = Color3.fromRGB(255, 255, 255), 21 | TextColor = Color3.fromRGB(0, 0, 0), 22 | hovercolor = Color3.fromRGB(211, 211, 211), 23 | SliderCircleColor = Color3.fromRGB(206, 206, 206), 24 | ripplecolor = Color3.fromRGB(195, 195, 195) 25 | } 26 | } 27 | local theme = "" 28 | local themesetting = "Dark" 29 | pcall( 30 | function() 31 | theme = readfile("heliostheme.txt") 32 | end 33 | ) 34 | 35 | if theme == "Light" then 36 | themesetting = "Light" 37 | elseif theme == "Dark" then 38 | themesetting = "Dark" 39 | else 40 | themesetting = "Light" 41 | writefile("heliostheme.txt", "Light") 42 | end 43 | 44 | local TweenService = game:GetService("TweenService") 45 | function zigzag(X) 46 | return math.acos(math.cos(X * math.pi)) / math.pi 47 | end 48 | local counter = 0 49 | local rainbowcolor = Color3.fromHSV(zigzag(counter), 0.6, 1) 50 | game:GetService("RunService").Stepped:Connect( 51 | function() 52 | rainbowcolor = Color3.fromHSV(zigzag(counter), 0.6, 1) 53 | counter = counter + 0.0010 54 | end 55 | ) 56 | local function ripple(obj) 57 | spawn( 58 | function() 59 | local Mouse = game.Players.LocalPlayer:GetMouse() 60 | local Circle = Instance.new("ImageLabel") 61 | Circle.Name = "Circle" 62 | Circle.Parent = obj 63 | Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 64 | Circle.BackgroundTransparency = 1.000 65 | Circle.ZIndex = 10 66 | Circle.Image = "rbxassetid://266543268" 67 | Circle.ImageColor3 = Color3.fromRGB(255, 255, 255) 68 | Circle.ImageTransparency = 0.7 69 | local NewX, NewY = Mouse.X - Circle.AbsolutePosition.X, Mouse.Y - Circle.AbsolutePosition.Y 70 | Circle.Position = UDim2.new(0, NewX, 0, NewY) 71 | local Size = 0 72 | if obj.AbsoluteSize.X > obj.AbsoluteSize.Y then 73 | Size = obj.AbsoluteSize.X * 1.5 74 | elseif obj.AbsoluteSize.X < obj.AbsoluteSize.Y then 75 | Size = obj.AbsoluteSize.Y * 1.5 76 | elseif obj.AbsoluteSize.X == obj.AbsoluteSize.Y then 77 | Size = obj.AbsoluteSize.X * 1.5 78 | end 79 | Circle:TweenSizeAndPosition( 80 | UDim2.new(0, Size, 0, Size), 81 | UDim2.new(0.5, -Size / 2, 0.5, -Size / 2), 82 | "Out", 83 | "Quad", 84 | 0.2, 85 | false 86 | ) 87 | for i = 1, 10 do 88 | Circle.ImageTransparency = Circle.ImageTransparency + 0.01 89 | wait() 90 | end 91 | Circle:Destroy() 92 | end 93 | ) 94 | end 95 | 96 | local function makeDraggable(obj) 97 | --// Original code by Tiffblocks, edited so that it has a cool tween to it. 98 | local UserInputService = game:GetService("UserInputService") 99 | local TweenService = game:GetService("TweenService") 100 | 101 | local gui = obj 102 | 103 | local dragging 104 | local dragInput 105 | local dragStart 106 | local startPos 107 | 108 | local function update(input) 109 | local delta = input.Position - dragStart 110 | local EndPos = 111 | UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) 112 | local Tween = TweenService:Create(gui, TweenInfo.new(0.2), {Position = EndPos}) 113 | Tween:Play() 114 | end 115 | 116 | gui.InputBegan:Connect( 117 | function(input) 118 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then 119 | dragging = true 120 | dragStart = input.Position 121 | startPos = gui.Position 122 | 123 | input.Changed:Connect( 124 | function() 125 | if input.UserInputState == Enum.UserInputState.End then 126 | dragging = false 127 | end 128 | end 129 | ) 130 | end 131 | end 132 | ) 133 | 134 | gui.InputChanged:Connect( 135 | function(input) 136 | if 137 | input.UserInputType == Enum.UserInputType.MouseMovement or 138 | input.UserInputType == Enum.UserInputType.Touch 139 | then 140 | dragInput = input 141 | end 142 | end 143 | ) 144 | 145 | UserInputService.InputChanged:Connect( 146 | function(input) 147 | if input == dragInput and dragging then 148 | update(input) 149 | end 150 | end 151 | ) 152 | end 153 | 154 | local helioslib_by_dawid0001 = Instance.new("ScreenGui") 155 | helioslib_by_dawid0001.Name = "helioslib_by_dawid#0001" 156 | helioslib_by_dawid0001.Parent = game.CoreGui 157 | helioslib_by_dawid0001.ZIndexBehavior = Enum.ZIndexBehavior.Sibling 158 | local usi = game:GetService("UserInputService") 159 | local uitoggled = false 160 | usi.InputBegan:Connect( 161 | function(io, p) 162 | if io.KeyCode == Enum.KeyCode.RightShift then 163 | if uitoggled == false then 164 | helioslib_by_dawid0001.Enabled = false 165 | uitoggled = true 166 | else 167 | helioslib_by_dawid0001.Enabled = true 168 | uitoggled = false 169 | end 170 | end 171 | end 172 | ) 173 | 174 | function lib:notification(text) 175 | for i, v in next, helioslib_by_dawid0001:GetChildren() do 176 | if v.Name == "notification" then 177 | v:Destroy() 178 | end 179 | end 180 | local notification = Instance.new("ImageButton") 181 | local Glow = Instance.new("ImageLabel") 182 | local top = Instance.new("Frame") 183 | local title = Instance.new("TextLabel") 184 | local button = Instance.new("TextButton") 185 | local buttontext = Instance.new("TextLabel") 186 | local corner = Instance.new("UICorner") 187 | local desc = Instance.new("TextLabel") 188 | 189 | notification.Name = "notification" 190 | notification.Parent = helioslib_by_dawid0001 191 | notification.BackgroundColor3 = themesettings[themesetting].MainFrameColor 192 | notification.BackgroundTransparency = 1.000 193 | notification.LayoutOrder = 1 194 | notification.Position = UDim2.new(0.424479187, 0, 0.413428158, 0) 195 | notification.Size = UDim2.new(0, 289, 0, 156) 196 | notification.SizeConstraint = Enum.SizeConstraint.RelativeYY 197 | notification.Image = "rbxassetid://2790389767" 198 | notification.ImageColor3 = themesettings[themesetting].MainFrameColor 199 | notification.ScaleType = Enum.ScaleType.Slice 200 | notification.SliceCenter = Rect.new(8, 8, 248, 248) 201 | 202 | Glow.Name = "Glow" 203 | Glow.Parent = notification 204 | Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 205 | Glow.BackgroundTransparency = 1.000 206 | Glow.BorderSizePixel = 0 207 | Glow.Position = UDim2.new(0, -15, 0, -15) 208 | Glow.Size = UDim2.new(1, 30, 1, 30) 209 | Glow.ZIndex = 0 210 | Glow.Image = "rbxassetid://4996891970" 211 | Glow.ImageColor3 = Color3.fromRGB(15, 15, 15) 212 | Glow.ScaleType = Enum.ScaleType.Slice 213 | Glow.SliceCenter = Rect.new(20, 20, 280, 280) 214 | 215 | top.Name = "top" 216 | top.Parent = notification 217 | top.AnchorPoint = Vector2.new(0.5, 0) 218 | top.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 219 | top.BackgroundTransparency = 1.000 220 | top.Position = UDim2.new(0.5, 0, 0, 25) 221 | top.Size = UDim2.new(1, -40, 0, 20) 222 | 223 | title.Name = "title" 224 | title.Parent = top 225 | title.BackgroundColor3 = themesettings[themesetting].TextColor 226 | title.BackgroundTransparency = 1.000 227 | title.Size = UDim2.new(1, 0, 1, 0) 228 | title.Font = Enum.Font.SourceSans 229 | title.Text = "Helios Hub" 230 | title.TextColor3 = themesettings[themesetting].TextColor 231 | title.TextSize = 25.000 232 | title.TextXAlignment = Enum.TextXAlignment.Left 233 | 234 | button.Name = "button" 235 | button.Parent = notification 236 | button.BackgroundColor3 = themesettings[themesetting].ItemsColor 237 | button.BorderSizePixel = 0 238 | button.Position = UDim2.new(0.0519031137, 0, 0.748603344, 0) 239 | button.Size = UDim2.new(0.896193743, 0, -0.00558659201, 26) 240 | button.AutoButtonColor = false 241 | button.Font = Enum.Font.SourceSans 242 | button.Text = "" 243 | button.TextColor3 = Color3.fromRGB(0, 0, 0) 244 | button.TextSize = 14.000 245 | 246 | buttontext.Name = "buttontext" 247 | buttontext.Parent = button 248 | buttontext.AnchorPoint = Vector2.new(0, 0.5) 249 | buttontext.BackgroundColor3 = themesettings[themesetting].TextColor 250 | buttontext.BackgroundTransparency = 1.000 251 | buttontext.Position = UDim2.new(0, 8, 0.5, 0) 252 | buttontext.Size = UDim2.new(0, 49, 1, -8) 253 | buttontext.Font = Enum.Font.SourceSans 254 | buttontext.Text = "Okay" 255 | buttontext.TextColor3 = themesettings[themesetting].TextColor 256 | buttontext.TextSize = 13.000 257 | buttontext.TextXAlignment = Enum.TextXAlignment.Left 258 | 259 | corner.Name = "corner" 260 | corner.Parent = button 261 | 262 | desc.Name = "desc" 263 | desc.Parent = notification 264 | desc.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 265 | desc.BackgroundTransparency = 1.000 266 | desc.Position = UDim2.new(0.152249128, 0, 0.333333343, 0) 267 | desc.Size = UDim2.new(0.698961914, 0, 0.339743733, 0) 268 | desc.Font = Enum.Font.SourceSans 269 | desc.Text = text 270 | desc.TextColor3 = themesettings[themesetting].TextColor 271 | desc.TextScaled = true 272 | desc.TextSize = 20.000 273 | desc.TextTransparency = 0.200 274 | desc.TextWrapped = true 275 | 276 | local MouseEntered = 277 | TweenService:Create( 278 | button, 279 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 280 | { 281 | BackgroundColor3 = themesettings[themesetting].hovercolor 282 | } 283 | ) 284 | 285 | local MouseLeft = 286 | TweenService:Create( 287 | button, 288 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 289 | { 290 | BackgroundColor3 = themesettings[themesetting].ItemsColor 291 | } 292 | ) 293 | 294 | button.MouseEnter:Connect( 295 | function() 296 | MouseEntered:Play() 297 | end 298 | ) 299 | button.MouseLeave:Connect( 300 | function() 301 | MouseLeft:Play() 302 | end 303 | ) 304 | button.MouseButton1Click:Connect( 305 | function() 306 | notification:Destroy() 307 | end 308 | ) 309 | end 310 | 311 | function lib:MainWindow(text, size, gametext) 312 | local FirstTab = false 313 | local tabscontainer = Instance.new("Frame") 314 | local mainframe = Instance.new("ImageButton") 315 | local Glow = Instance.new("ImageLabel") 316 | local top = Instance.new("Frame") 317 | local title = Instance.new("TextLabel") 318 | local tablist = Instance.new("UIListLayout") 319 | local gamename = Instance.new("TextLabel") 320 | local Vis = true 321 | 322 | mainframe.Name = "mainframe" 323 | mainframe.Parent = helioslib_by_dawid0001 324 | mainframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 325 | mainframe.BackgroundTransparency = 1.000 326 | mainframe.Position = UDim2.new(0.420833319, 0, 0.0150703797, 0) 327 | mainframe.Size = size 328 | mainframe.SizeConstraint = Enum.SizeConstraint.RelativeYY 329 | mainframe.Image = "rbxassetid://2790389767" 330 | mainframe.ImageColor3 = themesettings[themesetting].MainFrameColor 331 | mainframe.ScaleType = Enum.ScaleType.Slice 332 | mainframe.SliceCenter = Rect.new(8, 8, 248, 248) 333 | mainframe.LayoutOrder = 2 334 | makeDraggable(mainframe) 335 | 336 | Glow.Name = "Glow" 337 | Glow.Parent = mainframe 338 | Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 339 | Glow.BackgroundTransparency = 1.000 340 | Glow.BorderSizePixel = 0 341 | Glow.Position = UDim2.new(0, -15, 0, -15) 342 | Glow.Size = UDim2.new(1, 30, 1, 30) 343 | Glow.ZIndex = 0 344 | Glow.Image = "rbxassetid://4996891970" 345 | Glow.ImageColor3 = Color3.fromRGB(15, 15, 15) 346 | Glow.ScaleType = Enum.ScaleType.Slice 347 | Glow.SliceCenter = Rect.new(20, 20, 280, 280) 348 | 349 | top.Name = "top" 350 | top.Parent = mainframe 351 | top.AnchorPoint = Vector2.new(0.5, 0) 352 | top.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 353 | top.BackgroundTransparency = 1.000 354 | top.Position = UDim2.new(0.5, 0, 0, 25) 355 | top.Size = UDim2.new(1, -40, 0, 20) 356 | 357 | title.Name = "title" 358 | title.Parent = top 359 | title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 360 | title.BackgroundTransparency = 1.000 361 | title.Size = UDim2.new(1, 0, 1, 0) 362 | title.Font = Enum.Font.SourceSans 363 | title.Text = text 364 | title.TextColor3 = themesettings[themesetting].TextColor 365 | title.TextSize = 25.000 366 | title.TextXAlignment = Enum.TextXAlignment.Left 367 | 368 | gamename.Name = "gamename" 369 | gamename.Parent = top 370 | gamename.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 371 | gamename.BackgroundTransparency = 1.000 372 | gamename.Position = UDim2.new(0, 0, 0.797674537, 0) 373 | gamename.Size = UDim2.new(1, 0, 0.702325463, 0) 374 | gamename.Font = Enum.Font.SourceSans 375 | gamename.Text = gametext 376 | gamename.TextColor3 = themesettings[themesetting].TextColor 377 | gamename.TextSize = 15.000 378 | gamename.TextXAlignment = Enum.TextXAlignment.Left 379 | 380 | tabscontainer.Name = "tabscontainer" 381 | tabscontainer.Parent = top 382 | tabscontainer.AnchorPoint = Vector2.new(1, 0) 383 | tabscontainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 384 | tabscontainer.BackgroundTransparency = 1.000 385 | tabscontainer.Position = UDim2.new(1, 0, 0, 2) 386 | tabscontainer.Size = UDim2.new(1, 0, 1, 0) 387 | 388 | tablist.Name = "tablist" 389 | tablist.Parent = tabscontainer 390 | tablist.FillDirection = Enum.FillDirection.Horizontal 391 | tablist.HorizontalAlignment = Enum.HorizontalAlignment.Right 392 | tablist.SortOrder = Enum.SortOrder.LayoutOrder 393 | tablist.Padding = UDim.new(0, 14) 394 | local tabholder = {} 395 | 396 | function tabholder:Tab(name) 397 | local tab = Instance.new("TextButton") 398 | local container = Instance.new("Frame") 399 | local containerlist = Instance.new("UIListLayout") 400 | local tabcurrent = {} 401 | local scrollframe = Instance.new("ScrollingFrame") 402 | 403 | scrollframe.Name = "scrollframe" 404 | scrollframe.Parent = mainframe 405 | scrollframe.Active = true 406 | scrollframe.AnchorPoint = Vector2.new(0.5, 0) 407 | scrollframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 408 | scrollframe.BackgroundTransparency = 1.000 409 | scrollframe.BorderSizePixel = 0 410 | scrollframe.Visible = Vis 411 | scrollframe.Position = UDim2.new(0.5, 4, 0, 63) 412 | scrollframe.Size = UDim2.new(1, -20, 1, -77) 413 | scrollframe.BottomImage = "rbxassetid://5234388158" 414 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, 0) 415 | scrollframe.MidImage = "rbxassetid://5234388158" 416 | scrollframe.ScrollBarThickness = 6 417 | scrollframe.TopImage = "rbxassetid://5234388158" 418 | scrollframe.ScrollBarImageColor3 = themesettings[themesetting].ItemsColor 419 | 420 | tab.Name = "tab" 421 | tab.Parent = tabscontainer 422 | tab.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 423 | tab.BackgroundTransparency = 1.000 424 | tab.Position = UDim2.new(0.907380342, 0, 0, 0) 425 | tab.Font = Enum.Font.GothamBold 426 | tab.Text = name 427 | tab.TextColor3 = themesettings[themesetting].TextColor 428 | tab.TextSize = 14.000 429 | tab.Size = UDim2.new(0, tab.TextBounds.X + 5, 1, 1, 0) 430 | tab.TextTransparency = 0.3 431 | 432 | container.Name = "container" 433 | container.Parent = scrollframe 434 | container.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 435 | container.BackgroundTransparency = 1.000 436 | container.Size = UDim2.new(1, -11, 1.5831753, 0) 437 | container.Visible = true 438 | 439 | containerlist.Name = "containerlist" 440 | containerlist.Parent = container 441 | containerlist.SortOrder = Enum.SortOrder.LayoutOrder 442 | containerlist.Padding = UDim.new(0, 4) 443 | 444 | local CurrentPageName = "" 445 | if FirstTab == false then 446 | CurrentPageName = title 447 | FirstTab = true 448 | Vis = false 449 | tab.TextTransparency = 0 450 | end 451 | 452 | tab.MouseButton1Click:Connect( 453 | function() 454 | for i, v in next, mainframe:GetChildren() do 455 | if v.Name == "scrollframe" then 456 | v.Visible = false 457 | end 458 | end 459 | for i, v in next, tabscontainer:GetChildren() do 460 | if v.ClassName == "TextButton" then 461 | v.TextTransparency = 0.3 462 | end 463 | end 464 | tab.TextTransparency = 0 465 | 466 | scrollframe.Visible = true 467 | end 468 | ) 469 | 470 | function tabcurrent:Button(name, callback) 471 | callback = callback or function(...) 472 | end 473 | local button = Instance.new("TextButton") 474 | local buttontext = Instance.new("TextLabel") 475 | local corner = Instance.new("UICorner") 476 | button.Name = "button" 477 | button.Parent = container 478 | button.BackgroundColor3 = themesettings[themesetting].ItemsColor 479 | button.BorderSizePixel = 0 480 | button.Size = UDim2.new(1, 0, 0, 26) 481 | button.AutoButtonColor = false 482 | button.Font = Enum.Font.SourceSans 483 | button.Text = "" 484 | button.ClipsDescendants = true 485 | button.TextColor3 = Color3.fromRGB(0, 0, 0) 486 | button.TextSize = 14.000 487 | 488 | buttontext.Name = "buttontext" 489 | buttontext.Parent = button 490 | buttontext.AnchorPoint = Vector2.new(0, 0.5) 491 | buttontext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 492 | buttontext.BackgroundTransparency = 1.000 493 | buttontext.Position = UDim2.new(0, 8, 0.5, 0) 494 | buttontext.Size = UDim2.new(0, 49, 1, -8) 495 | buttontext.Font = Enum.Font.SourceSans 496 | buttontext.Text = name 497 | buttontext.TextColor3 = themesettings[themesetting].TextColor 498 | buttontext.TextSize = 13.000 499 | buttontext.TextXAlignment = Enum.TextXAlignment.Left 500 | 501 | local MouseEntered = 502 | TweenService:Create( 503 | button, 504 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 505 | { 506 | BackgroundColor3 = themesettings[themesetting].hovercolor 507 | } 508 | ) 509 | 510 | local MouseLeft = 511 | TweenService:Create( 512 | button, 513 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 514 | { 515 | BackgroundColor3 = themesettings[themesetting].ItemsColor 516 | } 517 | ) 518 | 519 | button.MouseEnter:Connect( 520 | function() 521 | MouseEntered:Play() 522 | end 523 | ) 524 | button.MouseLeave:Connect( 525 | function() 526 | MouseLeft:Play() 527 | end 528 | ) 529 | button.MouseButton1Click:Connect( 530 | function() 531 | pcall(callback) 532 | ripple(button, Color3.fromRGB(193, 193, 193)) 533 | end 534 | ) 535 | 536 | corner.Name = "corner" 537 | corner.Parent = button 538 | 539 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 540 | end 541 | 542 | function tabcurrent:Spliter() 543 | local spliter = Instance.new("Frame") 544 | spliter.Name = "spliter" 545 | spliter.Parent = container 546 | spliter.BackgroundColor3 = themesettings[themesetting].ItemsColor 547 | spliter.BorderColor3 = Color3.fromRGB(43, 42, 49) 548 | spliter.BorderSizePixel = 0 549 | spliter.Position = UDim2.new(0, 0, 1, 2) 550 | spliter.Size = UDim2.new(1, 0, 0, 1) 551 | 552 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 553 | end 554 | 555 | function tabcurrent:Toggle(name, toggled, callback) 556 | callback = callback or function(...) 557 | end 558 | local t = toggled 559 | 560 | local toggle = Instance.new("TextButton") 561 | local toggletext = Instance.new("TextLabel") 562 | local corner = Instance.new("UICorner") 563 | local box = Instance.new("Frame") 564 | local fill = Instance.new("Frame") 565 | local corner_2 = Instance.new("UICorner") 566 | local corner_3 = Instance.new("UICorner") 567 | 568 | toggle.Name = "toggle" 569 | toggle.Parent = container 570 | toggle.BackgroundColor3 = themesettings[themesetting].ItemsColor 571 | toggle.BorderSizePixel = 0 572 | toggle.Size = UDim2.new(1, 0, 0, 26) 573 | toggle.AutoButtonColor = false 574 | toggle.Font = Enum.Font.SourceSans 575 | toggle.Text = "" 576 | toggle.TextColor3 = Color3.fromRGB(0, 0, 0) 577 | toggle.TextSize = 14.000 578 | toggle.ClipsDescendants = true 579 | 580 | toggletext.Name = "toggletext" 581 | toggletext.Parent = toggle 582 | toggletext.AnchorPoint = Vector2.new(0, 0.5) 583 | toggletext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 584 | toggletext.BackgroundTransparency = 1.000 585 | toggletext.Position = UDim2.new(0, 8, 0.5, 0) 586 | toggletext.Size = UDim2.new(0, 49, 1, -8) 587 | toggletext.Font = Enum.Font.SourceSans 588 | toggletext.Text = name 589 | toggletext.TextColor3 = themesettings[themesetting].TextColor 590 | toggletext.TextSize = 13.000 591 | toggletext.TextXAlignment = Enum.TextXAlignment.Left 592 | 593 | corner.Name = "corner" 594 | corner.Parent = toggle 595 | 596 | box.Name = "box" 597 | box.Parent = toggle 598 | box.AnchorPoint = Vector2.new(1, 0.5) 599 | box.BackgroundColor3 = themesettings[themesetting].MainFrameColor 600 | box.BorderSizePixel = 0 601 | box.Position = UDim2.new(1, -10, 0.5, 0) 602 | box.Size = UDim2.new(0, 36, 1, -8) 603 | 604 | fill.Name = "fill" 605 | fill.Parent = box 606 | fill.AnchorPoint = Vector2.new(0, 0.5) 607 | fill.BackgroundColor3 = themesettings[themesetting].ItemsColor 608 | fill.BorderSizePixel = 0 609 | fill.Position = UDim2.new(0, 2, 0.5, 0) 610 | fill.Size = UDim2.new(0.5, -4, 1, -4) 611 | 612 | corner_2.CornerRadius = UDim.new(0, 30) 613 | corner_2.Name = "corner" 614 | corner_2.Parent = fill 615 | 616 | corner_3.Name = "corner" 617 | corner_3.Parent = box 618 | 619 | local MouseEntered = 620 | TweenService:Create( 621 | toggle, 622 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 623 | { 624 | BackgroundColor3 = themesettings[themesetting].hovercolor 625 | } 626 | ) 627 | 628 | local MouseLeft = 629 | TweenService:Create( 630 | toggle, 631 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 632 | { 633 | BackgroundColor3 = themesettings[themesetting].ItemsColor 634 | } 635 | ) 636 | 637 | local truetoggle = 638 | TweenService:Create( 639 | box, 640 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 641 | { 642 | BackgroundColor3 = Color3.fromRGB(59, 153, 253) 643 | } 644 | ) 645 | 646 | local falsetoggle = 647 | TweenService:Create( 648 | box, 649 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 650 | { 651 | BackgroundColor3 = themesettings[themesetting].MainFrameColor 652 | } 653 | ) 654 | 655 | toggle.MouseEnter:Connect( 656 | function() 657 | MouseEntered:Play() 658 | end 659 | ) 660 | toggle.MouseLeave:Connect( 661 | function() 662 | MouseLeft:Play() 663 | end 664 | ) 665 | toggle.MouseButton1Click:Connect( 666 | function() 667 | if t == true then 668 | fill:TweenPosition(UDim2.new(0, 2, 0.5, 0), "In", "Quint", 0.2) 669 | falsetoggle:Play() 670 | elseif t == false then 671 | fill:TweenPosition(UDim2.new(0.528, 2, 0.5, 0), "In", "Quint", 0.2) 672 | truetoggle:Play() 673 | end 674 | t = not t 675 | 676 | pcall(callback, t) 677 | end 678 | ) 679 | 680 | if toggled == true then 681 | pcall(callback, t) 682 | fill:TweenPosition(UDim2.new(0.528, 2, 0.5, 0), "In", "Quint", 0.2) 683 | truetoggle:Play() 684 | end 685 | 686 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 687 | end 688 | 689 | function tabcurrent:Slider(name, min, max, callback) 690 | local dragging = false 691 | callback = callback or function(...) 692 | end 693 | local slider = Instance.new("TextButton") 694 | local slidertext = Instance.new("TextLabel") 695 | local corner = Instance.new("UICorner") 696 | local placetoslide = Instance.new("Frame") 697 | local corner_2 = Instance.new("UICorner") 698 | local actualslide = Instance.new("Frame") 699 | local corner_3 = Instance.new("UICorner") 700 | local Value = Instance.new("TextLabel") 701 | 702 | slider.Name = "slider" 703 | slider.Parent = container 704 | slider.BackgroundColor3 = themesettings[themesetting].ItemsColor 705 | slider.BorderSizePixel = 0 706 | slider.Position = UDim2.new(-0.0121703856, 0, 0.00985016767, 0) 707 | slider.Size = UDim2.new(1, 0, 0, 26) 708 | slider.AutoButtonColor = false 709 | slider.Font = Enum.Font.SourceSans 710 | slider.Text = "" 711 | slider.TextColor3 = Color3.fromRGB(0, 0, 0) 712 | slider.TextSize = 14.000 713 | 714 | slidertext.Name = "slidertext" 715 | slidertext.Parent = slider 716 | slidertext.AnchorPoint = Vector2.new(0, 0.5) 717 | slidertext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 718 | slidertext.BackgroundTransparency = 1.000 719 | slidertext.Position = UDim2.new(0, 8, 0.5, 0) 720 | slidertext.Size = UDim2.new(0, 49, 1, -8) 721 | slidertext.Font = Enum.Font.SourceSans 722 | slidertext.Text = name 723 | slidertext.TextColor3 = themesettings[themesetting].TextColor 724 | slidertext.TextSize = 13.000 725 | slidertext.TextXAlignment = Enum.TextXAlignment.Left 726 | 727 | corner.Name = "corner" 728 | corner.Parent = slider 729 | 730 | placetoslide.Name = "placetoslide" 731 | placetoslide.Parent = slider 732 | placetoslide.AnchorPoint = Vector2.new(1, 0.5) 733 | placetoslide.BackgroundColor3 = themesettings[themesetting].MainFrameColor 734 | placetoslide.BorderSizePixel = 0 735 | placetoslide.Position = UDim2.new(1, -10, 0.5, 0) 736 | placetoslide.Size = UDim2.new(0.237322509, 36, 1.70000005, -40) 737 | 738 | corner_2.Name = "corner" 739 | corner_2.Parent = placetoslide 740 | 741 | actualslide.Name = "actualslide" 742 | actualslide.Parent = placetoslide 743 | actualslide.AnchorPoint = Vector2.new(0, 0.5) 744 | actualslide.BackgroundColor3 = themesettings[themesetting].SliderCircleColor 745 | actualslide.BorderSizePixel = 0 746 | actualslide.Position = UDim2.new(-0.00999999978, 2, 0.354999989, 0) 747 | actualslide.Size = UDim2.new(0.098718904, -4, 3.61909699, -4) 748 | 749 | corner_3.CornerRadius = UDim.new(1000, 100) 750 | corner_3.Name = "corner" 751 | corner_3.Parent = actualslide 752 | 753 | Value.Name = "Value" 754 | Value.Parent = slider 755 | Value.AnchorPoint = Vector2.new(0, 0.5) 756 | Value.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 757 | Value.BackgroundTransparency = 1.000 758 | Value.Position = UDim2.new(0.575510263, 8, 0.5, 0) 759 | Value.Size = UDim2.new(-0.042857144, 49, 1, -8) 760 | Value.Font = Enum.Font.SourceSans 761 | Value.Text = min .. " / " .. max 762 | Value.TextColor3 = themesettings[themesetting].TextColor 763 | Value.TextSize = 13.000 764 | Value.TextTransparency = 1.000 765 | Value.TextXAlignment = Enum.TextXAlignment.Right 766 | 767 | local function move(input) 768 | local pos = 769 | UDim2.new( 770 | math.clamp((input.Position.X - placetoslide.AbsolutePosition.X) / placetoslide.AbsoluteSize.X, 0, 1), 771 | -6, 772 | 0.354999989, 773 | 0 774 | ) 775 | actualslide:TweenPosition(pos, "Out", "Sine", 0.1, true) 776 | local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min) 777 | Value.Text = tostring(value) .. " / " .. tostring(max) 778 | callback(value) 779 | end 780 | actualslide.InputBegan:Connect( 781 | function(input) 782 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 783 | dragging = true 784 | local b = 785 | game:GetService("TweenService"):Create(Value, TweenInfo.new(0.2), {TextTransparency = 0}) 786 | b:Play() 787 | end 788 | end 789 | ) 790 | actualslide.InputEnded:Connect( 791 | function(input) 792 | if input.UserInputType == Enum.UserInputType.MouseButton1 then 793 | dragging = false 794 | wait(1) 795 | local b = 796 | game:GetService("TweenService"):Create(Value, TweenInfo.new(0.2), {TextTransparency = 1}) 797 | b:Play() 798 | end 799 | end 800 | ) 801 | actualslide.MouseEnter:Connect( 802 | function() 803 | local b = game:GetService("TweenService"):Create(Value, TweenInfo.new(0.2), {TextTransparency = 0}) 804 | b:Play() 805 | end 806 | ) 807 | actualslide.MouseLeave:Connect( 808 | function() 809 | wait(1) 810 | local b = game:GetService("TweenService"):Create(Value, TweenInfo.new(0.2), {TextTransparency = 1}) 811 | b:Play() 812 | end 813 | ) 814 | game:GetService("UserInputService").InputChanged:Connect( 815 | function(input) 816 | if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then 817 | move(input) 818 | end 819 | end 820 | ) 821 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 822 | end 823 | 824 | function tabcurrent:Colorpicker(name, presetcolor, callback) 825 | callback = callback or function(...) 826 | end 827 | local c = false 828 | local r = false 829 | local colorpickerbutton = Instance.new("TextButton") 830 | local corner = Instance.new("UICorner") 831 | local color = Instance.new("Frame") 832 | local corner_2 = Instance.new("UICorner") 833 | local colortext = Instance.new("TextLabel") 834 | colorpickerbutton.Name = "colorpickerbutton" 835 | colorpickerbutton.Parent = container 836 | colorpickerbutton.BackgroundColor3 = themesettings[themesetting].ItemsColor 837 | colorpickerbutton.BorderSizePixel = 0 838 | colorpickerbutton.Size = UDim2.new(1, 0, 0, 26) 839 | colorpickerbutton.AutoButtonColor = false 840 | colorpickerbutton.Font = Enum.Font.SourceSans 841 | colorpickerbutton.Text = "" 842 | colorpickerbutton.TextColor3 = Color3.fromRGB(0, 0, 0) 843 | colorpickerbutton.TextSize = 14.000 844 | colorpickerbutton.ClipsDescendants = true 845 | 846 | corner.Name = "corner" 847 | corner.Parent = colorpickerbutton 848 | 849 | color.Name = "color" 850 | color.Parent = colorpickerbutton 851 | color.AnchorPoint = Vector2.new(1, 0.5) 852 | color.BackgroundColor3 = presetcolor 853 | color.BorderSizePixel = 0 854 | color.Position = UDim2.new(0.995918632, -10, 0.5, 0) 855 | color.Size = UDim2.new(-0.0367344432, 36, 1, -8) 856 | 857 | corner_2.CornerRadius = UDim.new(0, 4) 858 | corner_2.Name = "corner" 859 | corner_2.Parent = color 860 | 861 | colortext.Name = "colortext" 862 | colortext.Parent = colorpickerbutton 863 | colortext.AnchorPoint = Vector2.new(0, 0.5) 864 | colortext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 865 | colortext.BackgroundTransparency = 1.000 866 | colortext.Position = UDim2.new(0, 8, 0.5, 0) 867 | colortext.Size = UDim2.new(0, 49, 1, -8) 868 | colortext.Font = Enum.Font.SourceSans 869 | colortext.Text = name 870 | colortext.TextColor3 = themesettings[themesetting].TextColor 871 | colortext.TextSize = 13.000 872 | colortext.TextXAlignment = Enum.TextXAlignment.Left 873 | 874 | local colorpickerframe = Instance.new("Frame") 875 | local corner = Instance.new("UICorner") 876 | local ColourGradientFrame = Instance.new("TextButton") 877 | local ColourGradient = Instance.new("UIGradient") 878 | local Slider = Instance.new("TextButton") 879 | local Glow = Instance.new("ImageLabel") 880 | local DarknessGradientFrame = Instance.new("TextButton") 881 | local Slider_2 = Instance.new("TextButton") 882 | local DarknessGradient = Instance.new("UIGradient") 883 | local Glow_2 = Instance.new("ImageLabel") 884 | local Button = Instance.new("TextButton") 885 | local Title = Instance.new("TextLabel") 886 | local rainbow = Instance.new("TextButton") 887 | local rainbowtitle = Instance.new("TextLabel") 888 | local box = Instance.new("Frame") 889 | local fill = Instance.new("Frame") 890 | local corner_2 = Instance.new("UICorner") 891 | local corner_3 = Instance.new("UICorner") 892 | 893 | colorpickerframe.Name = "colorpickerframe" 894 | colorpickerframe.Parent = container 895 | colorpickerframe.BackgroundColor3 = themesettings[themesetting].ItemsColor 896 | colorpickerframe.BorderSizePixel = 0 897 | colorpickerframe.Position = UDim2.new(0, 0, 0.169431865, 0) 898 | colorpickerframe.Size = UDim2.new(1, 0, 0.00677727442, 78) 899 | colorpickerframe.Visible = false 900 | 901 | corner.Name = "corner" 902 | corner.Parent = colorpickerframe 903 | 904 | ColourGradientFrame.Name = "ColourGradientFrame" 905 | ColourGradientFrame.Parent = colorpickerframe 906 | ColourGradientFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 907 | ColourGradientFrame.BorderSizePixel = 0 908 | ColourGradientFrame.Position = UDim2.new(0.0204498973, 0, 0.120481938, 0) 909 | ColourGradientFrame.Size = UDim2.new(0.963190079, 0, 0.209114, 0) 910 | ColourGradientFrame.AutoButtonColor = false 911 | ColourGradientFrame.Font = Enum.Font.SourceSans 912 | ColourGradientFrame.Text = "" 913 | ColourGradientFrame.TextColor3 = Color3.fromRGB(0, 0, 0) 914 | ColourGradientFrame.TextSize = 14.000 915 | 916 | ColourGradient.Color = 917 | ColorSequence.new { 918 | ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)), 919 | ColorSequenceKeypoint.new(0.20, Color3.fromRGB(255, 255, 0)), 920 | ColorSequenceKeypoint.new(0.40, Color3.fromRGB(0, 255, 0)), 921 | ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)), 922 | ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 0, 255)), 923 | ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 255)) 924 | } 925 | ColourGradient.Name = "ColourGradient" 926 | ColourGradient.Parent = ColourGradientFrame 927 | 928 | Slider.Name = "Slider" 929 | Slider.Parent = ColourGradientFrame 930 | Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 931 | Slider.BorderSizePixel = 0 932 | Slider.Size = UDim2.new(0.00300000003, 0, 1, 0) 933 | Slider.AutoButtonColor = false 934 | Slider.Font = Enum.Font.SourceSans 935 | Slider.Text = "" 936 | Slider.TextColor3 = Color3.fromRGB(0, 0, 0) 937 | Slider.TextSize = 14.000 938 | Slider.BackgroundTransparency = 1 939 | 940 | Glow.Name = "Glow" 941 | Glow.Parent = ColourGradientFrame 942 | Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 943 | Glow.BackgroundTransparency = 1.000 944 | Glow.BorderSizePixel = 0 945 | Glow.Position = UDim2.new(0, -15, 0, -15) 946 | Glow.Size = UDim2.new(1, 30, 1, 30) 947 | Glow.ZIndex = 0 948 | Glow.Image = "rbxassetid://4996891970" 949 | Glow.ImageColor3 = Color3.fromRGB(15, 15, 15) 950 | Glow.ScaleType = Enum.ScaleType.Slice 951 | Glow.SliceCenter = Rect.new(20, 20, 280, 280) 952 | 953 | DarknessGradientFrame.Name = "DarknessGradientFrame" 954 | DarknessGradientFrame.Parent = colorpickerframe 955 | DarknessGradientFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 956 | DarknessGradientFrame.BorderSizePixel = 0 957 | DarknessGradientFrame.Position = UDim2.new(0.0204498973, 0, 0.364844948, 0) 958 | DarknessGradientFrame.Size = UDim2.new(0.963190079, 0, 0.209114, 0) 959 | DarknessGradientFrame.AutoButtonColor = false 960 | DarknessGradientFrame.Font = Enum.Font.SourceSans 961 | 962 | DarknessGradientFrame.Text = "" 963 | DarknessGradientFrame.TextColor3 = Color3.fromRGB(0, 0, 0) 964 | DarknessGradientFrame.TextSize = 14.000 965 | 966 | Slider_2.Name = "Slider" 967 | Slider_2.Parent = DarknessGradientFrame 968 | Slider_2.BackgroundColor3 = Color3.fromRGB(255, 149, 0) 969 | Slider_2.BorderSizePixel = 0 970 | Slider_2.Size = UDim2.new(0.00300000003, 0, 1, 0) 971 | Slider_2.AutoButtonColor = false 972 | Slider_2.Font = Enum.Font.SourceSans 973 | Slider_2.Text = "" 974 | Slider_2.BackgroundTransparency = 1 975 | Slider_2.TextColor3 = Color3.fromRGB(0, 0, 0) 976 | Slider_2.TextSize = 14.000 977 | 978 | DarknessGradient.Color = 979 | ColorSequence.new { 980 | ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), 981 | ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0)) 982 | } 983 | DarknessGradient.Name = "DarknessGradient" 984 | DarknessGradient.Parent = DarknessGradientFrame 985 | 986 | Glow_2.Name = "Glow" 987 | Glow_2.Parent = DarknessGradientFrame 988 | Glow_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 989 | Glow_2.BackgroundTransparency = 1.000 990 | Glow_2.BorderSizePixel = 0 991 | Glow_2.Position = UDim2.new(0, -15, 0, -15) 992 | Glow_2.Size = UDim2.new(1, 30, 1, 30) 993 | Glow_2.ZIndex = 0 994 | Glow_2.Image = "rbxassetid://4996891970" 995 | Glow_2.ImageColor3 = Color3.fromRGB(15, 15, 15) 996 | Glow_2.ScaleType = Enum.ScaleType.Slice 997 | Glow_2.SliceCenter = Rect.new(20, 20, 280, 280) 998 | 999 | Button.Name = "Button" 1000 | Button.Parent = colorpickerframe 1001 | Button.AnchorPoint = Vector2.new(1, 0) 1002 | Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1003 | Button.BorderSizePixel = 0 1004 | Button.BackgroundTransparency = 1 1005 | Button.LayoutOrder = 1 1006 | Button.Position = UDim2.new(0.145051107, -4, 0.330000073, 30) 1007 | Button.Size = UDim2.new(0.548057258, -212, -0.0855988264, 26) 1008 | Button.AutoButtonColor = false 1009 | Button.Font = Enum.Font.SourceSans 1010 | Button.Text = "" 1011 | Button.TextColor3 = Color3.fromRGB(0, 0, 0) 1012 | Button.TextSize = 14.000 1013 | 1014 | Title.Name = "Title" 1015 | Title.Parent = Button 1016 | Title.AnchorPoint = Vector2.new(0, 0.5) 1017 | Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1018 | Title.BackgroundTransparency = 1.000 1019 | Title.BorderColor3 = Color3.fromRGB(0, 0, 0) 1020 | Title.Position = UDim2.new(-0.140368864, 8, 0.5, 0) 1021 | Title.Size = UDim2.new(0.0153690744, 55, 1, -8) 1022 | Title.Font = Enum.Font.SourceSans 1023 | Title.Text = "Confirm" 1024 | Title.TextColor3 = themesettings[themesetting].TextColor 1025 | Title.TextSize = 14.000 1026 | Title.TextTransparency = 0.300 1027 | 1028 | rainbow.Name = "rainbow" 1029 | rainbow.Parent = colorpickerframe 1030 | rainbow.AnchorPoint = Vector2.new(1, 0) 1031 | rainbow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1032 | rainbow.BorderSizePixel = 0 1033 | rainbow.BackgroundTransparency = 1 1034 | rainbow.LayoutOrder = 1 1035 | rainbow.Position = UDim2.new(0.991431355, -4, 0.330000073, 30) 1036 | rainbow.Size = UDim2.new(0.662576675, -212, -0.0855988264, 26) 1037 | rainbow.AutoButtonColor = false 1038 | rainbow.Font = Enum.Font.SourceSans 1039 | rainbow.Text = "" 1040 | rainbow.TextColor3 = Color3.fromRGB(0, 0, 0) 1041 | rainbow.TextSize = 14.000 1042 | 1043 | rainbowtitle.Name = "rainbowtitle" 1044 | rainbowtitle.Parent = rainbow 1045 | rainbowtitle.AnchorPoint = Vector2.new(0, 0.5) 1046 | rainbowtitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1047 | rainbowtitle.BackgroundTransparency = 1.000 1048 | rainbowtitle.BorderColor3 = Color3.fromRGB(0, 0, 0) 1049 | rainbowtitle.Position = UDim2.new(-0.0778688714, 8, 0.5, 0) 1050 | rainbowtitle.Size = UDim2.new(-0.0917737857, 55, 1, -8) 1051 | rainbowtitle.Font = Enum.Font.SourceSans 1052 | rainbowtitle.Text = "Rainbow" 1053 | rainbowtitle.TextColor3 = themesettings[themesetting].TextColor 1054 | rainbowtitle.TextSize = 14.000 1055 | rainbowtitle.TextTransparency = 0.300 1056 | 1057 | box.Name = "box" 1058 | box.Parent = rainbow 1059 | box.AnchorPoint = Vector2.new(1, 0.5) 1060 | box.BackgroundColor3 = themesettings[themesetting].MainFrameColor 1061 | box.BorderSizePixel = 0 1062 | box.Position = UDim2.new(1.08928573, -10, 0.481620401, 0) 1063 | box.Size = UDim2.new(0, 36, 0.9632411, 0) 1064 | 1065 | fill.Name = "fill" 1066 | fill.Parent = box 1067 | fill.AnchorPoint = Vector2.new(0, 0.5) 1068 | fill.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1069 | fill.BorderSizePixel = 0 1070 | fill.Position = UDim2.new(0, 2, 0.5, 0) 1071 | fill.Size = UDim2.new(0.5, -4, 1, -4) 1072 | 1073 | corner_2.CornerRadius = UDim.new(0, 30) 1074 | corner_2.Name = "corner" 1075 | corner_2.Parent = fill 1076 | 1077 | corner_3.Name = "corner" 1078 | corner_3.Parent = box 1079 | 1080 | local MouseEntered = 1081 | TweenService:Create( 1082 | colorpickerbutton, 1083 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1084 | { 1085 | BackgroundColor3 = themesettings[themesetting].hovercolor 1086 | } 1087 | ) 1088 | 1089 | local MouseLeft = 1090 | TweenService:Create( 1091 | colorpickerbutton, 1092 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1093 | { 1094 | BackgroundColor3 = themesettings[themesetting].ItemsColor 1095 | } 1096 | ) 1097 | 1098 | local truetoggle = 1099 | TweenService:Create( 1100 | box, 1101 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1102 | { 1103 | BackgroundColor3 = Color3.fromRGB(59, 153, 253) 1104 | } 1105 | ) 1106 | 1107 | local falsetoggle = 1108 | TweenService:Create( 1109 | box, 1110 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1111 | { 1112 | BackgroundColor3 = themesettings[themesetting].MainFrameColor 1113 | } 1114 | ) 1115 | 1116 | colorpickerbutton.MouseEnter:Connect( 1117 | function() 1118 | MouseEntered:Play() 1119 | end 1120 | ) 1121 | colorpickerbutton.MouseLeave:Connect( 1122 | function() 1123 | MouseLeft:Play() 1124 | end 1125 | ) 1126 | colorpickerbutton.MouseButton1Click:Connect( 1127 | function() 1128 | if c == true then 1129 | colorpickerframe.Visible = false 1130 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1131 | elseif c == false then 1132 | colorpickerframe.Visible = true 1133 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1134 | end 1135 | c = not c 1136 | ripple(colorpickerbutton, Color3.fromRGB(193, 193, 193)) 1137 | end 1138 | ) 1139 | 1140 | Button.MouseButton1Click:Connect( 1141 | function() 1142 | if c == true then 1143 | colorpickerframe.Visible = false 1144 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1145 | elseif c == false then 1146 | colorpickerframe.Visible = true 1147 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1148 | end 1149 | c = not c 1150 | end 1151 | ) 1152 | 1153 | rainbow.MouseButton1Click:Connect( 1154 | function() 1155 | if r == true then 1156 | fill:TweenPosition(UDim2.new(0, 2, 0.5, 0), "In", "Quint", 0.2) 1157 | falsetoggle:Play() 1158 | elseif r == false then 1159 | fill:TweenPosition(UDim2.new(0.528, 2, 0.5, 0), "In", "Quint", 0.2) 1160 | truetoggle:Play() 1161 | end 1162 | 1163 | r = not r 1164 | 1165 | while wait() do 1166 | if r == true then 1167 | callback(rainbowcolor) 1168 | color.BackgroundColor3 = rainbowcolor 1169 | end 1170 | end 1171 | end 1172 | ) 1173 | 1174 | local colourGradientFrame = ColourGradientFrame 1175 | local colourSlider = Slider 1176 | 1177 | local darknessGradientFrame = DarknessGradientFrame 1178 | local darknessSlider = Slider_2 1179 | 1180 | local colourPreview = color 1181 | 1182 | local mouse = game.Players.LocalPlayer:GetMouse() 1183 | 1184 | local movingColourSlider = false 1185 | local movingDarknessSlider = false 1186 | 1187 | colourSlider.MouseButton1Down:Connect( 1188 | function() 1189 | movingColourSlider = true 1190 | end 1191 | ) 1192 | colourGradientFrame.MouseButton1Down:Connect( 1193 | function() 1194 | movingColourSlider = true 1195 | end 1196 | ) 1197 | 1198 | darknessSlider.MouseButton1Down:Connect( 1199 | function() 1200 | movingDarknessSlider = true 1201 | end 1202 | ) 1203 | darknessGradientFrame.MouseButton1Down:Connect( 1204 | function() 1205 | movingDarknessSlider = true 1206 | end 1207 | ) 1208 | 1209 | colourSlider.MouseButton1Up:Connect( 1210 | function() 1211 | movingColourSlider = false 1212 | end 1213 | ) 1214 | colourGradientFrame.MouseButton1Up:Connect( 1215 | function() 1216 | movingColourSlider = false 1217 | end 1218 | ) 1219 | 1220 | darknessSlider.MouseButton1Up:Connect( 1221 | function() 1222 | movingDarknessSlider = false 1223 | end 1224 | ) 1225 | darknessGradientFrame.MouseButton1Up:Connect( 1226 | function() 1227 | movingDarknessSlider = false 1228 | end 1229 | ) 1230 | 1231 | mouse.Button1Up:Connect( 1232 | function() 1233 | movingColourSlider = false 1234 | movingDarknessSlider = false 1235 | end 1236 | ) 1237 | 1238 | mouse.Move:Connect( 1239 | function() 1240 | if movingColourSlider then 1241 | local xOffset = (mouse.X - colourGradientFrame.AbsolutePosition.X) 1242 | 1243 | xOffset = math.clamp(xOffset, 0, colourGradientFrame.AbsoluteSize.X) 1244 | 1245 | local sliderPosNew = UDim2.new(0, xOffset, colourSlider.Position.Y) 1246 | colourSlider.Position = sliderPosNew 1247 | end 1248 | 1249 | if movingDarknessSlider then 1250 | local xOffset = (mouse.X - colourGradientFrame.AbsolutePosition.X) 1251 | 1252 | xOffset = math.clamp(xOffset, 0, colourGradientFrame.AbsoluteSize.X) 1253 | 1254 | local sliderPosNew = UDim2.new(0, xOffset, colourSlider.Position.Y) 1255 | darknessSlider.Position = sliderPosNew 1256 | end 1257 | end 1258 | ) 1259 | 1260 | function returnColour(percentage, gradientKeyPoints) 1261 | local leftColour = gradientKeyPoints[1] 1262 | local rightColour = gradientKeyPoints[#gradientKeyPoints] 1263 | 1264 | local lerpPercent = 0.5 1265 | local colour = leftColour.Value 1266 | 1267 | for i = 1, #gradientKeyPoints - 1 do 1268 | if gradientKeyPoints[i].Time <= percentage and gradientKeyPoints[i + 1].Time >= percentage then 1269 | leftColour = gradientKeyPoints[i] 1270 | rightColour = gradientKeyPoints[i + 1] 1271 | 1272 | lerpPercent = (percentage - leftColour.Time) / (rightColour.Time - leftColour.Time) 1273 | 1274 | colour = leftColour.Value:Lerp(rightColour.Value, lerpPercent) 1275 | 1276 | return colour 1277 | end 1278 | end 1279 | end 1280 | 1281 | function updateColourPreview() 1282 | local colourMinXPos = colourGradientFrame.AbsolutePosition.X 1283 | local colourMaxXPos = colourMinXPos + colourGradientFrame.AbsoluteSize.X 1284 | 1285 | local colourXPixelSize = colourMaxXPos - colourMinXPos 1286 | 1287 | local colourSliderX = colourSlider.AbsolutePosition.X 1288 | 1289 | local colourXPos = (colourSliderX - colourMinXPos) / colourXPixelSize 1290 | 1291 | local darknessMinXPos = darknessGradientFrame.AbsolutePosition.X 1292 | local darknessMaxXPos = darknessMinXPos + darknessGradientFrame.AbsoluteSize.X 1293 | 1294 | local darknessXPixelSize = darknessMaxXPos - darknessMinXPos 1295 | 1296 | local darknessSliderX = darknessSlider.AbsolutePosition.X 1297 | 1298 | local darknessXPos = (darknessSliderX - darknessMinXPos) / darknessXPixelSize 1299 | 1300 | local darkness = returnColour(darknessXPos, darknessGradientFrame.DarknessGradient.Color.Keypoints) 1301 | local darknessR, darknessG, darknessB = 1302 | 255 - math.floor(darkness.R * 255), 1303 | 255 - math.floor(darkness.G * 255), 1304 | 255 - math.floor(darkness.B * 255) 1305 | 1306 | local colour = returnColour(colourXPos, colourGradientFrame.ColourGradient.Color.Keypoints) 1307 | local colourR, colourG, colourB = 1308 | math.floor(colour.R * 255), 1309 | math.floor(colour.G * 255), 1310 | math.floor(colour.B * 255) 1311 | 1312 | local resultColour = Color3.fromRGB(colourR - darknessR, colourG - darknessG, colourB - darknessB) 1313 | 1314 | colourPreview.BackgroundColor3 = resultColour 1315 | callback(resultColour) 1316 | end 1317 | 1318 | colourSlider:GetPropertyChangedSignal("Position"):Connect(updateColourPreview) 1319 | darknessSlider:GetPropertyChangedSignal("Position"):Connect(updateColourPreview) 1320 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1321 | end 1322 | 1323 | function tabcurrent:Dropdown(name, list, callback) 1324 | list = list or {} 1325 | local d = false 1326 | callback = callback or function(...) 1327 | end 1328 | local dropdown = Instance.new("TextButton") 1329 | local dropdowntext = Instance.new("TextLabel") 1330 | local corner = Instance.new("UICorner") 1331 | local arrow = Instance.new("ImageLabel") 1332 | dropdown.Name = "dropdown" 1333 | dropdown.Parent = container 1334 | dropdown.BackgroundColor3 = themesettings[themesetting].ItemsColor 1335 | dropdown.BorderSizePixel = 0 1336 | dropdown.Size = UDim2.new(1, 0, 0, 26) 1337 | dropdown.AutoButtonColor = false 1338 | dropdown.Font = Enum.Font.SourceSans 1339 | dropdown.Text = "" 1340 | dropdown.TextColor3 = Color3.fromRGB(0, 0, 0) 1341 | dropdown.TextSize = 14.000 1342 | dropdown.ClipsDescendants = true 1343 | 1344 | dropdowntext.Name = "dropdowntext" 1345 | dropdowntext.Parent = dropdown 1346 | dropdowntext.AnchorPoint = Vector2.new(0, 0.5) 1347 | dropdowntext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1348 | dropdowntext.BackgroundTransparency = 1.000 1349 | dropdowntext.Position = UDim2.new(0, 8, 0.5, 0) 1350 | dropdowntext.Size = UDim2.new(0, 49, 1, -8) 1351 | dropdowntext.Font = Enum.Font.SourceSans 1352 | dropdowntext.Text = name 1353 | dropdowntext.TextColor3 = themesettings[themesetting].TextColor 1354 | dropdowntext.TextSize = 13.000 1355 | dropdowntext.TextXAlignment = Enum.TextXAlignment.Left 1356 | 1357 | corner.Name = "corner" 1358 | corner.Parent = dropdown 1359 | 1360 | arrow.Name = "arrow" 1361 | arrow.Parent = dropdown 1362 | arrow.AnchorPoint = Vector2.new(1, 0.5) 1363 | arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1364 | arrow.BackgroundTransparency = 1.000 1365 | arrow.Position = UDim2.new(0.987730086, -3, 0.5, 0) 1366 | arrow.Rotation = 90.000 1367 | arrow.Size = UDim2.new(0, 22, 0, 22) 1368 | arrow.Image = "http://www.roblox.com/asset/?id=5728209609" 1369 | arrow.ImageColor3 = themesettings[themesetting].TextColor 1370 | arrow.ScaleType = Enum.ScaleType.Fit 1371 | 1372 | local dropframe = Instance.new("Frame") 1373 | local corner = Instance.new("UICorner") 1374 | local dropscrollframe = Instance.new("ScrollingFrame") 1375 | local droplist = Instance.new("UIListLayout") 1376 | dropframe.Name = "dropframe" 1377 | dropframe.Parent = container 1378 | dropframe.BackgroundColor3 = themesettings[themesetting].ItemsColor 1379 | dropframe.BorderSizePixel = 0 1380 | dropframe.Position = UDim2.new(0, 0, 0.273882687, 0) 1381 | dropframe.Size = UDim2.new(1, 0, 0.0256067105, 78) 1382 | dropframe.Visible = false 1383 | 1384 | corner.Name = "corner" 1385 | corner.Parent = dropframe 1386 | 1387 | dropscrollframe.Name = "dropscrollframe" 1388 | dropscrollframe.Parent = dropframe 1389 | dropscrollframe.Active = true 1390 | dropscrollframe.AnchorPoint = Vector2.new(0.5, 0) 1391 | dropscrollframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1392 | dropscrollframe.BackgroundTransparency = 1.000 1393 | dropscrollframe.BorderSizePixel = 0 1394 | dropscrollframe.Position = UDim2.new(0.494887531, 4, -0.578894496, 63) 1395 | dropscrollframe.Size = UDim2.new(1.00613499, -20, 1.60618436, -77) 1396 | dropscrollframe.BottomImage = "rbxassetid://5234388158" 1397 | dropscrollframe.CanvasSize = UDim2.new(0, 0, 0, 0) 1398 | dropscrollframe.MidImage = "rbxassetid://5234388158" 1399 | dropscrollframe.ScrollBarImageColor3 = themesettings[themesetting].MainFrameColor 1400 | dropscrollframe.ScrollBarThickness = 6 1401 | dropscrollframe.TopImage = "rbxassetid://5234388158" 1402 | 1403 | droplist.Name = "containerlist" 1404 | droplist.Parent = dropscrollframe 1405 | droplist.SortOrder = Enum.SortOrder.LayoutOrder 1406 | droplist.Padding = UDim.new(0, 4) 1407 | 1408 | local closetween = 1409 | TweenService:Create( 1410 | arrow, 1411 | TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), 1412 | { 1413 | Rotation = 90 1414 | } 1415 | ) 1416 | local opentween = 1417 | TweenService:Create( 1418 | arrow, 1419 | TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), 1420 | { 1421 | Rotation = 0 1422 | } 1423 | ) 1424 | 1425 | local MouseEntered = 1426 | TweenService:Create( 1427 | dropdown, 1428 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1429 | { 1430 | BackgroundColor3 = themesettings[themesetting].hovercolor 1431 | } 1432 | ) 1433 | 1434 | local MouseLeft = 1435 | TweenService:Create( 1436 | dropdown, 1437 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1438 | { 1439 | BackgroundColor3 = themesettings[themesetting].ItemsColor 1440 | } 1441 | ) 1442 | 1443 | dropdown.MouseEnter:Connect( 1444 | function() 1445 | MouseEntered:Play() 1446 | end 1447 | ) 1448 | dropdown.MouseLeave:Connect( 1449 | function() 1450 | MouseLeft:Play() 1451 | end 1452 | ) 1453 | dropdown.MouseButton1Click:Connect( 1454 | function() 1455 | if d == true then 1456 | closetween:Play() 1457 | dropframe.Visible = false 1458 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1459 | elseif d == false then 1460 | opentween:Play() 1461 | dropframe.Visible = true 1462 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1463 | end 1464 | d = not d 1465 | ripple(dropdown, Color3.fromRGB(193, 193, 193)) 1466 | end 1467 | ) 1468 | 1469 | for i, v in next, list do 1470 | local Option = Instance.new("TextButton") 1471 | local UICorner = Instance.new("UICorner") 1472 | local optiontext = Instance.new("TextLabel") 1473 | 1474 | Option.Name = "Option" 1475 | Option.Parent = dropscrollframe 1476 | Option.BackgroundColor3 = themesettings[themesetting].ItemsColor 1477 | Option.BorderSizePixel = 0 1478 | Option.Position = UDim2.new(0, 0, -2.11020051e-07, 0) 1479 | Option.Size = UDim2.new(0, 461, 0, 21) 1480 | Option.AutoButtonColor = false 1481 | Option.Font = Enum.Font.SourceSans 1482 | Option.Text = "" 1483 | Option.TextColor3 = Color3.fromRGB(0, 0, 0) 1484 | Option.TextSize = 13.000 1485 | Option.TextXAlignment = Enum.TextXAlignment.Left 1486 | 1487 | UICorner.Parent = Option 1488 | 1489 | optiontext.Name = "optiontext" 1490 | optiontext.Parent = Option 1491 | optiontext.AnchorPoint = Vector2.new(0, 0.5) 1492 | optiontext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1493 | optiontext.BackgroundTransparency = 1.000 1494 | optiontext.Position = UDim2.new(0, 8, 0.5, 0) 1495 | optiontext.Size = UDim2.new(0, 49, 1, -8) 1496 | optiontext.Font = Enum.Font.SourceSans 1497 | optiontext.Text = v 1498 | optiontext.TextColor3 = themesettings[themesetting].TextColor 1499 | optiontext.TextSize = 13.000 1500 | optiontext.TextXAlignment = Enum.TextXAlignment.Left 1501 | 1502 | local MouseEntered = 1503 | TweenService:Create( 1504 | Option, 1505 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1506 | { 1507 | BackgroundColor3 = themesettings[themesetting].hovercolor 1508 | } 1509 | ) 1510 | 1511 | local MouseLeft = 1512 | TweenService:Create( 1513 | Option, 1514 | TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), 1515 | { 1516 | BackgroundColor3 = themesettings[themesetting].ItemsColor 1517 | } 1518 | ) 1519 | 1520 | Option.MouseEnter:Connect( 1521 | function() 1522 | MouseEntered:Play() 1523 | end 1524 | ) 1525 | Option.MouseLeave:Connect( 1526 | function() 1527 | MouseLeft:Play() 1528 | end 1529 | ) 1530 | 1531 | Option.MouseButton1Click:Connect( 1532 | function() 1533 | d = not d 1534 | dropdowntext.Text = name .. ": " .. v 1535 | callback(v) 1536 | closetween:Play() 1537 | dropframe.Visible = false 1538 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1539 | end 1540 | ) 1541 | 1542 | dropscrollframe.CanvasSize = UDim2.new(0, 0, 0, droplist.AbsoluteContentSize.Y) 1543 | end 1544 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1545 | end 1546 | 1547 | function tabcurrent:Textbox(name, disapper, callback) 1548 | callback = callback or function(...) 1549 | end 1550 | local textbox = Instance.new("TextButton") 1551 | local textboxtitle = Instance.new("TextLabel") 1552 | local corner = Instance.new("UICorner") 1553 | local Box = Instance.new("Frame") 1554 | local corner_2 = Instance.new("UICorner") 1555 | local TextBox = Instance.new("TextBox") 1556 | 1557 | textbox.Name = "textbox" 1558 | textbox.Parent = container 1559 | textbox.BackgroundColor3 = themesettings[themesetting].ItemsColor 1560 | textbox.BorderSizePixel = 0 1561 | textbox.Size = UDim2.new(1, 0, 0, 26) 1562 | textbox.AutoButtonColor = false 1563 | textbox.Font = Enum.Font.SourceSans 1564 | textbox.Text = "" 1565 | textbox.TextColor3 = Color3.fromRGB(0, 0, 0) 1566 | textbox.TextSize = 14.000 1567 | 1568 | textboxtitle.Name = "textboxtitle" 1569 | textboxtitle.Parent = textbox 1570 | textboxtitle.AnchorPoint = Vector2.new(0, 0.5) 1571 | textboxtitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1572 | textboxtitle.BackgroundTransparency = 1.000 1573 | textboxtitle.Position = UDim2.new(0, 8, 0.5, 0) 1574 | textboxtitle.Size = UDim2.new(0, 49, 1, -8) 1575 | textboxtitle.Font = Enum.Font.SourceSans 1576 | textboxtitle.Text = name 1577 | textboxtitle.TextColor3 = themesettings[themesetting].TextColor 1578 | textboxtitle.TextSize = 13.000 1579 | textboxtitle.TextXAlignment = Enum.TextXAlignment.Left 1580 | 1581 | corner.Name = "corner" 1582 | corner.Parent = textbox 1583 | 1584 | Box.Name = "Box" 1585 | Box.Parent = textbox 1586 | Box.AnchorPoint = Vector2.new(1, 0.5) 1587 | Box.BackgroundColor3 = themesettings[themesetting].MainFrameColor 1588 | Box.BorderSizePixel = 0 1589 | Box.Position = UDim2.new(1, -5, 0.5, 0) 1590 | Box.Size = UDim2.new(0.177914113, 36, 1, -8) 1591 | 1592 | corner_2.Name = "corner" 1593 | corner_2.Parent = Box 1594 | 1595 | TextBox.Parent = Box 1596 | TextBox.BackgroundColor3 = themesettings[themesetting].MainFrameColor 1597 | TextBox.BackgroundTransparency = 1.000 1598 | TextBox.Size = UDim2.new(0, 123, 0, 18) 1599 | TextBox.Font = Enum.Font.SourceSans 1600 | TextBox.Text = "" 1601 | TextBox.TextColor3 = themesettings[themesetting].TextColor 1602 | TextBox.TextSize = 14.000 1603 | 1604 | TextBox.FocusLost:Connect( 1605 | function(ep) 1606 | if ep then 1607 | if #TextBox.Text > 0 then 1608 | pcall(callback, TextBox.Text) 1609 | if disapper then 1610 | TextBox.Text = "" 1611 | end 1612 | end 1613 | end 1614 | end 1615 | ) 1616 | 1617 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1618 | end 1619 | 1620 | function tabcurrent:Label(name) 1621 | local labelfunc = {} 1622 | local button = Instance.new("TextButton") 1623 | local buttontext = Instance.new("TextLabel") 1624 | local corner = Instance.new("UICorner") 1625 | button.Name = "label" 1626 | button.Parent = container 1627 | button.BackgroundColor3 = themesettings[themesetting].ItemsColor 1628 | button.BorderSizePixel = 0 1629 | button.Size = UDim2.new(1, 0, 0, 26) 1630 | button.AutoButtonColor = false 1631 | button.Font = Enum.Font.SourceSans 1632 | button.Text = "" 1633 | button.ClipsDescendants = true 1634 | button.TextColor3 = Color3.fromRGB(0, 0, 0) 1635 | button.TextSize = 14.000 1636 | 1637 | buttontext.Name = "buttontext" 1638 | buttontext.Parent = button 1639 | buttontext.AnchorPoint = Vector2.new(0, 0.5) 1640 | buttontext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1641 | buttontext.BackgroundTransparency = 1.000 1642 | buttontext.Position = UDim2.new(0, 8, 0.5, 0) 1643 | buttontext.Size = UDim2.new(0, 49, 1, -8) 1644 | buttontext.Font = Enum.Font.SourceSans 1645 | buttontext.Text = name 1646 | buttontext.TextColor3 = themesettings[themesetting].TextColor 1647 | buttontext.TextSize = 13.000 1648 | buttontext.TextXAlignment = Enum.TextXAlignment.Left 1649 | 1650 | corner.Name = "corner" 1651 | corner.Parent = button 1652 | 1653 | function labelfunc:Change(name) 1654 | buttontext.Text = name 1655 | end 1656 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1657 | return labelfunc 1658 | end 1659 | 1660 | function tabcurrent:themeselector() 1661 | local themeselector = Instance.new("TextButton") 1662 | local themeselectortitle = Instance.new("TextLabel") 1663 | local corner = Instance.new("UICorner") 1664 | local Box = Instance.new("Frame") 1665 | local corner_2 = Instance.new("UICorner") 1666 | local dark = Instance.new("TextButton") 1667 | local light = Instance.new("TextButton") 1668 | 1669 | themeselector.Name = "themeselector" 1670 | themeselector.Parent = container 1671 | themeselector.BackgroundColor3 = themesettings[themesetting].ItemsColor 1672 | themeselector.BorderSizePixel = 0 1673 | themeselector.Size = UDim2.new(1, 0, 0, 26) 1674 | themeselector.AutoButtonColor = false 1675 | themeselector.Font = Enum.Font.SourceSans 1676 | themeselector.Text = "" 1677 | themeselector.TextColor3 = Color3.fromRGB(0, 0, 0) 1678 | themeselector.TextSize = 14.000 1679 | 1680 | themeselectortitle.Name = "themeselectortitle" 1681 | themeselectortitle.Parent = themeselector 1682 | themeselectortitle.AnchorPoint = Vector2.new(0, 0.5) 1683 | themeselectortitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1684 | themeselectortitle.BackgroundTransparency = 1.000 1685 | themeselectortitle.Position = UDim2.new(0, 8, 0.5, 0) 1686 | themeselectortitle.Size = UDim2.new(0, 49, 1, -8) 1687 | themeselectortitle.Font = Enum.Font.SourceSans 1688 | themeselectortitle.Text = "Theme Selector" 1689 | themeselectortitle.TextColor3 = themesettings[themesetting].TextColor 1690 | themeselectortitle.TextSize = 13.000 1691 | themeselectortitle.TextXAlignment = Enum.TextXAlignment.Left 1692 | 1693 | corner.Name = "corner" 1694 | corner.Parent = themeselector 1695 | 1696 | Box.Name = "Box" 1697 | Box.Parent = themeselector 1698 | Box.AnchorPoint = Vector2.new(1, 0.5) 1699 | Box.BackgroundColor3 = themesettings[themesetting].MainFrameColor 1700 | Box.BorderSizePixel = 0 1701 | Box.Position = UDim2.new(1, -5, 0.5, 0) 1702 | Box.Size = UDim2.new(0.458077699, 36, 1, -8) 1703 | 1704 | corner_2.Name = "corner" 1705 | corner_2.Parent = Box 1706 | 1707 | dark.Name = "dark" 1708 | dark.Parent = themeselector 1709 | dark.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1710 | dark.BackgroundTransparency = 1.000 1711 | dark.Position = UDim2.new(0.72188139, 0, 0.15384616, 0) 1712 | dark.Size = UDim2.new(0.116572998, 73, 0.692307711, 0) 1713 | dark.Font = Enum.Font.GothamBold 1714 | dark.Text = "Dark" 1715 | dark.TextColor3 = themesettings[themesetting].TextColor 1716 | dark.TextSize = 11.000 1717 | if themesetting == "Dark" then 1718 | dark.TextTransparency = 0 1719 | else 1720 | dark.TextTransparency = 0.300 1721 | end 1722 | light.Name = "light" 1723 | light.Parent = themeselector 1724 | light.BackgroundColor3 = Color3.fromRGB(255, 255, 255) 1725 | light.BackgroundTransparency = 1.000 1726 | light.Position = UDim2.new(0.472392619, 0, 0.153846145, 0) 1727 | light.Size = UDim2.new(0.116564445, 73, 0.692307889, 0) 1728 | light.Font = Enum.Font.GothamBold 1729 | light.Text = "Light" 1730 | light.TextColor3 = themesettings[themesetting].TextColor 1731 | light.TextSize = 11.000 1732 | light.TextWrapped = true 1733 | if themesetting == "Light" then 1734 | light.TextTransparency = 0 1735 | else 1736 | light.TextTransparency = 0.300 1737 | end 1738 | 1739 | dark.MouseButton1Click:Connect( 1740 | function() 1741 | light.TextTransparency = 0.3 1742 | dark.TextTransparency = 0 1743 | writefile("heliostheme.txt", "Dark") 1744 | lib:notification("Next time you launch the script, the theme will be dark.") 1745 | end 1746 | ) 1747 | 1748 | light.MouseButton1Click:Connect( 1749 | function() 1750 | dark.TextTransparency = 0.3 1751 | light.TextTransparency = 0 1752 | writefile("heliostheme.txt", "Light") 1753 | lib:notification("Next time you launch the script, the theme will be light.") 1754 | end 1755 | ) 1756 | scrollframe.CanvasSize = UDim2.new(0, 0, 0, containerlist.AbsoluteContentSize.Y) 1757 | end 1758 | 1759 | return tabcurrent 1760 | end 1761 | return tabholder 1762 | end 1763 | return lib --------------------------------------------------------------------------------