Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Waiting for return?

Asked by 9 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

Hello. I am created script that requests ModuleScript to show selection window. ModuleScript sending result back with return command and I want to save it to variable but return returns nil. How to make script wait for return?

This is how i am request return.

var = require(something).proceed(something)

ModuleScript showing window and based on user answer returning something. But var is set to nil right after and it's not waiting until ModuleScript return something.

0
You need to include your code. You probably made a mistake. BlueTaslem 18071 — 9y
0
@BlueTaslem , included part of code. NAUSHNIK52 0 — 9y

Answer this question