Difference between module scripts and remote events

what are some differences between module scripts and remote events?
I am reminded of this question because I am currently making an inventory system, but im unsure whether to use a module script or remote events to do inventory functions

Modules scripts are tables basically(mainly used for that), remove events are meant to communicate between Server & Client Data model.

2 Likes

Module Scripts
Module Scripts are special types of scripts that can be used in other regular scripts via

require()

People usually use module scripts for, like @varjoy said, tables.


Remote Events
Remote events are used to communicate between the server and client. These are usually used to project actions that are normally serverside/clientside only.