Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("HUDPaint",1,function()
- local w, h = ScrW(), ScrH()
- local t = RealTime() * 50
- local mat = Matrix()
- mat:Translate(Vector(w/2, h/2))
- mat:Rotate(Angle(0,t,0))
- mat:Scale(Vector(1,1,1) * math.sin(t/100) *10)
- mat:Translate(-Vector(w/2, h/2))
- surface.SetFont("DermaDefault")
- surface.SetDrawColor(255, 255, 255, 255)
- surface.SetTextPos(w/2, h/2)
- cam.PushModelMatrix(mat)
- surface.DrawText("LOLLOLOLOL")
- cam.PopModelMatrix()
- end)
Advertisement
Add Comment
Please, Sign In to add comment