Advertisement
Friaza

Untitled

Dec 24th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.91 KB | None | 0 0
  1.  
  2.  
  3. Table = {}
  4. mouse = game.Players.LocalPlayer:GetMouse()
  5. Player = game.Players.LocalPlayer
  6. wait(1)
  7. local enabled = true
  8. local zoan = false
  9. local r = Player.Character.HumanoidRootPart.RootJoint
  10. local Running = false
  11. local enabled2 = true
  12. local cut = false
  13. local cut2 = false
  14. local enabled3 = true
  15. local LS = Player.Character.Torso["Left Shoulder"]
  16. local RS = Player.Character.Torso["Right Shoulder"]
  17. local Punching = false
  18. local BeamHit = false
  19. local rev = false
  20.  
  21.  
  22.  
  23.  
  24. function Punch(key)
  25. key = key:lower()
  26. if (key == "e" or key == "j") and enabled2 == true then
  27. enabled2 = false
  28. Punching = true
  29. function Punch(Part)
  30. if Part.Parent:FindFirstChild("Humanoid") and Punching == true and Part.Parent:FindFirstChild("Punched" ..Player.Character.Name) == nil then
  31. Punchedb2 = Instance.new("IntValue", Part.Parent)
  32. game.Debris:AddItem(Punchedb2, 0.15)
  33. Punchedb2.Name = "Punched" ..Player.Character.Name
  34. Punchedb2.Value = 1
  35. if Part.Parent.Humanoid:FindFirstChild("damage") then
  36.  
  37. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -1.5
  38. else
  39. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -1
  40. end
  41. end
  42. end
  43.  
  44. function Punch2(Part)
  45. if Part.Parent:FindFirstChild("Humanoid") and Punching == true and Part.Parent:FindFirstChild("Punched2" ..Player.Character.Name) == nil then
  46. Punchedb = Instance.new("IntValue", Part.Parent)
  47. game.Debris:AddItem(Punchedb, 0.15)
  48. Punchedb.Name = "Punched2" ..Player.Character.Name
  49. Punchedb.Value = 1
  50. if Part.Parent.Humanoid:FindFirstChild("damage") then
  51.  
  52. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -1.5
  53. else
  54. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -1
  55. end
  56. end
  57. end
  58. Player.Character["Right Arm"].Touched:connect(Punch2)
  59. Player.Character["Left Arm"].Touched:connect(Punch)
  60. Player.Character.Humanoid.WalkSpeed = 24
  61. Punching = true
  62. for i = 1, 5 do
  63. Punching = true
  64. RS.C0 = RS.C0 *CFrame.Angles(0, 0, 1.6)
  65. LS.C0 = LS.C0 *CFrame.Angles(0, 0, -1.6)
  66. wait(0.1)
  67. RS.C0 = RS.C0 *CFrame.Angles(0, 0, -1.6)
  68. LS.C0 = LS.C0 *CFrame.Angles(0, 0, 1.6)
  69. wait()
  70.  
  71. for i = 1,2 do
  72. RS.C0 = RS.C0 *CFrame.Angles(0, 0, -0.7)
  73. LS.C0 = LS.C0 *CFrame.Angles(0, 0, 0.7)
  74. wait()
  75. end
  76. Punching = false
  77. RS.C0 = RS.C0 *CFrame.Angles(0, 0, 1.4)
  78. LS.C0 = LS.C0 *CFrame.Angles(0, 0, -1.4)
  79. wait()
  80. end
  81. Punching = false
  82. enabled2 = true
  83. Player.Character.Humanoid.WalkSpeed = 16
  84. end
  85. end
  86.  
  87.  
  88.  
  89.  
  90. function Morph(key)
  91. key = key:lower()
  92. if enabled == true and (key == "q" or key == "h") and enabled2 == true then
  93. enabled = false
  94. enabled2 = false
  95. x = Instance.new("Part")
  96. Player.Character.Humanoid.WalkSpeed = 25
  97. bv = Instance.new("BodyVelocity", x)
  98. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  99. x.CanCollide = false
  100. Player.Character.Torso.Anchored = true
  101. x.Name = "Noro" ..Player.Character.Name
  102. x.Size = Vector3.new(6,6,3)
  103. Player.Character.Torso.CFrame = CFrame.new(Player.Character.Torso.Position,mouse.Hit.p)
  104. x.Transparency = 0.6
  105. BeamHit = false
  106. x.BrickColor = BrickColor.new("Royal purple")
  107. y = Instance.new("SpecialMesh", x)
  108. y.MeshType = "FileMesh"
  109. y.MeshId = "http://www.roblox.com/asset/?id=3270017"
  110. y.Scale = Vector3.new(0, 0, 0)
  111. if Player.Character.Humanoid.Jump == true then
  112. Rev = true
  113. am1 = -0.8
  114. am2 = 0.8
  115. else
  116. am1 = 0.8
  117. am2 = -0.8
  118. Rev = false
  119. end
  120. for i = 1, 2 do
  121. RS.C0 = RS.C0 *CFrame.Angles(0, 0, am1)
  122. LS.C0 = LS.C0 *CFrame.Angles(0, 0, am2)
  123. wait()
  124. end
  125. for i = 1, 7 do
  126. x2 = x:clone()
  127. x2.CFrame = Player.Character.Torso.CFrame *CFrame.new(0, 0, -3)
  128. game.Debris:AddItem(x2, 3.5)
  129. x2.Parent = Workspace
  130. y = x2.Mesh
  131. y.Scale = Vector3.new(0.8, 0.8, 1)
  132. bv = x2.BodyVelocity
  133. bv.velocity = Player.Character.Torso.CFrame.lookVector *35
  134. for i = 1, 3 do
  135. y.Scale = y.Scale +Vector3.new(1.1, 1.1, 1.1)
  136. wait()
  137. end
  138.  
  139. function Beam(Hit)
  140. local Human = Hit.Parent:FindFirstChild("Humanoid")
  141. if Human and Hit.Parent.Name ~= Player.Name then
  142. if not Human:FindFirstChild("damage") then
  143. Human.WalkSpeed = 0
  144. table.insert(Table,Hit.Parent)
  145. local damage = Instance.new("IntValue",Human)
  146. damage.Name = "damage"
  147. damage.Value = 0
  148. local init = Instance.new("IntValue",Human)
  149. init.Value = Human.Health
  150. init.Name = "init"
  151. bv = Instance.new("BodyVelocity", Hit.Parent.Torso)
  152. game.Debris:AddItem(bv, 31)
  153. bv.velocity = Vector3.new(0, 0, 0)
  154. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  155. end
  156. end
  157. end
  158.  
  159. function SlowMo(Part)
  160. if Part.Parent == "Workspace" and Part.Anchored == false and Part:FindFirstChild("BodyVelocity") and Part.Name ~= ("Noro" ..Player.Character.Name) and Part:FindFirstChild("Slowed0") == nil then
  161. Slow = Instance.new("IntValue", Part)
  162. game.Debris:AddItem(Slow, 5)
  163. Slow.Name = "Slowed0"
  164. Slow.Value = 1
  165. a = Part.BodyVelocity.velocity.X
  166. b = Part.BodyVelocity.velocity.Y
  167. z = Part.BodyVelocity.velocity.Z
  168. if Part:FindFirstChild("AngularBodyVelocity") then
  169. a2 = Part.AngularBodyVelocity.velocity.X
  170. b2 = Part.AngularBodyVelocity.velocity.Y
  171. z2 = Part.AngularBodyVelocity.velocity.Z
  172. Part.AngularBodyVelocity.velocity = Vector3.new(Part.AngularBodyVelocity.velocity.X/20, Part.AngularBodyVelocity.velocity.Y/20, Part.AngularBodyVelocity.velocity.Z/20)
  173. end
  174. p1 = Part
  175. p1v = Part.BodyVelocity
  176. Part.BodyVelocity.velocity = Vector3.new(Part.BodyVelocity.velocity.X /20, Part.BodyVelocity.velocity.Y/20, Part.BodyVelocity.velocity.Z/20)
  177. if Part.Shape == "Ball" and Part.Size.X <= 2 and Part.Size.Y <= 2 and Part.Size.Z <= 2 and Part.Anchored == false then
  178. Part.Anchored = true
  179. end
  180. if Part:FindFirstChild("BodyPosition") then Part.Anchored = true end
  181. if Part:FindFirstChild("BodyVelocity") == nil and Part:FindFirstChild("Weld") == nil and Part.Anchored == false then
  182. bv8 = Instance.new("BodyVelocity", Part)
  183. game.Debris:AddItem(bv8, 6)
  184. bv8.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  185. bv8.velocity = Vector3.new(0, 0, 0)
  186. Part.Anchored = true
  187. wait(3)
  188. Part.Anchored = false
  189. end
  190. for i = 1, 300 do
  191. if p1 == nil then
  192. p1.Parent = Workspace
  193. else
  194. if p1v == nil then
  195. p1v.Parent = p1
  196. end
  197. end
  198. wait(0.1)
  199. end
  200. if Part and Part.Shape == "Ball" and Part.Size.X <= 2 and Part.Size.Y <= 2 and Part.Size.Z <= 2 and Part.Anchored == true then
  201. Part.Anchored = false
  202. end
  203. if Part and Part:FindFirstChild("BodyPosition") then Part.Anchored = false end
  204. if Part and Part:FindFirstChild("AngularBodyVelocity") and a2 and b2 and z2 then
  205. a2 = Part.AngularBodyVelocity.velocity.X
  206. b2 = Part.AngularBodyVelocity.velocity.Y
  207. z2 = Part.AngularBodyVelocity.velocity.Z
  208. Part.AngularBodyVelocity.velocity = Vector3.new(Part.AngularBodyVelocity.velocity.X/20, Part.AngularBodyVelocity.velocity.Y/20, Part.AngularBodyVelocity.velocity.Z/20)
  209. end
  210. if p1 then
  211. game.Debris:AddItem(p1, 10)
  212. p1.BodyVelocity.velocity = Vector3.new(a, b, c)
  213. end
  214. end
  215. end
  216. x2.Touched:connect(SlowMo)
  217. x2.Touched:connect(Beam)
  218. wait()
  219. end
  220. --end
  221. wait()
  222.  
  223. Spawn(function()
  224. for i=1, 300 do
  225. wait(0.1)
  226.  
  227. for i, v in pairs(Table) do
  228. pcall(function() --in case Humanoid doesnt exist like if the player leaves
  229. if v.Humanoid:FindFirstChild("noh") == nil then
  230. v.Humanoid.AutoRotate = false
  231. v. Humanoid.damage.Value = v.Humanoid.damage.Value + (v.Humanoid.init.Value - v.Humanoid.Health)
  232. v.Humanoid.Health = v.Humanoid.init.Value
  233. else
  234. v.Humanoid.AutoRotate = true
  235. end
  236. end)
  237. end
  238.  
  239. end
  240. for i, v in pairs(Table) do
  241. print(v.Humanoid.damage.Value)
  242. print(v.Name)
  243. noh = Instance.new("IntValue", v.Humanoid)
  244. noh.Name = "noh"
  245. noh.Value = 1
  246. game.Debris:AddItem(noh, 5)
  247. v.Humanoid.AutoRotate = true
  248. for i = 1, 10 do
  249. if v.Humanoid:FindFirstChild("damage") then
  250. if v.Humanoid.damage.Value >= 15 then
  251. s = Instance.new("Sound", v.Head)
  252. s.SoundId = "http://www.roblox.com/asset/?id=46153268"
  253. rp = math.random((48 -v.Humanoid.damage.Value/11),(58-v.Humanoid.damage.Value/11))
  254. rv = math.random((1 +v.Humanoid.damage.Value /20),(2 +v.Humanoid.damage.Value /20))
  255. rp = rp /50
  256. rv = rv /15
  257.  
  258. game.Debris:AddItem(s, 0.5)
  259. s.Pitch = rp
  260. s.Volume = rv
  261. s.Parent = v.Head
  262. s:Play()
  263. end
  264. cf = v.Torso.CFrame
  265. if v.Humanoid.damage.Value >= 35 then
  266. v.Torso.CFrame = cf *CFrame.Angles(math.random(-1, 1), math.random(-1,1), math.random(-1, 1))
  267. elseif v.Humanoid.damage.Value < 35 and v.Humanoid.damage.Value > 20 then
  268. if v.Humanoid.Sit == true then v.Humanoid.Sit = false elseif v.Humanoid.Sit == false then v.Humanoid.Sit = true end
  269. end
  270. if i == 10 then
  271. game.Debris:AddItem(v.Humanoid.damage, 3)
  272. if v.Humanoid.damage.Value >= 25 then
  273. v.Humanoid.Sit = true
  274. end
  275. end
  276. end
  277. v.Humanoid.Health = v.Humanoid.Health -v.Humanoid.damage.Value /10
  278. wait(0.1)
  279. end
  280.  
  281. if v.Humanoid:FindFirstChild("damage") and v.Humanoid:FindFirstChild("init") then
  282. v.Humanoid.damage:Destroy()
  283. v.Humanoid.init:Destroy()
  284. end
  285.  
  286. v.Humanoid.WalkSpeed = 16
  287. end
  288. Table = {}
  289. end)
  290.  
  291. for i = 1, 2 do
  292. RS.C0 = RS.C0 *CFrame.Angles(0, 0, am2)
  293. LS.C0 = LS.C0 *CFrame.Angles(0, 0, am1)
  294. wait()
  295. end
  296. Player.Character.Humanoid.WalkSpeed = 16
  297. Player.Character.Torso.Anchored = false
  298. enabled2 = true
  299. Player.Character.Humanoid.Sit = true
  300. wait()
  301. Player.Character.Humanoid.Sit= false
  302. wait(0.2)
  303. enabled = true
  304. end
  305. end
  306.  
  307. mouse.KeyDown:connect(Morph)
  308. mouse.KeyDown:connect(Punch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement