Advertisement
Wweroblox12121212

Untitled

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