Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a tycoon drop part script?

im trying to make a dropper. A dropper would drop parts onto a conveyor belt. Any ways?

1 answer

✓ Accepted answer

You can make a part with a script in it that creates parts for you. This should work:

local interval = 3
local function drop()
    local part = Instance.new("Part")
    part.Size = Vector3.new(2, 2, 2)
    part.Anchored = false
    part.Position = script.Parent.Position
    part.Name = "MoneyDrop"
    part.BrickColor = BrickColor.black()
    game:GetService("Debris"):AddItem(part, 120)
end

while wait(interval) do
    drop()
end

This discussion is preserved as it was. New answers, comments, and votes are closed.