So this script is enabled when the plant is harvested and it waits till the set amount of days has passed in order to "regrow" itself.
local Debounce = true
while true do wait()
local Day = workspace.Player_Cache.Day
if Day.Value == script.DayWhenCut.Value + 2 then print("Time Reached")
if Debounce == true then Debounce = false
local Replace = game.ServerStorage.Plant_Objects.Salad_Stick:Clone()
Replace.Parent = script.Parent.Parent.Parent.Parent.Parent
Replace.Salad_Stick.Position = script.Parent.Parent.Parent.Position
print("Plant Replaced")
Replace.Salad_Stick.ClickDetector.Harvest.Replacer.GrowsLeft.Value = script.GrowsLeft.Value - 1
script.Parent.Parent.Parent.Parent:Destroy()
end
end
end
(For some reason i cant paste my script into the code view so instead i have to do this, sorry about that)
Basically the whole script fires, everything fires and works perfectly and on the deletion of the model:
script.Parent.Parent.Parent.Parent:Destroy()
it displays this error: "DayWhenCut is not a valid member of Script" It doesn't effect the game but clogs up my output with fake errors.

4 comments
Your getting the error because of the deletion of the model.
I figured that out, i am asking if there is a way i can remove the model without the error.
I think DayWhenCut is not a valid member of script. Care to provide screenshot of the explorer?
I fixed the bug, sorry didn't see your message but you can see how i fixed it below.