Attempt to index nil with 'SubtractAsync'

Im getting this error and idk why
Code:

	local cut = script.Parent.part.Value
	local cuttarget = script.Parent.objecttocut.Value

	local result = cuttarget:SubtractAsync({cut})
	cuttarget:Destroy()
	result.Parent = workspace
	cuttarget = result
	cut:Destroy()
end)

I read that SubtractAsync can only be executed on a BasePart.

It’s simple. The error says that cuttarget is nil instead of an actual basepart so be sure that script.Parent.objecttocut.Value is a basepart.