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

What is the difference between "local script" and "script"?

The title is self explanatory (but to appease scriptinghelpers) . Also what does it affect if you do local before a variable For example:

local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = 'rbxassetid://3224820
  • the numbers were random.

1 answer

✓ Accepted answer

A local script does everything to only one player. (The client)

A script is a server-wide, meaning it appears for everyone(This is called the Server)

That is just basically what the two differences are. If you have more questions comment and I will edit my answer if you need.

1 comment

0

Oh thanks !

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