├── img
├── after.png
├── before.png
└── logitech_logo.png
├── Game Settings
└── GameSettings2.png
├── PUBG_Simple_NoRecoil_Adjustable.lua
└── readme.md
/img/after.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kava4/PUBG-LOGITECH-NO-RECOIL/HEAD/img/after.png
--------------------------------------------------------------------------------
/img/before.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kava4/PUBG-LOGITECH-NO-RECOIL/HEAD/img/before.png
--------------------------------------------------------------------------------
/img/logitech_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kava4/PUBG-LOGITECH-NO-RECOIL/HEAD/img/logitech_logo.png
--------------------------------------------------------------------------------
/Game Settings/GameSettings2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kava4/PUBG-LOGITECH-NO-RECOIL/HEAD/Game Settings/GameSettings2.png
--------------------------------------------------------------------------------
/PUBG_Simple_NoRecoil_Adjustable.lua:
--------------------------------------------------------------------------------
1 | -- PUBG Logitech No Recoil Script with Dynamic Sensitivity Adjustment
2 |
3 | SensSetting = 1.0 -- Default recoil compensation multiplier
4 |
5 | function OnEvent(event, arg)
6 | -- Adjust Recoil Dynamically using Mouse Buttons 4 & 5
7 | if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then -- Side Button 1 (Increase recoil control)
8 | SensSetting = SensSetting + 0.05
9 | OutputLogMessage("Increased Recoil Compensation: " .. SensSetting .. "\n")
10 | end
11 |
12 | if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then -- Side Button 2 (Decrease recoil control)
13 | SensSetting = SensSetting - 0.05
14 | OutputLogMessage("Decreased Recoil Compensation: " .. SensSetting .. "\n")
15 | end
16 |
17 | -- No Recoil Logic
18 | if (event == "MOUSE_BUTTON_PRESSED" and arg == 1) then -- Left Click
19 | repeat
20 | MoveMouseRelative(0, math.floor(5 * SensSetting)) -- Adjust movement with SensSetting
21 | Sleep(18) -- Adjust delay per shot
22 | until not IsMouseButtonPressed(1)
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | # 🎯 PUBG Logitech No Recoil Script
2 |
3 | 
4 |
5 | > **Take control of your aim!** This Logitech G Hub script **eliminates recoil** in PUBG, giving you a smoother shooting experience while staying fully customizable. 🎯🔥
6 |
7 | ---
8 |
9 | ## 📌 Table of Contents
10 |
11 | - [✨ Features](#-features)
12 | - [⚙️ Requirements](#-requirements)
13 | - [🚀 Installation & Setup](#-installation--setup)
14 | - [🎨 Customization Guide](#-customization-guide)
15 | - [🎛️ Dynamic Recoil Adjustment (Simple Script)](#-dynamic-recoil-adjustment)
16 | - [🛠️ Troubleshooting](#-troubleshooting)
17 | - [📜 License](#-license)
18 |
19 | ---
20 |
21 | ## ✨ Features
22 |
23 | ✅ **Works with all Logitech G-Series Mice**
24 | ✅ **Supports all weapons in PUBG** (AKM, M416, SCAR-L, etc.)
25 | ✅ **Toggleable recoil compensation**
26 | ✅ **Customizable sensitivity and key bindings**
27 | ✅ **Optimized for Season 31**
28 | ✅ **Safe & undetectable (uses Logitech G Hub scripting)**
29 |
30 |
31 |

32 |

33 |
34 |
35 | _Left: Without Script ❌ | Right: With Script ✅_
36 |
37 | ---
38 |
39 | ## ⚙️ Requirements
40 |
41 | - **Logitech G-Series Mouse** 🖱️
42 | - **Logitech G Hub Installed** 🔧 ([Download Here](https://www.logitechg.com/en-us/innovation/g-hub.html))
43 | - **PUBG (PC Version)** 🎮
44 | - **Windows OS** 💻
45 |
46 | ---
47 |
48 | ## 🚀 Installation & Setup
49 |
50 | ### 1️⃣ Install Logitech G Hub
51 |
52 | - Download and install **[Logitech G Hub](https://www.logitechg.com/en-us/innovation/g-hub.html)**.
53 | - Open G Hub and ensure your **mouse is detected**.
54 |
55 | ### 2️⃣ Download & Load the Script
56 |
57 | - Get the **[PUBG-Logitech-No-Recoil.lua](https://github.com/Kava4/PUBG-LOGITECH-NO-RECOIL/blob/master/PUBG-Logitech-No-Recoil.lua)** script.
58 | - Open **Logitech G Hub** → Click on your **PUBG profile**.
59 | - Go to **Scripting** (bottom left) → Click **Create New Lua Script**.
60 | - **Paste the script** into the editor and **Save**.
61 |
62 | ### 3️⃣ Test the Setup
63 |
64 | - Launch **PUBG** and **press the assigned button** to enable the script.
65 | - Fire a weapon to see the **no-recoil effect**!
66 |
67 | ---
68 |
69 | ## 🎨 Customization Guide
70 |
71 | ### 🔧 Adjusting Sensitivity
72 |
73 | | Setting | Description | Default Value |
74 | | ------------- | ------------------------- | ------------- |
75 | | `SensSetting` | Recoil reduction strength | `1.0` |
76 |
77 | Modify in the script:
78 |
79 | ```lua
80 | local SensSetting = 1.0 -- Adjust for different sensitivities
81 | ```
82 |
83 | ### 🖱️ Changing Key Bindings
84 |
85 | Modify these values to set custom activation buttons:
86 |
87 | ```lua
88 | local AKM = 4 -- Change to preferred button
89 | local M416 = 5 -- Assign another weapon key
90 | ```
91 |
92 | Find button IDs in **Logitech G Hub → Key Assignments**.
93 |
94 | ### 🎛️ Adjust Recoil Dynamically (For PUBG Script Users)
95 |
96 | Increase or decrease recoil control while playing using **Logitech G Keys**:
97 |
98 | ```lua
99 | if (event == "G_PRESSED" and arg == 8) then -- G8 increases recoil control
100 | SensSetting = SensSetting + 0.05
101 | OutputLogMessage("Increased Recoil Compensation: " .. SensSetting .. "\n")
102 | end
103 |
104 | if (event == "G_PRESSED" and arg == 9) then -- G9 decreases recoil control
105 | SensSetting = SensSetting - 0.05
106 | OutputLogMessage("Decreased Recoil Compensation: " .. SensSetting .. "\n")
107 | end
108 | ```
109 |
110 | 🔹 Press **G8** to increase recoil control
111 | 🔹 Press **G9** to decrease recoil control
112 | 🔹 No need to restart the script! 🎯
113 |
114 | 💡 **Tip:** You can change `arg == 8` or `arg == 9` to any **G-key** on your Logitech keyboard/mouse. Just replace the number with your preferred keybinding.
115 |
116 | ---
117 |
118 | ## 🎛️ Dynamic Recoil Adjustment (Test Needed)
119 |
120 | - Get the **[PUBG_Simple_NoRecoil_Adjustable.lua](https://github.com/Kava4/PUBG-LOGITECH-NO-RECOIL/blob/master/PUBG-Logitech-No-Recoil.lua)** script.
121 | - Open **Logitech G Hub** → Click on your **PUBG profile**.
122 | - Go to **Scripting** (bottom left) → Click **Create New Lua Script**.
123 | - **Paste the script** into the editor and **Save**
124 |
125 | ---
126 |
127 | This script allows you to **increase or decrease recoil compensation in real-time** using **Mouse Side Buttons 4 & 5**:
128 |
129 | ```lua
130 | if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then -- Side Button 1 (Increase recoil control)
131 | SensSetting = SensSetting + 0.05
132 | OutputLogMessage("Increased Recoil Compensation: " .. SensSetting .. "\n")
133 | end
134 |
135 | if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then -- Side Button 2 (Decrease recoil control)
136 | SensSetting = SensSetting - 0.05
137 | OutputLogMessage("Decreased Recoil Compensation: " .. SensSetting .. "\n")
138 | end
139 | ```
140 |
141 | 🔹 Press **Mouse Button 4** to increase recoil control
142 | 🔹 Press **Mouse Button 5** to decrease recoil control
143 | 🔹 No need to restart the script! 🎯
144 |
145 | 💡 **Tip:** You can change `arg == 4` or `arg == 5` to any **mouse button you prefer**. Just replace the number with your chosen keybinding.
146 |
147 | ---
148 |
149 | ## 🛠️ Troubleshooting
150 |
151 | ### ❌ Script Not Working?
152 |
153 | 🔹 Ensure **Logitech G Hub** is installed and running.
154 | 🔹 Check if **Lua scripting is enabled** in G Hub.
155 | 🔹 Assign the script to **PUBG’s profile**.
156 | 🔹 Try **running G Hub as administrator**.
157 |
158 | ### 🎯 Recoil Feels Off?
159 |
160 | 🔹 Adjust the `SensSetting` value in the script:
161 |
162 | ```lua
163 | local SensSetting = 1.0 -- Modify this based on your in-game sensitivity
164 | ```
165 |
166 | 🔹 Match **PUBG’s in-game sensitivity** settings.
167 | 🔹 Test different **mouse DPI settings**.
168 |
169 | ### 🔄 Logitech G Hub Not Detecting the Script?
170 |
171 | 🔹 **Restart G Hub** and re-enable scripting.
172 | 🔹 **Reinstall G Hub** if issues persist.
173 | 🔹 **Delete & re-import** the script.
174 |
175 | ---
176 |
177 | ## 📜 License
178 |
179 | 🆓 **Open-source & free to use** – Provided as-is without warranties. Use responsibly!
180 |
181 | ---
182 |
183 | 💡 **Enjoy smooth aim and no recoil in PUBG!** 🎯🔥
184 |
--------------------------------------------------------------------------------