Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Drop(Position,Color)
- local Drop = Instance.new("Part", workspace)
- Drop.Name = "Drop"
- Drop.Position = Position
- Drop.Rotation = Vector3.new(0,0,90)
- Drop.BrickColor = BrickColor.new(Color)
- Drop.Size = Vector3.new(1,0.3,0.3)
- Drop.Anchored = false
- Drop.CanCollide = true
- Drop.Shape = Enum.PartType.Cylinder
- Drop.Transparency = 0.5
- Drop.Touched:Connect(function(TPart)
- if Drop.Anchored == false then
- Drop.Size = Vector3.new(0.3,3,3)
- Drop.Rotation = Vector3.new(0,0,90)
- wait(0.5)
- Drop.Anchored = true
- game.Debris:AddItem(Drop,60)
- end
- end)
- end
- while true do
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- Drop(Vector3.new(math.random(-350,350),95,math.random(-350,350)),"Bright blue")
- wait(0.1)
- end
Add Comment
Please, Sign In to add comment