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 » Scripters
Home Search
 

Re: help (variables)

Previous Thread :: Next Thread 
Vortrexs is not online. Vortrexs
Joined: 20 May 2013
Total Posts: 7605
06 Apr 2017 02:35 PM
when I create a new variable (d9_)it won't let me configure the distance of the block without crashing, any help
d9 is forward by and has a loop of 10 times and a distance of 5 but it doesn't work /(the distance)
Report Abuse
Vortrexs is not online. Vortrexs
Joined: 20 May 2013
Total Posts: 7605
06 Apr 2017 02:36 PM
ignore the "by"
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
06 Apr 2017 02:49 PM
Any example code?
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
06 Apr 2017 03:48 PM
don't use underscores in variables. thats bad

local camelCase = 'good'
local PascalCase = 'great'
local snake_case = 'bad'


Report Abuse
ExtremeBuilder15 is online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
06 Apr 2017 03:55 PM
I only use underscores for constants.

Ex: RED_TEAM = 1
BLUE_TEAM = 0


Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Apr 2017 03:59 PM
a


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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