Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. include( 'dermapanel.lua' )
  2.  
  3. function f4menu()
  4.  
  5. surface.CreateFont( "robotofont", {
  6. font = "Roboto-Bold",
  7. size = 50,
  8. weight = 500,
  9. blursize = 0,
  10. scanlines = 0,
  11. antialias = true,
  12. underline = false,
  13. italic = false,
  14. strikeout = false,
  15. symbol = false,
  16. rotary = false,
  17. shadow = false,
  18. additive = false,
  19. outline = false,
  20. } )
  21.  
  22. surface.CreateFont( "shakedown", {
  23. font = "Roboto-Thin",
  24. size = 25,
  25. weight = 500,
  26. blursize = 0,
  27. scanlines = 0,
  28. antialias = true,
  29. underline = false,
  30. italic = false,
  31. strikeout = false,
  32. symbol = false,
  33. rotary = false,
  34. shadow = false,
  35. additive = false,
  36. outline = false,
  37. } )
  38.  
  39. surface.CreateFont( "thisisyou", {
  40. font = "Arial",
  41. size = 15,
  42. weight = 500,
  43. blursize = 0,
  44. scanlines = 0,
  45. antialias = true,
  46. underline = false,
  47. italic = false,
  48. strikeout = false,
  49. symbol = false,
  50. rotary = false,
  51. shadow = false,
  52. additive = false,
  53. outline = false,
  54. } )
  55.  
  56.  
  57. local playerpanel = vgui.Create( "DFrame" )
  58. playerpanel:SetSize( 900, 650 )
  59. playerpanel:Center()
  60. playerpanel:SetTitle( "Gamemode Information" )
  61. playerpanel:SetVisible( true )
  62. playerpanel:MakePopup( true )
  63.  
  64. function playerpanel:Paint( w, h )
  65. draw.RoundedBox( 0, 0, 0, w, 25, Color( 0, 104, 128, 230 ) )
  66. draw.RoundedBox( 0, 0, 25, w, h, Color( 255, 255, 255, 230 ) )
  67. end
  68.  
  69.  
  70. local label = vgui.Create( "DLabel", playerpanel )
  71. label:SetText( "LiteScript" )
  72. label:SetPos( 30, 45 )
  73. label:SetFont( "robotofont" )
  74. label:SizeToContents()
  75.  
  76. local label = vgui.Create( "DLabel", playerpanel )
  77. label:SetText( "WE'LL SHAKE YOU DOWN" )
  78. label:SetPos( 30, 90 )
  79. label:SetFont( "shakedown" )
  80. label:SizeToContents()
  81. label:SetTextColor( Color( 128, 157, 255, 255 ) )
  82.  
  83. local ply = LocalPlayer()
  84. local playershow = vgui.Create( "DModelPanel", playerpanel )
  85. playershow:SetPos( 30, 125 )
  86. playershow:SetSize( 280, 280 )
  87. playershow:SetModel( ply:GetModel() )
  88.  
  89. local thisisyou = vgui.Create( "DLabel", playerpanel )
  90. thisisyou:SetText( "Say hello to the new you!" )
  91. thisisyou:SetPos( 100, 410 )
  92. thisisyou:SetFont( "thisisyou" )
  93. thisisyou:SizeToContents()
  94. thisisyou:SetTextColor( Color( 0, 0, 0, 255 ) )
  95.  
  96. local newbutton = vgui.Create( "DButton" )
  97. newbutton:SetParent( playerpanel )
  98. newbutton:SetPos( 300, 550 )
  99. newbutton:SetSize( 120, 60 )
  100. newbutton:SetText( "Show CiD" )
  101. newbutton.DoClick = function()
  102. bringupcid()
  103. end
  104.  
  105. local secondbutton = vgui.Create( "DButton" )
  106. secondbutton:SetParent( playerpanel )
  107. secondbutton:SetPos( 500, 550 )
  108. secondbutton:SetSize( 120, 60 )
  109. secondbutton:SetText( "Secondthing" )
  110. secondbutton.DoClick = function()
  111. playerpanel:Remove()
  112. end
  113.  
  114.  
  115. end
  116.  
  117. function newbutton:Paint( w, h )
  118. draw.RoundedBox( 0, 0, 0, w, h, Color( 127, 140, 141, 255 ) )
  119. end
  120.  
  121. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement