As you might know, I am making a potion script. However, I have reached a severe problem. You see I just added a new element, and when I place too many, the window lags to the point where it was one frame per second.
Here is my code:
That's what we mean when we say Lua elements are laggy. Btw I'm quite sure you meant id instead of element in the for loop.
Oh, i know one scripter who had the same problem. try making field smaller
lol it happened to me once too, but i just deleted the code XD