Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local execute = Instance.new("TextButton")
- local clear = Instance.new("TextButton")
- local executor = Instance.new("TextBox")
- local blush = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(255, 155, 247)
- main.Position = UDim2.new(0.623175204, 0, 0.447817832, 0)
- main.Size = UDim2.new(0, 324, 0, 198)
- execute.Name = "execute"
- execute.Parent = ScreenGui
- execute.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- execute.BackgroundTransparency = 1.000
- execute.BorderSizePixel = 0
- execute.Position = UDim2.new(0.623175204, 0, 0.768500924, 0)
- execute.Size = UDim2.new(0, 101, 0, 29)
- execute.Font = Enum.Font.SourceSans
- execute.Text = "Execute"
- execute.TextColor3 = Color3.fromRGB(0, 0, 0)
- execute.TextSize = 30.000
- clear.Name = "clear"
- clear.Parent = ScreenGui
- clear.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- clear.BackgroundTransparency = 1.000
- clear.BorderSizePixel = 0
- clear.Position = UDim2.new(0.826642334, 0, 0.768500924, 0)
- clear.Size = UDim2.new(0, 101, 0, 29)
- clear.Font = Enum.Font.SourceSans
- clear.Text = "Clear"
- clear.TextColor3 = Color3.fromRGB(0, 0, 0)
- clear.TextSize = 30.000
- executor.Name = "executor"
- executor.Parent = ScreenGui
- executor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- executor.BackgroundTransparency = 0.600
- executor.BorderSizePixel = 0
- executor.Position = UDim2.new(0.631386876, 0, 0.462998092, 0)
- executor.Size = UDim2.new(0, 303, 0, 153)
- executor.Font = Enum.Font.SourceSans
- executor.Text = ""
- executor.TextColor3 = Color3.fromRGB(0, 0, 0)
- executor.TextSize = 14.000
- executor.TextXAlignment = Enum.TextXAlignment.Left
- executor.TextYAlignment = Enum.TextYAlignment.Top
- blush.Name = "blush"
- blush.Parent = ScreenGui
- blush.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- blush.BackgroundTransparency = 1.000
- blush.BorderSizePixel = 0
- blush.Position = UDim2.new(0.715328455, 0, 0.753320694, 0)
- blush.Size = UDim2.new(0, 122, 0, 37)
- blush.Font = Enum.Font.SourceSans
- blush.Text = "BLUSH"
- blush.TextColor3 = Color3.fromRGB(0, 0, 0)
- blush.TextSize = 45.000
- --Functions:
- execute.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.RemoteEvent:FireServer(executor.Text)
- end)
- clear.MouseButton1Click:Connect(function()
- executor.Text = ""
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement