SkeletalScripts

Tourmaline V:1.2.5 (executor + underline)

Mar 28th, 2020
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.96 KB | None | 0 0
  1. local Library = {}
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4.     ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  5.     ScreenGui.ResetOnSpawn = false
  6. function Library:CreateWindow(name)
  7.     wait(1.2)
  8.     local pos = 0.1
  9.     local get =  ScreenGui:GetChildren()
  10.     if ScreenGui:FindFirstChild("Container") ~= nil then -- checking if there is already a menu
  11.         for i = 1, #get do
  12.             pos = pos + 0.05
  13.         end
  14.     else
  15.         pos = 0.1
  16.     end
  17.     local Container = Instance.new("ImageLabel")
  18.     local TextLabel = Instance.new("TextLabel")
  19.     local Underline = Instance.new("ImageLabel")
  20.     local Container_2 = Instance.new("ImageLabel") -- literally the best thing ever
  21.     local UIListLayout = Instance.new("UIListLayout") -- literally the most annoying thing ever
  22.     -- I didn't know how to create multiple windows so this is my best attempt - SkeletalScripts 2:14 AM 3/28/2020
  23.    
  24.     Container.Name = "Container"
  25.     Container.Parent = ScreenGui
  26.     Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  27.     Container.BackgroundTransparency = 1.000
  28.     Container.Position = UDim2.new(0.0200000033, 0, pos, 0)
  29.     Container.Size = UDim2.new(0, 230, 0, 39)
  30.     Container.Image = "rbxassetid://3570695787"
  31.     Container.ImageColor3 = Color3.fromRGB(45, 45, 45)
  32.     Container.ScaleType = Enum.ScaleType.Slice
  33.     Container.SliceCenter = Rect.new(100, 100, 100, 100)
  34.     Container.SliceScale = 0.040
  35.    
  36.     TextLabel.Parent = Container
  37.     TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  38.     TextLabel.BackgroundTransparency = 1.000
  39.     TextLabel.Position = UDim2.new(0, 0, 0.2, 0)
  40.     TextLabel.Size = UDim2.new(1, 0, 0.574999988, 0)
  41.     TextLabel.Font = Enum.Font.Arial
  42.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  43.     TextLabel.TextScaled = true
  44.     TextLabel.TextSize = 14.000
  45.     TextLabel.Text = name
  46.     TextLabel.TextWrapped = true
  47.    
  48.     Container_2.Name = "Container"
  49.     Container_2.Parent = Container
  50.     Container_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  51.     Container_2.BackgroundTransparency = 1.000
  52.     Container_2.ClipsDescendants = true
  53.     Container_2.Position = UDim2.new(1.08000004, 0, 1.95625503e-07, 0)
  54.     Container_2.Size = UDim2.new(0,240,0,0)
  55.     Container_2.Image = "rbxassetid://3570695787"
  56.     Container_2.ImageColor3 = Color3.fromRGB(45, 45, 45)
  57.     Container_2.ScaleType = Enum.ScaleType.Slice
  58.     Container_2.SliceCenter = Rect.new(100, 100, 100, 100)
  59.     Container_2.SliceScale = 0.040
  60.    
  61.     UIListLayout.Parent = Container_2
  62.     UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
  63.     UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  64.     UIListLayout.Padding = UDim.new(0, 5)
  65.    
  66.     Underline.Name = "Underline"
  67.     Underline.Parent = Container
  68.     Underline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  69.     Underline.BackgroundTransparency = 1.000
  70.     Underline.Position = UDim2.new(0,0,0.95,0)
  71.     Underline.Size = UDim2.new(1,0,0,4)
  72.     Underline.Image = "rbxassetid://3570695787"
  73.     Underline.ImageColor3 = Color3.fromRGB(255, 255, 255)
  74.     Underline.ScaleType = Enum.ScaleType.Slice
  75.     Underline.SliceCenter = Rect.new(100, 100, 100, 100)
  76.     Underline.SliceScale = 0.040
  77.     local UIGradient = Instance.new("UIGradient")
  78.    
  79.     --Properties:
  80.    
  81.     UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(20, 180, 255)), ColorSequenceKeypoint.new(0.13, Color3.fromRGB(185, 78, 121)), ColorSequenceKeypoint.new(0.30, Color3.fromRGB(96, 155, 98)), ColorSequenceKeypoint.new(0.51, Color3.fromRGB(147, 170, 161)), ColorSequenceKeypoint.new(0.72, Color3.fromRGB(241, 41, 41)), ColorSequenceKeypoint.new(0.86, Color3.fromRGB(124, 152, 150)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(20, 180, 255))}
  82.     UIGradient.Parent = Underline
  83.  
  84.     local Tourmaline = {}
  85.    
  86.     function Tourmaline:Toggle(name,callback)
  87.         callback = callback or function() end
  88.         local Toggle = Instance.new("ImageLabel")
  89.         local ToggleRound = Instance.new("ImageLabel")
  90.         local ToggleButton = Instance.new("TextButton")
  91.         local Text = Instance.new("TextLabel")
  92.         Toggle.Name = "Toggle"
  93.         Toggle.Parent = Container_2
  94.         Toggle.Active = true
  95.         Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  96.         Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  97.         Toggle.BackgroundTransparency = 1.000
  98.         Toggle.ClipsDescendants = true
  99.         Toggle.Position = UDim2.new(0.5, 0, 0.243902475, 0)
  100.         Toggle.Selectable = true
  101.         Toggle.Size = UDim2.new(1, 0, 0, 30)
  102.         Toggle.Image = "rbxassetid://3570695787"
  103.         Toggle.ImageColor3 = Color3.fromRGB(56, 56, 56)
  104.         Toggle.ScaleType = Enum.ScaleType.Slice
  105.         Toggle.SliceCenter = Rect.new(100, 100, 100, 100)
  106.         Toggle.SliceScale = 0.040
  107.        
  108.         ToggleRound.Name = "ToggleRound"
  109.         ToggleRound.Parent = Toggle
  110.         ToggleRound.Active = true
  111.         ToggleRound.AnchorPoint = Vector2.new(0.5, 0.5)
  112.         ToggleRound.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113.         ToggleRound.BackgroundTransparency = 1.000
  114.         ToggleRound.Position = UDim2.new(0.916666687, 0, 0.5, 0)
  115.         ToggleRound.Selectable = true
  116.         ToggleRound.Size = UDim2.new(0.166666776, 0, 1, 0)
  117.         ToggleRound.ZIndex = 3
  118.         ToggleRound.Image = "rbxassetid://3570695787"
  119.         ToggleRound.ImageColor3 = Color3.fromRGB(70, 70, 70)
  120.         ToggleRound.ScaleType = Enum.ScaleType.Slice
  121.         ToggleRound.SliceCenter = Rect.new(100, 100, 100, 100)
  122.         ToggleRound.SliceScale = 0.040
  123.        
  124.         ToggleButton.Name = "ToggleButton"
  125.         ToggleButton.Parent = ToggleRound
  126.         ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127.         ToggleButton.BackgroundTransparency = 1.000
  128.         ToggleButton.Size = UDim2.new(1, 0, 1, 0)
  129.         ToggleButton.Font = Enum.Font.SourceSans
  130.         ToggleButton.Text = " "
  131.         ToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  132.         ToggleButton.TextSize = 14.000
  133.        
  134.         Text.Name = "Text"
  135.         Text.Parent = Toggle
  136.         Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  137.         Text.BackgroundTransparency = 1.000
  138.         Text.Size = UDim2.new(0.800000012, 0, 1, 0)
  139.         Text.Font = Enum.Font.SourceSans
  140.         Text.TextColor3 = Color3.fromRGB(255, 255, 255)
  141.         Text.TextScaled = true
  142.         Text.TextSize = 14.000
  143.         Text.TextWrapped = true
  144.         Text.Text = name
  145.        
  146.         local toggled = 0
  147.         ToggleButton.MouseButton1Click:Connect(function()
  148.             if toggled == 0 then
  149.                 toggled = 1
  150.                 ToggleRound.ImageColor3 = Color3.fromRGB(200, 0, 0)
  151.                 callback()
  152.             else
  153.                 toggled = 0
  154.                 ToggleRound.ImageColor3 = Color3.fromRGB(70, 70, 70)
  155.             end
  156.         end)
  157.          Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Toggle.Size.Y.Offset+5) 
  158.          
  159.     end
  160.    
  161.     function Tourmaline:Section(name)
  162.         local Section = Instance.new("TextLabel")
  163.         local Background = Instance.new("ImageLabel")
  164.         local Background_2 = Instance.new("ImageLabel")
  165.        
  166.         Section.Name = "Section"
  167.         Section.Parent = Container_2
  168.         Section.Text = name
  169.         Section.Active = true
  170.         Section.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  171.         Section.BackgroundTransparency = 1.000
  172.         Section.BorderColor3 = Color3.fromRGB(180, 180, 180)
  173.         Section.BorderSizePixel = 0
  174.         Section.Position = UDim2.new(1.3125, 0, 0.678861856, 0)
  175.         Section.Selectable = true
  176.         Section.Size = UDim2.new(1, 0, 0, 30)
  177.         Section.ZIndex = 3
  178.         Section.Font = Enum.Font.SourceSans
  179.         Section.TextColor3 = Color3.fromRGB(255, 255, 255)
  180.         Section.TextScaled = true
  181.         Section.TextSize = 24.000
  182.         Section.TextWrapped = true
  183.        
  184.         Background.Name = "Background"
  185.         Background.Parent = Section
  186.         Background.Active = true
  187.         Background.AnchorPoint = Vector2.new(0.5, 0.5)
  188.         Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  189.         Background.BackgroundTransparency = 1.000
  190.         Background.BorderSizePixel = 0
  191.         Background.Position = UDim2.new(0.5, 0, 0.5, 0)
  192.         Background.Selectable = true
  193.         Background.Size = UDim2.new(1, 0, 1, 0)
  194.         Background.ZIndex = 2
  195.         Background.Image = "rbxassetid://3570695787"
  196.         Background.ImageColor3 = Color3.fromRGB(45, 45, 45)
  197.         Background.ScaleType = Enum.ScaleType.Slice
  198.         Background.SliceCenter = Rect.new(100, 100, 100, 100)
  199.         Background.SliceScale = 0.040
  200.        
  201.         Background_2.Name = "Background"
  202.         Background_2.Parent = Section
  203.         Background_2.Active = true
  204.         Background_2.AnchorPoint = Vector2.new(0.5, 0.5)
  205.         Background_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  206.         Background_2.BackgroundTransparency = 1.000
  207.         Background_2.BorderSizePixel = 0
  208.         Background_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  209.         Background_2.Selectable = true
  210.         Background_2.Size = UDim2.new(1, 0, 1.14999998, 0)
  211.         Background_2.Image = "rbxassetid://3570695787"
  212.         Background_2.ImageColor3 = Color3.fromRGB(70, 70, 70)
  213.         Background_2.ScaleType = Enum.ScaleType.Slice
  214.         Background_2.SliceCenter = Rect.new(100, 100, 100, 100)
  215.         Background_2.SliceScale = 0.040
  216.           Container_2.Size =  Container_2.Size + UDim2.new(0,0,0,Section.Size.Y.Offset+5)  
  217.     end
  218.    
  219.     function Tourmaline:Slider(name,callback)
  220.         callback = callback or function() end
  221.    
  222.         local Slider = Instance.new("ImageLabel")
  223.         local Slide = Instance.new("Frame")
  224.         local Button = Instance.new("ImageButton")
  225.         local Num = Instance.new("TextLabel")
  226.         local Text_2 = Instance.new("TextLabel")
  227.        
  228.         Slider.Name = "Slider"
  229.         Slider.Parent = Container_2
  230.         Slider.Active = true
  231.         Slider.AnchorPoint = Vector2.new(0.5, 0.5)
  232.         Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  233.         Slider.BackgroundTransparency = 1.000
  234.         Slider.ClipsDescendants = true
  235.         Slider.Position = UDim2.new(0.5, 0, 0.632113814, 0)
  236.         Slider.Selectable = true
  237.         Slider.Size = UDim2.new(1, 0, 0, 30)
  238.         Slider.Image = "rbxassetid://3570695787"
  239.         Slider.ImageColor3 = Color3.fromRGB(56, 56, 56)
  240.         Slider.ScaleType = Enum.ScaleType.Slice
  241.         Slider.SliceCenter = Rect.new(100, 100, 100, 100)
  242.         Slider.SliceScale = 0.040
  243.        
  244.         Slide.Name = "Slide"
  245.         Slide.Parent = Slider
  246.         Slide.BackgroundColor3 = Color3.fromRGB(99, 99, 99)
  247.         Slide.BorderSizePixel = 0
  248.         Slide.Position = UDim2.new(0.554166913, 0, 0.299999505, 0)
  249.         Slide.Size = UDim2.new(0, 100, 0, 12)
  250.        
  251.         Button.Name = "Button"
  252.         Button.Parent = Slide
  253.         Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  254.         Button.BackgroundTransparency = 1.000
  255.         Button.BorderSizePixel = 0
  256.         Button.Size = UDim2.new(0, 4, 0, 11)
  257.         Button.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
  258.        
  259.         Num.Name = "Num"
  260.         Num.Parent = Slider
  261.         Num.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  262.         Num.BackgroundTransparency = 1.000
  263.         Num.BorderColor3 = Color3.fromRGB(27, 42, 53)
  264.         Num.Position = UDim2.new(0.416666687, 0, 0, 0)
  265.         Num.Size = UDim2.new(0, 25, 0, 30)
  266.         Num.Font = Enum.Font.SourceSans
  267.         Num.Text = "0"
  268.         Num.TextColor3 = Color3.fromRGB(255, 255, 255)
  269.         Num.TextScaled = true
  270.         Num.TextSize = 14.000
  271.         Num.TextWrapped = true
  272.        
  273.         Text_2.Name = "Text"
  274.         Text_2.Parent = Slider
  275.         Text_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  276.         Text_2.BackgroundTransparency = 1.000
  277.         Text_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  278.         Text_2.Size = UDim2.new(0, 100, 0, 30)
  279.         Text_2.Font = Enum.Font.SourceSans
  280.         Text_2.Text = name
  281.         Text_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  282.         Text_2.TextScaled = true
  283.         Text_2.TextSize = 14.000
  284.         Text_2.TextWrapped = true
  285.          Container_2.Size =  Container_2.Size + UDim2.new(0,0,0,Text_2.Size.Y.Offset+5)
  286.        
  287.         local SliderBtn = Button
  288.         local Player = game:GetService("Players").LocalPlayer
  289.         local UIS = game:GetService("UserInputService")
  290.         local RuS = game:GetService("RunService")
  291.         -- Properties
  292.         local min = 0
  293.         local max = 100
  294.         local held = false
  295.         local step = "0.00"..max
  296.         local percentage = 0
  297.         function snap(number, factor)
  298.             if factor == 0 then
  299.                 return number
  300.             else
  301.                 return math.floor(number/factor+0.5)*factor
  302.             end
  303.         end
  304.         UIS.InputEnded:connect(function(input, processed)
  305.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  306.                 held = false
  307.             end
  308.         end)
  309.         SliderBtn.MouseButton1Down:connect(function()
  310.             held = true
  311.         end)
  312.         RuS.RenderStepped:connect(function(delta)
  313.             if held then
  314.                 local MousePos = UIS:GetMouseLocation().X
  315.                 local BtnPos = SliderBtn.Position
  316.                 local SliderSize = Slider.AbsoluteSize.X
  317.                 local SliderPos = Slider.AbsolutePosition.X
  318.                 local pos = snap((MousePos-SliderPos)/SliderSize,step)
  319.                 percentage = math.clamp(pos,0,1)
  320.                 local per = pos / SliderSize
  321.                 SliderBtn.Position = UDim2.new(percentage,0,BtnPos.Y.Scale, BtnPos.Y.Offset)
  322.                 local val = math.floor((min + (max - min)* per)* max) / max
  323.                 if val > max/100 then val = max/100 end if val < min then val = min end
  324.                 Num.Text = tostring(val*100)
  325.                 callback(val*100)
  326.             end
  327.         end)
  328.              
  329.     end
  330.    
  331.     function Tourmaline:Box(name,callback)
  332.         callback = callback or function() end
  333.         local Box = Instance.new("ImageLabel")
  334.         local Box_2 = Instance.new("TextBox")
  335.         local Background_3 = Instance.new("ImageLabel")
  336.         local TextLabel_2 = Instance.new("TextLabel")
  337.            
  338.         Box.Name = "Box"
  339.         Box.Parent = Container_2
  340.         Box.Active = true
  341.         Box.AnchorPoint = Vector2.new(0.5, 0.5)
  342.         Box.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  343.         Box.BackgroundTransparency = 1.000
  344.         Box.Position = UDim2.new(0.499999881, 0, 0.77439028, 0)
  345.         Box.Selectable = true
  346.         Box.Size = UDim2.new(0.999999881, 0, 0, 30)
  347.         Box.Image = "rbxassetid://3570695787"
  348.         Box.ImageColor3 = Color3.fromRGB(56, 56, 56)
  349.         Box.ScaleType = Enum.ScaleType.Slice
  350.         Box.SliceCenter = Rect.new(100, 100, 100, 100)
  351.         Box.SliceScale = 0.040
  352.        
  353.         Box_2.Name = "Box"
  354.         Box_2.Parent = Box
  355.         Box_2.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  356.         Box_2.BackgroundTransparency = 1.000
  357.         Box_2.BorderColor3 = Color3.fromRGB(180, 180, 180)
  358.         Box_2.BorderSizePixel = 0
  359.         Box_2.Position = UDim2.new(0.762499988, 0, -0.0154471397, 0)
  360.         Box_2.Size = UDim2.new(0.23333329, 0, 0, 30)
  361.         Box_2.ZIndex = 2
  362.         Box_2.Font = Enum.Font.SourceSans
  363.         Box_2.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  364.         Box_2.Text = ""
  365.         Box_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  366.         Box_2.TextScaled = true
  367.         Box_2.TextSize = 24.000
  368.         Box_2.TextWrapped = true
  369.        
  370.         Background_3.Name = "Background"
  371.         Background_3.Parent = Box
  372.         Background_3.Active = true
  373.         Background_3.AnchorPoint = Vector2.new(0.5, 0.5)
  374.         Background_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  375.         Background_3.BackgroundTransparency = 1.000
  376.         Background_3.Position = UDim2.new(0.879979074, 0, 0.5, 0)
  377.         Background_3.Selectable = true
  378.         Background_3.Size = UDim2.new(0.259958446, 0, 1, 0)
  379.         Background_3.Image = "rbxassetid://3570695787"
  380.         Background_3.ImageColor3 = Color3.fromRGB(75, 75, 75)
  381.         Background_3.ScaleType = Enum.ScaleType.Slice
  382.         Background_3.SliceCenter = Rect.new(100, 100, 100, 100)
  383.         Background_3.SliceScale = 0.040
  384.        
  385.         TextLabel_2.Parent = Box
  386.         TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  387.         TextLabel_2.BackgroundTransparency = 1.000
  388.         TextLabel_2.Position = UDim2.new(-0.00100008654, 0, 0, 0)
  389.         TextLabel_2.Size = UDim2.new(0, 187, 0, 30)
  390.         TextLabel_2.ZIndex = 2
  391.         TextLabel_2.Font = Enum.Font.SourceSans
  392.         TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  393.         TextLabel_2.TextScaled = true
  394.         TextLabel_2.TextSize = 14.000
  395.         TextLabel_2.Text = name
  396.         TextLabel_2.TextWrapped = true
  397.          Container_2.Size =  Container_2.Size + UDim2.new(0,0,0,TextLabel_2.Size.Y.Offset+5)   
  398.         Box_2.FocusLost:connect(function()
  399.                 callback(Box_2.Text)
  400.         end)
  401.              
  402.     end
  403.     function Tourmaline:Drag(whydoesthisexist)
  404.         local Dragger = Instance.new("ImageLabel")
  405.         local Background_4 = Instance.new("ImageLabel")
  406.         local TextLabel_3 = Instance.new("TextLabel")
  407.        
  408.        
  409.         Dragger.Name = "Dragger"
  410.         Dragger.Parent = Container_2
  411.         Dragger.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  412.         Dragger.BackgroundTransparency = 1.000
  413.         Dragger.Position = UDim2.new(0, 0, 0.723577261, 0)
  414.         Dragger.Size = UDim2.new(0, 30, 0, 30)
  415.         Dragger.ZIndex = 2
  416.         Dragger.Image = "http://www.roblox.com/asset/?id=4826545533"
  417.        
  418.         Background_4.Name = "Background"
  419.         Background_4.Parent = Dragger
  420.         Background_4.Active = true
  421.         Background_4.AnchorPoint = Vector2.new(0.5, 0.5)
  422.         Background_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  423.         Background_4.BackgroundTransparency = 1.000
  424.         Background_4.Position = UDim2.new(-3.00399876, 0, 0.5, 0)
  425.         Background_4.Selectable = true
  426.         Background_4.Size = UDim2.new(8.00800133, 0, 1, 0)
  427.         Background_4.Image = "rbxassetid://3570695787"
  428.         Background_4.ImageColor3 = Color3.fromRGB(56, 56, 56)
  429.         Background_4.ScaleType = Enum.ScaleType.Slice
  430.         Background_4.SliceCenter = Rect.new(100, 100, 100, 100)
  431.         Background_4.SliceScale = 0.040
  432.        
  433.         TextLabel_3.Parent = Dragger
  434.         TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  435.         TextLabel_3.BackgroundTransparency = 1.000
  436.         TextLabel_3.Position = UDim2.new(-7, 0, 0, 0)
  437.         TextLabel_3.Size = UDim2.new(0, 210, 0, 30)
  438.         TextLabel_3.Font = Enum.Font.SourceSans
  439.         TextLabel_3.Text = whydoesthisexist
  440.         TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  441.         TextLabel_3.TextScaled = true
  442.         TextLabel_3.TextSize = 14.000
  443.         TextLabel_3.TextWrapped = true
  444.          Container_2.Size =  Container_2.Size + UDim2.new(0,0,0,TextLabel_3.Size.Y.Offset+5)   
  445.         local dragger = {}; do
  446.             local mouse        = game:GetService("Players").LocalPlayer:GetMouse();
  447.             local inputService = game:GetService('UserInputService');
  448.             local heartbeat    = game:GetService("RunService").Heartbeat;
  449.             -- // credits to Ririchi / Inori for this cute drag function :)
  450.             function dragger.new(frame)
  451.                 local s, event = pcall(function()
  452.                     return frame.MouseEnter
  453.                 end)
  454.        
  455.                 if s then
  456.                     frame.Active = true;
  457.                     event:connect(function()
  458.                         local input = frame.InputBegan:connect(function(key)
  459.                             if key.UserInputType == Enum.UserInputType.MouseButton1 then
  460.                                 local objectPosition = Vector2.new(mouse.X - Container.AbsolutePosition.X, mouse.Y - Container.AbsolutePosition.Y);
  461.                                 while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  462.                                     pcall(function()
  463.                                         Container:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (Container.Size.X.Offset * Container.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (Container.Size.Y.Offset * Container.AnchorPoint.Y)), 'Out', 'Linear', 0.1, true);
  464.                                     end)
  465.                                 end
  466.                             end
  467.                         end)
  468.        
  469.                         local leave;
  470.                         leave = frame.MouseLeave:connect(function()
  471.                             input:disconnect();
  472.                             leave:disconnect();
  473.                         end)
  474.                     end)
  475.                 end
  476.             end
  477.         end
  478.         dragger.new(Dragger)
  479.          
  480.     end
  481.     function Tourmaline:Button(name,callback)
  482.         callback = callback or function() end
  483.         local Button_2 = Instance.new("ImageLabel")
  484.         local Button_3 = Instance.new("TextButton")
  485.        
  486.         Button_2.Name = "Button"
  487.         Button_2.Parent = Container_2
  488.         Button_2.Active = true
  489.         Button_2.AnchorPoint = Vector2.new(0.5, 0.5)
  490.         Button_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  491.         Button_2.BackgroundTransparency = 1.000
  492.         Button_2.Position = UDim2.new(0.502083361, 0, 0.781504095, 0)
  493.         Button_2.Selectable = true
  494.         Button_2.Size = UDim2.new(1, 0, 0, 30)
  495.         Button_2.Image = "rbxassetid://3570695787"
  496.         Button_2.ImageColor3 = Color3.fromRGB(75, 75, 75)
  497.         Button_2.ScaleType = Enum.ScaleType.Slice
  498.         Button_2.SliceCenter = Rect.new(100, 100, 100, 100)
  499.         Button_2.SliceScale = 0.040
  500.        
  501.         Button_3.Name = "Button"
  502.         Button_3.Parent = Button_2
  503.         Button_3.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  504.         Button_3.BorderColor3 = Color3.fromRGB(180, 180, 180)
  505.         Button_3.BorderSizePixel = 0
  506.         Button_3.Position = UDim2.new(0.0129707344, 0, 0, 0)
  507.         Button_3.Size = UDim2.new(0, 234, 1, 0)
  508.         Button_3.ZIndex = 2
  509.         Button_3.Font = Enum.Font.SourceSans
  510.         Button_3.Text = name
  511.         Button_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  512.         Button_3.TextScaled = true
  513.         Button_3.TextSize = 24.000
  514.         Button_3.TextWrapped = true
  515.         Button_3.MouseButton1Click:Connect(function()callback()
  516.         end)
  517.         Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Button_2.Size.Y.Offset+5)      
  518.     end
  519.     function Tourmaline:CommandBar()
  520.         local Execute = Instance.new("ImageLabel")
  521.         local Script = Instance.new("ImageLabel")
  522.         local Box_3 = Instance.new("TextBox")
  523.         local TextLabel_4 = Instance.new("TextLabel")
  524.         local ExecuteBackground = Instance.new("ImageLabel")
  525.         local ExecuteButton = Instance.new("TextButton")
  526.         local ClearBackground = Instance.new("ImageLabel")
  527.         local ClearButton = Instance.new("TextButton")
  528.        
  529.         Execute.Name = "Execute"
  530.         Execute.Parent = Container_2
  531.         Execute.Active = true
  532.         Execute.AnchorPoint = Vector2.new(0.5, 0.5)
  533.         Execute.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  534.         Execute.BackgroundTransparency = 1.000
  535.         Execute.Position = UDim2.new(0.500000119, 0, 0.709480345, 0)
  536.         Execute.Selectable = true
  537.         Execute.Size = UDim2.new(0, 240, 0, 90)
  538.         Execute.Image = "rbxassetid://3570695787"
  539.         Execute.ImageColor3 = Color3.fromRGB(56, 56, 56)
  540.         Execute.ScaleType = Enum.ScaleType.Slice
  541.         Execute.SliceCenter = Rect.new(100, 100, 100, 100)
  542.         Execute.SliceScale = 0.040
  543.        
  544.         Script.Name = "Script"
  545.         Script.Parent = Execute
  546.         Script.Active = true
  547.         Script.AnchorPoint = Vector2.new(0.5, 0.5)
  548.         Script.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  549.         Script.BackgroundTransparency = 1.000
  550.         Script.Position = UDim2.new(0.487735301, 0, 0.4888888, 0)
  551.         Script.Selectable = true
  552.         Script.Size = UDim2.new(1.00047052, 0, 0.333333522, 30)
  553.         Script.Image = "rbxassetid://3570695787"
  554.         Script.ImageColor3 = Color3.fromRGB(63, 63, 63)
  555.         Script.ScaleType = Enum.ScaleType.Slice
  556.         Script.SliceCenter = Rect.new(100, 100, 100, 100)
  557.         Script.SliceScale = 0.040
  558.        
  559.         Box_3.Name = "Box"
  560.         Box_3.Parent = Script
  561.         Box_3.BackgroundColor3 = Color3.fromRGB(180, 180, 180)
  562.         Box_3.BackgroundTransparency = 0.900
  563.         Box_3.BorderColor3 = Color3.fromRGB(180, 180, 180)
  564.         Box_3.BorderSizePixel = 0
  565.         Box_3.Position = UDim2.new(0.0124941207, 0, 0, 0)
  566.         Box_3.Size = UDim2.new(1, 0, 1, 0)
  567.         Box_3.ZIndex = 2
  568.         Box_3.Font = Enum.Font.SourceSans
  569.         Box_3.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  570.         Box_3.Text = 'print("I Hope you enjoy this executor!")'
  571.         Box_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  572.         Box_3.TextSize = 12.000
  573.         Box_3.TextXAlignment = Enum.TextXAlignment.Left
  574.         Box_3.TextYAlignment = Enum.TextYAlignment.Top
  575.        
  576.         TextLabel_4.Parent = Execute
  577.         TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  578.         TextLabel_4.BackgroundTransparency = 1.000
  579.         TextLabel_4.Size = UDim2.new(0, 240, 0, 10)
  580.         TextLabel_4.Font = Enum.Font.SourceSans
  581.         TextLabel_4.Text = "Executor"
  582.         TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  583.         TextLabel_4.TextSize = 10.000
  584.         TextLabel_4.TextWrapped = true
  585.        
  586.         ExecuteBackground.Name = "ExecuteBackground"
  587.         ExecuteBackground.Parent = Execute
  588.         ExecuteBackground.Active = true
  589.         ExecuteBackground.AnchorPoint = Vector2.new(0.5, 0.5)
  590.         ExecuteBackground.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  591.         ExecuteBackground.BackgroundTransparency = 1.000
  592.         ExecuteBackground.Position = UDim2.new(0.264583349, 0, 0.840793312, 0)
  593.         ExecuteBackground.Selectable = true
  594.         ExecuteBackground.Size = UDim2.new(0.379166454, 0, 0.0135536762, 30)
  595.         ExecuteBackground.Image = "rbxassetid://3570695787"
  596.         ExecuteBackground.ImageColor3 = Color3.fromRGB(125, 125, 125)
  597.         ExecuteBackground.ImageTransparency = 0.500
  598.         ExecuteBackground.ScaleType = Enum.ScaleType.Slice
  599.         ExecuteBackground.SliceCenter = Rect.new(100, 100, 100, 100)
  600.         ExecuteBackground.SliceScale = 0.040
  601.        
  602.         ExecuteButton.Name = "ExecuteButton"
  603.         ExecuteButton.Parent = ExecuteBackground
  604.         ExecuteButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  605.         ExecuteButton.BackgroundTransparency = 1.000
  606.         ExecuteButton.Size = UDim2.new(1, 0, 1, 0)
  607.         ExecuteButton.Font = Enum.Font.SourceSans
  608.         ExecuteButton.Text = "Execute"
  609.         ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  610.         ExecuteButton.TextScaled = true
  611.         ExecuteButton.TextSize = 14.000
  612.         ExecuteButton.TextWrapped = true
  613.        
  614.         ClearBackground.Name = "ClearBackground"
  615.         ClearBackground.Parent = Execute
  616.         ClearBackground.Active = true
  617.         ClearBackground.AnchorPoint = Vector2.new(0.5, 0.5)
  618.         ClearBackground.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  619.         ClearBackground.BackgroundTransparency = 1.000
  620.         ClearBackground.Position = UDim2.new(0.785416722, 0, 0.840793312, 0)
  621.         ClearBackground.Selectable = true
  622.         ClearBackground.Size = UDim2.new(0.379166454, 0, 0.0135536762, 30)
  623.         ClearBackground.Image = "rbxassetid://3570695787"
  624.         ClearBackground.ImageColor3 = Color3.fromRGB(125, 125, 125)
  625.         ClearBackground.ImageTransparency = 0.500
  626.         ClearBackground.ScaleType = Enum.ScaleType.Slice
  627.         ClearBackground.SliceCenter = Rect.new(100, 100, 100, 100)
  628.         ClearBackground.SliceScale = 0.040
  629.        
  630.         ClearButton.Name = "ClearButton"
  631.         ClearButton.Parent = ClearBackground
  632.         ClearButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  633.         ClearButton.BackgroundTransparency = 1.000
  634.         ClearButton.Size = UDim2.new(1, 0, 1, 0)
  635.         ClearButton.Font = Enum.Font.SourceSans
  636.         ClearButton.Text = "Clear"
  637.         ClearButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  638.         ClearButton.TextScaled = true
  639.         ClearButton.TextSize = 14.000
  640.         ClearButton.TextWrapped = true
  641.        
  642.         ExecuteButton.MouseButton1Click:Connect(function()
  643.             loadstring(Box_3.Text)()
  644.         end)
  645.        
  646.         ClearButton.MouseButton1Click:Connect(function()
  647.             Box_3.Text = ""
  648.         end)
  649.          Container_2.Size =  Container_2.Size + UDim2.new(0,0,0,Execute.Size.Y.Offset+5)     
  650.     end
  651.     Container.MouseEnter:Connect(function()
  652.         if Underline.Size ~= UDim2.new(1,0,0,4) then
  653.             Underline:TweenSizeAndPosition(UDim2.new(1,0,0,4),UDim2.new(0,0,0.95,0),"Out","Sine",0.75,false,nil)
  654.             wait(0.75)
  655.         else
  656.             Underline:TweenSizeAndPosition(UDim2.new(0,0,0,4),UDim2.new(0.5,0,0.95,0),"In","Sine",0.75,false,nil)
  657.             wait(0.75)
  658.         end
  659.     end)
  660.         local size = 0
  661.     Container.MouseEnter:Connect(function()
  662.         if Container_2.Size ~= UDim2.new(0,0,0,40) then
  663.             size = Container_2.Size.Y.Offset
  664.             Container_2:TweenSize(UDim2.new(0,0,0,40),"In","Sine",0.75,false,nil)
  665.             wait(0.75)
  666.         else
  667.             Container_2:TweenSize(UDim2.new(0,240,0,size),"Out","Sine",0.75,false,nil)
  668.             wait(0.75)
  669.         end
  670.     end)
  671.     return Tourmaline;
  672. end
  673.  
  674. return Library;
Advertisement
Add Comment
Please, Sign In to add comment