Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

When should i use a local Script and When do I use a regular Script?

I dont know when to use a "specific" script at what time.can someone help me?

1 answer

You should always use local scripts for tasks related to user input, including everything related to mouse or keyboard input as well as user interfaces and camera manipulation. Tasks directly dependent on user input (including actions performed by tools in result to user input) should also be done with local scripts. For everything else, scripts that run on the server should be used. The server and the clients can communicate using the RemoteFunction and RemoteEvent objects.

2 comments

0

so i just use scripts for the server stuff?

0

Best way to look at it is to use normal Scripts for server side content and Local Scripts for client side content.

This discussion is preserved as it was. New answers, comments, and votes are closed.