Hey everyone, I need help on merging these two scripts together. I tried, and it didn't work but I lost it in studio when it crashed, sadly. So first of all, I am trying to edit the colors of the bricks that they droppers in my tycoon drop. This first script I am going to show you changes the color based on what you have it set to when you purchase the colorizer and such. So if you purchase that and click on the blue one the blocks are blue.
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
Now this one I am about to show you only has one color, like if I have a emerald dropper it stays green and only green. You can't change it with the colorizer.
wait(2) workspace:WaitForChild("PartStorage") while true do wait(1.5) -- How long in between drops local part = Instance.new("Part",workspace.DebrisStorage) part.BrickColor = BrickColor.new("Camo") part.Material = Enum.Material.Foil local cash = Instance.new("IntValue",part) cash.Name = "Cash" cash.Value = 15 -- 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.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
Is there anyway to merge these to scripts to where the dropper naturally stays the "Camo" color and doesn't change, until you edit it with the colorizer.. Thanks for any help!