Guest User

⚔️ CS2 SAFE KNIFE INSPECT & HAND SWAP SCRIPT 🔪

a guest
Dec 9th, 2025
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | Gaming | 0 0
  1. ////////////////////////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // ⚔️ CS2 SAFE KNIFE INSPECT & HAND SWAP SCRIPT 🔪 //
  4. // //
  5. ////////////////////////////////////////////////////////////////////////////////////////////////
  6.  
  7. // --- CORE INSPECT / RESET COMMANDS -----------------------------------------------------------
  8.  
  9. // Stops the inspect animation (Executed multiple times for stability in CS2 timing)
  10. alias "_stop_insp" "-lookatweapon"
  11. alias "_stop_insp_force" "_stop_insp;_stop_insp;_stop_insp;_stop_insp"
  12.  
  13. // ---------------------------------------------------------------------------------------------
  14. // --- KNIFE LOGIC (SLOT 3) ------------------------------------------------------------------
  15. // ---------------------------------------------------------------------------------------------
  16.  
  17. // Alias for first press on '3': Equips knife, swaps to LEFT HAND, starts inspect, AND
  18. // then immediately rebinds '3' to the secondary alias to prevent inspect accumulation.
  19. alias "_knife_equip_initial" "slot3; switchhandsleft; +lookatweapon; bind 3 _knife_equip_secondary"
  20.  
  21. // Alias for subsequent presses on '3': Keeps knife, keeps LEFT HAND, and forces inspect stop.
  22. // This prevents spamming the animation while the knife is already drawn.
  23. alias "_knife_equip_secondary" "slot3; switchhandsleft; _stop_insp_force"
  24.  
  25. // ---------------------------------------------------------------------------------------------
  26. // --- WEAPON/UTILITY LOGIC (SLOTS 1, 2, 4-0) -------------------------------------------------
  27. // ---------------------------------------------------------------------------------------------
  28.  
  29. // WEAPON/UTILITY BIND: Swaps to RIGHT HAND, forces the inspect to stop, and critically,
  30. // RESETS the '3' key back to the initial inspecting alias.
  31. alias "_weapon_equip_cmd" "switchhandsright; _stop_insp_force; bind 3 _knife_equip_initial"
  32.  
  33. // ---------------------------------------------------------------------------------------------
  34. // --- SLOT BINDINGS --------------------------------------------------------------------------
  35. // ---------------------------------------------------------------------------------------------
  36.  
  37. bind "1" "slot1; _weapon_equip_cmd"
  38. bind "2" "slot2; _weapon_equip_cmd"
  39. bind "3" "_knife_equip_initial" // Initial binding for the knife
  40. bind "4" "slot8; _weapon_equip_cmd"
  41. bind "5" "slot5; _weapon_equip_cmd"
  42. bind "6" "slot6; _weapon_equip_cmd"
  43. bind "7" "slot7; _weapon_equip_cmd"
  44. bind "8" "slot4; _weapon_equip_cmd"
  45. bind "9" "slot9; _weapon_equip_cmd"
  46. bind "0" "slot10; _weapon_equip_cmd"
Tags: cs2
Add Comment
Please, Sign In to add comment