Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Scroll = Instance.new("ScrollingFrame")
- local Code = Instance.new("TextBox")
- local Execute = Instance.new("TextButton")
- local Clear = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Frame.Position = UDim2.new(0.1863354, 0, 0.20240137, 0)
- Frame.Size = UDim2.new(0, 482, 0, 280)
- Frame.Draggable = true
- Frame.Active = true
- Scroll.Name = "Scroll"
- Scroll.Parent = Frame
- Scroll.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Scroll.Position = UDim2.new(0.0344918407, 0, 0.0709876493, 0)
- Scroll.Size = UDim2.new(0, 443, 0, 203)
- Code.Name = "Code"
- Code.Parent = Scroll
- Code.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Code.Position = UDim2.new(7.78819667e-05, 0, -0.000350952148, 0)
- Code.Size = UDim2.new(0, 443, 0, 203)
- Code.Font = Enum.Font.SourceSans
- Code.PlaceholderText = "Scripts here"
- Code.Text = ""
- Code.TextColor3 = Color3.new(1, 1, 1)
- Code.TextSize = 20
- Code.TextXAlignment = Enum.TextXAlignment.Left
- Code.TextYAlignment = Enum.TextYAlignment.Top
- Code.ClearTextOnFocus = false
- Execute.Name = "Execute"
- Execute.Parent = Frame
- Execute.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Execute.Position = UDim2.new(0.0344918407, 0, 0.827160418, 0)
- Execute.Size = UDim2.new(0, 115, 0, 36)
- Execute.Font = Enum.Font.SourceSans
- Execute.Text = "Execute"
- Execute.TextColor3 = Color3.new(1, 1, 1)
- Execute.TextSize = 14
- Execute.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.RemoteEvent:FireServer(Code.Text)
- end)
- Clear.Name = "Clear"
- Clear.Parent = Frame
- Clear.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Clear.Position = UDim2.new(0.295903772, 0, 0.827160418, 0)
- Clear.Size = UDim2.new(0, 115, 0, 36)
- Clear.Font = Enum.Font.SourceSans
- Clear.Text = "Clear"
- Clear.TextColor3 = Color3.new(1, 1, 1)
- Clear.TextSize = 14
- Clear.MouseButton1Click:Connect(function()
- Code.Text = ""
- end)
Add Comment
Please, Sign In to add comment