So I am making a Tycoon and I am having a problem with my drop that gives money. I want it to release with a Decal on the front and back but it will not work :( I don't know what is wrong with this script that someone helped me with. Please help if you can!
The Drop script:
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 = "51041387" d.Face = "Front" local dd = d:clone() dd.Face = Back end while true do wait(2.5) fire() end
The problem is that when it shoots out a brick it says this "Image failed to load: 51041387: Unexpected URL" and then it just stop shooting bricks. I tried the full URL, the id, and the asset id but nothing will work. Please help!!! Good day :)