Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

C++ Function Box glow ESP for Roblox [SPOONFEED]

vouza

Ex Staff
User ID:
2180
Messages:
525
Reactions:
876
Badges:
23
REP:
−0/6+
Level:
333
Hi guys, Heres a quick little Box ESP glow u can use for ur internal or external ๐Ÿ‘€๐Ÿ‘€๐Ÿ‘€๐Ÿ‘€๐Ÿšจ๐Ÿšจ๐Ÿšจ๐Ÿšจ SPONSORED BY LEETHACK

[REACT=1, 2, 4, 3, 5, 6, 8]void drawBox(float X, float Y, float W, float H, ImColor color) {

ImColor fillColor = ImGui::ColorConvertFloat4ToU32(ImVec4(
storage::boxfilledcolor[0],
storage::boxfilledcolor[1],
storage::boxfilledcolor[2],
storage::boxfilledcolor[3])); // u can just make a function in ur storage section and make it a static color or have it change with a colorpicker
ImU32 outlineColor = IM_COL32(0, 0, 0, 255);
float lineThickness = 1.0 f;
float outlineThickness = 4;

float lineW = (W / 5);
float lineH = (H / 6);

auto draw = ImGui::GetBackgroundDrawList();

int BoxWidthA = 3.8;
if (storage::boxtype == 0) {
if (storage::boxglow) {
draw -> AddShadowRect(
ImVec2(X, Y),
ImVec2(W, H),
ColorConvert(storage::boxglowcolor), storage::box_glow_thickness, ImVec2(0, 0), ImDrawFlags_ShadowCutOutShapeBackground, 0
);
}
if (storage::boxfilled) {
draw -> AddRectFilled(ImVec2(X, Y), ImVec2(W, H),
fillColor);
}
if (storage::boxoutline) {
draw -> AddRect(ImVec2(X - lineThickness, Y - lineThickness),
ImVec2(W + lineThickness, H + lineThickness),
outlineColor,
0.0 f, 0, lineThickness);
}

draw -> AddRect(ImVec2(X - lineThickness + 1, Y - lineThickness + 1),
ImVec2(W + lineThickness - 1, H + lineThickness - 1),
color, 0.0 f, 0, lineThickness);
if (storage::boxoutline) {
draw -> AddRect(ImVec2(X - lineThickness + 2, Y - lineThickness + 2),
ImVec2(W + lineThickness - 2, H + lineThickness - 2),
outlineColor,
0.0 f, 0, lineThickness);
}

} else if (storage::boxtype == 1) {

if (storage::boxoutline) {
draw -> AddLine(ImVec2(X, Y), ImVec2(X, Y + BoxWidthA + lineH), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X, Y), ImVec2(X + BoxWidthA + lineW, Y), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X + W - lineW, Y), ImVec2(X + W, Y), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X + W, Y), ImVec2(X + W, Y + BoxWidthA + lineH), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X, Y + H - lineH), ImVec2(X, Y + H), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X, Y + H), ImVec2(X + BoxWidthA + lineW, Y + H), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X + W - lineW, Y + H), ImVec2(X + W, Y + H), outlineColor, lineThickness + outlineThickness);
draw -> AddLine(ImVec2(X + W, Y + H - lineH), ImVec2(X + W, Y + H), outlineColor, lineThickness + outlineThickness);
}

draw -> AddLine(ImVec2(X, Y), ImVec2(X, Y + BoxWidthA + lineH), color, lineThickness);
draw -> AddLine(ImVec2(X, Y), ImVec2(X + BoxWidthA + lineW, Y), color, lineThickness);
draw -> AddLine(ImVec2(X + W - lineW, Y), ImVec2(X + W, Y), color, lineThickness);
draw -> AddLine(ImVec2(X + W, Y), ImVec2(X + W, Y + BoxWidthA + lineH), color, lineThickness);
draw -> AddLine(ImVec2(X, Y + H - lineH), ImVec2(X, Y + H), color, lineThickness);
draw -> AddLine(ImVec2(X, Y + H), ImVec2(X + BoxWidthA + lineW, Y + H), color, lineThickness);
draw -> AddLine(ImVec2(X + W - lineW, Y + H), ImVec2(X + W, Y + H), color, lineThickness);
draw -> AddLine(ImVec2(X + W, Y + H - lineH), ImVec2(X + W, Y + H), color, lineThickness);
}

}[/REACT]

if u guys need any functions DHMU.
 
Last edited by a moderator:

Who has read this thread (Total: 0) in last 1 hours View details