So i want to make a game where you plant seeds, i have this seed tool which when activated uses the mouse.Target to get the part which the mouse is pointing at.
now when i send that info to the server it says nil.
code:
Connection.OnServerEvent:Connect(function(plr,Mouse)--Connection Is The Remote Event
print(Mouse.Target)--Prints "Nil"
--RestOfCode
end)
Client Code:
script.Parent.Activated:Connect(function()
print(Mouse.Target)--Prints "BasePlate"
Event:FireServer(Mouse)--Event Is The RemoteEvent.
end)