I need to raycast from the player’s mouse onto a part, and then return that ray from the module. But the problem is whenever the raycast is returned to the main function it becomes nil.
I’ve been stuck on this bug for literal hours, I really need this fixed.
you don’t return from Mouse:FromMouse()
dude, your literally right. how on earth did I possibly forget to
I think you forgot to do the following:
local result = Mouse:Get()
(The variable part)