Script:
local CashValue = script.Parent.Parent.Parent.Parent.Values.CashValue
script.Parent.Touched:Connect(function(Hit)
if Hit.Name == “Part” and Hit:FindFirstChild(“CashValue”) then
CashValue.Value += Hit:FindFirstChild(“CashValue”).Value
Hit:Destroy()
end
end)
The conveyor drops part and this collects it.
Error: CashValue is not a valid member of Folder “Workspace.TycoonModel.Values”
The part doesn’t collect the parts.