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

2 comments
It doesnt work there is a error when I put the URL in...
You mean copy and paste? Just put the URL in. Type it by hand. If thats what you meant. It should work. Maybe you could do "local d = Instance.new("Decal") " and "d.Parent = p" or something.