UI.AddHotkey("DT Instant per key")
function f() {
if (UI.IsHotkeyActive("Script items", "DT Instant per key")) {
UI.SetValue("Rage", "Exploits", "Doubletap instant", 1)
} else {
UI.SetValue("Rage", "Exploits", "Doubletap instant", 0)
}
}
Cheat.RegisterCallback("CreateMove", "f");
function indicator() {
font = Render.AddFont("Verdana", 7, 500);
instantdt = UI.IsHotkeyActive("Script items", "DT Instant per key")
add_y = 15
if(UI.IsHotkeyActive("Script items", "DT Instant per key")) {
if(Entity.IsAlive(Entity.GetLocalPlayer())) {
if(instantdt) {
add_y = add_y + 10
Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] / 2 + add_y + 1, 0, "Instant DT", [0, 0, 0, 255], font);
Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] / 2 + add_y, 0, "Instant DT", [200, 185, 255, 255], font);
}
}
Cheat.RegisterCallback("Draw", "indicator")