Эксперт
-
Автор темы
- #1
Да, решил исправить старое говно.
Код:
UI.AddColorPicker("Color")
function old(){
const server_tickrate = Globals.Tickrate().toString()
const ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
const color = UI.GetColor("Script items", "Color");
const text = "for forums.paste | version: 1 [Roblox] | user: ["+ Cheat.GetUsername() +"] | " + ping + " ms / " + server_tickrate + " tick";
const size = Render.TextSizeCustom(text, Render.AddFont("Verdana", 7, 0))[0] + 8
Render.FilledRect(Global.GetScreenSize()[0] - 370, 14, size, 16, [0, 0, 0, color[3]]);
Render.StringCustom(Global.GetScreenSize()[0] - 366, 15, 0, text, [0,0, 0, 255], Render.AddFont("Verdana",7,400));
Render.StringCustom(Global.GetScreenSize()[0] - 367, 16, 0, text, [255, 255, 255,255], Render.AddFont("Verdana",7,400));
Render.GradientRect(Global.GetScreenSize()[0] - 170, 13, size - 200, 1, 1, [color[0], color[1], color[2], 255], [color[0], color[1], color[2], 0]);
Render.GradientRect(Global.GetScreenSize()[0] - 370, 13, size - 160, 1, 1, [color[0], color[1], color[2], 0], [color[0], color[1], color[2], 255]);
}
Cheat.RegisterCallback("Draw", "old");
Последнее редактирование: