aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
|
| 05 Jan 2014 03:53 PM |
I used this script: Energy.Position = Energy.CFrame * Vector3.new(0, 0, -1) To move Energy forwards. It moves it forwards, but I made a seperate script that kills a player when energy is touched by that player. However, instead of touching the dummy i made, it moves above it when it gets too close. Can you tell me why this happens, and how to fix it so it still goes forward, but touches the player?
NOTE: What I have above is only the line that move it. I you need the whole script, I can paste that. Also, I can make the tool a model so you can see what I mean. |
|
|
| Report Abuse |
|
|
aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
| |
|
aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
| |
|
|
| 05 Jan 2014 04:30 PM |
Energy.CFrame = Energy.CFrame - Vector3.new(0, 0, 1)
USE DA PROPR GRAMR BOI<---my siggy |
|
|
| Report Abuse |
|
|
aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
|
| 05 Jan 2014 04:45 PM |
| It didn't work. It only sends it in one direction. Can you make it so it sends it in the directon it is facing? |
|
|
| Report Abuse |
|
|
aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
| |
|
|
| 05 Jan 2014 05:41 PM |
Energy.CFrame = Energy.CFrame * CFrame.new(0, 0, 1)
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Jan 2014 05:45 PM |
The direction it's facing by 1 stud is:
Energy.CFrame = Energy.CFrame * CFrame.new(0, 0, -1)
|
|
|
| Report Abuse |
|
|
aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
| |
|