Also I want to make if you click something it destroys I have a local script and a script they are:
Script:
game.ReplicatedStorage.destroye.OnServerEvent:Connect(function(Player,mouse)
local mouse = Player:GetMouse()
mouse.Target:Destroy()
end)
Local script:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Button1Down:Connect(function()
game.ReplicatedStorage.destroye:FireServer(mouse)
end)
How do i fix this error?

2 comments
try using 'game:GetService("Players")' instead, whilst calling the mouse in a different variable connected to the playerShortcut?
If you're passing the mouse from local script you don't need to :GetMouse() in the server script, if i remember correctly - you can't even do that! I wouldn't even pass the mouse to the server script. I would only pass the part i need to destroy.