local NewCFrame = CFrame.new(MainPart.CFrame.lookVector * Speed) <-- line 18
error
- Workspace.Player1.Scripts.ShipFunctions:18: attempt to call field 'new' (a nil value)
15:14:05.402 - Stack Begin
15:14:05.402 - Script 'Workspace.Player1.Scripts.ShipFunctions', Line 18
15:14:05.403 - Stack End

1 comment
Thanks!