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 = 4 -- 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(0.25,0.25,0.25) -- Size of the drops part.TopSurface = "Smooth" part.BottomSurface = "Smooth" game.Debris:AddItem(part,200) -- How long until the drops expire end
Hey guys thats my dropper script and i want it to drop certain meshes (hats, items ect.) I am using ZedNov's tycoon kit!
Anyone gonna help?
change local part = Instance.new("Part", PartStorage) to:
while true do wait(2.5) local part = Instance.new("MeshPart", workspace.PartStorage) part.Name = "Part" part.MeshID = --Your Meshid here part.TextureID = -- Your Textureid here local cash = Instance.new("IntValue",part) cash.Name = "Cash" cash.Value = 4 -- 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(0.25,0.25,0.25) -- Size of the drops part.TopSurface = "Smooth" part.BottomSurface = "Smooth" game.Debris:AddItem(part,200) -- How long until the drops expire end