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

attempt to call global 'delay' (a nil value) ?

Asked by
voile 0
8 years ago

I'm trying to use the delay function in a ModuleScript but I get the following error:

attempt to call global 'delay' (a nil value)

delay(0.1, function() --code here end)

Is that because of the fact I'm not using a global or client script?

Answer this question