local font = render.create_font("Verdana", 12, 100, font_flags.antialias | font_flags.dropshadow)
function watermark()
-- Colors --
local color_line = color.new(90, 120, 240, 255)
local color_background = color.new(0, 0, 0, 240)
local color_text = color.new(255, 255, 255)
-- Cheat variables --
local username = client.username;
-- local ping = ;
-- local tickrate = ;
-- Time --
-- Text --
local text
if engine.is_connected() then
text = tostring("pandora.uno | " .. username .. " | delay: 0ms | 64 tick | 23:59:59")
else
text = tostring("pandora.uno | " .. username .. " | 23:59:59")
end
-- width & size --
local screen_width = render.get_screen()
local width = render.get_text_size(text)
-- Cordinates --
local x = screen_width - 10 - width - 1
local y = 10
local w = width - 5
-- Render --
render.rectangle_filled(x - 4, y - 1, w + 10, 3, color_line)
render.rectangle_filled(x - 4, y + 1, w + 10, 18, color_background)
render.text(x - 1, y + 3, text, color_text)
end
callbacks.register("paint", watermark)