Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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 answer

Put that brick you described into the serverstorage( with its children.)

function Drop()
local C = game.ServerStorage.Part:Clone()
C.Position = script.Parent.Drop.CFrame - Vector3.new(0,1,0) 
end
while true do
Drop()
wait(0.5)
end

2 comments

0

didnt work

0

Fixed it

This discussion is preserved as it was. New answers, comments, and votes are closed.