Update S-AC.lua

Started detection, Brainstormed ideas.