Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Execute GUI: Made With GUI To Lua By TheDarkGamer/gray_alli28")
- --hi
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ExecuteGUI = Instance.new("ScreenGui")
- local Detector = Instance.new("TextButton")
- local CodeBox = Instance.new("TextBox")
- local Drag = Instance.new("TextButton")
- local Corner = Instance.new("Frame")
- local Corner_2 = Instance.new("Frame")
- local Corner_3 = Instance.new("Frame")
- local Corner_4 = Instance.new("Frame")
- local ResizeR = Instance.new("TextButton")
- local ResizeL = Instance.new("TextButton")
- local ResizeR_2 = Instance.new("TextButton")
- local Corner_5 = Instance.new("Frame")
- local Corner_6 = Instance.new("Frame")
- local Corner_7 = Instance.new("Frame")
- local Corner_8 = Instance.new("Frame")
- local ResizeL_2 = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- local Execute = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- --Properties:
- ExecuteGUI.Name = "Execute GUI"
- ExecuteGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Detector.Name = "Detector"
- Detector.Parent = ExecuteGUI
- Detector.BackgroundColor3 = Color3.new(0.878431, 0.878431, 0.878431)
- Detector.BackgroundTransparency = 1
- Detector.Position = UDim2.new(-1, -255, -1, 370)
- Detector.Size = UDim2.new(3, -30, 3, -20)
- Detector.AutoButtonColor = false
- Detector.Text = ""
- Detector.TextColor3 = Color3.new(0, 0, 0)
- CodeBox.Name = "CodeBox"
- CodeBox.Parent = ExecuteGUI
- CodeBox.Active = false
- CodeBox.BackgroundColor3 = Color3.new(1, 1, 1)
- CodeBox.BorderColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- CodeBox.Position = UDim2.new(0, 100, 0, 200)
- CodeBox.Size = UDim2.new(0, 301, 0, 311)
- CodeBox.Visible = false
- CodeBox.MultiLine = true
- CodeBox.Text = "print(\"Your code here!\")"
- CodeBox.TextSize = 9
- CodeBox.TextStrokeColor3 = Color3.new(0.917647, 0.917647, 0.917647)
- CodeBox.TextStrokeTransparency = 0
- CodeBox.TextWrapped = true
- CodeBox.TextXAlignment = Enum.TextXAlignment.Left
- CodeBox.TextYAlignment = Enum.TextYAlignment.Top
- Drag.Name = "Drag"
- Drag.Parent = CodeBox
- Drag.BackgroundColor3 = Color3.new(0.870588, 0.870588, 0.870588)
- Drag.BorderColor3 = Color3.new(0.686275, 0.686275, 0.686275)
- Drag.Position = UDim2.new(0, 0, 0, -20)
- Drag.Size = UDim2.new(1, 0, 0, 20)
- Drag.ZIndex = 2
- Drag.AutoButtonColor = false
- Drag.Font = Enum.Font.SourceSansBold
- Drag.Text = "1337_Pwnz0r's Script Executor"
- Drag.TextColor3 = Color3.new(1, 1, 1)
- Drag.TextScaled = true
- Drag.TextStrokeTransparency = 0
- Drag.TextWrapped = true
- Corner.Name = "Corner"
- Corner.Parent = Drag
- Corner.BackgroundColor3 = Color3.new(0.870588, 0.870588, 0.870588)
- Corner.BorderSizePixel = 0
- Corner.Position = UDim2.new(0, 3, 0, 3)
- Corner.Size = UDim2.new(0, 5, 0, 5)
- Corner.ZIndex = 3
- Corner_2.Name = "Corner"
- Corner_2.Parent = Corner
- Corner_2.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Corner_2.BorderSizePixel = 0
- Corner_2.Position = UDim2.new(0, -1, 0, -1)
- Corner_2.Size = UDim2.new(1, 1, 1, 1)
- Corner_2.ZIndex = 2
- Corner_3.Name = "Corner"
- Corner_3.Parent = Drag
- Corner_3.BackgroundColor3 = Color3.new(0.87451, 0.87451, 0.87451)
- Corner_3.BorderSizePixel = 0
- Corner_3.Position = UDim2.new(1, -7, 0, 3)
- Corner_3.Size = UDim2.new(0, 5, 0, 5)
- Corner_3.ZIndex = 3
- Corner_4.Name = "Corner"
- Corner_4.Parent = Corner_3
- Corner_4.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Corner_4.BorderSizePixel = 0
- Corner_4.Position = UDim2.new(0, 0, 0, -1)
- Corner_4.Size = UDim2.new(1, 1, 1, 1)
- Corner_4.ZIndex = 2
- ResizeR.Name = "ResizeR"
- ResizeR.Parent = Drag
- ResizeR.BackgroundColor3 = Color3.new(0.878431, 0.878431, 0.878431)
- ResizeR.BackgroundTransparency = 1
- ResizeR.Position = UDim2.new(1, -12, 0, -3)
- ResizeR.Size = UDim2.new(0, 15, 0, 15)
- ResizeR.ZIndex = 2
- ResizeR.AutoButtonColor = false
- ResizeR.Text = ""
- ResizeR.TextColor3 = Color3.new(0, 0, 0)
- ResizeL.Name = "ResizeL"
- ResizeL.Parent = Drag
- ResizeL.BackgroundColor3 = Color3.new(0.882353, 0.882353, 0.882353)
- ResizeL.BackgroundTransparency = 1
- ResizeL.Position = UDim2.new(0, -3, 0, -3)
- ResizeL.Size = UDim2.new(0, 15, 0, 15)
- ResizeL.ZIndex = 2
- ResizeL.AutoButtonColor = false
- ResizeL.Text = ""
- ResizeL.TextColor3 = Color3.new(0, 0, 0)
- ResizeR_2.Name = "ResizeR"
- ResizeR_2.Parent = CodeBox
- ResizeR_2.BackgroundColor3 = Color3.new(0.87451, 0.87451, 0.87451)
- ResizeR_2.BackgroundTransparency = 1
- ResizeR_2.Position = UDim2.new(1, -12, 1, -12)
- ResizeR_2.Size = UDim2.new(0, 15, 0, 15)
- ResizeR_2.ZIndex = 2
- ResizeR_2.AutoButtonColor = false
- ResizeR_2.Text = ""
- ResizeR_2.TextColor3 = Color3.new(0, 0, 0)
- Corner_5.Name = "Corner"
- Corner_5.Parent = CodeBox
- Corner_5.BackgroundColor3 = Color3.new(1, 1, 1)
- Corner_5.BorderSizePixel = 0
- Corner_5.Position = UDim2.new(1, -7, 1, -7)
- Corner_5.Size = UDim2.new(0, 5, 0, 5)
- Corner_5.ZIndex = 3
- Corner_6.Name = "Corner"
- Corner_6.Parent = Corner_5
- Corner_6.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Corner_6.BorderSizePixel = 0
- Corner_6.Size = UDim2.new(1, 1, 1, 1)
- Corner_6.ZIndex = 2
- Corner_7.Name = "Corner"
- Corner_7.Parent = CodeBox
- Corner_7.BackgroundColor3 = Color3.new(1, 1, 1)
- Corner_7.BorderSizePixel = 0
- Corner_7.Position = UDim2.new(0, 3, 1, -7)
- Corner_7.Size = UDim2.new(0, 5, 0, 5)
- Corner_7.ZIndex = 3
- Corner_8.Name = "Corner"
- Corner_8.Parent = Corner_7
- Corner_8.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Corner_8.BorderSizePixel = 0
- Corner_8.Position = UDim2.new(0, -1, 0, 0)
- Corner_8.Size = UDim2.new(1, 1, 1, 1)
- Corner_8.ZIndex = 2
- ResizeL_2.Name = "ResizeL"
- ResizeL_2.Parent = CodeBox
- ResizeL_2.BackgroundColor3 = Color3.new(0.878431, 0.878431, 0.878431)
- ResizeL_2.BackgroundTransparency = 1
- ResizeL_2.Position = UDim2.new(0, -3, 1, -12)
- ResizeL_2.Size = UDim2.new(0, 15, 0, 15)
- ResizeL_2.ZIndex = 2
- ResizeL_2.AutoButtonColor = false
- ResizeL_2.Text = ""
- ResizeL_2.TextColor3 = Color3.new(0, 0, 0)
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ExecuteGUI
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BackgroundTransparency = 0.30000001192093
- MainFrame.BorderColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0, 0, 0, 255)
- MainFrame.Size = UDim2.new(0, 90, 0, 75)
- MainFrame.ZIndex = 3
- Close.Name = "Close"
- Close.Parent = MainFrame
- Close.Active = false
- Close.BackgroundColor3 = Color3.new(0.168627, 0.0588235, 1)
- Close.BorderColor3 = Color3.new(0.133333, 0.0431373, 0.796079)
- Close.BorderSizePixel = 2
- Close.Position = UDim2.new(0, 5, 0, 5)
- Close.Size = UDim2.new(0, 80, 0, 25)
- Close.Visible = false
- Close.ZIndex = 4
- Close.Font = Enum.Font.SourceSansBold
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextScaled = true
- Close.TextSize = 24
- Close.TextStrokeTransparency = 0
- Close.TextWrapped = true
- Open.Name = "Open"
- Open.Parent = MainFrame
- Open.BackgroundColor3 = Color3.new(0.0627451, 1, 0.847059)
- Open.BorderColor3 = Color3.new(0.0431373, 0.686275, 0.580392)
- Open.BorderSizePixel = 2
- Open.Position = UDim2.new(0, 5, 0, 5)
- Open.Size = UDim2.new(0, 80, 0, 25)
- Open.ZIndex = 4
- Open.Font = Enum.Font.SourceSansBold
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(1, 1, 1)
- Open.TextScaled = true
- Open.TextSize = 24
- Open.TextStrokeTransparency = 0
- Open.TextWrapped = true
- Execute.Name = "Execute"
- Execute.Parent = MainFrame
- Execute.BackgroundColor3 = Color3.new(1, 0, 0)
- Execute.BorderColor3 = Color3.new(0.784314, 0, 0)
- Execute.BorderSizePixel = 2
- Execute.Position = UDim2.new(0, 5, 0, 35)
- Execute.Size = UDim2.new(0, 80, 0, 35)
- Execute.ZIndex = 4
- Execute.Font = Enum.Font.SourceSansBold
- Execute.Text = "Execute"
- Execute.TextColor3 = Color3.new(1, 1, 1)
- Execute.TextScaled = true
- Execute.TextSize = 14
- Execute.TextStrokeTransparency = 0
- Execute.TextWrapped = true
- TextLabel.Parent = ExecuteGUI
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.Position = UDim2.new(0.0908173546, 0, 0.337301582, 0)
- TextLabel.Size = UDim2.new(0, 115, 0, 22)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Click Open Output"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextLabel_2.Parent = TextLabel
- TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel_2.Position = UDim2.new(0.00386083126, 0, 1.00276577, 0)
- TextLabel_2.Size = UDim2.new(0, 184, 0, 22)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Made By TheDarkGamer/gray_alli28"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 14
- TextLabel_2.TextStrokeColor3 = Color3.new(1, 1, 1)
- -- Scripts:
- function SCRIPT_DLKV82_FAKESCRIPT() -- CodeBox.Standard
- getfenv().script = Instance.new('LocalScript', CodeBox)
- main = script.Parent
- detector = main.Parent.Detector
- drag = main.Drag
- resize = {main.ResizeR, main.ResizeL, drag.ResizeR, drag.ResizeL}
- dragging = false
- resizing = false
- xmin = 100
- ymin = 100
- mpx = 0
- mpy = 0
- --drag bar control
- drag.MouseButton1Down:connect(function()
- dragging = true
- deltax = mpx
- deltay = mpy
- while dragging do
- main.Position = UDim2.new(0, main.Position.X.Offset-deltax+mpx, 0, main.Position.Y.Offset-deltay+mpy)
- deltax = mpx
- deltay = mpy
- wait()
- end
- end)
- --resize controls
- resize[1].MouseButton1Down:connect(function() --bottom right
- resizing = true
- originx = main.Size.X.Offset
- originy = main.Size.Y.Offset
- deltax = main.AbsolutePosition.X+main.Size.X.Offset
- deltay = main.AbsolutePosition.Y+main.Size.Y.Offset
- while resizing do
- main.Size = UDim2.new(0, originx+mpx-deltax, 0, originy+mpy-deltay)
- if main.Size.X.Offset < xmin then
- main.Size = UDim2.new(0, xmin, 0, main.Size.Y.Offset)
- end
- if main.Size.Y.Offset < ymin then
- main.Size = UDim2.new(0, main.Size.X.Offset, 0, ymin)
- end
- wait()
- end
- end)
- resize[2].MouseButton1Down:connect(function() --bottom left
- resizing = true
- origin = main.Position
- originx = main.Size.X.Offset
- originy = main.Size.Y.Offset
- deltax = main.AbsolutePosition.X
- deltay = main.AbsolutePosition.Y+main.Size.Y.Offset
- while resizing do
- main.Size = UDim2.new(0, originx-(mpx-deltax), 0, originy+mpy-deltay)
- if main.Size.X.Offset < xmin then
- main.Size = UDim2.new(0, xmin, 0, main.Size.Y.Offset)
- end
- if main.Size.Y.Offset < ymin then
- main.Size = UDim2.new(0, main.Size.X.Offset, 0, ymin)
- end
- main.Position = origin-UDim2.new(0, main.Size.X.Offset-originx, 0, 0)
- wait()
- end
- end)
- resize[3].MouseButton1Down:connect(function() --top right
- resizing = true
- origin = main.Position
- originx = main.Size.X.Offset
- originy = main.Size.Y.Offset
- deltax = main.AbsolutePosition.X+main.Size.X.Offset
- deltay = drag.AbsolutePosition.Y
- while resizing do
- main.Size = UDim2.new(0, originx+mpx-deltax, 0, originy-(mpy-deltay))
- if main.Size.X.Offset < xmin then
- main.Size = UDim2.new(0, xmin, 0, main.Size.Y.Offset)
- end
- if main.Size.Y.Offset < ymin then
- main.Size = UDim2.new(0, main.Size.X.Offset, 0, ymin)
- end
- main.Position = origin-UDim2.new(0, 0, 0, main.Size.Y.Offset-originy)
- wait()
- end
- end)
- resize[4].MouseButton1Down:connect(function() --top left
- resizing = true
- origin = main.Position
- originx = main.Size.X.Offset
- originy = main.Size.Y.Offset
- deltax = main.AbsolutePosition.X
- deltay = drag.AbsolutePosition.Y
- while resizing do
- main.Size = UDim2.new(0, originx-(mpx-deltax), 0, originy-(mpy-deltay))
- if main.Size.X.Offset < xmin then
- main.Size = UDim2.new(0, xmin, 0, main.Size.Y.Offset)
- end
- if main.Size.Y.Offset < ymin then
- main.Size = UDim2.new(0, main.Size.X.Offset, 0, ymin)
- end
- main.Position = origin-UDim2.new(0, main.Size.X.Offset-originx, 0, main.Size.Y.Offset-originy)
- wait()
- end
- end)
- --keep track of mouse position
- detector.MouseMoved:connect(function(x, y)
- mpx = x
- mpy = y
- end)
- --cancel things
- drag.MouseButton1Up:connect(function()
- dragging = false
- resizing = false
- end)
- for i, v in pairs(resize) do
- v.MouseButton1Up:connect(function()
- dragging = false
- resizing = false
- end)
- end
- detector.MouseButton1Up:connect(function()
- dragging = false
- resizing = false
- end)
- detector.MouseLeave:connect(function()
- dragging = false
- resizing = false
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_DLKV82_FAKESCRIPT))
- function SCRIPT_RUJQ83_FAKESCRIPT() -- ExecuteGUI.Execute Script
- getfenv().script = Instance.new('Script', ExecuteGUI)
- local gui = script.Parent
- local mainframe = gui.MainFrame
- local OpenButton = mainframe.Open
- local CloseButton = mainframe.Close
- local ExecuteButton = mainframe.Execute
- local CodeBox = gui.CodeBox
- OpenButton.MouseButton1Click:connect(function()
- OpenButton.Active = false
- OpenButton.Visible = false
- CloseButton.Active = true
- CloseButton.Visible = true
- CodeBox.Visible = true
- CodeBox.Active = true
- Scripts.Visible = true
- end)
- CloseButton.MouseButton1Click:connect(function()
- OpenButton.Active = true
- OpenButton.Visible = true
- CloseButton.Active = false
- CloseButton.Visible = false
- CodeBox.Visible = false
- CodeBox.Active = false
- Scripts.Visible =false
- end)
- ExecuteButton.MouseButton1Click:connect(function()
- loadstring(CodeBox.Text)()
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_RUJQ83_FAKESCRIPT))
Advertisement
Advertisement