Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ExampleSS = Instance.new("ScreenGui")
- local skid = Instance.new("Frame")
- local source = Instance.new("TextBox")
- local execute = Instance.new("TextButton")
- local clear = Instance.new("TextButton")
- -- Properties
- ExampleSS.Name = "ExampleSS"
- ExampleSS.Parent = game.CoreGui
- ExampleSS.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- skid.Name = "skid"
- skid.Parent = ExampleSS
- skid.Active = true
- skid.BackgroundColor3 = Color3.new(0, 0, 0)
- skid.Position = UDim2.new(0.298701286, 0, 0.184060723, 0)
- skid.Size = UDim2.new(0, 430, 0, 288)
- skid.Draggable = true
- source.Name = "source"
- source.Parent = skid
- source.BackgroundColor3 = Color3.new(1, 1, 1)
- source.Position = UDim2.new(0.0209302325, 0, 0.020833334, 0)
- source.Size = UDim2.new(0, 413, 0, 225)
- source.Font = Enum.Font.SourceSans
- source.Text = ""
- source.TextColor3 = Color3.new(0, 0, 0)
- source.TextSize = 20
- execute.Name = "execute"
- execute.Parent = skid
- execute.BackgroundColor3 = Color3.new(1, 1, 1)
- execute.Position = UDim2.new(0, 0, 0.826388896, 0)
- execute.Size = UDim2.new(0, 200, 0, 50)
- execute.Font = Enum.Font.SourceSans
- execute.Text = "execute"
- execute.TextColor3 = Color3.new(0, 0, 0)
- execute.TextScaled = true
- execute.TextSize = 14
- execute.TextWrapped = true
- clear.Name = "clear"
- clear.Parent = skid
- clear.BackgroundColor3 = Color3.new(1, 1, 1)
- clear.Position = UDim2.new(0.534883738, 0, 0.826388896, 0)
- clear.Size = UDim2.new(0, 200, 0, 50)
- clear.Font = Enum.Font.SourceSans
- clear.Text = "clear"
- clear.TextColor3 = Color3.new(0, 0, 0)
- clear.TextScaled = true
- clear.TextSize = 14
- clear.TextWrapped = true
- execute.MouseButton1Click:connect(function()
- game.ReplicatedStorage.RemoteEvents:FireServer(source.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement