kingkoolie

Untitled

Jul 22nd, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local c = p.Character
  3. local t = c:WaitForChild("Torso")
  4. local h = c.Head
  5. local hum = c.Humanoid
  6. local la = c["Left Arm"]
  7. local ra = c["Right Arm"]
  8. local ll = c["Left Leg"]
  9. local rl = c["Right Leg"]
  10. local m = p:GetMouse()
  11. local i = 1
  12. m.KeyDown:connect(function(k)
  13. if k:lower() == "q" then
  14.  
  15. coroutine.resume(coroutine.create(function()
  16. local pd = 1500
  17. while pd > 10 do
  18. i = i + 10
  19. pd = pd - 10
  20. local e = Instance.new("Part")
  21. e.Parent = t
  22. e.Material = "Neon"
  23. e.Size = Vector3.new(10,10,10)
  24. e.CFrame = t.CFrame*CFrame.new(math.random(-100,100),0,math.random(-100,100))
  25. e.Touched:connect(function(hit)
  26. if hit.Parent == workspace then
  27. e.BrickColor = BrickColor.new("Lime green")
  28. end
  29. end)
  30. em = Instance.new("SpecialMesh",e)
  31. em.MeshType = "Brick"
  32. em.Scale = Vector3.new(1,1,1)
  33. e.Anchored = true
  34. e.CanCollide = false
  35. wait()
  36. coroutine.resume(coroutine.create(function(c)
  37.  
  38. for i=1,50 do
  39. c.Mesh.Scale = c.Mesh.Scale + Vector3.new(0,1,0)
  40. wait()
  41. end
  42. for i=1,50 do
  43. c.Mesh.Scale = c.Mesh.Scale - Vector3.new(0,1,0)
  44. wait()
  45. end
  46. c:remove()
  47. wait()
  48. end),e)
  49. coroutine.resume(coroutine.create(function(c)
  50. c.Touched:connect(function(h)
  51. if h.Parent:isA("Model") and h.Parent.Name ~="SuperiorSpringy" or h.Parent.Name ~="0Kushy_Silver" then
  52. for i=1,50 do
  53. h.Parent:FindFirstChild("Humanoid"):TakeDamage(i/10)
  54. wait()
  55. end
  56. c:remove()
  57. wait()
  58. end
  59. end)
  60. end),e)
  61.  
  62. end
  63. end))
  64. end
  65. end)
Advertisement
Add Comment
Please, Sign In to add comment