Mouse.Hit.Position = nil?

I’m using the FastCast module for my wizarding game, however I’m getting this really weird error that I can’t figure out for the LIFE of me.


I’m passing the mouse location correctly and the positions are printing in the output. What can I do?

1 Like

Can I see how you get the value of Aim?

Sounds like you’re missing one of the arguments that it requires. Also I don’t recommend using modules before learning how to at least do a basic version of it yourself.

This error is not being generated from the module itself I believe, it is just a subtraction error that the script cannot subtract nil with Vector3, and the nil value in this case is the Aim soI just asked how you get the value of that.