Advertisement
Mrnoobboy32

Untitled

Mar 1st, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. print("Animator Loaded.")
  2. local name = "Mrnoobboy32"
  3. while (game.Players[name].Character == nil) do wait() end
  4. print("Player found. :)")
  5. local player = game.Players[name].Character
  6. local human = player.Humanoid
  7. local block = Instance.new("Part")
  8. block.FormFactor = "Symmetric"
  9. block.Size = Vector3.new(1, 1, 1)
  10. block.Transparency = 1
  11. block.CanCollide = false
  12. block.Locked = true
  13. local sword = Instance.new("Part")
  14. sword.FormFactor = "Plate"
  15. sword.Shape = "Block"
  16. sword.Size = Vector3.new(1, 0.8, 4)
  17. sword.Transparency = 1
  18. sword.CanCollide = false
  19. local mesh = Instance.new("SpecialMesh")
  20. mesh.MeshType = "FileMesh"
  21. mesh.MeshId = "http://www.roblox.com/asset/?id=11996935"
  22. mesh.Scale = Vector3.new(1.4,1.4,1.4)
  23. mesh.TextureId = "http://www.roblox.com/asset/?id=23719291"
  24. mesh.Parent = sword
  25.  
  26. local SlashSound = Instance.new("Sound")
  27. SlashSound.SoundId = "http://www.roblox.com/asset/?id=11998777"
  28. SlashSound.Pitch = 1.4
  29. SlashSound.Looped = true
  30. SlashSound.Name = "Voom"
  31. SlashSound.Parent = sword
  32. snd = Instance.new("Sound")
  33. snd.SoundId = "http://www.roblox.com/asset/?id=2233908"
  34. snd.Volume = 1
  35. snd.Name = "Boom"
  36. snd.Parent = sword
  37. local UnsheathSound = Instance.new("Sound")
  38. UnsheathSound.SoundId = "http://www.roblox.com/asset/?id=11998770"
  39. UnsheathSound.Name = "Go"
  40. UnsheathSound.Volume = 0.5
  41. UnsheathSound.Parent = sword
  42. local sparkle = Instance.new("Sparkles")
  43. sparkle.SparkleColor = Color3.new(0, 255, 155)
  44. sparkle.Parent = sword
  45. sparkle.Enabled = false
  46.  
  47. local sword2 = sword:Clone()
  48. local lsweld = Instance.new("Weld")
  49. local rsweld = Instance.new("Weld")
  50. local lPosBase = block:Clone()
  51. local lPosWeld = Instance.new("Weld")
  52. local lRotBase = block:Clone()
  53. local lRotWeld = Instance.new("Weld")
  54. local lArmWeld = Instance.new("Weld")
  55. local rPosBase = block:Clone()
  56. local rPosWeld = Instance.new("Weld")
  57. local rRotBase = block:Clone()
  58. local rRotWeld = Instance.new("Weld")
  59. local rArmWeld = Instance.new("Weld")
  60. local hRotBase = block:Clone()
  61. local hRotWeld = Instance.new("Weld")
  62. local headWeld = Instance.new("Weld")
  63.  
  64. lPosBase.Name = "LPosBase"
  65. lPosWeld.Name = "LPosWeld"
  66. lRotBase.Name = "LRotBase"
  67. lRotWeld.Name = "LRotWeld"
  68. lPosWeld.Part0 = player.Torso
  69. lPosWeld.Part1 = lPosBase
  70. lPosWeld.C1 = CFrame.new(1.5, -0.5, 0)
  71. lPosWeld.Parent = player.Torso
  72. lPosBase.Parent = player
  73. lRotWeld.Part0 = lPosBase
  74. lRotWeld.Part1 = lRotBase
  75. lRotWeld.Parent = player.Torso
  76. lRotBase.Parent = player
  77. lArmWeld.Part0 = lRotBase
  78. lArmWeld.C1 = CFrame.new(0, 0.5, 0)
  79. lArmWeld.Parent = player.Torso
  80.  
  81. rPosBase.Name = "RPosBase"
  82. rPosWeld.Name = "RPosWeld"
  83. rRotBase.Name = "RRotBase"
  84. rRotWeld.Name = "RRotWeld"
  85. rPosWeld.Part0 = player.Torso
  86. rPosWeld.Part1 = rPosBase
  87. rPosWeld.C1 = CFrame.new(-1.5, -0.5, 0)
  88. rPosWeld.Parent = player.Torso
  89. rPosBase.Parent = player
  90. rRotWeld.Part0 = rPosBase
  91. rRotWeld.Part1 = rRotBase
  92. rRotWeld.Parent = player.Torso
  93. rRotBase.Parent = player
  94. rArmWeld.Part0 = rRotBase
  95. rArmWeld.C1 = CFrame.new(0, 0.5, 0)
  96. rArmWeld.Parent = player.Torso
  97.  
  98. hRotBase.Name = "HRotBase"
  99. hRotWeld.Name = "HRotWeld"
  100. headWeld.Name = "HeadWeld"
  101. hRotWeld.Part0 = player.Torso
  102. hRotWeld.Part1 = hRotBase
  103. hRotWeld.C1 = CFrame.new(0, -1.5, 0)
  104. hRotWeld.Parent = player.Torso
  105. hRotBase.Parent = player
  106. headWeld.Part0 = hRotBase
  107. headWeld.Parent = player.Torso
  108.  
  109. lsweld.Part0 = lRotBase
  110. rsweld.Part0 = rRotBase
  111. lsweld.Part1 = sword
  112. rsweld.Part1 = sword2
  113. lsweld.C1 = CFrame.new(0, 0, -3.5)*CFrame.Angles(math.rad(270), math.rad(90), 0)
  114. rsweld.C1 = CFrame.new(0, 0, -3.5)*CFrame.Angles(math.rad(270), math.rad(90), 0)
  115. lsweld.Parent = player.Torso
  116. rsweld.Parent = player.Torso
  117. sword.Parent = player
  118. sword2.Parent = player
  119. sword.Voom:Stop()
  120. sword2.Voom:Stop()
  121.  
  122. lArmWeld.Part1 = player:FindFirstChild("Left Arm")
  123. rArmWeld.Part1 = player:FindFirstChild("Right Arm")
  124. headWeld.Part1 = player:FindFirstChild("Head")
  125. sword.Transparency = 0
  126. sword2.Transparency = 0
  127. sword.Go:Play()
  128. sword2.Go:Play()
  129. sword.Sparkles.Enabled = true
  130. sword2.Sparkles.Enabled = true
  131.  
  132. function boom(part)
  133. wait()
  134. if part == nil or tselected == false then return end
  135. if part.Anchored then return end
  136. if part.Parent == player or part.Parent.Parent == player then return end
  137. if part == swordl or part == swordr then return end
  138. if part:FindFirstChild("Sparkles") then return end
  139. human:TakeDamage(-1)
  140. sword.Sparkles:Clone().Parent = part
  141. sword.Go:Play()
  142. sword2.Go:Play()
  143. wait(0.5)
  144. part:BreakJoints()
  145. part.Velocity = Vector3.new(part.Velocity.X+ math.random(10, 20), part.Velocity.Y + math.random(100, 200), part.Velocity.Z+ math.random(10, 20))
  146. game.Debris:AddItem(part, 10)
  147. end
  148.  
  149. human.MaxHealth = 400
  150. if player:FindFirstChild("ForceField") then
  151. player.ForceField:Destroy()
  152. end
  153. human.WalkSpeed = 80
  154. for i = 1, 20 do
  155. lRotWeld.C1 = CFrame.Angles(math.rad(-i*4.5), 0,0)
  156. rRotWeld.C1 = CFrame.Angles(math.rad(-i*4.5), 0,0)
  157. wait(0.05)
  158. human:TakeDamage(-15)
  159. end
  160. sword.Voom:Play()
  161. sword2.Voom:Play()
  162. sword.Touched:connect(boom)
  163. sword2.Touched:connect(boom)
  164. human.Jumping:connect(function()if tselected == false then return end player.Torso.Velocity = Vector3.new(player.Torso.Velocity.X, player.Torso.Velocity.Y + 40, player.Torso.Velocity.Z)end)
  165. while true do
  166. lRotWeld.C1 = CFrame.Angles(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360)))
  167. rRotWeld.C1 = CFrame.Angles(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360)))
  168. wait()
  169. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement