Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScriptExeWindow = Instance.new("Frame")
- local WindowTop = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Codebox = Instance.new("TextBox")
- local RunS = Instance.new("TextButton")
- local Cls = Instance.new("TextButton")
- -- Properties
- ScriptExeWindow.Name = "ScriptExeWindow"
- ScriptExeWindow.Parent = game.Players.LocalPlayer.PlayerGui
- ScriptExeWindow.Active = true
- ScriptExeWindow.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- ScriptExeWindow.BorderSizePixel = 0
- ScriptExeWindow.Draggable = true
- ScriptExeWindow.Position = UDim2.new(0, 349, 0, 30)
- ScriptExeWindow.Size = UDim2.new(0, 375, 0, 200)
- WindowTop.Name = "WindowTop"
- WindowTop.Parent = ScriptExeWindow
- WindowTop.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- WindowTop.BorderSizePixel = 0
- WindowTop.Selectable = true
- WindowTop.Size = UDim2.new(1, 0, 0, 20)
- TextLabel.Parent = WindowTop
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 150, 1, 0)
- TextLabel.Font = Enum.Font.Arial
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Script Executer"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Codebox.Name = "Codebox"
- Codebox.Parent = ScriptExeWindow
- Codebox.BackgroundColor3 = Color3.new(1, 1, 1)
- Codebox.BorderColor3 = Color3.new(1, 1, 1)
- Codebox.BorderSizePixel = 4
- Codebox.Position = UDim2.new(0, 10, 0, 30)
- Codebox.Size = UDim2.new(1, -20, 1, -75)
- Codebox.ClearTextOnFocus = false
- Codebox.Font = Enum.Font.Code
- Codebox.FontSize = Enum.FontSize.Size12
- Codebox.MultiLine = true
- Codebox.Text = "print(\"Script Executer by sleepyfun\")"
- Codebox.TextColor3 = Color3.new(0, 0, 0)
- Codebox.TextSize = 12
- Codebox.TextXAlignment = Enum.TextXAlignment.Left
- Codebox.TextYAlignment = Enum.TextYAlignment.Top
- RunS.Name = "RunS"
- RunS.Parent = ScriptExeWindow
- RunS.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
- RunS.BorderSizePixel = 0
- RunS.Position = UDim2.new(0, 10, 0, 170)
- RunS.Size = UDim2.new(0, 100, 0, 20)
- RunS.Font = Enum.Font.Arial
- RunS.FontSize = Enum.FontSize.Size14
- RunS.Text = "Run"
- RunS.TextScaled = true
- RunS.TextSize = 14
- RunS.TextWrapped = true
- Cls.Name = "Cls"
- Cls.Parent = ScriptExeWindow
- Cls.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
- Cls.BorderSizePixel = 0
- Cls.Position = UDim2.new(0, 230, 0, 170)
- Cls.Size = UDim2.new(0, 100, 0, 20)
- Cls.Font = Enum.Font.Arial
- Cls.FontSize = Enum.FontSize.Size14
- Cls.Text = "Clear"
- Cls.TextScaled = true
- Cls.TextSize = 14
- Cls.TextWrapped = true
- RunS.MouseButton1Click:connect(function()
- loadstring(Codebox.Text)()
- end)
- Cls.MouseButton1Click:connect(function()
- Codebox.Text = ""
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement