Functions

  • Events: Events notify scripts of game actions or state changes, triggering asynchronous responses without returning data.
  • Functions: Functions are reusable blocks of code that perform specific tasks and can return data, executed synchronously.
BindableFunctionsBindableFunctions allow scripts within the same game instance to communicate and invoke actions internally, useful for modular scripting.
RemoteFunctionsRemoteFunctions facilitate two-way, synchronous communication between the client and server, essential for data exchange and direct interactions requiring immediate responses.

If you found this tutorial helpful and would like to support my work, please consider buying me a coffee.

Thank you very much for your support!

Buy me a coffee