local script
local tool = script.Parent
local mouse = game.Players.LocalPlayer:GetMouse()
tool.Activated:Connect(function()
if mouse.Target.Name == "FarmingTile" then
script.Parent.RemoteEvent:FireServer(mouse.Target)
tool:Destroy()
end
end)
script
local tool = script.Parent
tool.RemoteEvent.OnServerEvent:Connect(function(target)
target:SetAttribute("Crop",tool:GetAttribute("Crop"))
tool:Destroy()
end)
im trying to make a seed system, but it keeps throwing up a different mouse.Target on the client/server side