Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ticks = 0
- hook.Add( 'HUDPaint', 'test', function()
- ticks = ticks + 1
- if ticks >= 660 then
- local html = vgui.Create( 'HTML', frame )
- html:SetPos( math.random( 1, ScrW() - 200 ), math.random( 1, ScrH() - 257 ) )
- html:SetHTML( [[
- <img src='https://giphy.com/stickers/XtdJnAvZXXjHgrK28U' alt='gif' style='width:200px;height:257px;'>
- ]] )
- html:SetSize( 300, 300 )
- ticks = 0
- end
- local col = HSVToColor( RealTime() * 120 % 1080, 1, 1 )
- draw.RoundedBox( 0, 0, 0, ScrW(), ScrH(), Color( col.r, col.g, col.b, 100 ) )
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement