Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 511
|
Posted: Thu Jul 08, 2021 2:21 am Post subject: Headshot accuracy |
|
|
Replace 0x123456 with addresses that contain total killed and headshot killed
Code that need to create headshot accuracy
| Code: | totalKilled = 0x123456;
headshotKilled = 0x123456;
local killCount = readInteger(totalKilled);
local headshotCount = readInteger(headshotKilled);
local difference = (headshotCount/killCount)
local accuracy = math.abs(100 * difference)
print(accuracy) |
|
|