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

How to make dropper to drop model?

Hello, im making an tycoon, and i wanted my droppper to drop this model I tried all scripts from these pages: https://scriptinghelpers.org/questions/38998/how-to-make-droppers-to-drop-models https://scriptinghelpers.org/questions/44056/how-can-i-make-a-dropper-drop-a-roblox-model-not-just-a-block

and it didn't worked :(. So is there an another method to make droppper drop this model https://web.roblox.com/library/3354511166/Unicom-Bottom

Btw im using this script for dropper:

wait(2)
workspace:WaitForChild("PartStorage")

while true do
	wait(2.5) -- How long in between drops
	local part = Instance.new("Part",workspace.PartStorage)
	part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
	part.Material=script.Parent.Parent.Parent.MaterialValue.Value
	local cash = Instance.new("IntValue",part)
	cash.Name = "Cash"
	cash.Value = 10 -- How much the drops are worth
	part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.6,0)
	part.FormFactor = "Custom"
	part.Size=Vector3.new(1.4, 1.4, 1.4) -- Size of the drops
	part.TopSurface = "Smooth"
	part.BottomSurface = "Smooth"
	game.Debris:AddItem(part,20) -- How long until the drops expire
end
`

1 answer

wait(2)
workspace:WaitForChild("PartStorage")

while true do
	wait(1.5) -- How long in between drops
	local model = game.Lighting.Burger:Clone() -- Change burger to whatever you like
	model.Parent = workspace
	local cash = Instance.new("IntValue",model)
	cash.Name = "Cash"
	cash.Value = 5 -- How much the drops are worth
	model.PrimaryPart.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0)
	game.Debris:AddItem(model,20) -- How long until the drops expire
end

So basically i quickly made a burger model and used the qperfection weld inside the burger model.

'you can also weld it normally'

I then made 1 of the parts PrimaryParts just to be able to move it with 1 part.

You can change the model to the one you like and put it in Lighting.

Heres an image showing it works // https://imgur.com/a/on9CCCf

3 comments

0

Along with that, ensure that you have a script that when the dropped part hits the cash zone, it cashes in that value.

0

Hmm i did how you telled me but this sill dont work. Maybe im doing something wrong? I putted my model into lightning, changed the model burger to my model and it still dont want to work. Is there something that i have still to do like anchor or unanchor model? weld it? I still dont know why is it not dropping i will try with another model..

0

Oh it started dropping but not like i want.. Its dropping a one block before claiming tycoon and even when dropper is not buyed but when i drop dropper it will drop another one and it will stop, and its not giving me money... Idk what to do maybe im doing something wrong?

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