What the other scripts type do?

Why the others script services do like,local scripts,module scripts,etc. This will help me thanks for reading

1 Like

You can read these things on developer.roblox.com

LocalScripts run on a client instead of a server, so things that it does will ONLY affect individual players rather than the whole server.
ModuleScripts store one piece of data which can be retrieved from any type of script.

2 Likes

So does it means like in simulators shop when you open the shop only the payer that open it can see? Thanks btw

I can’t find it for some reason ¯_(ツ)_/¯

What do you mean by retrieved data can give me a situation?

yes that would be a local script

I don’t know what a simulator game is but a local script is good for making code run that ONLY affects one player, or does things that ONLY a certain player can see. So you can have a local script which has a .Touched() event which will create a part in the workspace. The fact that the script is a local script means that ONLY the local player (whoever touched the thing with the .Touched event) will see or render the new part.

1 Like

Local scripts are for clients so like that one person. Those can be used in starter GUI, and starter pack, Scripts are for server wich is everyone. They can be used in workspace server script service.

1 Like

Yes that’s what I meant thanks