Hey!
I want to know if I can make a dropper drop a certain model(That is in lighting). Like if I wanted to make the dropper drop a yugioh monster/character that was located in the lighting, could it be possible? I am using this script (ZedNov's Tycoon Kit)
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(1.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 = 5 -- How much the drops are worth
part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0)
part.FormFactor = "Custom"
part.Size=Vector3.new(1.2, 1.2, 1.2) -- Size of the drops
part.TopSurface = "SmoothNoOutlines"
part.BottomSurface = "SmoothNoOutlines"
game.Debris:AddItem(part,20) -- How long until the drops expire
end
Thanks If You Can Help! Kind Regards Truly,
TheUniPiggy

1 comment
Could you post the code in LUA for me please? Thanks