-- EnableRCS = true --- When Set to false, it'll turn off Recoil Control!
EnableRCS = true
-- RecoilControlMode = "Custom" --- Presets: "Low", "Medium", "High", "Ultra", "Insanity", "Custom"
RecoilControlMode = "Custom"
-- RcCustomStrength = 5 -- Value MUST be ROUNDED! No Decimal values such as 6.5!
RcCustomStrength = 5
-- RequireToggle = false -- Change to false if you want it to always be on.
RequireToggle = false
-- ToggleKey = "CapsLock" -- Usable Keys: "CapsLock", "NumLock", "ScrollLock"
ToggleKey = "CapsLock"
-- DelayRate = 7 -- DO NOT CHANGE IF YOU DON'T KNOW WHAT YOU'RE DOING.
DelayRate = 3
--[[
HOW TO USE FOR DUMBIES,
(RC)
1: If the "EnableRCS" is set to false, change to true.
2: Adjust your Recoil Control Strength, either by using a preset or a custom value!
3: Toggle it on (if you have ForceToggle enabled, else just do step 4.)
4: Hold Mouse1 and Mouse2 (LeftClick and RightClick) and it should drag your cursor downwards.
5: Aim at your target and your done!
(Things to note)
1: I did NOT make the Recoil Control Code, I just simplified everything, so you can adjust it to your needs
2: You don't need to hold down your toggle key, its a toggle.
3: You must hold mouse1 and mouse2, or else IT WONT WORK!
4: DelayRate Works in MS, the lower the faster. 7ms = 0.07s, 2000ms = 2s. However the preset Delay rate is perfect for most FPS games.
--]]
------------- Recoil Presets ------
if RecoilControlMode == "Low" then
RecoilControlStrength = 2
elseif RecoilControlMode == "Medium" then
RecoilControlStrength = 4
elseif RecoilControlMode == "High" then
RecoilControlStrength = 8
elseif RecoilControlMode == "Ultra" then
RecoilControlStrength = 12
elseif RecoilControlMode == "Insanity" then
RecoilControlStrength = 31
elseif RecoilControlMode == "Custom" then
RecoilControlStrength = RcCustomStrength
end
if EnableRCS ~= false then
while true do
if RequireToggle ~= false then
if IsKeyLockOn(ToggleKey) then
if IsMouseButtonPressed(3) then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0, RecoilControlStrength)
Sleep(DelayRate)
MoveMouseRelative(-2, 0)
Sleep(DelayRate)
until not IsMouseButtonPressed(1)
end
Sleep(1)
until not IsMouseButtonPressed(3)
end
end
else
if IsMouseButtonPressed(3) then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0, RecoilControlStrength)
Sleep(DelayRate)
MoveMouseRelative(-2, 0)
Sleep(DelayRate)
until not IsMouseButtonPressed(1)
end
Sleep(1)
until not IsMouseButtonPressed(3)
end
end
Sleep(1)
end
end
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
end make this controll my recoil alot better for a rust ak