Hello, I’m making a building system where I have to send the mouse variable plus some other variables through a remote event, however when I send the mouse variable it reads as nil. I’ve searched this a bit and I think it may be being shadowed, and if it is, how would I prevent it?
Here’s my code btw:
local placeStick = function(e,ee,input)
if input.UserInputState == Enum.UserInputState.Begin then
RS.HardHat.StickyPlace:FireServer(mouse,camera, rValue)
end
end
On the other side at the server-script, it’s printing the mouse variable, which reads as nil.
I’m sure it’s probably a simple thing that I’m just not figuring out, but I really have no clue how to go about un-shadowing it.