Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

Local and Normal Scripts

Asked by 10 years ago

What is the difference between a Local script and a normal scirpt?

5 answers

Log in to vote
5
Answered by
trogyssy 221 Moderation Voter
10 years ago

LocalScripts can access things like the mouse, the camera, ect. that server scripts can't.

Server scripts can access things like DataStores, MarketPlaceService, ect. that LocalScripts can't.

LocalScripts are run on the player's Roblox Player

Server scripts run on the server

1
Nice explaination :) ConnorVIII 448 — 10y
0
Thanks :) trogyssy 221 — 10y
Ad
Log in to vote
-1
Answered by
TomsGames 225 Moderation Voter
10 years ago

A local script runs on the client whereas a normal script runs on the server.

LocalScripts NormalScripts

Log in to vote
-2
Answered by 10 years ago

And Hopperbins require Local Scripts.

Log in to vote
-2
Answered by 10 years ago

One use of local scripts is if the server becomes laggy, using local scripts will ease some of the lag off the server and onto the clients computer. BUT, if you put too much pressure on the client, then the computer might excessively lag out.

Log in to vote
-2
Answered by
Damo999 182
10 years ago

Basically local scripts run on your player a normal script runs on other characters.

for example

x = game.Players.LocalPlayer  -- runs on you
x.Character.Head.BrickColor = BrickColor.new(21)

--whereas a normal script would look like this
 game.Workspace.PlayerNameHere.Head.BrickColor = BrickColor.new(21) --runs on specific players

Answer this question