User фри софтов
-
Автор темы
- #41
Вот добрая душа скинула код марки но я выше скрин кидал как она выглядит. И градиент и сами боксы сплющеныВроде такcode_language.lua:local text = "gamepaste | Hello World!" local text_size = Render.CalcTextSize(text , 7) local screen_size = EngineClient.GetScreenSize() local x = screen_size.x - 10 local y = screen_size.y - 10 Render.BoxFilled(Vector2.new(x - text_size.x - 22, y), Vector2.new(x, y + 32), Color.RGBA(4, 4, 4, 255)) Render.BoxFilled(Vector2.new(x - text_size.x - 21, y + 1), Vector2.new(x - 1, y + 31), Color.RGBA(54, 54, 54, 255)) Render.BoxFilled(Vector2.new(x - text_size.x - 20, y + 2), Vector2.new(x - 2, y + 30), Color.RGBA(34, 34, 34, 255)) Render.BoxFilled(Vector2.new(x - text_size.x - 17, y + 5), Vector2.new(x - 5, y + 27), Color.RGBA(54, 54, 54, 255)) Render.BoxFilled(Vector2.new(x - text_size.x - 16, y + 6), Vector2.new(x - 6, y + 26), Color.RGBA(4, 4, 4, 255)) Color blue = Color.RGBA(100, 150, 200, 255) Color pink = Color.RGBA(180, 100, 160, 255) Color lime = Color.RGBA(180, 230, 100, 255) Color bluet = Color.RGBA(100, 150, 200, 150) Color pinkt = Color.RGBA(180, 100, 160, 150) Color limet = Color.RGBA(180, 230, 100, 150) Render.GradientBoxFilled(Vector2.new(x - text_size.x - 14, y + 8), Vector2.new(x - 8, y + 9), blue, pink, pink, blue) Render.GradientBoxFilled(Vector2.new(x - text_size.x - 14, y + 8), Vector2.new(x - 8, y + 9), pink, lime, lime, pink) Render.GradientBoxFilled(Vector2.new(x - text_size.x - 14, y + 9), Vector2.new(x - 8, y + 10), bluet, pinkt, pinkt, bluet) Render.GradientBoxFilled(Vector2.new(x - text_size.x - 14, y + 9), Vector2.new(x - 8, y + 10), pinkt, limet, limet, pinkt) Render.Text(text, Vector.new(x - text_size.x - 11, y + 15), Color.RGBA(255, 255, 255, 255))