bleedvlone

ANTI kick v2

Mar 28th, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local function findAndBypassKick()
  4. local coreGui = game:GetService("CoreGui")
  5. local kickScreen = nil
  6.  
  7. -- Iterate through all children of CoreGui to find a screen with "Kick" or "Ban" in its name
  8. for _, child in ipairs(coreGui:GetChildren()) do
  9. if child:IsA("ScreenGui") and child.Name:lower():match("kick") or child.Name:lower():match("ban") then
  10. kickScreen = child
  11. break
  12. end
  13. if child:IsA("ScreenGui") then
  14. for _, descendant in ipairs(child:GetDescendants()) do
  15. if descendant:IsA("TextLabel") or descendant:IsA("TextBox") or descendant:IsA("TextButton") then
  16. if descendant.Text:lower():match("kick") or descendant.Text:lower():match("ban") then
  17. kickScreen = child
  18. break
  19. end
  20. end
  21. if kickScreen then
  22. break
  23. end
  24. end
  25. end
  26. if kickScreen then
  27. break
  28. end
  29. end
  30.  
  31. if kickScreen then
  32. kickScreen:Destroy()
  33.  
  34. if player.Character then
  35. player.Character:Destroy()
  36. end
  37. player:LoadCharacter()
  38.  
  39. player.PlayerGui.Disabled = false
  40. player.PlayerScripts.Disabled = false
  41.  
  42. local placeId = game.PlaceId
  43. game:GetService("TeleportService"):Teleport(placeId, player)
  44.  
  45. print("Attempted to bypass kick/ban.")
  46. end
  47. end
  48.  
  49. -- Check periodically and on child added
  50. while true do
  51. findAndBypassKick()
  52. wait(1)
  53. end
  54.  
  55. game:GetService("CoreGui").ChildAdded:Connect(function(child)
  56. findAndBypassKick()
  57. end)
Advertisement
Add Comment
Please, Sign In to add comment