Hi, I am very new to scripting, but I really want to get good at it. I have been following a tutorial on Youtube for making a simple Tycoon. But I have come to the point where I want to change the drop shape from a cube to a Potato. Here is the script running at the moment, I have looked at other scripts for dropping swords and hats, but I can get it to work, please help. It would be great if you could take the script add add on the part with the Potato. Also, heres the potato ID: http://www.roblox.com/asset/?id=81684482 Thanks in advanced.
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(4.5) -- How long in between drops
local part = Instance.new("Part",workspace.PartStorage)
part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
part.Material=script.Parent.Parent.Parent.MaterialValue.Value
local cash = Instance.new("IntValue",part)
cash.Name = "Cash"
cash.Value = 100 -- How much the drops are worth
part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.6,0)
part.FormFactor = "Custom"
part.Size=Vector3.new(1.4, 1.4, 1.4) -- Size of the drops
part.TopSurface = "Smooth"
part.BottomSurface = "Smooth"
game.Debris:AddItem(part,20) -- How long until the drops expire
end

7 comments
Thanks! Will try
It works!!!! Now I just need to make them larger haha, thanks!
no problem as with the size, good luck :)
Yeah... ah.... how do I change the size? XD
put "mesh.Scale = Vector3.new(4,4,4)" anywhere in the mesh part of the script (lines 9 -12)
never mind! I figured it out, just had to use "scale", instead of "size". Awesome! Thanks afain, I will give you credit in the discription of the game. heres the link to it if you wanna check it out aha. https://www.roblox.com/games/563743556/Potato-Tycoon
accept my answer if you figured it out :3