Ad
Log in to vote
1

Can a ServerScript do InvokeServer? or do RemoteFunctions work the same way how RemoteEvents do?

Asked by
StoIid 354
1 year ago

I am wondering if I could use InvokeServer (from a server script) to get a table from another server script. Is this possible or do RemoteEvents and RemoteFunctions work the same way? If so, how will I be able to get the table from the other ServerScript with RemoteFunction?

Hi.

Looks like you're using an ad blocker.

That's fine...

No, it really is.

Just, I mean, we put a lot of work into this site, you know?

It would be really really appreciated if you would turn off your ad blocker for our website...

We tried really hard to make our ads as unobtrusive as possible.

If you really hate ads, would you consider a $2 donation via Patreon?

Here's the link.

We love you. We hope you love us too.

.

..

...

Now back to your regularly scheduled Scripting Helpers....

...

..

.

1 answer

Log in to vote
1
Answered by
Suamy 63
1 year ago

InvokeServer is for a REMOTE FUNCTION fired in a local script to change the server.

BindableFunctions can communicate both ways, using just Invoke()

Just thought you'd like to know,

InvokeClient is the server talking to the client.

Try not to enable FilteringEnabled when doing your task, it can get a little screwy.

Ad

Answer this question



Ad