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

i need help with a dropper script cause it doesn't want to work?

I've tried everything watch a video why it doesn't want to work. I've even asked it on this site and my answer was that i needed a color3value. i did that but it doesn't want to work.Whats wrong with the script or isn't this a script for a dropper do someone want to put a dropper script in the comments tnx.

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

while true do
	wait(1.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 = 5 -- How much the drops are worth
	part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0)
	part.FormFactor = "Custom"
	part.Size=Vector3.new(1.2, 1.2, 1.2) -- Size of the drops
	part.TopSurface = "Smooth"
	part.BottomSurface = "Smooth"
	game.Debris:AddItem(part,20) -- How long until the drops expire
end

2 comments

0

while wait(1.5) do

0

and where do i put it at sentence 4 or 5 or 1

1 answer

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