Script doesn't destroy part after second spawn

I have a farm that spawns wheat in, it all works but when I harvest the wheat and it dissapears, the second time it spawns it doesnt destroy the wheat but lets you hold the proximity prompt.
This is the server script inside the prompt. the remote event connects to the tool client which just says if the tool is equipped then activate the remote event. Is their a problem or anything i need to add to the script?

local players = game:GetService("Players")
local HarvestEvent = game.ReplicatedStorage.HarvestEvent
local prompt = script.Parent
local wheat = script.Parent.Parent


HarvestEvent.OnServerEvent:Connect(function()
	local player = players.LocalPlayer
	prompt.Triggered:Connect(function()
		wheat:Destroy()
	end)
end)
1 Like

do you have multiple wheats? i need more info

1 Like

yes they are all put into a spawners model with spawners named 1-24

thats weird, i need to see explorer