Advertisement
paulgamer115

asd gui

Feb 28th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("CoreGui")
  13. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14.  
  15. Frame.Parent = ScreenGui
  16. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  17. Frame.Position = UDim2.new(0.13321647, 0, 0.170357749, 0)
  18. Frame.Size = UDim2.new(0, 258, 0, 89)
  19.  
  20. TextButton.Parent = Frame
  21. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  22. TextButton.Size = UDim2.new(0, 258, 0, 89)
  23. TextButton.Font = Enum.Font.SourceSans
  24. TextButton.TextColor3 = Color3.new(0, 0, 0)
  25. TextButton.TextSize = 14
  26.  
  27. TextButton.MouseButton1Click:connect(function()
  28. print("Hello World!")
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement