So, I was trying to make Ray.new for a gun I'm trying to make but it didn't work I don't know why, I did:
local Ray = Ray.new(script.Parent.BulletSpawn, (Mouse.Hit.p - script.Parent.BulletSpawn.CFrame.p).unit * 300)
The output has an error I don't understand.. It said: "19:13:50.474 - Workspace.Player.Pistol.LocalScript:7: bad argument #1 to 'new' (Vector3 expected, got Object)" It says I needed a Vector3..

1 comment
Oh, I didn't notice that... I feel dumb now..