How can i make this be my mesh i want for my tycoon dropper?
The mesh http://www.roblox.com/asset/?id=32539199 the texture http://www.roblox.com/asset/?id=32539212
``local meshid = script.Parent.Parent.Parent.MeshID
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(0.5) -- How long in between drops
local part = Instance.new("Part",workspace.PartStorage)
local mesh = Instance.new('SpecialMesh', part)
mesh.TextureId = meshid.Value
part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
local cash = Instance.new("IntValue",part)
cash.Name = "Cash"
cash.Value = 1 -- How much the drops are worth
part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1,0)
part.Size=Vector3.new(1,1,1) -- Size of the drops
game.Debris:AddItem(part,20) -- How long until the drops expire
end
1 | <pre class = "brush: lua" ></pre> |