DFrame Custom Background Material
How do you make this code change the background of a DFrame slower, because when i put this in the paint function it just changes superfast.
Code:
local Backgrounds = { "image1", "image2", "image3", "image4", "image5", "image6" }
surface.SetDrawColor( 255, 255, 255, 255 )
surface.SetMaterial( Material( table.Random( Backgrounds ) .. ".jpg" ) )
surface.DrawTexturedRect( 0, 0, DermaFrame:GetWide(), DermaFrame:GetTall() )