|
| 06 May 2015 06:07 PM |
| Welcome to the community, Lux. Hope you enjoy continuous updates from the ROBLOX staff that break your scripts and leave you helpless, frustrated and confused. We will be here for you c: |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 06 May 2015 06:08 PM |
That never happens, or very very rarely. Scripts I made 2 years ago still work perfectly fine. |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 01:02 AM |
Okay, thank you everyone! I'm looking forward to making my first script! |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 01:02 AM |
| (First script on ROBLOX, that is.) |
|
|
| Report Abuse |
|
|
gskw
|
  |
| Joined: 05 Jan 2013 |
| Total Posts: 1364 |
|
|
| 07 May 2015 07:54 AM |
Welcome sir. I rarely even see these threads.
Some things... - We do not talk about v3rmillion. - Help us reach 100K posts! - Don't code for the money, code for the fun. Companies such as Symantec who code for the money end up failing miserably. - When request help, post both your code and the output it produces. - Watch out for the trolls. Oh and the demons also.
This is a signature. Recommended username: TanGskw |
|
|
| Report Abuse |
|
|
|
| 07 May 2015 08:34 AM |
| @gskw, The money doesn't hurt.. I mean, it is virtual. |
|
|
| Report Abuse |
|
|
micke3212
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 3000 |
|
|
| 07 May 2015 10:03 AM |
| I can script but I love to Troll sometimes........,...,..!.!.!.!.!.!. |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 10:27 AM |
| Okay, thanks for the heads up! |
|
|
| Report Abuse |
|
|
micke3212
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 3000 |
|
|
| 07 May 2015 10:30 AM |
First question to see your scripting skill on RBX.Lua
Give us an example of CFrame use (Vector3) on a Part. Move it up 3 and left 2.
You must use a loop if you wanted. |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 11:26 AM |
Alright.
for x = 2, y = 3 z = 0 do local part = script.Parent part.CFrame = CFrame.new(x, y, z) end
|
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 11:26 AM |
for x = 2, y = 3, z = 0 do local part = script.Parent part.CFrame = CFrame.new(x, y, z) end
Forgot to add a comma between a value. |
|
|
| Report Abuse |
|
|
micke3212
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 3000 |
|
|
| 07 May 2015 11:27 AM |
You should consider using
part.CFrame = part.CFrame + CFrame.new(x,y,z) |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 11:29 AM |
| Alright, thanks for letting me know. I'll keep this in mind for future references! |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 07 May 2015 11:30 AM |
That would be invalid.
You use the multiplication operator to add CFrames. |
|
|
| Report Abuse |
|
|
micke3212
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 3000 |
|
|
| 07 May 2015 11:31 AM |
| That's for Angles not moving them.... |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 11:34 AM |
Oh.
I'll go read about them now!
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 07 May 2015 12:11 PM |
for x = 2, y = 3, z = 0 do
The for loop goes
for var = START, END[, INCREMENT = 1] do BODY end |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 May 2015 12:24 PM |
| You're wrong micke, cf by cf uses multiplication. You were probably thinking about CF+V3 |
|
|
| Report Abuse |
|
|
micke3212
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 3000 |
|
|
| 07 May 2015 12:35 PM |
| ^That's actually what I meant t-t... It's been a long day. |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 07 May 2015 12:51 PM |
Was mine good though? I'm still trying to read a lot of this without practice. |
|
|
| Report Abuse |
|
|