Yaura

Untitled

May 17th, 2021
602
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. surface.CreateFont( "Whatever", {
  3.     font = "Arial", --  Use the font-name which is shown to you by your operating system Font Viewer, not the file name
  4.     extended = false,
  5.     size = 20,
  6.     weight = 700,
  7.     blursize = 0,
  8.     scanlines = 0,
  9.     antialias = true,
  10.     underline = false,
  11.     italic = false,
  12.     strikeout = false,
  13.     symbol = false,
  14.     rotary = false,
  15.     shadow = false,
  16.     additive = false,
  17.     outline = false,
  18. } )
  19.  
  20. local frame = vgui.Create("DFrame")
  21. frame:SetSize(1000,720)
  22. frame:Center()
  23. frame:SetVisible(true)
  24. frame:MakePopup()
  25.  
  26. function buttonPressed()
  27.  
  28. print("The button was pressed!")
  29.  
  30. end
  31.  
  32.  
  33. local button = vgui.Create("DButton" , frame)
  34. button:SetPos(10, 40)
  35. button:SetSize(200, 45)
  36. button:SetText("Hello World!")
  37. button.DoClick = buttonPressed
  38.  
  39. local label = vgui.Create("DLabel" , frame)
  40. label:SetPos(100,100)
  41. label:SetText("Cookies sind total lecker")
  42.  
RAW Paste Data