Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script uses the regular roblox anticheat (NOT BYFRON)
- -- This script should be placed in ServerScriptService
- local Players = game:GetService("Players")
- local ExploitDetection = require(game:GetService("ReplicatedStorage").ExploitDetection) -- Regular Roblox Anticheat
- local function KickExploiter(player)
- local exploit = ExploitDetection:DetectExploit(player)
- if exploit then
- player:Kick("You have been detected injecting " .. exploit .. ". This is a violation of the game rules.")
- print(player.Name .. " has been kicked for injecting " .. exploit)
- end
- end
- local function OnPlayerAdded(player)
- KickExploiter(player)
- player.CharacterAdded:Connect(KickExploiter)
- player.Backpack.ChildAdded:Connect(KickExploiter)
- end
- for _, player in ipairs(Players:GetPlayers()) do
- OnPlayerAdded(player)
- end
- Players.PlayerAdded:Connect(OnPlayerAdded)
Advertisement
Comments
-
- hey i left you a comment on a the synx subreddit to put the game importer script into a syntax, i wanted to get in touch with you because i'm not a very good scripter and i was hoping you could teach me; so im asking if you have a discord or something so we could talk on
Add Comment
Please, Sign In to add comment
Advertisement