Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = {}
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- function Library:CreateWindow(name)
- wait(1.2)
- local pos = 0.1
- local get = ScreenGui:GetChildren()
- if ScreenGui:FindFirstChild("Container") ~= nil then -- checking if there is already a menu
- for i = 1, #get do
- pos = pos + 0.05
- end
- else
- pos = 0.1
- end
- local Container = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local Underline = Instance.new("ImageLabel")
- local Container_2 = Instance.new("ImageLabel") -- literally the best thing ever
- local UIListLayout = Instance.new("UIListLayout") -- literally the most annoying thing ever
- -- I didn't know how to create multiple windows so this is my best attempt - SkeletalScripts 2:14 AM 3/28/2020
- Container.Name = "Container"
- Container.Parent = ScreenGui
- Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Container.BackgroundTransparency = 1.000
- Container.Position = UDim2.new(0.0200000033, 0, pos, 0)
- Container.Size = UDim2.new(0, 230, 0, 39)
- Container.Image = "rbxassetid://3570695787"
- Container.ImageColor3 = Color3.fromRGB(45, 45, 45)
- Container.ScaleType = Enum.ScaleType.Slice
- Container.SliceCenter = Rect.new(100, 100, 100, 100)
- Container.SliceScale = 0.040
- TextLabel.Parent = Container
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0, 0, 0.2, 0)
- TextLabel.Size = UDim2.new(1, 0, 0.574999988, 0)
- TextLabel.Font = Enum.Font.Arial
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.Text = name
- TextLabel.TextWrapped = true
- Container_2.Name = "Container"
- Container_2.Parent = Container
- Container_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Container_2.BackgroundTransparency = 1.000
- Container_2.ClipsDescendants = true
- Container_2.Position = UDim2.new(1.08000004, 0, 1.95625503e-07, 0)
- Container_2.Size = UDim2.new(0,240,0,0)
- Container_2.Image = "rbxassetid://3570695787"
- Container_2.ImageColor3 = Color3.fromRGB(45, 45, 45)
- Container_2.ScaleType = Enum.ScaleType.Slice
- Container_2.SliceCenter = Rect.new(100, 100, 100, 100)
- Container_2.SliceScale = 0.040
- UIListLayout.Parent = Container_2
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 5)
- Underline.Name = "Underline"
- Underline.Parent = Container
- Underline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Underline.BackgroundTransparency = 1.000
- Underline.Position = UDim2.new(0,0,0.95,0)
- Underline.Size = UDim2.new(1,0,0,4)
- Underline.Image = "rbxassetid://3570695787"
- Underline.ImageColor3 = Color3.fromRGB(255, 255, 255)
- Underline.ScaleType = Enum.ScaleType.Slice
- Underline.SliceCenter = Rect.new(100, 100, 100, 100)
- Underline.SliceScale = 0.040
- local UIGradient = Instance.new("UIGradient")
- --Properties:
- 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))}
- UIGradient.Parent = Underline
- local Tourmaline = {}
- function Tourmaline:Toggle(name,callback)
- callback = callback or function() end
- local Toggle = Instance.new("ImageLabel")
- local ToggleRound = Instance.new("ImageLabel")
- local ToggleButton = Instance.new("TextButton")
- local Text = Instance.new("TextLabel")
- Toggle.Name = "Toggle"
- Toggle.Parent = Container_2
- Toggle.Active = true
- Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
- Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Toggle.BackgroundTransparency = 1.000
- Toggle.ClipsDescendants = true
- Toggle.Position = UDim2.new(0.5, 0, 0.243902475, 0)
- Toggle.Selectable = true
- Toggle.Size = UDim2.new(1, 0, 0, 30)
- Toggle.Image = "rbxassetid://3570695787"
- Toggle.ImageColor3 = Color3.fromRGB(56, 56, 56)
- Toggle.ScaleType = Enum.ScaleType.Slice
- Toggle.SliceCenter = Rect.new(100, 100, 100, 100)
- Toggle.SliceScale = 0.040
- ToggleRound.Name = "ToggleRound"
- ToggleRound.Parent = Toggle
- ToggleRound.Active = true
- ToggleRound.AnchorPoint = Vector2.new(0.5, 0.5)
- ToggleRound.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleRound.BackgroundTransparency = 1.000
- ToggleRound.Position = UDim2.new(0.916666687, 0, 0.5, 0)
- ToggleRound.Selectable = true
- ToggleRound.Size = UDim2.new(0.166666776, 0, 1, 0)
- ToggleRound.ZIndex = 3
- ToggleRound.Image = "rbxassetid://3570695787"
- ToggleRound.ImageColor3 = Color3.fromRGB(70, 70, 70)
- ToggleRound.ScaleType = Enum.ScaleType.Slice
- ToggleRound.SliceCenter = Rect.new(100, 100, 100, 100)
- ToggleRound.SliceScale = 0.040
- ToggleButton.Name = "ToggleButton"
- ToggleButton.Parent = ToggleRound
- ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleButton.BackgroundTransparency = 1.000
- ToggleButton.Size = UDim2.new(1, 0, 1, 0)
- ToggleButton.Font = Enum.Font.SourceSans
- ToggleButton.Text = " "
- ToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- ToggleButton.TextSize = 14.000
- Text.Name = "Text"
- Text.Parent = Toggle
- Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Text.BackgroundTransparency = 1.000
- Text.Size = UDim2.new(0.800000012, 0, 1, 0)
- Text.Font = Enum.Font.SourceSans
- Text.TextColor3 = Color3.fromRGB(255, 255, 255)
- Text.TextScaled = true
- Text.TextSize = 14.000
- Text.TextWrapped = true
- Text.Text = name
- local toggled = 0
- ToggleButton.MouseButton1Click:Connect(function()
- if toggled == 0 then
- toggled = 1
- ToggleRound.ImageColor3 = Color3.fromRGB(200, 0, 0)
- callback()
- else
- toggled = 0
- ToggleRound.ImageColor3 = Color3.fromRGB(70, 70, 70)
- end
- end)
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Toggle.Size.Y.Offset+5)
- end
- function Tourmaline:Section(name)
- local Section = Instance.new("TextLabel")
- local Background = Instance.new("ImageLabel")
- local Background_2 = Instance.new("ImageLabel")
- Section.Name = "Section"
- Section.Parent = Container_2
- Section.Text = name
- Section.Active = true
- Section.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
- Section.BackgroundTransparency = 1.000
- Section.BorderColor3 = Color3.fromRGB(180, 180, 180)
- Section.BorderSizePixel = 0
- Section.Position = UDim2.new(1.3125, 0, 0.678861856, 0)
- Section.Selectable = true
- Section.Size = UDim2.new(1, 0, 0, 30)
- Section.ZIndex = 3
- Section.Font = Enum.Font.SourceSans
- Section.TextColor3 = Color3.fromRGB(255, 255, 255)
- Section.TextScaled = true
- Section.TextSize = 24.000
- Section.TextWrapped = true
- Background.Name = "Background"
- Background.Parent = Section
- Background.Active = true
- Background.AnchorPoint = Vector2.new(0.5, 0.5)
- Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background.BackgroundTransparency = 1.000
- Background.BorderSizePixel = 0
- Background.Position = UDim2.new(0.5, 0, 0.5, 0)
- Background.Selectable = true
- Background.Size = UDim2.new(1, 0, 1, 0)
- Background.ZIndex = 2
- Background.Image = "rbxassetid://3570695787"
- Background.ImageColor3 = Color3.fromRGB(45, 45, 45)
- Background.ScaleType = Enum.ScaleType.Slice
- Background.SliceCenter = Rect.new(100, 100, 100, 100)
- Background.SliceScale = 0.040
- Background_2.Name = "Background"
- Background_2.Parent = Section
- Background_2.Active = true
- Background_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Background_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background_2.BackgroundTransparency = 1.000
- Background_2.BorderSizePixel = 0
- Background_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Background_2.Selectable = true
- Background_2.Size = UDim2.new(1, 0, 1.14999998, 0)
- Background_2.Image = "rbxassetid://3570695787"
- Background_2.ImageColor3 = Color3.fromRGB(70, 70, 70)
- Background_2.ScaleType = Enum.ScaleType.Slice
- Background_2.SliceCenter = Rect.new(100, 100, 100, 100)
- Background_2.SliceScale = 0.040
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Section.Size.Y.Offset+5)
- end
- function Tourmaline:Slider(name,callback)
- callback = callback or function() end
- local Slider = Instance.new("ImageLabel")
- local Slide = Instance.new("Frame")
- local Button = Instance.new("ImageButton")
- local Num = Instance.new("TextLabel")
- local Text_2 = Instance.new("TextLabel")
- Slider.Name = "Slider"
- Slider.Parent = Container_2
- Slider.Active = true
- Slider.AnchorPoint = Vector2.new(0.5, 0.5)
- Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Slider.BackgroundTransparency = 1.000
- Slider.ClipsDescendants = true
- Slider.Position = UDim2.new(0.5, 0, 0.632113814, 0)
- Slider.Selectable = true
- Slider.Size = UDim2.new(1, 0, 0, 30)
- Slider.Image = "rbxassetid://3570695787"
- Slider.ImageColor3 = Color3.fromRGB(56, 56, 56)
- Slider.ScaleType = Enum.ScaleType.Slice
- Slider.SliceCenter = Rect.new(100, 100, 100, 100)
- Slider.SliceScale = 0.040
- Slide.Name = "Slide"
- Slide.Parent = Slider
- Slide.BackgroundColor3 = Color3.fromRGB(99, 99, 99)
- Slide.BorderSizePixel = 0
- Slide.Position = UDim2.new(0.554166913, 0, 0.299999505, 0)
- Slide.Size = UDim2.new(0, 100, 0, 12)
- Button.Name = "Button"
- Button.Parent = Slide
- Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Button.BackgroundTransparency = 1.000
- Button.BorderSizePixel = 0
- Button.Size = UDim2.new(0, 4, 0, 11)
- Button.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
- Num.Name = "Num"
- Num.Parent = Slider
- Num.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Num.BackgroundTransparency = 1.000
- Num.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Num.Position = UDim2.new(0.416666687, 0, 0, 0)
- Num.Size = UDim2.new(0, 25, 0, 30)
- Num.Font = Enum.Font.SourceSans
- Num.Text = "0"
- Num.TextColor3 = Color3.fromRGB(255, 255, 255)
- Num.TextScaled = true
- Num.TextSize = 14.000
- Num.TextWrapped = true
- Text_2.Name = "Text"
- Text_2.Parent = Slider
- Text_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Text_2.BackgroundTransparency = 1.000
- Text_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Text_2.Size = UDim2.new(0, 100, 0, 30)
- Text_2.Font = Enum.Font.SourceSans
- Text_2.Text = name
- Text_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Text_2.TextScaled = true
- Text_2.TextSize = 14.000
- Text_2.TextWrapped = true
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Text_2.Size.Y.Offset+5)
- local SliderBtn = Button
- local Player = game:GetService("Players").LocalPlayer
- local UIS = game:GetService("UserInputService")
- local RuS = game:GetService("RunService")
- -- Properties
- local min = 0
- local max = 100
- local held = false
- local step = "0.00"..max
- local percentage = 0
- function snap(number, factor)
- if factor == 0 then
- return number
- else
- return math.floor(number/factor+0.5)*factor
- end
- end
- UIS.InputEnded:connect(function(input, processed)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- held = false
- end
- end)
- SliderBtn.MouseButton1Down:connect(function()
- held = true
- end)
- RuS.RenderStepped:connect(function(delta)
- if held then
- local MousePos = UIS:GetMouseLocation().X
- local BtnPos = SliderBtn.Position
- local SliderSize = Slider.AbsoluteSize.X
- local SliderPos = Slider.AbsolutePosition.X
- local pos = snap((MousePos-SliderPos)/SliderSize,step)
- percentage = math.clamp(pos,0,1)
- local per = pos / SliderSize
- SliderBtn.Position = UDim2.new(percentage,0,BtnPos.Y.Scale, BtnPos.Y.Offset)
- local val = math.floor((min + (max - min)* per)* max) / max
- if val > max/100 then val = max/100 end if val < min then val = min end
- Num.Text = tostring(val*100)
- callback(val*100)
- end
- end)
- end
- function Tourmaline:Box(name,callback)
- callback = callback or function() end
- local Box = Instance.new("ImageLabel")
- local Box_2 = Instance.new("TextBox")
- local Background_3 = Instance.new("ImageLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- Box.Name = "Box"
- Box.Parent = Container_2
- Box.Active = true
- Box.AnchorPoint = Vector2.new(0.5, 0.5)
- Box.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Box.BackgroundTransparency = 1.000
- Box.Position = UDim2.new(0.499999881, 0, 0.77439028, 0)
- Box.Selectable = true
- Box.Size = UDim2.new(0.999999881, 0, 0, 30)
- Box.Image = "rbxassetid://3570695787"
- Box.ImageColor3 = Color3.fromRGB(56, 56, 56)
- Box.ScaleType = Enum.ScaleType.Slice
- Box.SliceCenter = Rect.new(100, 100, 100, 100)
- Box.SliceScale = 0.040
- Box_2.Name = "Box"
- Box_2.Parent = Box
- Box_2.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
- Box_2.BackgroundTransparency = 1.000
- Box_2.BorderColor3 = Color3.fromRGB(180, 180, 180)
- Box_2.BorderSizePixel = 0
- Box_2.Position = UDim2.new(0.762499988, 0, -0.0154471397, 0)
- Box_2.Size = UDim2.new(0.23333329, 0, 0, 30)
- Box_2.ZIndex = 2
- Box_2.Font = Enum.Font.SourceSans
- Box_2.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- Box_2.Text = ""
- Box_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Box_2.TextScaled = true
- Box_2.TextSize = 24.000
- Box_2.TextWrapped = true
- Background_3.Name = "Background"
- Background_3.Parent = Box
- Background_3.Active = true
- Background_3.AnchorPoint = Vector2.new(0.5, 0.5)
- Background_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background_3.BackgroundTransparency = 1.000
- Background_3.Position = UDim2.new(0.879979074, 0, 0.5, 0)
- Background_3.Selectable = true
- Background_3.Size = UDim2.new(0.259958446, 0, 1, 0)
- Background_3.Image = "rbxassetid://3570695787"
- Background_3.ImageColor3 = Color3.fromRGB(75, 75, 75)
- Background_3.ScaleType = Enum.ScaleType.Slice
- Background_3.SliceCenter = Rect.new(100, 100, 100, 100)
- Background_3.SliceScale = 0.040
- TextLabel_2.Parent = Box
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(-0.00100008654, 0, 0, 0)
- TextLabel_2.Size = UDim2.new(0, 187, 0, 30)
- TextLabel_2.ZIndex = 2
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.Text = name
- TextLabel_2.TextWrapped = true
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,TextLabel_2.Size.Y.Offset+5)
- Box_2.FocusLost:connect(function()
- callback(Box_2.Text)
- end)
- end
- function Tourmaline:Drag(whydoesthisexist)
- local Dragger = Instance.new("ImageLabel")
- local Background_4 = Instance.new("ImageLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- Dragger.Name = "Dragger"
- Dragger.Parent = Container_2
- Dragger.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Dragger.BackgroundTransparency = 1.000
- Dragger.Position = UDim2.new(0, 0, 0.723577261, 0)
- Dragger.Size = UDim2.new(0, 30, 0, 30)
- Dragger.ZIndex = 2
- Dragger.Image = "http://www.roblox.com/asset/?id=4826545533"
- Background_4.Name = "Background"
- Background_4.Parent = Dragger
- Background_4.Active = true
- Background_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Background_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background_4.BackgroundTransparency = 1.000
- Background_4.Position = UDim2.new(-3.00399876, 0, 0.5, 0)
- Background_4.Selectable = true
- Background_4.Size = UDim2.new(8.00800133, 0, 1, 0)
- Background_4.Image = "rbxassetid://3570695787"
- Background_4.ImageColor3 = Color3.fromRGB(56, 56, 56)
- Background_4.ScaleType = Enum.ScaleType.Slice
- Background_4.SliceCenter = Rect.new(100, 100, 100, 100)
- Background_4.SliceScale = 0.040
- TextLabel_3.Parent = Dragger
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.Position = UDim2.new(-7, 0, 0, 0)
- TextLabel_3.Size = UDim2.new(0, 210, 0, 30)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = whydoesthisexist
- TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,TextLabel_3.Size.Y.Offset+5)
- local dragger = {}; do
- local mouse = game:GetService("Players").LocalPlayer:GetMouse();
- local inputService = game:GetService('UserInputService');
- local heartbeat = game:GetService("RunService").Heartbeat;
- -- // credits to Ririchi / Inori for this cute drag function :)
- function dragger.new(frame)
- local s, event = pcall(function()
- return frame.MouseEnter
- end)
- if s then
- frame.Active = true;
- event:connect(function()
- local input = frame.InputBegan:connect(function(key)
- if key.UserInputType == Enum.UserInputType.MouseButton1 then
- local objectPosition = Vector2.new(mouse.X - Container.AbsolutePosition.X, mouse.Y - Container.AbsolutePosition.Y);
- while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
- pcall(function()
- 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);
- end)
- end
- end
- end)
- local leave;
- leave = frame.MouseLeave:connect(function()
- input:disconnect();
- leave:disconnect();
- end)
- end)
- end
- end
- end
- dragger.new(Dragger)
- end
- function Tourmaline:Button(name,callback)
- callback = callback or function() end
- local Button_2 = Instance.new("ImageLabel")
- local Button_3 = Instance.new("TextButton")
- Button_2.Name = "Button"
- Button_2.Parent = Container_2
- Button_2.Active = true
- Button_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Button_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Button_2.BackgroundTransparency = 1.000
- Button_2.Position = UDim2.new(0.502083361, 0, 0.781504095, 0)
- Button_2.Selectable = true
- Button_2.Size = UDim2.new(1, 0, 0, 30)
- Button_2.Image = "rbxassetid://3570695787"
- Button_2.ImageColor3 = Color3.fromRGB(75, 75, 75)
- Button_2.ScaleType = Enum.ScaleType.Slice
- Button_2.SliceCenter = Rect.new(100, 100, 100, 100)
- Button_2.SliceScale = 0.040
- Button_3.Name = "Button"
- Button_3.Parent = Button_2
- Button_3.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- Button_3.BorderColor3 = Color3.fromRGB(180, 180, 180)
- Button_3.BorderSizePixel = 0
- Button_3.Position = UDim2.new(0.0129707344, 0, 0, 0)
- Button_3.Size = UDim2.new(0, 234, 1, 0)
- Button_3.ZIndex = 2
- Button_3.Font = Enum.Font.SourceSans
- Button_3.Text = name
- Button_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button_3.TextScaled = true
- Button_3.TextSize = 24.000
- Button_3.TextWrapped = true
- Button_3.MouseButton1Click:Connect(function()callback()
- end)
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Button_2.Size.Y.Offset+5)
- end
- function Tourmaline:CommandBar()
- local Execute = Instance.new("ImageLabel")
- local Script = Instance.new("ImageLabel")
- local Box_3 = Instance.new("TextBox")
- local TextLabel_4 = Instance.new("TextLabel")
- local ExecuteBackground = Instance.new("ImageLabel")
- local ExecuteButton = Instance.new("TextButton")
- local ClearBackground = Instance.new("ImageLabel")
- local ClearButton = Instance.new("TextButton")
- Execute.Name = "Execute"
- Execute.Parent = Container_2
- Execute.Active = true
- Execute.AnchorPoint = Vector2.new(0.5, 0.5)
- Execute.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Execute.BackgroundTransparency = 1.000
- Execute.Position = UDim2.new(0.500000119, 0, 0.709480345, 0)
- Execute.Selectable = true
- Execute.Size = UDim2.new(0, 240, 0, 90)
- Execute.Image = "rbxassetid://3570695787"
- Execute.ImageColor3 = Color3.fromRGB(56, 56, 56)
- Execute.ScaleType = Enum.ScaleType.Slice
- Execute.SliceCenter = Rect.new(100, 100, 100, 100)
- Execute.SliceScale = 0.040
- Script.Name = "Script"
- Script.Parent = Execute
- Script.Active = true
- Script.AnchorPoint = Vector2.new(0.5, 0.5)
- Script.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Script.BackgroundTransparency = 1.000
- Script.Position = UDim2.new(0.487735301, 0, 0.4888888, 0)
- Script.Selectable = true
- Script.Size = UDim2.new(1.00047052, 0, 0.333333522, 30)
- Script.Image = "rbxassetid://3570695787"
- Script.ImageColor3 = Color3.fromRGB(63, 63, 63)
- Script.ScaleType = Enum.ScaleType.Slice
- Script.SliceCenter = Rect.new(100, 100, 100, 100)
- Script.SliceScale = 0.040
- Box_3.Name = "Box"
- Box_3.Parent = Script
- Box_3.BackgroundColor3 = Color3.fromRGB(180, 180, 180)
- Box_3.BackgroundTransparency = 0.900
- Box_3.BorderColor3 = Color3.fromRGB(180, 180, 180)
- Box_3.BorderSizePixel = 0
- Box_3.Position = UDim2.new(0.0124941207, 0, 0, 0)
- Box_3.Size = UDim2.new(1, 0, 1, 0)
- Box_3.ZIndex = 2
- Box_3.Font = Enum.Font.SourceSans
- Box_3.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- Box_3.Text = 'print("I Hope you enjoy this executor!")'
- Box_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- Box_3.TextSize = 12.000
- Box_3.TextXAlignment = Enum.TextXAlignment.Left
- Box_3.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel_4.Parent = Execute
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.BackgroundTransparency = 1.000
- TextLabel_4.Size = UDim2.new(0, 240, 0, 10)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = "Executor"
- TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.TextSize = 10.000
- TextLabel_4.TextWrapped = true
- ExecuteBackground.Name = "ExecuteBackground"
- ExecuteBackground.Parent = Execute
- ExecuteBackground.Active = true
- ExecuteBackground.AnchorPoint = Vector2.new(0.5, 0.5)
- ExecuteBackground.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteBackground.BackgroundTransparency = 1.000
- ExecuteBackground.Position = UDim2.new(0.264583349, 0, 0.840793312, 0)
- ExecuteBackground.Selectable = true
- ExecuteBackground.Size = UDim2.new(0.379166454, 0, 0.0135536762, 30)
- ExecuteBackground.Image = "rbxassetid://3570695787"
- ExecuteBackground.ImageColor3 = Color3.fromRGB(125, 125, 125)
- ExecuteBackground.ImageTransparency = 0.500
- ExecuteBackground.ScaleType = Enum.ScaleType.Slice
- ExecuteBackground.SliceCenter = Rect.new(100, 100, 100, 100)
- ExecuteBackground.SliceScale = 0.040
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Parent = ExecuteBackground
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.BackgroundTransparency = 1.000
- ExecuteButton.Size = UDim2.new(1, 0, 1, 0)
- ExecuteButton.Font = Enum.Font.SourceSans
- ExecuteButton.Text = "Execute"
- ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.TextScaled = true
- ExecuteButton.TextSize = 14.000
- ExecuteButton.TextWrapped = true
- ClearBackground.Name = "ClearBackground"
- ClearBackground.Parent = Execute
- ClearBackground.Active = true
- ClearBackground.AnchorPoint = Vector2.new(0.5, 0.5)
- ClearBackground.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ClearBackground.BackgroundTransparency = 1.000
- ClearBackground.Position = UDim2.new(0.785416722, 0, 0.840793312, 0)
- ClearBackground.Selectable = true
- ClearBackground.Size = UDim2.new(0.379166454, 0, 0.0135536762, 30)
- ClearBackground.Image = "rbxassetid://3570695787"
- ClearBackground.ImageColor3 = Color3.fromRGB(125, 125, 125)
- ClearBackground.ImageTransparency = 0.500
- ClearBackground.ScaleType = Enum.ScaleType.Slice
- ClearBackground.SliceCenter = Rect.new(100, 100, 100, 100)
- ClearBackground.SliceScale = 0.040
- ClearButton.Name = "ClearButton"
- ClearButton.Parent = ClearBackground
- ClearButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ClearButton.BackgroundTransparency = 1.000
- ClearButton.Size = UDim2.new(1, 0, 1, 0)
- ClearButton.Font = Enum.Font.SourceSans
- ClearButton.Text = "Clear"
- ClearButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ClearButton.TextScaled = true
- ClearButton.TextSize = 14.000
- ClearButton.TextWrapped = true
- ExecuteButton.MouseButton1Click:Connect(function()
- loadstring(Box_3.Text)()
- end)
- ClearButton.MouseButton1Click:Connect(function()
- Box_3.Text = ""
- end)
- Container_2.Size = Container_2.Size + UDim2.new(0,0,0,Execute.Size.Y.Offset+5)
- end
- Container.MouseEnter:Connect(function()
- if Underline.Size ~= UDim2.new(1,0,0,4) then
- Underline:TweenSizeAndPosition(UDim2.new(1,0,0,4),UDim2.new(0,0,0.95,0),"Out","Sine",0.75,false,nil)
- wait(0.75)
- else
- Underline:TweenSizeAndPosition(UDim2.new(0,0,0,4),UDim2.new(0.5,0,0.95,0),"In","Sine",0.75,false,nil)
- wait(0.75)
- end
- end)
- local size = 0
- Container.MouseEnter:Connect(function()
- if Container_2.Size ~= UDim2.new(0,0,0,40) then
- size = Container_2.Size.Y.Offset
- Container_2:TweenSize(UDim2.new(0,0,0,40),"In","Sine",0.75,false,nil)
- wait(0.75)
- else
- Container_2:TweenSize(UDim2.new(0,240,0,size),"Out","Sine",0.75,false,nil)
- wait(0.75)
- end
- end)
- return Tourmaline;
- end
- return Library;
Advertisement
Add Comment
Please, Sign In to add comment