Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by me again :)
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local execute = Instance.new("TextButton")
- local TextBox = Instance.new("TextBox")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- main.Position = UDim2.new(0.405109495, 0, 0.278330028, 0)
- main.Size = UDim2.new(0, 326, 0, 184)
- main.Active = true
- main.Draggable = true
- execute.Name = "execute"
- execute.Parent = main
- execute.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- execute.Position = UDim2.new(0.190184057, 0, 0.743788838, 0)
- execute.Size = UDim2.new(0, 202, 0, 37)
- execute.Font = Enum.Font.SourceSans
- execute.Text = "execute"
- execute.TextColor3 = Color3.fromRGB(0, 0, 0)
- execute.TextScaled = true
- execute.TextSize = 14.000
- execute.TextWrapped = true
- TextBox.Parent = main
- TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.Position = UDim2.new(0.0429447852, 0, 0.0923913047, 0)
- TextBox.Size = UDim2.new(0, 298, 0, 106)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.TextSize = 19.000
- TextBox.TextWrapped = true
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- TextBox.TextYAlignment = Enum.TextYAlignment.Top
- execute.MouseButton1Click:connect(function()
- game.ReplicatedStorage.RemoteEvent:FireServer(TextBox.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement