This script can only stop kicks that happen on the client, meaning the script wouldn't intercept server sided kicks.
Load the script by using the code below or by copying it from here.
loadstring(game:HttpGet("https://raw.githubusercontent.com/Exunys/Anti-Kick/main/Anti-Kick.lua"))()