Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local ticks = 0
  2. hook.Add( 'HUDPaint', 'test', function()
  3. ticks = ticks + 1
  4. if ticks >= 660 then
  5. local html = vgui.Create( 'HTML', frame )
  6. html:SetPos( math.random( 1, ScrW() - 200 ), math.random( 1, ScrH() - 257 ) )
  7. html:SetHTML( [[
  8. <img src='https://giphy.com/stickers/XtdJnAvZXXjHgrK28U' alt='gif' style='width:200px;height:257px;'>
  9. ]] )
  10. html:SetSize( 300, 300 )
  11. ticks = 0
  12. end
  13. local col = HSVToColor( RealTime() * 120 % 1080, 1, 1 )
  14. draw.RoundedBox( 0, 0, 0, ScrW(), ScrH(), Color( col.r, col.g, col.b, 100 ) )
  15. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement