So i'm shooting a ray from the camera to the Mouse position, it when it hits something it doesn't keep going like a normal ray, i tried everything to fix it, any help is greatly appreciated!
local newRay = Ray.new(Camera.CFrame.p,(Mouse.Hit.p - Camera.CFrame.p) * 1000)
local part,endpoint = game.Workspace:FindPartOnRay(newRay)

3 comments
You do realize that FindPartOnRay returns the first part the ray hit right?
*hits
If your question was solved, please mark the correct answer as such.