Mouse.Hit not working?

You can only call Player:GetMouse() from within a local script, and I would guess that’s probably the reason it results in nil.

You’ll have to use the same loop in a LocalScript and then return the Mouse object to the regular server Script using a RemoteEvent.

I can elaborate further if you’d like, but that should fix the issue.

1 Like