Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sowd = getrawmetatable(game)
- local sucks = sowd.__namecall
- local player = game.Players.LocalPlayer
- setreadonly(sowd, false)
- sowd.__namecall = newcclosure(function(name, ...)
- local tabs = {...}
- if getnamecallmethod() == "FireServer" and tostring(name) == "MainEvent" then
- if tabs[1] == "CHECKER_1" or tabs[1] == "TeleportDetect" or tabs[1] == "OneMoreTime" then
- --this is the anticheat, what a shame
- return wait(9e9)
- end
- end
- return sucks(name, unpack(tabs))
- end)
- setreadonly(sowd, true)
- repeat wait()
- local gm = getrawmetatable(game)
- setreadonly(gm, false)
- local namecall = gm.__namecall
- gm.__namecall =
- newcclosure(
- function(self, ...)
- local args = {...}
- if not checkcaller() and getnamecallmethod() == "FireServer" and tostring(self) == "MainEvent" then
- if tostring(getcallingscript()) ~= "Framework" then
- return
- end
- end
- if not checkcaller() and getnamecallmethod() == "Kick" then
- return
- end
- return namecall(self, unpack(args))
- end
- )
- until game:IsLoaded()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement