Introduction:
Current version: 1.0.1
Hello! Thanks for seeing my post! Today I’m here to show my anti - exploit module. I call it Haquess, what it does is Inhibit all or almost all movement exploits such as Noclip, fly, speed, jump, teleport and more! Why I am posting this? Its to help new people to scripting protect their game against exploiters.
Documentation:
Haquess is divided in 4 functions, each function can be turned on and turned off. Each function have 2 arguments which is the player and the status of function. If you set the status of function to false the function will disable. If you set to true it will re enable.
- toggleBodyCheck:
This function start checking for the body parts. If any of the body parts such as humanoid root part or left arm gets destroyed Haquess will kick the player. (R6 and R15 Compatibility)
Haquess:toggleBodyCheck(player, status) --The arguments need be the player instance, (not the character) and the status. (false or true.)
- toggleDistanceCheck:
This function will check the magnitude of the last position of player with the new position. If the difference be higher than the allowed difference (you can change it on the settings folder of module.) will set player’s position to the last one. (Not recommended change the module to kick player instead, as it probally would kick laggy players.) This function have compatibility with Server Side teleports as you can disable the function and teleport the player on Server and re enable the function.
Haquess:toggleDistanceCheck(player, status) -- --The arguments need be the player instance, (not the character) and the status. (false or true.)
- toggleNoclipCheck:
This function checks if the player is no clipping or not. This have fully compatibility with CanCollide off parts. If player is caught no clipping will be kicked.
Haquess:toggleNoclipCheck(player, status) --The arguments need be the player instance, (not the character) and the status. (false or true.)
- onExploit Listener:
This function allows you have custom punishments for exploiters. It is fired every time the module detects that a exploiter. Using this function will override the default punishments.
haquess.onExploit(function(exploiter, punishment) -- the punishment argument is a
--string and can be one of those: "distanceCheck", "bodyCheck" and "noclipCheck".
--Exploiter argument is the player that exploited.
print(exploiter, punishment);
end)
Link for the module:
https://www.roblox.com/library/4886779654/Haquess-Inhibit-movement-exploits-for-your-game
Or you can require the module by the ID! In this way the module will be always updated!
local Haquess = require(4886779654)
Source: https://pastebin.com/aaHRzigP
Thanks for reading till here! Hope this helps you!