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

Why do you put local before every new script you write?

1 answer

You don't. Local is used to shorten a variable.

Example: local FrameOblivion = game.StarterGui.Gui.Frame.Frame.Frame.Frame.Frame.Frame

Now, when your refrencing that frame, you can just say "FrameOblivion" instead of saying game.StarterGui.Gui.Frame.Frame.Frame.Frame.Frame.Frame

1 comment

0

Ohhhhh. Okay thanks!

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