Some background to the code that is not included: the code welds the player and spaceship (a union part) together. The code is supposed to keep the spaceship pointing where the mouse is pointing. The problem is that is the tween service is blocking the velocity or is there another problem.
Here is the code:
while true do
wait(0.1)
local bodyPart = player.Character:FindFirstChild("LowerTorso")
local goals = {CFrame = CFrame.new(bodyPart.Position,
Vector3.new(mouse.Hit.X, mouse.Hit.Y * 2, mouse.Hit.Z))}
local tween = ts:Create(p, info, goals)
tween:Play()
game:GetService("UserInputService").InputBegan:connect(function (input, _) -- recognizes input is being given
if input.KeyCode == Enum.KeyCode.E then
y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
y.velocity = (p.Position - mouse.hit.p).unit * 175
print("done")
end
end)
end
Thanks for the Help!

3 comments
Can you give me an example code or something
I would reviw the code and make any changes to the way you are attempting to solve this. Then post a new question if you have any other issues.
The dev hub api pages include example of how each constraint can be used.