DuM Posted March 22, 2023 Posted March 22, 2023 As i said in title,i want to make a AntiAim Lua for fun😑 Quote Share this post Link to post Share on other sites More sharing options...
Guest Idle Posted March 22, 2023 Posted March 22, 2023 i'm gonna go out on a limb here and say that if you can't think of a way to detect inbound projectiles you won't be able to make a useful anti aim either... anyways: iterate through loaded entities and check names (arrow, egg, armor stand, whatever entity type the projectile is) assuming that the projectiles travel in a straight line you can simply calculate their vector by calculating the current to previous position delta. then scale the vector to your position and check if it intersects with your bounding box/head. this will obviously be harder if you're checking for plain arrow shots as you will have to account for gravity, launch angle and so forth (sometimes this changes by server). 5kr made a good script for that though. honestly i'd be surprised if you can make an anti aim that can successfully dodge projectiles without accounting for ping and/or falsing horribly... good luck Quote Share this post Link to post Share on other sites More sharing options...
DuM Posted March 23, 2023 Posted March 23, 2023 15 hours ago, Idle said: i'm gonna go out on a limb here and say that if you can't think of a way to detect inbound projectiles you won't be able to make a useful anti aim either... anyways: iterate through loaded entities and check names (arrow, egg, armor stand, whatever entity type the projectile is) assuming that the projectiles travel in a straight line you can simply calculate their vector by calculating the current to previous position delta. then scale the vector to your position and check if it intersects with your bounding box/head. this will obviously be harder if you're checking for plain arrow shots as you will have to account for gravity, launch angle and so forth (sometimes this changes by server). 5kr made a good script for that though. honestly i'd be surprised if you can make an anti aim that can successfully dodge projectiles without accounting for ping and/or falsing horribly... good luck thank for your advice Quote Share this post Link to post Share on other sites More sharing options...
ScommerOfc Posted April 8, 2023 Posted April 8, 2023 Yes you can thats how AntiFireball works Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.