[FREE] [STANDALONE] Anti Magic Bullet | pac-antimagicbullet

This product mainly detects magic bullet cheats and rpf’s

Framework

This script is standalone. You can easily use on any framework.


Requirements

  • N/A

Issues

This script have a minimal issue. When player is ghost-picking to enemy player it banning false. I did a tolerance system but its not %100 correct ban so if you can fix it please share in comments.


Download

You can easily download it from our tebex or github.


Other Products

If you interested our other resources you can easily reach on these links.

Code is accessible Yes
Subscription-based No
Lines (approximately) 105
Requirements N/A
Support Yes
5 Likes

+rep good sc

1 Like

thanks for making it OSS

1 Like

You’re welcome sir <3

It catches the magic bullet users for sure but sadly many of it is false positive. Can you please explain this lines?

attempt = 0
for i=0,3,1 do
    if not HasEntityClearLosToEntityInFront(attacker, victim) and not HasEntityClearLosToEntity(attacker, victim, 17) and HasEntityClearLosToEntity_2(attacker, victim, 17) == 0 then
        attempt = attempt + 1
    end
    Wait(1500)
end

Why do you need to loop it 3 times?

2 Likes

I tried to make a tolerance system. If attacker cant see victim 3 times it should be less false banning. (As i thoughts)

WARNING
Just a heads-up but the way you have this script setup can be exploited by any lua executor and just mass ban your players on the server by using the pac:magicbullet event you have setup in your main.lua file that’s on the server-side.

Players can easily make a for loop in a lua executor to loop through 1-X numbers and ban any players online on the server.

A simple client-side dump by a cheater with a half decent brain will find this and most likely try to exploit it.

1 Like

Yeah but you can easily fix that with changing event name, escrowing script, encoding arguments of event.

Yeah. Im waiting to approval to my reply i answered your questions on that but as i said im waiting approval :sob:

I writed a reply to pmpy its pending approval by moderator

1 Like


.

https://keymaster.fivem.net/assets

You’re right, sorry for that. People can use encode to fix that problem. (InvisibleEncoder should be fix the problem.)

And if you use invisible encoder, you should change keystring too and to protect keystring grabbing with dumpers, server needs to be escrow anti magic bullet script.

I will fix that problem and share fast as i can. And thank you for replying.