|
| 11 Jul 2017 12:08 PM |
| I'm currently trying to make a Fireball Shooter and How Do I make a part go in the same direction I'm facing? |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2017 12:10 PM |
.LookVector
#code print("oh no an errorz!") |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2017 12:10 PM |
BodyVelocity = Instance.new('BodyVelocity', Part) BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) BodyVelocity.P = 100000 BodyVelocity.Velocity = HumanoidRootPart.CFrame.p + HumanoidRootPart.CFrame.lookVector * Speed |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2017 12:16 PM |
local player; --Define this local fireball = Instance.new("Part")
local lookVector = player.Character.Torso.CFrame.lookVector fireball.CFrame = player.Character.Head.CFrame + lookVector*Vector3.new(0,0,5) fireball.Velocity = lookVector*Vector3.new(400, -196.2, 400) |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2017 12:28 PM |
| Still doesn't work. It Doesn't go forward. |
|
|
| Report Abuse |
|
|
Nikkulai
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 946 |
|
|
| 11 Jul 2017 01:39 PM |
I got you bro
Fireball.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame BV = Instance.new("BodyVelocity") BV.maxForce = Vector3.new(math.huge, math.huge, math.huge) BV.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*80 Fireball.Parent = game.Workspace BV.Parent = Fireball |
|
|
| Report Abuse |
|
|
| |
|