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

Why is this not working?

Asked by
Sxore 0
9 years ago

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

0
Please use the "Code Block" feature because I can't read your script. chill22518 145 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago
  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

Ad

Answer this question