its suppost to be a collector or something
local value = game.Workspace.Moneydisplayer.Value
for i,v in pairs(game.Workspace.Parts:GetChildren()) do
if v.Name == "Moneycollecter" then
v.touched:Connect(function(part)
value.Value = value.Value + 1
part:Destroy()
end)
end
end

3 comments
Is there a error?
yes
wait no it says nothing and does nothing past the if