Here's a basic example of scripting a tool and a brick in Roblox using Lua.
Tools:
G = Instance.new("HopperBin")
G.Parent = game.StarterPack
G.BinType = PUT A NUMBER HERE 0-7Brick (assuming that's what "creation" meant):
b = Instance.new("Part")
b.BrickColor = BrickColor.new(42)
b.Anchored = true
b.Locked = true
b.CanCollide = true
b.Transparency = 0
b.Position = Vector3.new(1, 3, 5)
b.Size = Vector3.new(2, 2, 2)
b.Parent = WorkspaceDrop these into a script in Roblox Studio to see them in action.