Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. function wm()
  2. drawline();
  3.  
  4. end
  5.  
  6. function drawline()
  7.  
  8. local screenSize = draw.GetScreenSize();
  9. local r = math.floor(math.sin(globals.RealTime() * 1) * 127 + 128);
  10. local g = math.floor(math.sin(globals.RealTime() * 1 + 2) * 127 + 128);
  11. local b = math.floor(math.sin(globals.RealTime() * 1 + 4) * 127 + 128);
  12.  
  13. draw.Color(r, g, b, 255);
  14. draw.FilledRect(0, 0, screenSize, 5.5);
  15. end
  16.  
  17. callbacks.Register('Draw', 'wm', wm);
  18. client.AllowListener( "client_disconnect" );
  19. client.AllowListener( "begin_new_match" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement