Webhook Logging– Logs all arrests via webhook.
Player Highlights– Easily identify and track arrested players.
Player Search Feature– Quickly find what is inside a player's inventory.
R6 & R15 Support– Fully compatible with both avatar types.
Cuffed Animations– Immersive arrest animations for realism.
Jail Time Data Persistence– Prevents players from bypasing jail time by rejoining.
Player Collision & Physics Handling– Ensures proper movement restrictions while cuffed.
What's New in Version 1.1.0
Released
Added validation for
JailEventparameters (targetandTime).Supported jailed players without any team assigned (
nilteam).Created a safe function to restore players to previous or default teams after jail.
Used
tostring(player.UserId)for DataStore keys consistently.Checked and created missing
JailDatafolder andJailTimeIntValue when needed.Replaced blocking
wait()with asynchronoustask.spawnfor jail timers.Saved jail time on both player leaving and server shutdown.
Improved Discord webhook error handling with warnings.
Added comments and cleaned up code for robustness and clarity.
You may only provide a review once you have downloaded the file.