I have a problem where this code works
Bullet.Size = Vector3.new(0.2,0.2,(Character.Head.Position - mouse.Hit.p).magnitude)
Bullet.CFrame = CFrame.new(Character.Head.Position, mouse.Hit.p) * CFrame.new(0,0,-(Character.Head.Position - mouse.Hit.p).magnitude/2)
when the part is a normal part
but when its a cylinder it looks like this
Can someone help me?.