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 8 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

1 answer

Log in to vote
0
Answered by 8 years ago

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
0
didnt work DrKrypton 0 — 8y
0
Fixed it ADeadlyGuest4 62 — 8y
Ad

Answer this question