Advertisement
JRKPastesBins

Untitled

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