How can I create bullet drop with a raycast gun?

How can I achieve bullet drop with a raycast gun system?

Yes, I have tried looking at other topics. No topic I found seems to help.

I am trying to achieve a bullet drop with the actual ray, not just a physical bullet.

Yes, I have tried FastCast but it can cause lag with extremely fast shooting guns.

What I mean by bullet drop:

Here is the method I am using to create my ray

local RayCast = Ray.new(gun:FindFirstChild('Handle').Position, (mouseHit-gun:FindFirstChild('Handle').Position).unit*300)

you would probably need to predict where the bullet will be then raycast to that position, and thats hard (im pretty sure).

This is helpful but I’m not sure this will work with raycasts.

I believe you can raycast the end position and set the angle to 90