Advertisement
JRKPastesBins

Untitled

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