Advertisement
TOJU

Untitled

Nov 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | None | 0 0
  1. surface.CreateFont( "font1", {
  2.     font = "Impact",
  3.     size = 30,
  4.     weight = 800,
  5.     antialias = true
  6. } )
  7.  
  8. surface.CreateFont( "font2", {
  9.     font = "Arial",
  10.     size = 20,
  11.     weight = 800,
  12.     antialias = true
  13. } )
  14.  
  15. hook.Add("HUDPaint","supportalert",function()
  16.  
  17. switch = math.sin(CurTime()*3)*(175/2)+(175/2)
  18.  
  19. switch2 = math.sin(CurTime()*3)*(255/2)+(255/2)
  20.  
  21. for i = 0, 8, 1 do
  22.    r = math.sin(CurTime()*i + 0)*(127)+(128)
  23.    g = math.sin(CurTime()*i + 2)*(127)+(128)
  24.    b = math.sin(CurTime()*i + 4)*(127)+(128)
  25. end
  26.  
  27.     draw.RoundedBox(5,ScrW()-275,500,250,75,Color(255, 140, 0,switch))
  28.     draw.RoundedBox(5,ScrW()-280,495,260,85,Color(166, 14, 0,switch2))
  29.  
  30.     draw.SimpleText([[Es gibt noch Supports]],"font1",ScrW()-265,518,Color(r,g,b,switch2))
  31.     draw.SimpleText([[!supportadmin]],"font2",ScrW()-210,550,Color(r,g,b,switch2))
  32.  
  33. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement