UI.AddCheckbox('Flip on stand')
function getVelocity() {
var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}
function nahuyOnoVamNado() {
if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Flip on stand') && getVelocity(Entity.GetLocalPlayer()) == 0) {
UI.ToggleHotkey('Anti-Aim', 'Fake angles', 'Inverter')
}
}
Cheat.RegisterCallback('CreateMove', 'nahuyOnoVamNado')