I'm making a tycoon and I need the Dropper (Part) Drop a Certain hat other than any type of regular brick here is the script im using can you please add the part with the hats :D?
function fire() local p = Instance.new("Part") p.Position = script.Parent.Position -- p.Size = Vector3.new(2,3,2) -- p.BrickColor = BrickColor.new(26) p.BottomSurface = 0 p.TopSurface = 0 p.Name = "TycoonBrick" p.Parent = script.Parent end while true do wait(1) --Alter Rate Of Drop fire() end
function fire() local p = Instance.new("Part") p.CFrame = script.Parent.CFrame -- Use CFrame, it works better than position. p.BottomSurface = 0 p.TopSurface = 0 p.Name = "TycoonBrick" p.Parent = script.Parent local PM = Instance.new("SpecialMesh") PM.MeshType = "FileMesh" PM.MeshID = "rbxassetid://241544038" PM.MeshTexture = "rbxassetid://241544038" end
I believe this will work.
The hat is the "Le Tigre Fedora"
Edit this and put it in a Code Block so it's easier to read.