Understanding the client-server model
The client-server model is a distributed communication structure that can be found throughout many fields of computing. In game development, this type of communication is most often used so that the server acts as a provider and verifier for clients who make requests to it. In other words, the server is a computer that is responsible for holding and dispatching information and the client is someone or something (a computer application or a player of your experience in the Roblox sense) that asks the server for information or requests the server to perform some action. In this section, we will learn how to work with both sides of this model as a programmer on Roblox.
Different script types
Since the server and client are separate models with different defined purposes, programming in Roblox requires the use of unique instances from the LuaSourceContainer
base class, depending on whether a script is working with the client (local) or with...