Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Made by Krebz
- --]]
- --Loader
- local GUI = Instance.new("ScreenGui", game.CoreGui)
- GUI.Name = "Zero"
- local topdrag = Instance.new("Frame", GUI)
- topdrag.Name, topdrag.Size, topdrag.Position, topdrag.BackgroundColor3, topdrag.BorderSizePixel, topdrag.BackgroundTransparency, topdrag.Active, topdrag.Draggable, topdrag.ZIndex = "Drag", UDim2.new(0,400,0,12), UDim2.new(0.5,-200,0.5,-300), Color3.new(0,0,0), 0, 0, true, true, 9
- local x = Instance.new("TextButton", topdrag)
- x.Name, x.Size, x.Position, x.BackgroundColor3, x.BorderSizePixel, x.BackgroundTransparency, x.Active, x.Draggable, x.ZIndex, x.Text, x.TextColor3 = "X", UDim2.new(0,12,0,12), UDim2.new(0.5,188,0.5,-6), Color3.new(0,0,0), 0, 0, false, false, 10, "X", Color3.new(255,255,255)
- local minimize = Instance.new("TextButton", topdrag)
- minimize.Name, minimize.Size, minimize.Position, minimize.BackgroundColor3, minimize.BorderSizePixel, minimize.BackgroundTransparency, minimize.Active, minimize.Draggable, minimize.ZIndex, minimize.Text, minimize.TextColor3 = "-", UDim2.new(0,12,0,12), UDim2.new(0.5,176,0.5,-6), Color3.new(0,0,0), 0, 0, false, false, 10, "-", Color3.new(255,255,255)
- local openUI = Instance.new("TextButton", GUI)
- openUI.Name, openUI.Size, openUI.Position, openUI.BorderSizePixel, openUI.Text, openUI.BackgroundTransparency, openUI.BackgroundColor3, openUI.TextColor3 = "Open", UDim2.new(0,200,0,50), UDim2.new(-1.7,25,0,400), 0, "Open", 0.5, Color3.new(0,0,0), Color3.new(255,255,255)
- local Frame_1 = Instance.new("Frame", topdrag)
- Frame_1.Name, Frame_1.Size, Frame_1.Position, Frame_1.BackgroundColor3, Frame_1.BorderSizePixel, Frame_1.BackgroundTransparency, Frame_1.Active, Frame_1.Draggable = "List", UDim2.new(0,400,0,400), UDim2.new(0,0,0,0), Color3.new(0,0,0), 0, 0.5, true, false
- local Scroll = Instance.new("ScrollingFrame", Frame_1)
- Scroll.Name, Scroll.Size, Scroll.Position, Scroll.BorderSizePixel, Scroll.BackgroundTransparency, Scroll.CanvasSize, Scroll.ZIndex, Scroll.ScrollBarThickness = "Scroll", UDim2.new(0,350,0,350), UDim2.new(0.5,-175,0.5,-175), 0, 1, UDim2.new(0,350,0,1000000), 10, 10
- local Text = Instance.new("TextBox", Scroll)
- Text.Name, Text.Size, Text.Position, Text.BorderSizePixel, Text.Font, Text.FontSize, Text.Text, Text.MultiLine, Text.ClearTextOnFocus, Text.ZIndex, Text.TextXAlignment, Text.TextYAlignment, Text.TextColor3, Text.BackgroundColor3 = "Text", UDim2.new(0,340,0,1000000), UDim2.new(0,0,0,0), 0, "SourceSansBold", "Size11", "", true, false, 9, "Left", "Top", Color3.new(0,0,0), Color3.new(255,255,255)
- local exe = Instance.new("TextButton", Frame_1)
- exe.Name, exe.Size, exe.Position, exe.BorderSizePixel, exe.Text, exe.BackgroundTransparency, exe.BackgroundColor3, exe.TextColor3 = "Execute", UDim2.new(0,200,0,50), UDim2.new(0,0,0,400), 0, "Execute", 0.5, Color3.new(0,0,0), Color3.new(255,255,255)
- local clear = Instance.new("TextButton", Frame_1)
- clear.Name, clear.Size, clear.Position, clear.BorderSizePixel, clear.Text, clear.BackgroundTransparency, clear.BackgroundColor3, clear.TextColor3 = "Clear", UDim2.new(0,200,0,50), UDim2.new(0,200,0,400), 0, "Clear", 0.5, Color3.new(0,0,0), Color3.new(255,255,255)
- local toggle = false
- clear.MouseButton1Click:connect(function()
- Text.Text = ""
- end)
- exe.MouseButton1Click:connect(function()
- loadstring(Text.Text)()
- end)
- x.MouseButton1Click:connect(function()
- GUI:Remove()
- end)
- minimize.MouseButton1Click:connect(function()
- if toggle == false then
- topdrag:TweenPosition(UDim2.new(-1.7,-200,0.5,-300), 'Out', 'Quad', 1)
- openUI:TweenPosition(UDim2.new(0,25,0,400), 'Out', 'Quad', 1)
- toggle = true
- end
- end)
- openUI.MouseButton1Click:connect(function()
- if toggle == true then
- topdrag:TweenPosition(UDim2.new(0.5,-200,0.5,-300), 'Out', 'Quad', 1)
- openUI:TweenPosition(UDim2.new(-1.7,25,0,400), 'Out', 'Quad', 1)
- toggle = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement