Creating a tycoon "cash" collector

Working on a tycoon and i cant figure out how to make that block at the end of the conveyor that destroys the blocks that count as points, and then counts them as points (i mainly need them to be destroyed)

Part:Destroy() wouldn’t that destroy them

1 Like
BlockAtEndOFConveyor.Touched:Connect(function(hit)
   if not hit.Parent:FindFirstChild("Humanoid") then -- makes sure it's a part that's not part of a player, you can implement your own check like if you have all the parts in a folder or something
       -- add points to the player however you want
       hit:Destroy()
   end
end)
4 Likes

do i need to name the part BlockAtEndOfConveyor

no they did that as an example obv…

of course not, I did it to show which part I am talking about.

it works!!! thank you guys so much