my game is just lagging when i join sometimes and sometimes not, i dont know why and i ahve a lot of scripts to specify which one is lagging the game, but what i know is that i have a lot of loops, while loops that are like this
while wait(0.001) do while wait(0.00001) do
but i dont think this is the reason my game is lagging any help will be appreciated
game is not published by the way, its just in roblox studio, so it might be from roblox studio, because when i just open roblox studio it dosent lag but after a long session of scripting it does