-
What do you want to achieve? Keep it simple and clear!
A moving gun bolt when the gun shoots -
What is the issue? Include screenshots / videos if possible!
I’ve tried using tweenservice in order to make a smooth animation for the gun bolt to go backwards but the direction it moves varies depending on the orientation the character is looking at + the bolt doesn’t go back to it’s original position when the character moves.
The code is in a script.
This is a video of what happens whenever you shoot.
1 Like
You’re multiplying a Vector3, not a CFrame.
Target.CFrame = bolt.CFrame * CFrame.new(Vector3.new(0,0,-1))
1 Like