JavaScript:
const watermark = function() {
const user = Cheat.GetUsername();
const server = World.GetServerString();
const ping = Math.round(Local.Latency() * 1000 - 16);
const now = new Date();
const hours = now.getHours(), mins = now.getMinutes(), secs = now.getSeconds();
const time = (hours < 10 ? "0" + hours : hours) + ":" + (mins < 10 ? "0" + mins : mins) + ":" + (secs < 10 ? "0" + secs : secs);
if(ping < 1) ping = 0;
if(!server != "") server = "offline";
const font = Render.AddFont("MuseoSansCyrl-900", 10, 900);
const font1 = Render.AddFont("MuseoSansCyrl-900", 11, 900);
const text = "| "+ user +" | "+ ping +" ms | "+ server +" | "+ time +"";
const w = Render.TextSizeCustom(text, font)[0] + 40;
const x = Global.GetScreenSize()[0];
x = x - w - 10;
Render.FilledRect(x, 9, w - 2, 27, [11, 11, 20, 200]);
Render.FilledRect(x - 1, 10, w, 25, [11, 11, 20, 200]);
Render.StringCustom(x + 33, 14, 0, text, [255, 255, 255, 255], font);
Render.StringCustom(x + 6, 15, 0, "NL", [34, 179, 246, 255], font1);
Render.StringCustom(x + 7, 14, 0, "NL", [255, 255, 255, 255], font1);
}
Cheat.RegisterCallback("Draw", "watermark");