Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local AdriansExecute = Instance.new("ScreenGui")
- local skid = Instance.new("Frame")
- local source = Instance.new("TextBox")
- local execute = Instance.new("TextButton")
- local clear = Instance.new("TextButton")
- -- Properties
- AdriansExecute.Name = "Adrian's Execute"
- AdriansExecute.Parent = game.CoreGui
- AdriansExecute.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- skid.Name = "skid"
- skid.Parent = AdriansExecute
- skid.BackgroundColor3 = Color3.new(0.333333, 0, 1)
- skid.Position = UDim2.new(0.295202941, 0, 0.237191647, 0)
- skid.Size = UDim2.new(0, 347, 0, 263)
- source.Name = "source"
- source.Parent = skid
- source.BackgroundColor3 = Color3.new(0, 0, 0.498039)
- source.Size = UDim2.new(0, 347, 0, 191)
- source.Font = Enum.Font.SourceSans
- source.Text = "Enter"
- source.TextColor3 = Color3.new(0, 1, 0)
- source.TextSize = 20
- execute.Name = "execute"
- execute.Parent = skid
- execute.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- execute.Position = UDim2.new(0, 0, 0.775665402, 0)
- execute.Size = UDim2.new(0, 113, 0, 50)
- execute.Font = Enum.Font.SourceSans
- execute.Text = "Execute"
- execute.TextColor3 = Color3.new(1, 1, 1)
- execute.TextSize = 30
- clear.Name = "clear"
- clear.Parent = skid
- clear.BackgroundColor3 = Color3.new(1, 0, 0)
- clear.Position = UDim2.new(0.674351573, 0, 0.775665402, 0)
- clear.Size = UDim2.new(0, 113, 0, 50)
- clear.Font = Enum.Font.SourceSans
- clear.Text = "Clear"
- clear.TextColor3 = Color3.new(1, 1, 1)
- clear.TextSize = 30
- execute.MouseButton1Click:connect(function()
- game.ReplicatedStorage.RemoteEvent:FireServer(source.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement