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: What's wrong in this line?

Previous Thread :: Next Thread 
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
01 Feb 2013 09:37 PM
The part doesn't get CFramed, it used to work with Torso.CFrame but i want it to make the brick where Torso is looking at, but doesn't work, help please?


(NOTE, this is only the error line)

NOTE(The lines with * are in other line)
*val = 6

*val = val + 4

Torso.CFrame.lookVector*CFrame.new(val,0,0)*CFrame.Angles(math.random(0,2), math.random(0,2), math.random(0,2))
Report Abuse
thane1326 is not online. thane1326
Joined: 08 Apr 2009
Total Posts: 867
01 Feb 2013 09:40 PM
Hmm, does it print out anything in the output?
Report Abuse
Inordinatus is not online. Inordinatus
Joined: 24 Dec 2012
Total Posts: 155
01 Feb 2013 09:44 PM
lookVector is used with Vector3s

ιησя∂ιηαтυѕ
Report Abuse
thane1326 is not online. thane1326
Joined: 08 Apr 2009
Total Posts: 867
01 Feb 2013 09:50 PM
Nice, I hadn't caught that.
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