generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Local variables? Local script? Or not? Please help.

Previous Thread :: Next Thread 
cj0707 is not online. cj0707
Joined: 06 Oct 2009
Total Posts: 196
03 Jun 2012 02:24 PM
I am making a Chat GUI with a GUI chat box so for everybody to see what others are chatting should I use local variables?

(example: local feed1 = script.Parent.Parent.1)

Or should I use a local script and local variables?

Or should I just use a local script?

Or should I just use a regular script with no local variables?

Please help.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
03 Jun 2012 02:29 PM
A 'local' variable doesn't mean local to the script, it means local to the scope.
Report Abuse
cj0707 is not online. cj0707
Joined: 06 Oct 2009
Total Posts: 196
03 Jun 2012 02:34 PM
What? Sorry I am not that good with local stuff...
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
03 Jun 2012 02:36 PM
Whether you use local variables doesn't matter at all, it's whether you use a local script. And you should use a local script whenever possible.
Report Abuse
cj0707 is not online. cj0707
Joined: 06 Oct 2009
Total Posts: 196
03 Jun 2012 03:59 PM
ok so should I use a local script for this?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image