Advertisement
CrastAndNoob

flood lol,

Mar 28th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.69 KB | None | 0 0
  1. local flood = Instance.new("Part",workspace)
  2. flood.Name = "Flood"
  3. flood.Anchored = true
  4. flood.Material = "Foil"
  5. flood.BrickColor = BrickColor.new("Baby blue")
  6. flood.CanCollide = false
  7. flood.Size = Vector3.new(512,1,512)
  8. flood.Position = Vector3.new(0,-25,0)
  9. flood.Touched:connect(function(hit)
  10.     if hit.Parent:FindFirstChild("Humanoid")~=nil then
  11.         hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2
  12.         wait(.5)
  13.     else
  14.         hit:BreakJoints()
  15.         hit.Anchored = false
  16.     end
  17.     ypcall(function()
  18.         hit:FindFirstChildOfClass("Fire"):Destroy()
  19.     end)
  20. end)
  21. local building = Instance.new("Part",workspace)
  22. building.BrickColor = BrickColor.new("Artichoke")
  23. building.Position = Vector3.new(-23.575, 13.43, -6.775)
  24. building.Size = Vector3.new(6.69, 26.86, 9.81)
  25. building.Anchored = true
  26. building.Locked = true
  27. local truss = Instance.new("TrussPart",workspace)
  28. truss.BrickColor = BrickColor.new("Institutional white")
  29. truss.CanCollide = false
  30. truss.Position = Vector3.new(-23.835, 13.645, -0.94)
  31. truss.Size = Vector3.new(2, 27.29, 2)
  32. truss.Anchored = true
  33. truss.CanCollide = true
  34. truss.Locked = true
  35. local heal = Instance.new("Part",workspace)
  36. heal.BrickColor = BrickColor.new("Bright red")
  37. heal.Position = Vector3.new(-23.698, 26.885, -6.67)
  38. heal.Anchored = true
  39. heal.Size = Vector3.new(4, 0.05, 4)
  40. heal.Locked = true
  41. local decal = Instance.new("Decal",heal)
  42. decal.Face = "Top"
  43. decal.Texture = "rbxassetid://181012711"
  44. heal.Touched:connect(function(hit)
  45.     if hit.Parent:FindFirstChild("Humanoid")~=nil then
  46.         hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health + 10
  47.         wait(.5)
  48.     end
  49. end)
  50. x = coroutine.wrap(function()
  51.     wait(8.5)
  52.     local posz = 0
  53.     local posy = 0
  54.     for i = 1,50 do
  55.         local den = coroutine.wrap(function()
  56.             local platform = Instance.new("Part",workspace)
  57.             platform.BrickColor = BrickColor.new("Lily white")
  58.             platform.Transparency = 1
  59.             platform.Anchored = true
  60.             platform.Position = Vector3.new(-23.288, 28.357+posy, -15.595-posz)
  61.             platform.Size = Vector3.new(2.01, 2.33, 3)
  62.             for i = 1,5 do
  63.                 platform.Transparency = platform.Transparency - 0.1
  64.                 wait(.1)
  65.             end
  66.         end)
  67.         den()
  68.         posz = posz + 3.6
  69.         posy = posy + 2.3
  70.     end
  71. end)
  72. x1 = coroutine.wrap(function()
  73.     wait(16.5)
  74.     local floor = Instance.new("Part",workspace)
  75.     floor.BrickColor = BrickColor.new("Lily white")
  76.     floor.Transparency = 1
  77.     floor.Anchored = true
  78.     floor.Position = Vector3.new(-23.288, 28.357+117.3, -15.595-183.6)
  79.     floor.Size = Vector3.new(500,2.33,3.1)
  80.     for i = 1,5 do
  81.         floor.Transparency = floor.Transparency - 0.1
  82.         wait(.1)
  83.     end
  84. end)
  85. x1()
  86. x()
  87. while true do
  88.     flood.Size = flood.Size + Vector3.new(0,0.2,0)
  89.     flood.Position = flood.Position + Vector3.new(0,0.1,0)
  90.     wait()
  91. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement