Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.13321647, 0, 0.170357749, 0)
- Frame.Size = UDim2.new(0, 258, 0, 89)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Size = UDim2.new(0, 258, 0, 89)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Click:connect(function()
- print("Hello World!")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement