austinfl
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 191 |
|
|
| 19 Mar 2016 07:58 PM |
--OK I'm gonna ask the impossible question can someone make this script work so it does X,Y,Z for a moter6D. It does work for a normal moter.
local Turns = game.Work-space.Base local Base = game.Work-space.Part local motor = Instance.new("Motor6D", game.Work-space.Part) motor.Part0 = Turns motor.Part1 = Base motor.C0 = C-Frame.new(2,0,1) * C-Frame.Angles(math.rad(90),0,0) motor.C1 = C-Frame.new(2,0,-1) * C-Frame.Angles(math.rad(90),0,0) motor.Max-Velocity = math.rad(1) motor.Desired-Angle = math.rad(100) -- I think this is where all the trouble is
--and yes I know there's no such thing as a script-able moter6d unless we do animations,but its just I feel so close. |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2016 08:03 PM |
| First of all, its Workspace, no dash, second in local motor = Instance.new("Motor6d", game.Workspace.Part) you can use Base unless you need to keep it a local variable and local variables cant go into a function its not in. |
|
|
| Report Abuse |
|
|
|
| 19 Mar 2016 08:03 PM |
| After that I don't know since I don't usually use Motor6d. |
|
|
| Report Abuse |
|
|
austinfl
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 191 |
|
|
| 19 Mar 2016 08:26 PM |
i added the - to a lot of stuff to make it readable. Oh BTW got a copy of the animation plug-in so ill learn from the masters! 14,778 lines of script baby! Ha ha... ha........... |
|
|
| Report Abuse |
|
|