1 | local Bolt = game.ReplicatedStorage.bolt:Clone() |
2 | Bolt.CFrame = script.Parent.Parent.Handle.CFrame*CFrame.new( 0 , 0 ,- 2 ) |
3 | Bolt.Parent = workspace |
4 | Bolt.Velocity = script.Parent.Parent.Handle.CFrame.lookVector * 50 |
5 | game.ReplicatedStorage.bolt.BodyVelocity.Velocity = script.Parent.Parent.Handle.CFrame.lookVector* 40 * 2 |
I have a part in ReplicatedStorage with a BodyVelocity in the part, but whenever I rotate, the first time I fire, the bolt is fired in a direction to the left or right of me.