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

RemoteEvents/RemoteFunctions in a ModuleScript?

Asked by
DevNetx 250 Moderation Voter
8 years ago

I've been trying to use RemoteEvents and RemoteFunctions in my modulescript but the modulescript doesn't detect whenever I call the event/function. Why?

0
I've had completely the same problem, the event calls even when its outside a function for me. LifeInDevelopment 364 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

Module script doesn't run by itself. You must require it with regular script or local script in order for it to get executed.

0
I always require a modulescript, still doesn't work DevNetx 250 — 8y
Ad

Answer this question