Advertisement
kakeru012435

ALL MIGHT!! XDDDD

Jul 22nd, 2017
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.60 KB | None | 0 0
  1. --[[Name:The Jully Of Death]]--
  2. --[[Create:KingAbsalom]]--
  3. --[[Edit:Skrubl0rdzI]]--
  4. --[[Edit at 2017:kakeru012435]]--
  5. local p = game.Players.LocalPlayer
  6. local char = p.Character
  7. local mouse = p:GetMouse()
  8. local larm = char["Left Arm"]
  9. local rarm = char["Right Arm"]
  10. local lleg = char["Left Leg"]
  11. local rleg = char["Right Leg"]
  12. local hed = char.Head
  13. local torso = char.Torso
  14. local hum = char.Humanoid
  15. local cam = game.Workspace.CurrentCamera
  16. local root = char.HumanoidRootPart
  17. local rj = root.RootJoint
  18. local deb = false
  19. local shot = 0
  20. local stanceToggle = "Idle1"
  21. local l = game:GetService("Lighting")
  22. local rs = game:GetService("RunService").RenderStepped
  23. local hb = game:GetService("RunService").Heartbeat
  24. local Stepped = game:GetService("RunService").Stepped
  25. TorsoColor = torso.BrickColor
  26. hed.face:Destroy()
  27. local glowz = Instance.new("Fire",torso)
  28. glowz.Size = 15
  29. glowz.Heat = 0
  30. local glowz = Instance.new("Fire",torso)
  31. glowz.Size = 15
  32. glowz.Heat = 0
  33. local glowz = Instance.new("Fire",torso)
  34. glowz.Size = 15
  35. glowz.Heat = 0
  36. local glowz = Instance.new("Fire",torso)
  37. glowz.Size = 15
  38. glowz.Heat = 0
  39. hum.JumpPower = 360
  40. hum.WalkSpeed = 1000
  41. Debounces = {
  42. CanAttack = true;
  43. NoIdl = false;
  44. Slashing = false;
  45. Slashed = false;
  46. RPunch = false;
  47. RPunched = false;
  48. LPunch = false;
  49. LPunched = false;
  50. }
  51. local Touche = {char.Name, }
  52. for i,v in pairs(char:children()) do
  53. if v:IsA("Hat") then
  54. v:Destroy()
  55. end
  56. end
  57. for i,v in pairs(char:children()) do
  58. if v:IsA("Accessory") then
  59. v:Destroy()
  60. end
  61. end
  62. for i,v in pairs(char:children()) do
  63. if v:IsA("Hair") then
  64. v:Destroy()
  65. end
  66. end
  67. for i,v in pairs(char:children()) do
  68. if v:IsA("Shirt") then
  69. v:Destroy()
  70. end
  71. end
  72. for i,v in pairs(char:children()) do
  73. if v:IsA("Pants") then
  74. v:Destroy()
  75. end
  76. end
  77. fat = Instance.new("BindableEvent", script)
  78. fat.Name = "Heartbeat"
  79. script:WaitForChild("Heartbeat")
  80. frame = 0.013333333333333
  81. tf = 0
  82. allowframeloss = false
  83. tossremainder = false
  84. lastframe = tick()
  85. script.Heartbeat:Fire()
  86. local ss = Instance.new("Sound",char)
  87. ss.Volume = 1.6
  88. ss.Looped = true
  89. ss.Pitch = 1
  90. ss.SoundId = "rbxassetid://163878473"
  91. ss:Play()
  92. function sbchat(msg,displayname)
  93. if not displayname then
  94. displayname = 'bela'
  95. end
  96. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  97. local st = Instance.new('StringValue')
  98. st.Name = 'SB_Chat'
  99. st.Value = displayname..'/'..msg
  100. delay(0.2,function() st.Parent = v end)
  101. end
  102. end
  103.  
  104. sbchat("Greatest Hero!!",'[All Might!]')
  105. spawn(function() --_RHas
  106. local ef1=Instance.new('Part',larm)
  107. local am=Instance.new('BlockMesh',ef1)
  108. ef1.Anchored,ef1.CanCollide=false,false
  109. ef1.Transparency=0.3
  110. ef1.Material = "Sand"
  111. am.Scale=Vector3.new(5.5,5.5,5.5)
  112. ef1.Size=Vector3.new(.2,.2,.2)
  113. local ef2=ef1:Clone()
  114. local ef3=ef2:Clone()
  115. local ef4=ef3:Clone()
  116. ef2.Material = "Sand"
  117. ef3.Material = "Sand"
  118. ef4.Material = "Sand"
  119. ef3.Parent,ef4.Parent=larm,rarm
  120. ef2.Parent=lleg
  121. local wa,wb=Instance.new('Weld',larm),Instance.new('Weld',larm)
  122. local wc,wd=Instance.new('Weld',rarm),Instance.new('Weld',rarm)
  123. wa.Part0,wb.Part0=larm,rarm
  124. wa.Part1,wb.Part1=ef1,ef2
  125. wc.Part0,wd.Part0=larm,rarm
  126. wc.Part1,wd.Part1=ef3,ef4
  127. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  128. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  129. while wait(0) do
  130. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  131. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  132. ef1.BrickColor=BrickColor.new("Dark red")
  133. ef3.BrickColor=BrickColor.new("Dark red")
  134. ef4.BrickColor=BrickColor.new("Dark red")
  135. ef2.BrickColor=BrickColor.new("Dark red")
  136. end
  137. end)
  138. spawn(function() --_RHas
  139. local ef1=Instance.new('Part',lleg)
  140. local am=Instance.new('BlockMesh',ef1)
  141. ef1.Anchored,ef1.CanCollide=false,false
  142. ef1.Transparency=0.3
  143. ef1.Material = "Sand"
  144. am.Scale=Vector3.new(5.5,5.5,5.5)
  145. ef1.Size=Vector3.new(.2,.2,.2)
  146. local ef2=ef1:Clone()
  147. local ef3=ef2:Clone()
  148. local ef4=ef3:Clone()
  149. ef2.Material = "Sand"
  150. ef3.Material = "Sand"
  151. ef4.Material = "Sand"
  152. ef3.Parent,ef4.Parent=lleg,rleg
  153. ef2.Parent=lleg
  154. local wa,wb=Instance.new('Weld',lleg),Instance.new('Weld',lleg)
  155. local wc,wd=Instance.new('Weld',rleg),Instance.new('Weld',rleg)
  156. wa.Part0,wb.Part0=lleg,rleg
  157. wa.Part1,wb.Part1=ef1,ef2
  158. wc.Part0,wd.Part0=lleg,rleg
  159. wc.Part1,wd.Part1=ef3,ef4
  160. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  161. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  162. while wait(0) do
  163. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  164. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  165. ef1.BrickColor=BrickColor.new("Dark red")
  166. ef3.BrickColor=BrickColor.new("Dark red")
  167. ef4.BrickColor=BrickColor.new("Dark red")
  168. ef2.BrickColor=BrickColor.new("Dark red")
  169. end
  170. end)
  171. spawn(function() --_RHas
  172. local ef1=Instance.new('Part',hed)
  173. local am=Instance.new('BlockMesh',ef1)
  174. ef1.Anchored,ef1.CanCollide=false,false
  175. ef1.Transparency=0.7
  176. ef1.Material = "Sand"
  177. am.Scale=Vector3.new(40,40,40)
  178. ef1.Size=Vector3.new(.2,.2,.2)
  179. local ef2=ef1:Clone()
  180. local ef3=ef2:Clone()
  181. local ef4=ef3:Clone()
  182. ef2.Material = "Neon"
  183. ef3.Material = "Neon"
  184. ef4.Material = "Neon"
  185. ef3.Parent,ef4.Parent=hed,hed
  186. ef2.Parent=lleg
  187. local wa,wb=Instance.new('Weld',hed),Instance.new('Weld',hed)
  188. local wc,wd=Instance.new('Weld',hed),Instance.new('Weld',hed)
  189. wa.Part0,wb.Part0=hed,hed
  190. wa.Part1,wb.Part1=ef1,ef2
  191. wc.Part0,wd.Part0=hed,hed
  192. wc.Part1,wd.Part1=ef3,ef4
  193. wa.C0,wb.C0=CFrame.new(0,-2,0),CFrame.new(0,-3,0)
  194. wc.C0,wd.C0=CFrame.new(0,-2,0),CFrame.new(0,-3,0)
  195. while wait(0) do
  196. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  197. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  198. ef1.BrickColor=BrickColor.new("Dark red")
  199. ef3.BrickColor=BrickColor.new("Dark red")
  200. ef4.BrickColor=BrickColor.new("Dark red")
  201. ef2.BrickColor=BrickColor.new("Dark red")
  202. end
  203. end)
  204. local runServ = game:GetService("RunService").RenderStepped
  205.  
  206. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  207. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  208. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  209. HBill.Size = UDim2.new(15,0,2.2,0)
  210. HBill.Name = "Health Display"
  211. HBill.StudsOffset = Vector3.new(0,4,0)
  212. HBill.AlwaysOnTop = true
  213. HBill.Enabled = true
  214. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  215. HMain.BackgroundTransparency = 1
  216. HMain.Size = UDim2.new(1,0,1,0)
  217. HBarBack.Parent = HMain
  218. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  219. HBarBack.BorderColor3 = Color3.new(0,0,0)
  220. HBarBack.BorderSizePixel = 2
  221. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  222. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  223. HBar.Parent = HBarBack
  224. HBar.BackgroundColor3 = Color3.new(1, 0, 0)
  225. HBar.BorderColor3 = Color3.new(0,0,0)
  226. HBar.Size = UDim2.new(.5,0,1,0)
  227. HHealth.BackgroundTransparency = 1
  228. HHealth.Size = UDim2.new(1,0,1,0)
  229. HHealth.Font = "Code"
  230. HHealth.Text = " "
  231. HHealth.TextScaled = true
  232. HHealth.TextColor3 = Color3.new(1,1,1)
  233. HHealth.TextStrokeColor3 = Color3.new(1,0,0)
  234. HHealth.TextStrokeTransparency = 0
  235. HName.Parent = HMain
  236. HName.BackgroundTransparency = 1
  237. HName.Size = UDim2.new(1,0,.5,0)
  238. HName.Font = "Code"
  239. HName.Text = "All Might"
  240. HName.TextScaled = true
  241. HName.TextColor3 = Color3.new(1,1,1)
  242. HName.TextStrokeColor3 = Color3.new(1,0,0)
  243. HName.TextStrokeTransparency = 0
  244. HName.TextYAlignment = "Top"
  245.  
  246. runServ:connect(function()
  247. HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
  248. HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
  249. end)
  250. game:GetService("RunService").Heartbeat:connect(function(s, p)
  251.  
  252. tf = tf + s
  253. if frame <= tf then
  254. if allowframeloss then
  255. script.Heartbeat:Fire()
  256. lastframe = tick()
  257. else
  258. for i = 1, math.floor(tf / frame) do
  259. script.Heartbeat:Fire()
  260. end
  261. lastframe = tick()
  262. end
  263. if tossremainder then
  264. tf = 0
  265. else
  266. tf = tf - frame * math.floor(tf / frame)
  267. end
  268. end
  269. end
  270. )
  271. for i,v in pairs(hed:GetChildren()) do
  272. if v:IsA("Sound") then
  273. v:Destroy()
  274. end
  275. end
  276. Debounces = {CanAttack = true, CanJoke = true, NoIdl = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Slashing = false, Slashed = false, ks = false, ks2 = false}
  277. weld5 = function(part0, part1, c0, c1)
  278.  
  279. weeld = Instance.new("Weld", part0)
  280. weeld.Part0 = part0
  281. weeld.Part1 = part1
  282. weeld.C0 = c0
  283. weeld.C1 = c1
  284. return weeld
  285. end
  286.  
  287. NewPart = function(prnt, siz, cf, trans, anc, mat, col)
  288.  
  289. local prt = Instance.new("Part")
  290. prt.Parent = prnt
  291. prt.Name = "Part"
  292. prt.Size = siz
  293. prt.CanCollide = false
  294. prt.Anchored = anc
  295. prt.Locked = true
  296. prt.Transparency = trans
  297. prt.TopSurface = 10
  298. prt.BottomSurface = 10
  299. prt.FrontSurface = 10
  300. prt.BackSurface = 10
  301. prt.LeftSurface = 10
  302. prt.RightSurface = 10
  303. prt:BreakJoints()
  304. if not cf then
  305. prt.CFrame = CFrame.new(30, 10, 30)
  306. prt.Material = mat
  307. prt.BrickColor = BrickColor.new(col)
  308. m = Instance.new("SpecialMesh", prt)
  309. m.MeshType = 6
  310. return prt
  311. end
  312. end
  313.  
  314. lerp = function(a, b, t)
  315.  
  316. return a + (b - a) * t
  317. end
  318.  
  319. slerp = function(a, b, t)
  320.  
  321. dot = a:Dot(b)
  322. if t > 0.5 or not a then
  323. do return dot <= 0.99999 and dot >= -0.99999 or b end
  324. r = math.acos(dot)
  325. do return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) end
  326. end
  327. end
  328.  
  329. matrixInterpolate = function(a, b, t)
  330.  
  331. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  332. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  333. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  334. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  335. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  336. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  337. local t = v1:Dot(v2)
  338. if t >= 0 and t ~= 0 and t <= 0 then
  339. return CFrame.new()
  340. end
  341. return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
  342. end
  343.  
  344. genWeld = function(a, b)
  345.  
  346. local w = Instance.new("Weld", a)
  347. w.Part0 = a
  348. w.Part1 = b
  349. return w
  350. end
  351.  
  352. weld = function(a, b)
  353.  
  354. local weld = Instance.new("Weld")
  355. weld.Name = "W"
  356. weld.Part0 = a
  357. weld.Part1 = b
  358. weld.C0 = a.CFrame:inverse() * b.CFrame
  359. weld.Parent = a
  360. return weld
  361. end
  362.  
  363. Lerp = function(c1, c2, al)
  364.  
  365. local com1 = {c1.X, c1.Y, c1.Z, c1:toEulerAnglesXYZ()}
  366. local com2 = {c2.X, c2.Y, c2.Z, c2:toEulerAnglesXYZ()}
  367. for i,v in pairs(com1) do
  368. com1[i] = v + (com2[i] - v) * al
  369. end
  370. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  371. end
  372.  
  373. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  374.  
  375. local wld = Instance.new("Weld", wp1)
  376. wld.Part0 = wp0
  377. wld.Part1 = wp1
  378. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  379. end
  380.  
  381. newWeld(torso, larm, -1.5, 0.5, 0)
  382. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  383. newWeld(torso, rarm, 1.5, 0.5, 0)
  384. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  385. newWeld(torso, hed, 0, 1.5, 0)
  386. newWeld(torso, lleg, -0.5, -1, 0)
  387. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  388. newWeld(torso, rleg, 0.5, -1, 0)
  389. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  390. newWeld(root, torso, 0, -1, 0)
  391. torso.Weld.C1 = CFrame.new(0, -1, 0)
  392. pr = Instance.new("Part",hed)
  393. pr.BrickColor = BrickColor.new("Dark red")
  394. pr.Material = "Neon"
  395. pr.Reflectance = 0
  396. pr.Anchored = false
  397. pr.CanCollide = false
  398. pr.Archivable = false
  399. pr.Locked = true
  400. pr.Size = Vector3.new(1,1,1)
  401. prm = Instance.new("SpecialMesh",pr)
  402. prm.MeshType = "FileMesh"
  403. prm.MeshId = "rbxassetid://560718478"
  404. prm.Scale = Vector3.new(6,6,6)
  405. newWeld(hed, pr, 0, 0, 0)
  406. pr.Weld.C1 = CFrame.new(0,-.8,-.43) * CFrame.Angles(0,0,0)
  407. New = function(Object, Parent, Name, Data)
  408.  
  409. local Object = Instance.new(Object)
  410. if not Data then
  411. for Index,Value in pairs({}) do
  412. Object[Index] = Value
  413. end
  414. Object.Parent = Parent
  415. Object.Name = Name
  416. return Object
  417. end
  418. end
  419. spawn(function() --_RHas
  420. local ef1=Instance.new('Part',part1)
  421. local am=Instance.new('BlockMesh',ef1)
  422. ef1.Anchored,ef1.CanCollide=false,false
  423. ef1.Transparency=0.3
  424. ef1.Material = "Sand"
  425. am.Scale=Vector3.new(0.1,0.1,0.1)
  426. ef1.Size=Vector3.new(0.1)
  427. local ef2=ef1:Clone()
  428. local ef3=ef2:Clone()
  429. local ef4=ef3:Clone()
  430. ef2.Material = "Sand"
  431. ef3.Material = "Sand"
  432. ef4.Material = "Sand"
  433. ef3.Parent,ef4.Parent=part1,part1
  434. ef2.Parent=part1
  435. local wa,wb=Instance.new('Weld',part1),Instance.new('Weld',part1)
  436. local wc,wd=Instance.new('Weld',part1),Instance.new('Weld',part1)
  437. wa.Part0,wb.Part0=part1,part1
  438. wa.Part1,wb.Part1=ef1,ef2
  439. wc.Part0,wd.Part0=part1,part1
  440. wc.Part1,wd.Part1=ef3,ef4
  441. wa.C0,wb.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  442. wc.C0,wd.C0=CFrame.new(0,-1,0),CFrame.new(0,-1,0)
  443. while wait(0) do
  444. wa.C0,wb.C0=wa.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wb.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  445. wc.C0,wd.C0=wc.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),wd.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20)))
  446. ef1.BrickColor=BrickColor.new("Dark red")
  447. ef3.BrickColor=BrickColor.new("Dark red")
  448. ef4.BrickColor=BrickColor.new("Dark red")
  449. ef2.BrickColor=BrickColor.new("Dark red")
  450. end
  451. end)
  452. local animpose = "Idle1"
  453. local lastanimpose = "Idle1"
  454. local grab = false
  455. local Smooth = 0.5
  456. local sine = 0
  457. local change = 0.5
  458. local val = 0
  459. local ffing = false
  460. mod4 = Instance.new("Model", char)
  461. ptez = {0.7, 0.8, 0.9, 1}
  462. FindNearestTorso = function(Position, Distance, SinglePlayer)
  463.  
  464. if SinglePlayer.Torso.CFrame.p - Position.magnitude >= Distance then
  465. do return not SinglePlayer end
  466. do
  467. local List = {}
  468. for i,v in pairs(workspace:GetChildren()) do
  469. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and v.Torso.Position - Position.magnitude <= Distance then
  470. table.insert(List, v)
  471. end
  472. end
  473. do return List end
  474. -- DECOMPILER ERROR: 3 unprocessed JMP targets
  475. end
  476. end
  477. end
  478.  
  479. Slam = function()
  480.  
  481. local part = Instance.new("Part", mod4)
  482. part.Anchored = true
  483. part.CanCollide = false
  484. part.FormFactor = "Custom"
  485. part.Size = Vector3.new(0.2, 0.2, 0.2)
  486. part.CFrame = root.CFrame * CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(90), 0, 0)
  487. part.Transparency = 0.7
  488. part.BrickColor = BrickColor.new("Really black")
  489. mesh = Instance.new("SpecialMesh", part)
  490. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  491. mesh.Scale = Vector3.new(3, 3, 3)
  492. local part2 = Instance.new("Part", mod4)
  493. part2.Anchored = true
  494. part2.CanCollide = false
  495. part2.FormFactor = "Custom"
  496. part2.Size = Vector3.new(0.2, 0.2, 0.2)
  497. part2.CFrame = root.CFrame * CFrame.new(0, -2.4, -1.6)
  498. part2.Transparency = 0.7
  499. part2.BrickColor = BrickColor.new("Lime green")
  500. mesh2 = Instance.new("SpecialMesh", part2)
  501. mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  502. mesh2.Scale = Vector3.new(3, 1.5, 3)
  503. x = Instance.new("Sound", larm)
  504. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  505. x.Pitch = ptez[math.random(1, #ptez)]
  506. x.Volume = 1
  507. x1 = Instance.new("Sound", larm)
  508. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  509. x1.Pitch = ptez[math.random(1, #ptez)]
  510. x1.Volume = 1
  511. x:Play()
  512. x1:Play()
  513. for i,v in pairs(FindNearestTorso(torso.CFrame.p, 4)) do
  514. if v:FindFirstChild("Humanoid") then
  515. v.Humanoid.Health = 0
  516. end
  517. end
  518. coroutine.resume(coroutine.create(function()
  519.  
  520. for i = 0, 0.62, 0.13 do
  521. fat.Event:wait()
  522. part.CFrame = part.CFrame
  523. part.Transparency = i
  524. mesh.Scale = mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  525. part2.CFrame = part2.CFrame
  526. part2.Transparency = i
  527. mesh2.Scale = mesh2.Scale + Vector3.new(0.4, 0.2, 0.4)
  528. end
  529. part.Parent = nil
  530. part2.Parent = nil
  531. x:Destroy()
  532. end
  533. ))
  534. end
  535.  
  536. wPart = function(x, y, z, color, tr, cc, an, parent)
  537.  
  538. local wp = Instance.new("WedgePart", parent or Weapon)
  539. wp.formFactor = "Custom"
  540. wp.Size = Vector3.new(x, y, z)
  541. wp.BrickColor = BrickColor.new(color)
  542. wp.CanCollide = cc
  543. wp.Transparency = tr
  544. wp.Anchored = an
  545. wp.TopSurface = 0
  546. return wp
  547. end
  548.  
  549. Mesh = function(par, num, x, y, z)
  550.  
  551. local msh = _
  552. if num == 1 then
  553. msh = Instance.new("CylinderMesh", par)
  554. else
  555. if num == 2 then
  556. msh = Instance.new("SpecialMesh", par)
  557. msh.MeshType = 3
  558. else
  559. if num == 3 then
  560. msh = Instance.new("BlockMesh", par)
  561. else
  562. if num == 4 then
  563. msh = Instance.new("SpecialMesh", par)
  564. msh.MeshType = "Torso"
  565. else
  566. if type(num) == "string" then
  567. msh = Instance.new("SpecialMesh", par)
  568. msh.MeshId = num
  569. end
  570. end
  571. end
  572. end
  573. end
  574. msh.Scale = Vector3.new(x, y, z)
  575. return msh
  576. end
  577.  
  578. local CFrameFromTopBack = function(at, top, back)
  579.  
  580. local right = top:Cross(back)
  581. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  582. end
  583.  
  584. Triangle = function(a, b, c)
  585.  
  586. local edg1 = c - a:Dot(b - a.unit)
  587. local edg2 = a - b:Dot(c - b.unit)
  588. local edg3 = b - c:Dot(a - c.unit)
  589. if edg1 <= b - a.magnitude and edg1 >= 0 then
  590. a = a
  591. else
  592. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  593.  
  594. if edg2 <= c - b.magnitude and edg2 >= 0 then
  595. a = b
  596. else
  597. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  598.  
  599. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  600.  
  601. if edg3 <= a - c.magnitude and edg3 >= 0 then
  602. a = c
  603. else
  604. print("unreachable")
  605. end
  606. end
  607. end
  608. local len1 = c - a:Dot(b - a.unit)
  609. local len2 = b - a.magnitude - len1
  610. local width = a + b - a.unit * len1 - c.magnitude
  611. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  612. local list = {}
  613. if len1 > 0.01 then
  614. local w1 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
  615. do
  616. local sz = Vector3.new(0.2, width, len1)
  617. w1.Size = sz
  618. local sp = Mesh(w1, 2, 0, 0, 0)
  619. sp.MeshType = "Wedge"
  620. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  621. w1:BreakJoints()
  622. w1.Anchored = true
  623. w1.Transparency = 0.7
  624. Spawn(function()
  625.  
  626. for i = 0, 1, 0.1 do
  627. fat.Event:wait()
  628. w1.Transparency = w1.Transparency + 0.03
  629. end
  630. end
  631. )
  632. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  633. table.insert(list, w1)
  634. end
  635. end
  636. do
  637. if len2 > 0.01 then
  638. local w2 = wPart(0, 0, 0, "Lime green", 0.5, false, true, char)
  639. local sz = Vector3.new(0.2, width, len2)
  640. w2.Size = sz
  641. local sp = Mesh(w2, 2, 0, 0, 0)
  642. sp.MeshType = "Wedge"
  643. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  644. w2:BreakJoints()
  645. w2.Anchored = true
  646. w2.Transparency = 0.7
  647. Spawn(function()
  648.  
  649. for i = 0, 1, 0.1 do
  650. fat.Event:wait()
  651. w2.Transparency = w2.Transparency + 0.03
  652. end
  653. end
  654. )
  655. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  656. table.insert(list, w2)
  657. end
  658. do
  659. return unpack(list)
  660. end
  661. end
  662. end
  663.  
  664. trail = function(p, t, h)
  665.  
  666. Spawn(function()
  667.  
  668. local blcf = p.CFrame
  669. local scfr = blcf
  670. for i = 1, t do
  671. local blcf = p.CFrame
  672. if scfr and p.Position - scfr.p.magnitude > 0.1 then
  673. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  674. if a then
  675. game.Debris:AddItem(a, 1)
  676. end
  677. if b then
  678. game.Debris:AddItem(b, 1)
  679. end
  680. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  681. if a then
  682. game.Debris:AddItem(a, 1)
  683. end
  684. if b then
  685. game.Debris:AddItem(b, 1)
  686. end
  687. scfr = blcf
  688. else
  689. do
  690. do
  691. if not scfr then
  692. scfr = blcf
  693. end
  694. fat.Event:wait()
  695. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out DO_STMT
  696.  
  697. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  698.  
  699. -- DECOMPILER ERROR at PC120: LeaveBlock: unexpected jumping out IF_STMT
  700.  
  701. end
  702. end
  703. end
  704. end
  705. scfr = nil
  706. end
  707. )
  708. end
  709.  
  710. rarm.Touched:connect(function(ht)
  711.  
  712. hit = ht.Parent
  713. if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.RPunch == true and Debounces.RPunched == false then
  714. Debounces.RPunched = true
  715. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5, 8))
  716. if Debounces.ks == true then
  717. z = Instance.new("Sound", hed)
  718. z.SoundId = "rbxassetid://169380525"
  719. z.Pitch = ptz[math.random(1, #ptz)]
  720. z.Volume = 1
  721. z:Play()
  722. end
  723. wait(0.4)
  724. Debounces.RPunched = false
  725. end
  726. if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.RPunch == true and Debounces.RPunched == false then
  727. Debounces.RPunched = true
  728. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5, 8))
  729. if Debounces.ks == true then
  730. z = Instance.new("Sound", hed)
  731. z.SoundId = "rbxassetid://169380525"
  732. z.Pitch = ptz[math.random(1, #ptz)]
  733. z.Volume = 1
  734. z:Play()
  735. end
  736. wait(0.4)
  737. Debounces.RPunched = false
  738. end
  739. end
  740. )
  741. larm.Touched:connect(function(ht)
  742.  
  743. hit = ht.Parent
  744. if ht and hit:IsA("Model") and hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name and Debounces.LPunch == true and Debounces.LPunched == false then
  745. Debounces.LPunched = true
  746. hit:FindFirstChild("Humanoid").Health = 0
  747. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -160
  748. if Debounces.ks2 == true then
  749. z = Instance.new("Sound", hed)
  750. z.SoundId = "rbxassetid://169380525"
  751. z.Pitch = ptz[math.random(1, #ptz)]
  752. z.Volume = 1
  753. z:Play()
  754. end
  755. wait(0.4)
  756. Debounces.LPunched = false
  757. end
  758. if ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and Debounces.LPunch == true and Debounces.LPunched == false then
  759. Debounces.LPunched = true
  760. hit.Parent:FindFirstChild("Humanoid").Health = 0
  761. if Debounces.ks2 == true then
  762. z = Instance.new("Sound", hed)
  763. z.SoundId = "rbxassetid://169380525"
  764. z.Pitch = ptz[math.random(1, #ptz)]
  765. z.Volume = 1
  766. z:Play()
  767. end
  768. wait(0.4)
  769. Debounces.LPunched = false
  770. end
  771. end
  772. )
  773. local acos = math.acos
  774. local sqrt = math.sqrt
  775. local Vec3 = Vector3.new
  776. local fromAxisAngle = CFrame.fromAxisAngle
  777. local toAxisAngle = function(CFr)
  778.  
  779. local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = CFr:components()
  780. local Angle = math.acos((R00 + R11 + R22 - 1) / 2)
  781. local A = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  782. if A ~= 0 or not 1e-05 then
  783. local B = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  784. if B ~= 0 or not 1e-05 then
  785. local C = R21 - R12 ^ 2 + R02 - R20 ^ 2 + R10 - R01 ^ 2
  786. if C ~= 0 or not 1e-05 then
  787. local x = (R21 - R12) / sqrt(A)
  788. local y = (R02 - R20) / sqrt(B)
  789. local z = (R10 - R01) / sqrt(C)
  790. return Vec3(x, y, z), Angle
  791. end
  792. end
  793. end
  794. end
  795.  
  796. ApplyTrig = function(Num, Func)
  797.  
  798. local Min, Max = Func(0), Func(1)
  799. local i = Func(Num)
  800. return (i - Min) / (Max - Min)
  801. end
  802.  
  803. LerpCFrame = function(CFrame1, CFrame2, Num)
  804.  
  805. local Vec, Ang = toAxisAngle(CFrame1:inverse() * CFrame2)
  806. return CFrame1 * fromAxisAngle(Vec, Ang * Num) + (CFrame2.p - CFrame1.p) * Num
  807. end
  808.  
  809. Crater = function(Torso, Radius)
  810.  
  811. Spawn(function()
  812.  
  813. local Ray = Ray.new(Torso.Position, Vector3.new(0, -1, 0) * 10)
  814. local Ignore = {}
  815. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  816. if v.Character ~= nil then
  817. Ignore[#Ignore + 1] = v.Character
  818. end
  819. end
  820. local Hit, Pos, SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
  821. if Hit == nil then
  822. return
  823. end
  824. local Parts = {}
  825. for i = 1, 360, 10 do
  826. local P = Instance.new("Part", Torso.Parent)
  827. P.Anchored = true
  828. P.FormFactor = "Custom"
  829. P.BrickColor = Hit.BrickColor
  830. P.Material = Hit.Material
  831. P.TopSurface = "Smooth"
  832. P.BottomSurface = "Smooth"
  833. P.Size = Vector3.new(5, 10, 10) * (math.random(80, 100) / 100)
  834. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 7, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  835. Parts[#Parts + 1] = {P, P.CFrame, (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 1, 0)) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius) * CFrame.Angles(math.rad(math.random(-50, -20)), math.rad(math.random(-15, 15)), math.rad(math.random(-15, 15))), P.Size}
  836. if math.random(0, 5) == 0 then
  837. local P = Instance.new("Part", Torso.Parent)
  838. P.Anchored = true
  839. P.FormFactor = "Custom"
  840. P.BrickColor = Hit.BrickColor
  841. P.Material = Hit.Material
  842. P.TopSurface = "Smooth"
  843. P.BottomSurface = "Smooth"
  844. P.Size = Vector3.new(2, 2, 2) * (math.random(80, 100) / 100)
  845. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 2.5, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  846. Parts[#Parts + 1] = {P, P.CFrame, CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius - 8) * CFrame.Angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))), P.Size}
  847. end
  848. end
  849. for i = 0, 1, 0.05 do
  850. for i2,v in pairs(Parts) do
  851. v[1].CFrame = LerpCFrame(v[2], v[3], ApplyTrig(i, math.cos))
  852. end
  853. wait(0.02)
  854. end
  855. for i,v in pairs(Parts) do
  856. if v[1].Size.X > 2.1 then
  857. v[1].CFrame = v[1].CFrame + Vector3.new(0, 2, 0)
  858. end
  859. v[1].Anchored = false
  860. end
  861. for i = 0, 1, 0.05 do
  862. for i2,v in pairs(Parts) do
  863. v[1].Transparency = i
  864. if i == 1 then
  865. v[1]:Destroy()
  866. else
  867. if i >= 0.25 then
  868. v[1].CanCollide = false
  869. end
  870. end
  871. end
  872. wait(0.02)
  873. end
  874. Parts = nil
  875. end
  876. )
  877. end
  878.  
  879. --------------------------------------------------
  880. function Dmg()
  881. local partofdeath = hitb
  882. local function CreateRegion3FromLocAndSize(Position, Size)
  883. local SizeOffset = Size/2
  884. local Point1 = Position - SizeOffset
  885. local Point2 = Position + SizeOffset
  886. return Region3.new(Point1, Point2)
  887. end
  888. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  889. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  890. Spawn(function()
  891. if Debounces.Slashing == true and Debounces.Slashed == false then
  892. Debounces.Slashed = true
  893. ypcall(function()
  894. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  895. humanoid.Health = 0
  896. end)
  897. wait(.4)
  898. Debounces.Slashed = false
  899. end
  900. end)
  901. end
  902. end
  903.  
  904. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  905. ptz = {0.7, 0.8, 0.9, 1, 1.1}
  906.  
  907. mouse.KeyDown:connect(function(key)
  908. if key == "q" then
  909. if Debounces.CanAttack == true then
  910. Debounces.CanAttack = false
  911. Debounces.on = true
  912. Debounces.NoIdl = true
  913. sbchat("PHANTOM FIST!!!",'[Might Guy]')
  914. for i = 1, 25 do
  915. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  916. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  917. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  918. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  919. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  920. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  921. if Debounces.on == false then break end
  922. rs:wait()
  923. end
  924. Spawn(function()
  925. local Parts = {}
  926. for Y = 1,1 do
  927. local P = Instance.new("Part",char)
  928. P.Anchored = true
  929. P.FormFactor = "Custom"
  930. P.CanCollide = false
  931. P.Size = Vector3.new(20,20,999)
  932. P.TopSurface = "SmoothNoOutlines"
  933. P.BottomSurface = "SmoothNoOutlines"
  934. P.Transparency = 0.5
  935. P.Material = "Neon"
  936. P.BrickColor = BrickColor.new("Really black")
  937. P.Name = tostring(Y)
  938. local Emitter = Instance.new("ParticleEmitter", P)
  939. local color1 = Color3.new(1, 0, 0)
  940. local color2 = Color3.new(0, 0, 0)
  941. Emitter.Color = ColorSequence.new(color1, color2)
  942. Emitter.Size = NumberSequence.new(20)
  943. Emitter.Texture = "rbxassetid://243098098"
  944. Emitter.Lifetime = NumberRange.new(1)
  945. Emitter.Rate = 1000
  946. Emitter.Rotation = NumberRange.new(720)
  947. Emitter.RotSpeed = NumberRange.new(140)
  948. Emitter.Speed = NumberRange.new(100)
  949. Emitter.VelocitySpread = 360
  950. local Emitter = Instance.new("ParticleEmitter", P)
  951. local color1 = Color3.new(1, 0, 0)
  952. local color2 = Color3.new(0, 0, 0)
  953. Emitter.Color = ColorSequence.new(color1, color2)
  954. Emitter.Size = NumberSequence.new(20)
  955. Emitter.Texture = "rbxassetid://243098098"
  956. Emitter.Lifetime = NumberRange.new(1)
  957. Emitter.Rate = 1000
  958. Emitter.Rotation = NumberRange.new(720)
  959. Emitter.RotSpeed = NumberRange.new(140)
  960. Emitter.Speed = NumberRange.new(100)
  961. Emitter.VelocitySpread = 360
  962. local Emitter = Instance.new("ParticleEmitter", P)
  963. local color1 = Color3.new(1, 0, 0)
  964. local color2 = Color3.new(0, 0, 0)
  965. Emitter.Color = ColorSequence.new(color1, color2)
  966. Emitter.Size = NumberSequence.new(20)
  967. Emitter.Texture = "rbxassetid://243098098"
  968. Emitter.Lifetime = NumberRange.new(1)
  969. Emitter.Rate = 1000
  970. Emitter.Rotation = NumberRange.new(720)
  971. Emitter.RotSpeed = NumberRange.new(140)
  972. Emitter.Speed = NumberRange.new(100)
  973. Emitter.VelocitySpread = 360
  974. local i = (Y+5)/(10)
  975. i = 0-math.cos(math.pi*i-(math.pi/10))
  976. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*5))*CFrame.Angles(math.rad(Y*1),0,math.rad(180))
  977. --[[P.Touched:connect(function(ht)
  978. local hit = ht.Parent
  979. if hit:FindFirstChild("Humanoid") then
  980. hit.Humanoid:TakeDamage(math.random(20,50))
  981. end
  982. end)]]--
  983. s = Instance.new("Sound",P)
  984. s.SoundId = "rbxassetid://228343271"
  985. s.Volume = 1
  986. s.Pitch = 0.9
  987. s:Play()
  988. sa = Instance.new("Sound",P)
  989. sa.SoundId = "rbxassetid://419447292"
  990. sa.Volume = 1
  991. sa.Pitch = 1
  992. sa:Play()
  993. P.Touched:connect(function(ht)
  994. hit = ht.Parent
  995. if ht and hit:IsA("Model") then
  996. if hit:FindFirstChild("Humanoid") then
  997. if hit.Name ~= p.Name then
  998. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  999. Debounces.Slashed = true]]--
  1000. hit:FindFirstChild("Humanoid").Health = -1
  1001. hit:FindFirstChild("Humanoid").PlatformStand = true
  1002. wait()
  1003. --Debounces.Slashed = false
  1004. --end
  1005. end
  1006. end
  1007. elseif ht and hit:IsA("Hat") then
  1008. if hit.Parent.Name ~= p.Name then
  1009. if hit.Parent:FindFirstChild("Humanoid") then
  1010. if Debounces.Slashing == true and Debounces.Slashed == false then
  1011. Debounces.Slashed = true
  1012. hit.Parent:FindFirstChild("Humanoid").Health = -1
  1013. hit:FindFirstChild("Humanoid").PlatformStand = true
  1014. wait()
  1015. Debounces.Slashed = false
  1016. end
  1017. end
  1018. end
  1019. end
  1020. end)
  1021. Parts[#Parts+1] = P
  1022. end
  1023. local BREAKIT = false
  1024. local CParts = {}
  1025. local Rocks = {}
  1026. local LastPos = nil
  1027. for i = 1,100 do
  1028. for i2,v in pairs(Parts) do
  1029. v.CFrame = v.CFrame*CFrame.new(0,0,0)
  1030. local cf = v.CFrame
  1031. v.Size = v.Size+Vector3.new(0.1,0.1,10)
  1032. v.CFrame = cf
  1033. v.Transparency = v.Transparency+0.01
  1034. if v.Transparency >= 0.975 then BREAKIT = true end
  1035. if v.Name == "0" then
  1036. local Ignore = {}
  1037. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1038. if v.Character ~= nil then
  1039. Ignore[#Ignore+1] = v.Character
  1040. end
  1041. end
  1042. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-500,0))
  1043. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1044. if Hit ~= nil then
  1045. if #Rocks == 1 then
  1046. for i = 1,5 do
  1047. local P = Instance.new("Part",char)
  1048. Rocks[#Rocks+1] = P
  1049. P.Anchored = true
  1050. P.FormFactor = "Custom"
  1051. P.BrickColor = BrickColor.new("Dark red")
  1052. P.Material = "Grass"
  1053. P.Transparency = 0
  1054. P.TopSurface = "Smooth"
  1055. P.BottomSurface = "Smooth"
  1056. P.Size = Vector3.new(3,3,3)*(math.random(500,900)/100)
  1057. end
  1058. end
  1059. for i,P in pairs(Rocks) do
  1060. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1061. end
  1062. local P = Instance.new("Part",char)
  1063. CParts[#CParts+1] = {P,tick()}
  1064. P.Anchored = true
  1065. P.FormFactor = "Custom"
  1066. P.BrickColor = BrickColor.new("Dark red")
  1067. P.Material = "Grass"
  1068. P.Transparency = 0
  1069. P.TopSurface = "Smooth"
  1070. P.BottomSurface = "Smooth"
  1071. P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
  1072. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1073. Pos = Pos.p
  1074. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1075. local P = P:Clone()
  1076. CParts[#CParts+1] = {P,tick()}
  1077. P.Parent = char
  1078. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1079. Pos = Pos.p
  1080. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1081. if LastPos ~= nil then
  1082. local P = P:Clone()
  1083. CParts[#CParts+1] = {P,tick()}
  1084. P.Parent = char
  1085. P.BrickColor = BrickColor.new("Dark red")
  1086. P.Material = "Grass"
  1087. P.Transparency = 0
  1088. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1089. Pos = Pos.p
  1090. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1091. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1092. --P.Velocity = Vector3.new(0,-1000,0)
  1093. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1094. end
  1095. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1096. end
  1097. end
  1098. end
  1099. if BREAKIT then break end
  1100. wait()
  1101. end
  1102. for i,v in pairs(Rocks) do
  1103. CParts[#CParts+1] = {v,tick()}
  1104. end
  1105. for i,v in pairs(Parts) do
  1106. v:Destroy()
  1107. end
  1108. Parts = nil
  1109. while true do
  1110. local t = tick()
  1111. local p = nil
  1112. for i,v in pairs(CParts) do
  1113. if t-v[2] > 4 then
  1114. v[1].Transparency = v[1].Transparency+0.05
  1115. if v[1].Transparency >= 1 then
  1116. v[1]:Destroy()
  1117. CParts[i] = nil
  1118. end
  1119. end
  1120. p = v
  1121. end
  1122. if p == nil then break end
  1123. wait()
  1124. end
  1125. for i,v in pairs(CParts) do
  1126. v:Destroy()
  1127. end
  1128. CParts = {}
  1129. end)
  1130. for i = 1, 20 do
  1131. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1132. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1137. if Debounces.on == false then break end
  1138. rs:wait()
  1139. end
  1140. if Debounces.CanAttack == false then
  1141. Debounces.CanAttack = true
  1142. Debounces.on = false
  1143. Debounces.NoIdl = false
  1144. end
  1145. end
  1146. end
  1147. end)
  1148. mouse.KeyDown:connect(function(key)
  1149. if key == "e" then
  1150. if Debounces.CanAttack == true then
  1151. Debounces.CanAttack = false
  1152. Debounces.on = true
  1153. Debounces.NoIdl = true
  1154. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1155. z = Instance.new("Sound", rarm)
  1156. z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1157. z.Volume = 1.25
  1158. z.Pitch = pt[math.random(1,#pt)]
  1159. z.Looped = false
  1160. z:Play()
  1161. Debounces.RPunch = true
  1162. Debounces.LPunch = true
  1163. Debounces.ks = true
  1164. Debounces.ks2 = true
  1165. for i = 1, 1 do
  1166. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1167. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1168. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1169. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1170. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1171. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1172. if Debounces.on == false then break end
  1173. wait()
  1174. end
  1175. z2 = Instance.new("Sound", larm)
  1176. z2.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1177. z2.Volume = 1.25
  1178. z2.Pitch = pt[math.random(1,#pt)]
  1179. z2.Looped = false
  1180. z2:Play()
  1181. for i = 1, 1 do
  1182. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1183. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1184. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1185. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1186. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1187. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1188. if Debounces.on == false then break end
  1189. wait()
  1190. end
  1191. z3 = Instance.new("Sound", rarm)
  1192. z3.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1193. z3.Volume = 1.25
  1194. z3.Pitch = pt[math.random(1,#pt)]
  1195. z3.Looped = false
  1196. z3:Play()
  1197. for i = 1, 1 do
  1198. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1199. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1200. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1201. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1202. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1203. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1204. if Debounces.on == false then break end
  1205. wait()
  1206. end
  1207. z4 = Instance.new("Sound", larm)
  1208. z4.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1209. z4.Volume = 1.25
  1210. z4.Pitch = pt[math.random(1,#pt)]
  1211. z4.Looped = false
  1212. z4:Play()
  1213. for i = 1, 1 do
  1214. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1215. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1216. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1217. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1218. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1219. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1220. if Debounces.on == false then break end
  1221. wait()
  1222. end
  1223. z5 = Instance.new("Sound", rarm)
  1224. z5.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1225. z5.Volume = 1.25
  1226. z5.Pitch = pt[math.random(1,#pt)]
  1227. z5.Looped = false
  1228. z5:Play()
  1229. for i = 1, 1 do
  1230. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1231. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1232. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1233. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1234. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1235. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1236. if Debounces.on == false then break end
  1237. wait()
  1238. end
  1239. z6 = Instance.new("Sound", larm)
  1240. z6.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1241. z6.Volume = 1.25
  1242. z6.Pitch = pt[math.random(1,#pt)]
  1243. z6.Looped = false
  1244. z6:Play()
  1245. for i = 1, 1 do
  1246. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1247. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1248. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1249. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1250. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1251. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1252. if Debounces.on == false then break end
  1253. wait()
  1254. end
  1255. z7 = Instance.new("Sound", rarm)
  1256. z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1257. z7.Volume = 1.25
  1258. z7.Pitch = pt[math.random(1,#pt)]
  1259. z7.Looped = false
  1260. z7:Play()
  1261. for i = 1, 1 do
  1262. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1263. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1264. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1265. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1266. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1267. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1268. if Debounces.on == false then break end
  1269. wait()
  1270. end
  1271. z8 = Instance.new("Sound", larm)
  1272. z8.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1273. z8.Volume = 1.25
  1274. z8.Pitch = pt[math.random(1,#pt)]
  1275. z8.Looped = false
  1276. z8:Play()
  1277. for i = 1, 1 do
  1278. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1279. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1280. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1281. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1282. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1283. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1284. if Debounces.on == false then break end
  1285. wait()
  1286. end
  1287. z9 = Instance.new("Sound", rarm)
  1288. z9.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1289. z9.Volume = 1.25
  1290. z9.Pitch = pt[math.random(1,#pt)]
  1291. z9.Looped = false
  1292. z9:Play()
  1293. for i = 1, 1 do
  1294. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1295. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1296. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1297. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1298. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1299. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1300. if Debounces.on == false then break end
  1301. wait()
  1302. end
  1303. z10 = Instance.new("Sound", larm)
  1304. z10.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1305. z10.Volume = 1.25
  1306. z10.Pitch = pt[math.random(1,#pt)]
  1307. z10.Looped = false
  1308. z10:Play()
  1309. for i = 1, 1 do
  1310. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1311. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1312. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1313. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1314. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1315. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1316. if Debounces.on == false then break end
  1317. wait()
  1318. end
  1319. z11 = Instance.new("Sound", rarm)
  1320. z11.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1321. z11.Volume = 1.25
  1322. z11.Pitch = pt[math.random(1,#pt)]
  1323. z11.Looped = false
  1324. z11:Play()
  1325. for i = 1, 1 do
  1326. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1327. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1328. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1329. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1330. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1331. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1332. if Debounces.on == false then break end
  1333. wait()
  1334. end
  1335. z12 = Instance.new("Sound", larm)
  1336. z12.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1337. z12.Volume = 1.25
  1338. z12.Pitch = pt[math.random(1,#pt)]
  1339. z12.Looped = false
  1340. z12:Play()
  1341. for i = 1, 1 do
  1342. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1343. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1344. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1345. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1346. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1347. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1348. if Debounces.on == false then break end
  1349. wait()
  1350. end
  1351. z13 = Instance.new("Sound", rarm)
  1352. z13.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1353. z13.Volume = 1.25
  1354. z13.Pitch = pt[math.random(1,#pt)]
  1355. z13.Looped = false
  1356. z13:Play()
  1357. for i = 1, 1 do
  1358. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1359. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1360. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1361. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1362. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1363. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1364. if Debounces.on == false then break end
  1365. wait()
  1366. end
  1367. z14 = Instance.new("Sound", larm)
  1368. z14.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1369. z14.Volume = 1.25
  1370. z14.Pitch = pt[math.random(1,#pt)]
  1371. z14.Looped = false
  1372. z14:Play()
  1373. for i = 1, 1 do
  1374. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1375. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1376. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1377. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1378. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1379. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1380. if Debounces.on == false then break end
  1381. wait()
  1382. end
  1383. z15 = Instance.new("Sound", rarm)
  1384. z15.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1385. z15.Volume = 1.25
  1386. z15.Pitch = pt[math.random(1,#pt)]
  1387. z15.Looped = false
  1388. z15:Play()
  1389. for i = 1, 1 do
  1390. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1391. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1393. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1394. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1395. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1396. if Debounces.on == false then break end
  1397. wait()
  1398. end
  1399. z16 = Instance.new("Sound", larm)
  1400. z16.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1401. z16.Volume = 1.25
  1402. z16.Pitch = pt[math.random(1,#pt)]
  1403. z16.Looped = false
  1404. z16:Play()
  1405. for i = 1, 1 do
  1406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1407. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1409. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1412. if Debounces.on == false then break end
  1413. wait()
  1414. end
  1415. z17 = Instance.new("Sound", rarm)
  1416. z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  1417. z17.Volume = 1.25
  1418. z17.Pitch = pt[math.random(1,#pt)]
  1419. z17.Looped = false
  1420. z17:Play()
  1421. for i = 1, 1 do
  1422. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1423. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1428. if Debounces.on == false then break end
  1429. wait()
  1430. end
  1431. z18 = Instance.new("Sound", larm)
  1432. z18.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1433. z18.Volume = 1.25
  1434. z18.Pitch = pt[math.random(1,#pt)]
  1435. z18.Looped = false
  1436. z18:Play()
  1437. for i = 1, 1 do
  1438. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1439. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1440. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1442. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1443. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1444. if Debounces.on == false then break end
  1445. wait()
  1446. end
  1447. z19 = Instance.new("Sound", rarm)
  1448. z19.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1449. z19.Volume = 1.25
  1450. z19.Pitch = pt[math.random(1,#pt)]
  1451. z19.Looped = false
  1452. z19:Play()
  1453. for i = 1, 1 do
  1454. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1455. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1456. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1457. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1458. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1459. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1460. if Debounces.on == false then break end
  1461. wait()
  1462. end
  1463. z20 = Instance.new("Sound", larm)
  1464. z20.SoundId = "http://www.roblox.com/asset/?id=200633148"
  1465. z20.Volume = 1.25
  1466. z20.Pitch = pt[math.random(1,#pt)]
  1467. z20.Looped = false
  1468. z20:Play()
  1469. for i = 1, 1 do
  1470. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1471. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1472. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1473. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1474. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1475. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1476. if Debounces.on == false then break end
  1477. wait()
  1478. end
  1479. z:Destroy()
  1480. z2:Destroy()
  1481. z3:Destroy()
  1482. z4:Destroy()
  1483. z5:Destroy()
  1484. z6:Destroy()
  1485. z7:Destroy()
  1486. z8:Destroy()
  1487. z9:Destroy()
  1488. z10:Destroy()
  1489. z11:Destroy()
  1490. z12:Destroy()
  1491. z13:Destroy()
  1492. z14:Destroy()
  1493. z15:Destroy()
  1494. z16:Destroy()
  1495. z17:Destroy()
  1496. z18:Destroy()
  1497. z19:Destroy()
  1498. z20:Destroy()
  1499. Debounces.LPunch = false
  1500. Debounces.RPunch = false
  1501. Debounces.ks = false
  1502. Debounces.ks2 = false
  1503. if Debounces.CanAttack == false then
  1504. Debounces.CanAttack = true
  1505. Debounces.on = false
  1506. Debounces.NoIdl = false
  1507. end
  1508. end
  1509. end
  1510. end)
  1511. mouse.KeyDown:connect(function(key)
  1512.  
  1513. if string.byte(key) == 52 then
  1514. Swing = 2
  1515. char.Humanoid.WalkSpeed = 28
  1516. end
  1517. end
  1518. )
  1519. mouse.KeyUp:connect(function(key)
  1520.  
  1521. if string.byte(key) == 52 then
  1522. Swing = 1
  1523. char.Humanoid.WalkSpeed = 16
  1524. end
  1525. end
  1526. )
  1527. jump = false
  1528. rs:connect(function()
  1529.  
  1530. if char.Humanoid.Jump == true then
  1531. jump = true
  1532. else
  1533. jump = false
  1534. end
  1535. char.Humanoid.FreeFalling:connect(function(f)
  1536.  
  1537. if f then
  1538. ffing = true
  1539. else
  1540. ffing = false
  1541. end
  1542. end
  1543. )
  1544. sine = sine + change
  1545. if jump == true then
  1546. animpose = "Jumping"
  1547. else
  1548. if ffing == true then
  1549. animpose = "Freefalling"
  1550. else
  1551. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1552. animpose = "Idle"
  1553. else
  1554. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
  1555. animpose = "Walking"
  1556. else
  1557. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
  1558. animpose = "Running"
  1559. end
  1560. end
  1561. end
  1562. end
  1563. end
  1564. RightLeg = CFrame.new(0.5, -1, 0)
  1565. LeftLeg = CFrame.new(-0.5, -1, 0)
  1566. lefth = (torso.CFrame*LeftLeg)
  1567. righth = (torso.CFrame*RightLeg)
  1568.  
  1569. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1570.  
  1571. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1572.  
  1573. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1574. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1575. if animpose ~= lastanimpose then
  1576. sine = 0
  1577. if Debounces.NoIdl == false then
  1578. if stanceToggle == "Idle1" then
  1579. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-12 - 4 * math.cos(sine / 22)), math.rad(-12 - 2 * math.cos(sine / 22)), math.rad(12 + 2 * math.cos(sine / 22))), 0.3)
  1580. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, -0.2) * CFrame.Angles(math.rad(20 + 4 * math.cos(sine / 22)), math.rad(-22 - 2 * math.cos(sine / 22)), math.rad(-15 - 2 * math.cos(sine / 22))), 0.3)
  1581. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-12 + 2.5 * math.cos(sine / 22)), math.rad(0), math.rad(0)), 0.2)
  1582. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2 + 2 * math.cos(sine / 22)), math.rad(0), 0), 0.2)
  1583. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0 - 2 * math.cos(sine / 22)), math.rad(5), math.rad(-5)), 0.2)
  1584. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0 - 2 * math.cos(sine / 22)), math.rad(-5), math.rad(5)), 0.2)
  1585. else
  1586. if stanceToggle == "Idle2" then
  1587. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-22 - 4 * math.cos(sine / 12)), math.rad(-40 - 2 * math.cos(sine / 12)), math.rad(24 + 2 * math.cos(sine / 12))), 0.3)
  1588. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.6, -0.6) * CFrame.Angles(math.rad(90 + 4 * math.cos(sine / 12)), math.rad(0), math.rad(50 - 2 * math.cos(sine / 12))), 0.3)
  1589. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-6 + 2.5 * math.cos(sine / 12)), math.rad(0), math.rad(0)), 0.2)
  1590. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20 + 2 * math.cos(sine / 12)), math.rad(0), 0), 0.2)
  1591. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7 - 2 * math.cos(sine / 12)), math.rad(7), math.rad(-5)), 0.2)
  1592. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30 - 2 * math.cos(sine / 12)), math.rad(-9), math.rad(5)), 0.2)
  1593. end
  1594. end
  1595. fat.Event:wait()
  1596. end
  1597. end
  1598. lastanimpose = animpose
  1599. if Debounces.NoIdl == false then
  1600. if animpose == "Idle" then
  1601. change = 0.2
  1602. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(20+10*math.cos(sine/10))), 0.4)
  1603. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-40-20*math.cos(sine/10))), 0.4)
  1604. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
  1605. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1606. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
  1607. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(30), math.rad(-10-2*math.cos(sine/10))), 0.4)
  1608. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
  1609. else
  1610. if animpose == "Walking" then
  1611. change = 0.5
  1612. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 + 0.05 * math.cos(sine / -4), -math.sin(sine / -4) / -4) * CFrame.Angles(math.sin(sine / -4) / -2.8, -math.sin(sine / -4) / -3, math.rad(5 - -7 * math.cos(sine / -2)) + root.RotVelocity.Y / -15), 0.4)
  1613. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  1614. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 2), -math.sin(sine / 4) / 4) * CFrame.Angles(math.sin(sine / 4) / 2.8, -math.sin(sine / 4) / 3, math.rad(-10 - 7 * math.cos(sine / 2)) + root.RotVelocity.Y / 30), 0.4)
  1615. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  1616. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.1 + 0.1 * math.cos(sine / 2)) * CFrame.Angles(math.rad(-10 + 4 * math.cos(sine / 2)), math.rad(0 - 8 * math.cos(sine / 4) / 2.3), math.rad(0)), 0.4)
  1617. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.7)
  1618. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.12 * math.cos(sine / 2), 0) * CFrame.Angles(math.rad(-4 + 2 * math.cos(sine / 2)), math.rad(0 + 10 * math.cos(sine / 4) / 2.3) + root.RotVelocity.Y / 30, math.rad(0) + root.RotVelocity.Y / 30), 0.4)
  1619. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1620. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5, -1 - math.cos(sine / 4) * 0.2, 0 + math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * AngleThetaL.Z, AngleThetaL.X, math.sin(sine / 4) * 3 * -AngleThetaL.X - root.RotVelocity.Y / 20), 0.8)
  1621. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1622. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5, -1 + math.cos(sine / 4) * 0.2, 0 - math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * -AngleThetaR.Z, AngleThetaR.X, math.sin(sine / 4) * 3 * AngleThetaR.X - root.RotVelocity.Y / 20), 0.8)
  1623. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1624. else
  1625. if animpose == "Running" then
  1626. change = 1.1
  1627. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4, 0.54, 0) * CFrame.Angles(math.rad(-34), math.rad(-15), math.rad(26)), 0.2)
  1628. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1629. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24 + 0.6 * math.cos(sine / 4) / 1.4, 0.54, 0 - 0.8 * math.cos(sine / 4)) * CFrame.Angles(math.rad(6 + 140 * math.cos(sine / 4) / 1.2), math.rad(90), math.rad(20 + 70 * math.cos(sine / 4))), 0.2)
  1630. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1631. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 2) / 1.5), math.rad(0 + 12 * math.cos(sine / 4)), math.rad(0)), 0.2)
  1632. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.5)
  1633. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.2 * math.cos(sine / 2) / 1.7, 0) * CFrame.Angles(math.rad(-14 + 10 * math.cos(sine / 2) / 1.5), math.rad(0 - 12 * math.cos(sine / 4)) - root.RotVelocity.Y / 10, math.rad(0) + root.RotVelocity.Y / 20), 0.2)
  1634. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1635. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.8 - 0.4 * math.cos(sine / 4) / 2, math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + -math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.8)
  1636. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1637. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8 + 0.4 * math.cos(sine / 4) / 2, -math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.8)
  1638. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1639. else
  1640. if animpose == "Jumping" then
  1641. change = 1
  1642. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2)
  1643. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1644. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2)
  1645. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1646. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.2)
  1647. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1648. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1649. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1650. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1651. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1652. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1653. else
  1654. if animpose == "Freefalling" then
  1655. change = 1
  1656. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(50)), 0.2)
  1657. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  1658. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(110), math.rad(-20), math.rad(-30)), 0.2)
  1659. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1660. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.2)
  1661. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1662. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1663. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1664. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1665. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  1666. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. end
  1674. )
  1675. while true do wait()
  1676. hum.MaxHealth = 1e+173
  1677. wait(0.5)
  1678. hum.Health = 1e+173
  1679. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement