I have a LocalScript in a tool; heres the code
player = game.Players.LocalPlayer
mouse = player:GetMouse()
script.Parent.Activated:Connect(function()
game.ReplicatedStorage.BallistaFired:FireServer(player, mouse)
print(player)
print(mouse)
end)
and heres a script inside the same tool that responds to the FireServer
game.ReplicatedStorage.BallistaFired.OnServerEvent:Connect(function(player, mouse)
wait(.25)
print(player)
print(mouse)
end)
Even though each script is told to print the same variables, they come out with different outputs. The LocalScript prints "Instance" for the "print(mouse)" while the script prints "ewdoggypoopoo"(my username) for the output. Why is this? And how could I get a Players Mouse to a server script?
