So I am in the making of Tycoons and I was wondering how I could make my Drop script Fire a brick with a Front Decal and Back Decal. I am trying to make it shoot out Robux because of what kind of tycoon it is. Please help it is highly appreciated!
Drop script:
function fire() local p = Instance.new("Part") p.Position = script.Parent.Position p.Size = Vector3.new(2, 0.4, 1) p.BrickColor = BrickColor.new(37) p.BottomSurface = 0 p.TopSurface = 0 p.Name = "TycoonBrick" p.Parent = script.Parent end while true do wait(2.5) fire() end
function fire() local p = Instance.new("Part") local d = Instance.new("Decal", p) p.Position = script.Parent.Position p.Size = Vector3.new(2, 0.4, 1) p.BrickColor = BrickColor.new(37) p.BottomSurface = 0 p.TopSurface = 0 p.Name = "TycoonBrick" p.Parent = script.Parent d.Texture = "DECAL ID HERE" d.Face = "Front" local dd = d:clone() dd.Face = Back end while true do wait(2.5) fire() end