-- Script đạn thẳng Free Fire OB55
-- Tự động hiệu chỉnh đường đạn, loại bỏ độ tản, tăng độ chính xác
-- Không cần reset Free Fire
-- Bước 1: Khai báo đường dẫn
local basePaths = {
"/sdcard/Android/data/com.dts.freefireth/files/",
"/sdcard/Android/data/com.dts.freefiremax/files/"
}
-- Bước 2: Hàm ghi file an toàn
local function writeFile(path, content)
local f = io.open(path, "r")
if f then
local old = f:read("*a")
f:close()
if old == content then return false end
end
local out = io.open(path, "w")
if out then
out:write(content)
out:close()
return true
end
return false
end
-- Bước 3: Cấu hình đạn thẳng
local bulletConfig = [[
[Ballistics]
BulletSpread=0
Recoil=0
HorizontalRecoil=0
VerticalRecoil=0
AimAssist=100
AimLock=1
BulletDrop=0
BulletSpeed=9999
BulletGravity=0
BulletDrag=0
HitboxExpand=1
HeadshotRate=100
BodyShotRate=100
LimbShotRate=100
WallPenetration=1
ArmorPenetration=100
]]
-- Bước 4: Cấu hình tăng nhạy hỗ trợ đạn thẳng
local sensitivitySupport = [[
[Touch]
TouchSensitivity=100
AimSensitivity=100
FireSensitivity=100
ScopeSensitivity=100
TouchResponseRate=1000
InputLatency=0
Acceleration=1
DeadZone=0
Smoothness=0
]]
-- Bước 5: Áp dụng cho tất cả đường dẫn
local changed = 0
for _, base in ipairs(basePaths) do
if writeFile(base .. "ballistics.cfg", bulletConfig) then changed = changed + 1 end
if writeFile(base .. "bullet.ini", bulletConfig) then changed = changed + 1 end
if writeFile(base .. "weapon.cfg", bulletConfig) then changed = changed + 1 end
if writeFile(base .. "touch.cfg", sensitivitySupport) then changed = changed + 1 end
end
-- Bước 6: Ghi log trạng thái
local logFile = io.open("/sdcard/ff_bullet.log", "a")
if logFile then
logFile:write("Applied at: " .. os.date("%Y-%m-%d %H:%M:%S") .. "\n")
logFile:write("Files changed: " .. changed .. "\n")
logFile:close()
end
-- Bước 7: Xác nhận
print("Đã ghi cấu hình đạn thẳng")
print("Số file thay đổi: " .. changed)
print("Đã loại bỏ độ tản và độ giật")
print("Không cần reset Free Fire")
-- Bước 8: Hướng dẫn kiểm tra
print("Vào trận đấu thử để kiểm tra")
print("Nếu chưa nhận, tắt và mở lại game một lần")