Advertisement
Guest User

test

a guest
Jun 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. local BloodCount = 0
  2.  
  3.  
  4. function onPlayerDied(dead)
  5. head = script.Parent.Head
  6. MaxBlood = 1000
  7. while true do
  8. if BloodCount < MaxBlood then
  9. BloodCount = BloodCount +1
  10. local blood1 = Instance.new("Part")
  11. blood1.BrickColor = BrickColor.new(21)
  12. blood1.formFactor = 2
  13. blood1.Size = Vector3.new(0.2, 0.2, 0.2)
  14. blood1.BottomSurface = 1
  15. blood1.TopSurface = 1
  16. blood1.Position = head.Position
  17. blood1.Name = "Blood"
  18. blood1.Parent = game.Workspace
  19. --local Script1 = script.Script:clone()
  20. --Script1.Disabled = false
  21. --Script1.Parent = blood1
  22. local WaitTime = 1
  23. if WaitTime == 1 then
  24. wait(0)
  25. end
  26. end
  27. if BloodCount == MaxBlood then
  28. return end
  29. end
  30. end
  31.  
  32. script.Parent.Humanoid.Died:connect(onPlayerDied)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement