it must be putted on Serverscriptservice btw i made this with ai [not ChatGPT btw], the one from bing read below if you dont want to type this: local Players = game:GetService("Players") -- Function to check if a player is cheating local function isCheating(player) -- Replace this with your actual cheating condition return player:FindFirstChild("Cheating") ~= nil end -- Event listener for when a player joins Players.PlayerAdded:Connect(function(player) -- Continuously check if the player is cheating while player:IsDescendantOf(game) do wait(1) -- Check every second if isCheating(player) then player:Kick("You have been kicked for cheating.") break end end end)
C2A