I'm trying to make it so that when you buy a game pass the droppers drop more money. Here is the script in the droppers.
Cash.Value = 00
Cash.Value is how much each dropper gives.
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(2.5)
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 = 20
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)
part.TopSurface = "Smooth"
part.BottomSurface = "Smooth"
game.Debris:AddItem(part,20)
end
