Localscript:
local PlacedObject = PlaceObjectRequest:InvokeServer(Player, Object)
Server Script:
function PlaceObjectRequested(Player, Object)
Mouse = Player:GetMouse()
if Mouse.Target == nil then -- [!]
return
end
Error: attempt to index global 'Mouse' (a nil value) , where the -- [!] is.
This works without any errors when testing in studio, but as soon as I join a server, it stops working. The error is from the console (F9).
How do I go about fixing this? I have a feeling this may have something to do with the mouse not actually able to be sent to server-side...
Thanks in advance.

1 comment
You have a feeling that a mouse cannot go to server side? Well, thats correct! You can only send the mouse's properties, not the mouse itself.