Using RemoteFunctions you can call the server while in a LocalScript by doing:

event:InvokeServer(args);

but how can I invoke the same function as I am doing in a LocalScript but in a server-side script instead. If I try to do that I, obviously, get the error:

InvokeServer can only be called from the client

2 comments

1

Use BindableEvent, http://wiki.roblox.com/index.php?title=API:Class/BindableEvent it uses :Fire() method.

0

What he said.