Advertisement
Dalebig

Untitled

Mar 11th, 2020
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.23 KB | None | 0 0
  1. while true do
  2.     local Blood = Instance.new("Part",workspace)
  3.     local Timer = Instance.new("NumberValue",Blood)
  4.     local Size = 2
  5.     local CanTouch = true
  6.     Blood.CanCollide = false
  7.     Blood.Shape = Enum.PartType.Ball
  8.     Blood.Size = Vector3.new(0.2,0.2,0.2)
  9.     Blood.BrickColor = BrickColor.new("Maroon")
  10.     Blood.Material = Enum.Material.Glass
  11.     Blood.Position = game.Players.DalekAndrew99.Character.Torso.Position
  12.     Blood.Name = "Blood"
  13.     Timer.Name = "Timer"
  14.     Blood.Touched:Connect(function(Touch)
  15.         if Touch.Anchored == true then
  16.             if Touch.CanCollide == true then
  17.                 if Touch.Orientation == Vector3.new(0,0,0) then
  18.                     if Touch.Shape == Enum.PartType.Block then
  19.                         if CanTouch == false then return end
  20.                         CanTouch = false
  21.                         Blood.Anchored = true
  22.                         Blood.Shape = Enum.PartType.Cylinder
  23.                         Blood.Position = Vector3.new(Blood.Position.X+(math.random(-10,10)/10),Touch.Position.Y + (Touch.Size.Y/2),Blood.Position.Z+(math.random(-10,10)/10))
  24.                         Blood.Orientation = Vector3.new(0,0,-90)
  25.                         Blood.Size = Vector3.new(0.1,0.1,0.1)
  26.                         game:GetService("TweenService"):Create(Blood,TweenInfo.new(Size/6,Enum.EasingStyle.Quart),{Size = Vector3.new(0.1,Size,Size)}):Play()
  27.                     end
  28.                 end
  29.             end
  30.         end
  31.     end)
  32.     wait(1)
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement