C0MMAND4NT's anti lag

Very very basic BUT effective anti lag script
 avatar
unknown
lua
4 years ago
497 B
7
Indexable
-- basic anti lag by c0mmand4nt
-- authored: 1/15/2021
-- made for developer training hub
wait(1)
local a=game.Workspace:GetChildren()
for _=1,#a do 
--
-- you can edit each string
-- to change the models you want removed
local b=string.lower(a[_].Name) 
if(string.find(b,"lag")~=nil)
and((string.find(b,"anti")~=nil)
or(string.find(b,"no")~=nil)
or(string.find(b,"remover")~=nil)
or(string.find(b,"killer")~=nil))
and(a[_]~=script)then a[_]:remove()
end end wait() script:remove()
Editor is loading...