hello.
i have been trying to make my game less laggy but it wouldnt work, i would say the game is running at about 1-5 fps. The script that i have been trying to work hasnt been working. heres the script:
wait(1) local parts = game.Workspace:GetChildren() for i = 1,#parts do local name = string.lower(parts[i].Name) if (string.find(name,"lag") ~= nil) and ((string.find(name,"anti") ~= nil) or (string.find(name,"no") ~= nil) or (string.find(name,"remover") ~= nil) or (string.find(name,"killer") ~= nil)) and (parts[i] ~= script) then parts[i]:remove() end end wait() script:remove()
if you can help that would be great