Managing Game FPS

would ai’s using a while loop effect game fps and if it does how would i change it
my brain is not working

Could you perhaps send a screenshot of what you are trying to do on Studio?