Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- local cash = Instance.new("IntValue",part)
- cash.Name = "Cash"
- cash.Value = 1 -- How much the drops are worth
- part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1,0)
- part.Size=Vector3.new(1,1,1) -- Size of the drops
- game.Debris:AddItem(part,60) -- How long until the drops expire
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement