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: scripting tips

Previous Thread :: Next Thread 
Modelmaker8599 is not online. Modelmaker8599
Joined: 10 Dec 2012
Total Posts: 47
12 Dec 2012 03:50 PM
say some scripting tips to helper scripters make good and working scripts in their game
Report Abuse
Modelmaker8599 is not online. Modelmaker8599
Joined: 10 Dec 2012
Total Posts: 47
12 Dec 2012 04:17 PM
no scripting tips?
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
12 Dec 2012 04:42 PM
Sure.

Tip 1:
Read the wiki! wiki.roblox.com

Tip 2: Free mods actually aren't a bad source for learning, if you take a look at the scripts.

Tip 3: Keep your scripts organized. No..
while true do
script.Parent.Text = "5"
wait(1)
script.Parent.Text = "4"
wait(1)
script.Parent.Text = "3"
wait(1)
script.Parent.Text = "2"
wait(1)
script.Parent.Text = "1"
wait(1)
end

Tip 4: Always check your ends. You'd be amazed the number of issues that
they cause ._.

Tip 5: Don't implode. Never a good idea.
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
12 Dec 2012 04:45 PM
Tip: Don't go complex if it's not necessary, a little bit of efficiency won't hurt your game, half of the ROBLOX games aren't efficient, but it's good to be different.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
12 Dec 2012 07:12 PM
Use local
Example:

game.Workspace.Part.Transparency = 0.5

Using local:

local example = game.Workspace
example.Part.Transparency = 0.5

-- See it saves more time.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
12 Dec 2012 08:16 PM
You don't *need* to use local when creating a variable.
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
15 Dec 2012 07:42 AM
That's the worst example I've ever seen
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