I am creating a folder with components and a script in it. By utilizing GetChildren
, the script checks to see if any of the items in the folder are Part
, and it does this for every part. I saw a video suggesting that you should not overwelm the client at the same time as you should not overwelm the server (using tweens as an example). My goal is to maintain the game’s smooth operation as much as possible. I am aware that local scripts execute on the player’s device and regular scripts run on the server. ServerScriptService is a container service for scripting-related assets that are only meant for server use.
I Googled and found, “Scripts in ServerScriptService are safer than scripts in the workspace because only players with studio access can view them. This means that players cannot interfere with them during gameplay. In contrast, players can delete or disable workspace scripts if they use exploits.”
Regarding Workspace Scripts, do they reside on the Player’s Device or the Server?
In other words, does Workspace Script work the same as ServerScriptService Script?
Or will it just be better to use folders in ServerScriptService?