Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why is this not working?

It is suppose to drop blocks every 2 seconds.

wait(2) workspace:WaitForChild("PartStorage") while true do wait(2) -- How long in between drops local part = Instance.new("Part",script.Parent.Parent.Parent.PartStorage) part.BrickColor=script.Parent.Parent.Parent.DropColor.Value local cash = Instance.new("IntValue",part) cash.Name = "Cash" cash.Value = math.random(4,10) -- How much the drops are worth part.FormFactor = "Custom" part.Size= script.Parent.Drop.Size part.CFrame = script.Parent.Drop.CFrame part.Material = Enum.Material.SmoothPlastic fakeDebris = require(game.ReplicatedStorage.fakeDebris) fakeDebris.AddItem(part,20) end

1 comment

0

Please use the "Code Block" feature because I can't read your script.

1 answer

  1. Use the code block feature and place your script in between the ~'s.

  2. Tell us what your output is

  3. Tell us what is happening instead if there is anything happening

This discussion is preserved as it was. New answers, comments, and votes are closed.