Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MakeBlood()
- local blood = Instance.new("Part")
- blood.formFactor = "Plate"
- blood.Size = Vector3.new(1,0.4,1)
- blood.Name = "Blood"
- blood.Reflectance = 0.2
- blood.Transparency = 0.1
- blood.BrickColor = BrickColor.new("Really red")
- blood.Locked = true
- blood.BackSurface = "Smooth"
- blood.TopSurface = "Smooth"
- local CC = math.random(1,2)
- if CC == 1 then
- blood.CanCollide = true
- elseif CC == 2 then
- blood.CanCollide = false
- end
- blood.Position = script.Parent.Torso.Position
- blood.Parent = script.Parent
- end
- humanoid = script.Parent.Humanoid
- lhh = humanoid.Health
- while true do
- if humanoid.Health < lhh then
- howmuch = math.random(7,20)
- lhh = humanoid.Health
- for i = 1 , howmuch do
- MakeBlood()
- end
- end
- wait(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement