How to use Ray.new?

How to use Rey.new(Vector3, Vector3)

You can use these to help you with Ray Cast stuff

https://developer.roblox.com/en-us/api-reference/datatype/Ray

Ray.new is deprecated, instead look at the what @iluvtcr linked