Advertisement
JRKPastesBins

Untitled

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