Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

i need help with a dropper script cause it doesn't want to work?

Asked by 6 years ago

I've tried everything watch a video why it doesn't want to work. I've even asked it on this site and my answer was that i needed a color3value. i did that but it doesn't want to work.Whats wrong with the script or isn't this a script for a dropper do someone want to put a dropper script in the comments tnx.

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 = "Smooth"
    part.BottomSurface = "Smooth"
    game.Debris:AddItem(part,20) -- How long until the drops expire
end
0
while wait(1.5) do PyccknnXakep 1225 — 6y
0
and where do i put it at sentence 4 or 5 or 1 bramieboy241 -19 — 6y

1 answer

Log in to vote
0
Answered by
Nowaha 459 Moderation Voter
6 years ago

Remove line 7 and 8

Ad

Answer this question