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 » Game Design
Home Search
 

Re: Comment errors

Previous Thread :: Next Thread 
D4rKP01s0n is not online. D4rKP01s0n
Joined: 29 Sep 2011
Total Posts: 316
28 Dec 2014 08:28 PM
When using comments with --[[--]] I keep on getting errors on commented out lines

Is anyone else having this problem?
This has been going on for a while, and the only fix is individually commenting out lines.


???


Deal with it
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
28 Dec 2014 08:33 PM
--[[
What is the error you are having?
You also don't need the two dashed lines to close
]]
Report Abuse
D4rKP01s0n is not online. D4rKP01s0n
Joined: 29 Sep 2011
Total Posts: 316
28 Dec 2014 08:43 PM
21:26:08.911 - Players.Player.Backpack.Weapon.Script:285: bad argument #1 to '?' (CFrame expected, got nil)
--[[
arm_pos[1] = torso_pos * CFrame.new(-0.6,0.5-(0),(0))
]]

Deal with it
Report Abuse
vortexyamum is not online. vortexyamum
Joined: 31 Aug 2011
Total Posts: 1979
28 Dec 2014 08:57 PM
I don't understand why people comment parts of a script.
Report Abuse
D4rKP01s0n is not online. D4rKP01s0n
Joined: 29 Sep 2011
Total Posts: 316
29 Dec 2014 10:12 AM
To add in notes, comment out non-working parts, for easy adding of script (ex.Holiday easter egg)

Deal with it
Report Abuse
bluejays1236 is not online. bluejays1236
Joined: 14 Sep 2009
Total Posts: 1068
29 Dec 2014 11:19 AM
No need for the ['s. Just use --

--Hai this script is working--
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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