-
Автор темы
- #1
So this script forces head when the Enemy is jumping.
That's actually it.
please note that this is my first self-made script so pls don't insult me in the comments.
That's actually it.
please note that this is my first self-made script so pls don't insult me in the comments.
Код:
UI.AddCheckbox("force head on enemy jump");
UI.AddLabel("Disable to set hitboxes manual");
function NoInstant()
{
if (!UI.GetValue("Script items", "force head on enemy jump"))
{
headboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 0);
uchestboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 1);
chestboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 2);
lchestboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 3);
stomachboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 4);
pelvisboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 5);
legsboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 6);
feetboxscout = UI.GetValue("Rage", "SCOUT", "Hitboxes", 7);
headboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 0);
uchestboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 1);
chestboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 2);
lchestboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 3);
stomachboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 4);
pelvisboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 5);
legsboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 6);
feetboxauto = UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 7);
headboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0);
uchestboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1);
chestboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2);
lchestboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3);
stomachboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4);
pelvisboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5);
legsboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6);
feetboxdeagle = UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7);
headboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 0);
uchestboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 1);
chestboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 2);
lchestboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 3);
stomachboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 4);
pelvisboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 5);
legsboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 6);
feetboxpistol = UI.GetValue("Rage", "PISTOL", "Hitboxes", 7);
headboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 0);
uchestboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 1);
chestboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 2);
lchestboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 3);
stomachboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 4);
pelvisboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 5);
legsboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 6);
feetboxawp = UI.GetValue("Rage", "AWP", "Hitboxes", 7);
headboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 0);
uchestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 1);
chestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 2);
lchestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 3);
stomachboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 4);
pelvisboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 5);
legsboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 6);
feetboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 7);
}
if (!UI.GetValue("Script items", "force head on enemy jump"))
return;
var target = Ragebot.GetTarget();
var getbuttons = Entity.GetProp(target,"CBasePlayer", "m_fFlags" );
if (getbuttons & 1 << 1) //if enemy jumps
{
if (getbuttons & 1 << 0) //(without it it'll force head when enemy ducks idk why)
return;
//Cheat.PrintChat("1"); //just wanted to see if it activates only on enemy jump
Ragebot.ForceHitboxSafety(0)
UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, true);
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, true);
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, true);
UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, true);
UI.SetValue("Rage", "AWP", "Hitboxes", 0, true);
UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, true);
}
else
{
UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, headboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 1, uchestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 2, chestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 3, lchestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 4, stomachboxscou);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 5, pelvisboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 6, legsboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 7, feetboxscout);
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, headboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 1, uchestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 2, chestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 3, lchestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 4, stomachboxauto);
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 5, pelvisboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 6, legsboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 7, feetboxauto );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, headboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1, uchestboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2, chestboxdeagle);
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3, lchestboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4, stomachboxdeagle);
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5, pelvisboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6, legsboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7, feetboxdeagle );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, headboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 1, uchestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 2, chestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 3, lchestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 4, stomachboxpistol);
UI.SetValue("Rage", "PISTOL", "Hitboxes", 5, pelvisboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 6, legsboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 7, feetboxpistol );
UI.SetValue("Rage", "AWP", "Hitboxes", 0, headboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 1, uchestboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 2, chestboxawp);
UI.SetValue("Rage", "AWP", "Hitboxes", 3, lchestboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 4, stomachboxawp);
UI.SetValue("Rage", "AWP", "Hitboxes", 5, pelvisboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 6, legsboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 7, feetboxawp );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, headboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 1, uchestboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 2, chestboxgeneral);
UI.SetValue("Rage", "GENERAL", "Hitboxes", 3, lchestboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 4, stomachboxgeneral);
UI.SetValue("Rage", "GENERAL", "Hitboxes", 5, pelvisboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 6, legsboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 7, feetboxgeneral );
}
}
function unloadingscript()
{
UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, headboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 1, uchestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 2, chestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 3, lchestboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 4, stomachboxscou);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 5, pelvisboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 6, legsboxscout);
UI.SetValue("Rage", "SCOUT", "Hitboxes", 7, feetboxscout);
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, headboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 1, uchestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 2, chestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 3, lchestboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 4, stomachboxauto);
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 5, pelvisboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 6, legsboxauto );
UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 7, feetboxauto );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, headboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1, uchestboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2, chestboxdeagle);
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3, lchestboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4, stomachboxdeagle);
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5, pelvisboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6, legsboxdeagle );
UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7, feetboxdeagle );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, headboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 1, uchestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 2, chestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 3, lchestboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 4, stomachboxpistol);
UI.SetValue("Rage", "PISTOL", "Hitboxes", 5, pelvisboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 6, legsboxpistol );
UI.SetValue("Rage", "PISTOL", "Hitboxes", 7, feetboxpistol );
UI.SetValue("Rage", "AWP", "Hitboxes", 0, headboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 1, uchestboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 2, chestboxawp);
UI.SetValue("Rage", "AWP", "Hitboxes", 3, lchestboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 4, stomachboxawp);
UI.SetValue("Rage", "AWP", "Hitboxes", 5, pelvisboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 6, legsboxawp );
UI.SetValue("Rage", "AWP", "Hitboxes", 7, feetboxawp );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, headboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 1, uchestboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 2, chestboxgeneral);
UI.SetValue("Rage", "GENERAL", "Hitboxes", 3, lchestboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 4, stomachboxgeneral);
UI.SetValue("Rage", "GENERAL", "Hitboxes", 5, pelvisboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 6, legsboxgeneral );
UI.SetValue("Rage", "GENERAL", "Hitboxes", 7, feetboxgeneral );
}
Cheat.RegisterCallback("CreateMove", "NoInstant");
Cheat.RegisterCallback("Unload", "unloadingscript");
Вложения
-
1.1 KB Просмотры: 40