Hello forum,
I want to know how can I detect tab glitchers and kick them out of the game.
I will really appreciate the answer!
Hello forum,
I want to know how can I detect tab glitchers and kick them out of the game.
I will really appreciate the answer!
I had to look up what a tab glitch is
Since it’s a glitch that allows you to clip through walls I would recommend a raycast from their previously tracked position to their new position
if there is a wall in the way you will have successfully detected a tab glitch
then, just teleport them back
Try searching terms like noclip or similar in the Search bar up top. I found a few examples of posts that use that terminology rather than tab glitch.
UserInputService.WindowFocused
is probably your best call, just write your own system around it based on how many times this event fires in X time
This is client sided unfortunately, but from the top of my head i cant think of much better
ok so small hint : when someone tab all the wait() statements inside the local scripts he has will freeze so ( i found that while trying to do
while true do wait() print(workspace(GetRealPhysicsFPS)) end
i noticed that the player fps doesnt print anything while freezing so i found that the wait() freezes too
so i made remote events that asks the client to give answer in 3 seconds ( the amount of time that the the force stays ) and if the player didnt respond then it kicks him out
and it worked
I think you can use the OnClientRender event to check if a player is tabbed out.
local function OnClientRender(self)
if self:IsTabbedOut() and not self:IsTyping() then
– Kick player
end
end
hook.Add(“OnClientRender”, “YourHookName”, OnClientRender)