Hello, this is my first question please answer properly.

This is the code:

local velo = CFrame.new(frame.p + (CFrame.new(frame.p,mousehit.p).lookVector*115))

The frame is "Character:FindFirstChild("Right Arm").CFrame"

And i always get the error i mentioned above. Please help.

sorry for my bad english

8 comments

1

Try adding a .Position to the end of your CFrame statement. That should convert the CFrame to a Vector3.

0

I see, trying.

0

Didn't work, still getting the same error.

0

This is a Local script, right?

0

No, it's Server Script.

0

How about getting rid of the CFrame.new around frame.p + (CFrame.new(frame.p, mousehit.p).lookVector * 115)? That should make it a Vector3 by default because you're adding vectors.

0

Didn't work too.

0

Thanks anyway, i fixed it i just remove the frist frame.p