Basically when i try to join my game,it wont let me play it and instead just gets stuck at the roblox loading screen and sometimes i can join the game but before the roblox loading screen can become fully transparent,it freezes again
What could be the reasons for this to happen?
(Also no its not every game,its just my game,this also happens to other players too)
Game: Wave defence game,Not alot of parts in workspace,And also that it uses leaderstats that save
edit: forgot to add,i can play the game in roblox studio but i cant in the normal roblox thing
Did you use any free models? Check inside the scripts of free models, they may contain "viruses" which break your game.
Last time, such a thing also happened to me, and what happened was there was a script in ServerScriptService and inside the script was full of gibberish not related to scripting at all. Once it got removed, the game worked fine again.
[EDIT] ok you said that it was a wave defense game. Check your wave defense scripts, maybe its them causing the freeze. For me, a lot of lag = freeze and a long freeze = crash, so I guess you need to find the root cause of the lag, which could be in the script. SOMETIMES (for me, not sure for everybody else) , when there is an error in the script it cause immense lag aswell so take note of that