Basically if your code is working now. It’s likely that the UI module never hits its return statement. So your other code is waiting forever on that line.
This is usually caused by an infinite loop. Or really long waits.
Basically if your code is working now. It’s likely that the UI module never hits its return statement. So your other code is waiting forever on that line.
This is usually caused by an infinite loop. Or really long waits.
I’ve found the reason. This happened because UIModule requiring another module that waits for LocalPlayer property to be changed. And because I required UIModule from server script, that would’ve never happened.