Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. local ticks = 0
  2. local displayed_shit_gifs = false
  3. hook.Add( 'HUDPaint', 'test', function()
  4.  
  5. ticks = ticks + 1
  6. if ticks >= 660 then
  7. local html = vgui.Create( 'HTML', frame )
  8. html:SetPos( math.random( 1, ScrW() - 210 ), math.random( 1, ScrH() - 267 ) )
  9. html:SetHTML( [[
  10. <img src='https://media.giphy.com/media/TGSvxwd5M3jSo/200w.gif' alt='gif' style='width:200px;height:257px;'>
  11. ]] )
  12. html:SetSize( 310, 310 )
  13.  
  14. local html2 = vgui.Create( 'HTML', frame )
  15. html2:SetPos( math.random( 1, ScrW() - 440 ), math.random( 1, ScrH() - 340 ) )
  16. html2:SetHTML( [[
  17. <img src='https://media.giphy.com/media/x6fGeQOU59dhC/giphy.gif' alt='gif' style='width:420px;height:320px;'>
  18. ]] )
  19. html2:SetSize( 440, 340 )
  20.  
  21. ticks = 0
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement