Flashing text;
if GetPlayerDistance(e) < 400 then
TextCenterOnXColor(50,50,3, "Warning!", math.random()*250, math.random()*250, math.random()*250)
local distcol = 600 - ( GetPlayerDistance(e) + 100 )
TextCenterOnXColor(50,55,3, "Getting too close!", distcol/2, distcol/4, distcol/2 )
TextCenterOnXColor(50.3,55.3,3, "Getting too close!", distcol/2, distcol/2, distcol/4 )
end
Warning! Any call for color over 255 or negative is a quick way to shut down GG.
Experiment on an empty map.