Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i make this be my mesh i want for my tycoon dropper?

Asked by 9 years ago

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



0
ti dont know how to make it look good if ur having trouble tell me and ill try to make it clearer DrKrypton 0 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

Put the exact brick in the server storage with all of the children inside of it.

function drop()
    local part = game.ServerStorage.Part:Clone()
    part.Position = Script.Parent.Drop.CFrame
end
while true do
drop()
wait(0.5)
end
Ad

Answer this question