Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BloodCount = 0
- function onPlayerDied(dead)
- head = script.Parent.Head
- MaxBlood = 1000
- while true do
- if BloodCount < MaxBlood then
- BloodCount = BloodCount +1
- local blood1 = Instance.new("Part")
- blood1.BrickColor = BrickColor.new(21)
- blood1.formFactor = 2
- blood1.Size = Vector3.new(0.2, 0.2, 0.2)
- blood1.BottomSurface = 1
- blood1.TopSurface = 1
- blood1.Position = head.Position
- blood1.Name = "Blood"
- blood1.Parent = game.Workspace
- --local Script1 = script.Script:clone()
- --Script1.Disabled = false
- --Script1.Parent = blood1
- local WaitTime = 1
- if WaitTime == 1 then
- wait(0)
- end
- end
- if BloodCount == MaxBlood then
- return end
- end
- end
- script.Parent.Humanoid.Died:connect(onPlayerDied)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement