Hello Devforum,
In an earlier post, I wasn’t sure if it was possible to make a dropper that drops a cylinder part. However, I am still not sure I can implement my new script. This is the current script that I have as the dropper script. It is dropping a regular part instead of a cylinder part.
local part = script.Parent
local newpart = part:Clone()
newpart.Shape = Enum.PartType.Cylinder
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(1.5)
part.BrickColor= BrickColor.new("Black")
part.Material= "CorrodedMetal"
local cash = Instance.new("IntValue",part)
cash.Name = "Cash"
cash.Value = 5
part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.5,0)
part.FormFactor = "Cylinder"
part.Size=Vector3.new(1.5, 1.5, 1.5)
part.TopSurface = "SmoothPlastic"
part.BottomSurface = "SmoothPlastic"
game.Debris:AddItem(part,20)
end
FormFactor is not a property, you actually want the Shape property. (I think FormFactor is the name of the Enum so I see where you’re getting that from, its confusing)
Make sure you enable your output in View so you can see errors, it should say something like FormFactor is not a valid member of Part.
I would also suggest using Enums instead of strings since strings are a little slower but really mainly because it means if you type the wrong Enum for a part you get an error in the output that tells you what went wrong. Plus, typing out the enum gives you autocompletes so you can use Tab and and things like that.