kingkoolie

Untitled

Jan 27th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. --Variables--
  2. local p = game.Players.LocalPlayer
  3. local c = p.Character
  4. local m = p:GetMouse()
  5. local tor = c:WaitForChild("Torso")
  6. local h = c:WaitForChild("Head")
  7. local rl = c:WaitForChild("Right Leg")
  8. local ll = c:WaitForChild("Left Leg")
  9. local ra = c:WaitForChild("Right Arm")
  10. local rl = c:WaitForChild("Left Leg")
  11. local hum = c:WaitForChild("Humanoid")
  12. local gui = p.PlayerGui
  13. --end--
  14. --Coroutines--
  15. --local chain = coroutine.create(function(Torso,num)
  16. -- local pw = Instance.new("MeshPart")
  17. -- for o=1, num do
  18. -- if Torso.Parent==nil then
  19. -- return
  20. -- end
  21. -- pw.Parent = Torso
  22. -- local cr = math.random(1,2)
  23. -- if cr == 1 then
  24. -- pw.BrickColor = BrickColor.new("Really blue")
  25. -- else
  26. -- pw.BrickColor = BrickColor.new("Magenta")
  27. -- end
  28. -- pw.Anchored = true
  29. -- pw.CanCollide = false
  30. -- pw.CFrame = Torso.CFrame
  31. --
  32. -- wait()
  33. --
  34. -- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)CFrame.Angles(0,math.random(-100,100)/100,0) wait() end part.Parent=nil end),pw,Vector3.new(0,0,0))
  35. --end
  36. --
  37. --pw:remove()
  38. --end)
  39. DCCO3=function(Torso,ti)
  40. for o=1, ti do
  41. if Torso.Parent==nil then
  42. return
  43. end
  44. p2=Instance.new("MeshPart")
  45. p2.MeshID = "rbxassetid://436916654"
  46. p2.Name="Blast2"
  47. p2.TopSurface=0
  48. p2.BottomSurface=0
  49. p2.CanCollide=false
  50. p2.Anchored=true
  51. local cr = math.random(1,2)
  52. if cr == 1 then
  53. p2.BrickColor = BrickColor.new("Really blue")
  54. else
  55. p2.BrickColor = BrickColor.new("Magenta")
  56. end
  57. p2.Size=Vector3.new(1,1,1)
  58. p2.formFactor="Symmetric"
  59. p2.CFrame=Torso.CFrame
  60. p2.Parent=Torso
  61. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-10,10), math.random(0,0), math.random(0,0)) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  62. wait(.025)
  63. end
  64. end
  65. DCCO5=function(part,Torso,ti)
  66. for o=1, ti do
  67. if Torso.Parent==nil then
  68. return
  69. end
  70.  
  71. local pw = Instance.new("MeshPart")
  72. pw.Parent = Torso
  73. local cr = math.random(1,2)
  74. if cr == 1 then
  75. pw.BrickColor = BrickColor.new("Really blue")
  76. else
  77. pw.BrickColor = BrickColor.new("Magenta")
  78. end
  79. pw.Anchored = true
  80. pw.CanCollide = false
  81. pw.CFrame = Torso.CFrame
  82. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll*.20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(0,0), math.random(-100,100)/100, math.random(0,0)) wait() end part.Parent=nil end),pw,Vector3.new(0,0,0))
  83. wait(.025)
  84.  
  85. end
  86. end
  87. --end--
  88.  
  89. p.Chatted:connect(function(msg)
  90. if msg:sub(1,28) == "remember what you did to me?" then
  91. print'Activated'
  92. coroutine.resume(coroutine.create(DCCO3),tor,20)
  93. end
  94. end)
Advertisement
Add Comment
Please, Sign In to add comment