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

When to use localscripts and when to use normal scripts?

i have knowledge about scripting in roblox, however ive always wondered when do we use localscripts or when do we use normal scripts?

2 answers

It's really easy.

As you may know, localscripts are local client based, and they take the Player you're controlling as "special" so it lets you do stuff such as finding the player with localplayer, and in filtering enabled, these scripts wont get replicated, unless you try to use Remote Events, so you can replicate Localscripts to the players.

Scripts are managed by the server, so it takes every player like the same person, Because it aint managed by the Clients (i assume) it wont take resources from the PC more than internet.

Im a newbie for scripting, but i assume this helped you in something.

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