DAAAAH!!!
EDIT: jacbo1 plx dont lock. pece.
local ElementTwo = elements.allocate("MILL", "TWO")
elements.element(elements.MILL_PT_TWO, elements.element(elements.DEFAULT_PT_DUST))
elements.property(elements.MILL_PT_TWO, "Name", "BUTT")
elements.property(elements.MILL_PT_TWO, "Description", "Butthurtium. Yolo. Swag. 420 blaze.")
elements.property(elements.MILL_PT_TWO, "Colour", 0xFF33FF)
elements.property(elements.MILL_PT_TWO, "Gravity",0.3)
elements.property(elements.MILL_PT_TWO, "MenuSection", 10)
elements.property(elements.MILL_PT_TWO, "Diffusion",0.9)
elements.property(elements.MILL_PT_TWO, "Weight",math.random(1,100))
elements.property(elements.MILL_PT_TWO, "Temperature",-23123)
elements.property(elements.MILL_PT_TWO, "Flammable", 555)
elements.property(elements.MILL_PT_TWO, "Explosive", 555)
local function graphics(i, colr, colg, colb)
return 1,0x00020000,255,255,51,255,255,255,51,255
end
tpt.graphics_func(graphics,ElementTwo)
local function sprk(i,x,y,s,n)
if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.deut.id then
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
end
if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.prot.id then
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
end
if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.exot.id then
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
end
if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.uran.id then
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
end
end
tpt.element_func(sprk,ElementTwo)