time = GlobalVars.curtime
alpha = 1.0
local NewAlpha = function()
if GlobalVars.curtime - time > 0.2 then
if alpha == 1.0 then
alpha = alpha - 1.0
elseif alpha == 0 then
alpha = alpha + 1.0
end
time = GlobalVars.curtime
end
end
Cheat.RegisterCallback("draw", function()
NewAlpha()
Render.Text("text", Vector2.new(0.0, 0.0), Color.new(1.0, 1.0, 1.0, alpha), 20)
end)