How to make bullet projection?

Hello there, I need help with bullet projection, I tried to do it and I used this

local ok = script.Parent.Handle.ShootAttachment.CFrame
 SomeShit.Size =,0,0)
 SomeShit.CFrame =,0.5),RayResult.Position)

And I got error with the CFrame line

17:44:27.684  Unable to cast Vector3 to CoordinateFrame  -  Server - Server:79
  17:44:27.684  Stack Begin  -  Studio
  17:44:27.684  Script 'Players.Pixeluted.Backpack.Pistol.Server', Line 79  -  Studio - Server:79
  17:44:27.684  Stack End  -  Studio

Thanks for any help!