Advertisement
Dark_EccentricYT

Untitled

Mar 22nd, 2018
11,784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.38 KB | None | 0 0
  1. ---This script was made by trollmon123
  2. ---My ALT account is TheDevilPro1234
  3. ---Discord trollmon123#7368
  4. ---This script was based from the anime Naruto
  5. ---Aka Naruto's dad.
  6. script:remove()
  7. local Player = game.Players.localPlayer
  8. local Character = Player.Character
  9. local Humanoid = Character.Humanoid
  10. local Mouse = Player:GetMouse()
  11. local LeftArm = Character["Left Arm"]
  12. local RightArm = Character["Right Arm"]
  13. local LeftLeg = Character["Left Leg"]
  14. local RightLeg = Character["Right Leg"]
  15. local Head = Character.Head
  16. local Torso = Character.Torso
  17. local Camera = game.Workspace.CurrentCamera
  18. local RootPart = Character.HumanoidRootPart
  19. local RootJoint = RootPart.RootJoint
  20. local Pause = false
  21. local attack = false
  22. local LOL = false
  23. local Anim = 'Idle'
  24. script:remove()
  25. local attacktype = 1
  26. local delays = false
  27. local play = true
  28. local targetted = nil
  29. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  30. local velocity = RootPart.Velocity.y
  31. local sine = 0
  32. local change = 1
  33. local doe = 0
  34. local hitted = false
  35. local Create = LoadLibrary("RbxUtility").Create
  36. local SGui = Instance.new("ScreenGui",Player.PlayerGui)
  37. local ZZZ = BrickColor.new("Pastel brown")
  38. local Mus = Instance.new("Sound",Torso)
  39. local ZZA = false
  40. Mus.SoundId = "rbxassetid://301521246"
  41. Mus.Volume = math.huge
  42. Mus.Looped = true
  43. Mus.MaxDistance = 120
  44. Mus.Pitch = 1
  45. Mus:play()
  46. Character.Shirt.ShirtTemplate = "rbxassetid://552558255"
  47. Character.Pants.PantsTemplate = "rbxassetid://1062766205"
  48. Head.face.Texture = "rbxassetid://858823098"
  49. local Hair = Instance.new("Part",Character)
  50. Hair.Size = Vector3.new(1,1,1)
  51. Hair.CanCollide = false
  52. local Hair2 = Instance.new("SpecialMesh",Hair)
  53. Hair2.MeshId = "rbxassetid://1184401733"
  54. Hair2.TextureId = "rbxassetid://1184401765"
  55. Hair2.Scale = Vector3.new(0.6,0.5,0.6)
  56. local Hair3 = Instance.new("Weld",Hair)
  57. Hair3.Part0 = Head
  58. Hair3.Part1 = Hair
  59. Hair3.C0 = CFrame.new(0,0.5,0.2)*CFrame.Angles(0,0,0)
  60. local Kun = Instance.new("Part",Character)
  61. Kun.Size = Vector3.new(0.1,0.1,0.1)
  62. Kun.CanCollide = false
  63. local Kun2 = Instance.new("SpecialMesh",Kun)
  64. Kun2.MeshId = "rbxassetid://1184404045"
  65. Kun2.TextureId = "rbxassetid://1184404058"
  66. Kun2.Scale = Vector3.new(0.4,0.4,0.4)
  67. local Kun3 = Instance.new("Weld",Kun)
  68. Kun3.Part0 = RightArm
  69. Kun3.Part1 = Kun
  70. local At1 = Instance.new("Attachment",Torso)
  71. At1.Axis = Vector3.new(1,0,0)
  72. local At2 = Instance.new("Attachment",Head)
  73. At1.Axis = Vector3.new(1,0,0)
  74. local Trail = Instance.new("Trail",Torso)
  75. Trail.TextureLength = 1
  76. Trail.Lifetime = 1
  77. Trail.Attachment0 = At1
  78. Trail.Attachment1 = At2
  79. Trail.Transparency = NumberSequence.new(0,1)
  80. Trail.Enabled = false
  81. Trail.Color = ColorSequence.new(Color3.fromRGB(252, 255, 30),Color3.fromRGB(158, 255, 106),Color3.fromRGB(252, 255, 30))
  82. Kun3.C0 = CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0)
  83. local Bill = Instance.new("BillboardGui", Character)
  84. Bill.Adornee = Character.Head
  85. Bill.Name = "_status"
  86. Bill.Size = UDim2.new(2, 0, 1.2, 0)
  87. Bill.StudsOffset = Vector3.new(-9, 8, 0)
  88. local Text = Instance.new("TextLabel", Bill)
  89. Text.Size = UDim2.new(10, 0, 7, 0)
  90. Text.FontSize = "Size24"
  91. Text.TextScaled = true
  92. Text.TextTransparency = 0
  93. Text.BackgroundTransparency = 1
  94. Text.TextTransparency = 0
  95. Text.TextStrokeTransparency = 0
  96. Text.Font = "SciFi"
  97. Text.TextColor3 = Color3.fromRGB(233, 236, 39)
  98. Text.TextStrokeColor3 = Color3.new(255,255,255)
  99. Text.Text = "MINATO NAMIKAZIE"
  100. local Img = Instance.new("ImageLabel",SGui)
  101. Img.Image = "rbxassetid://92867469"
  102. Img.Size = UDim2.new(0,200,0,200)
  103. Img.BackgroundTransparency = 1
  104. Img.Position = UDim2.new(0,1120,0,240)
  105. Init = Instance.new("TextLabel",SGui)
  106. Init.Size = UDim2.new(0,300,0,30)
  107. Init.Position = UDim2.new(0,1060,0,200)
  108. Init.BackgroundTransparency = 0.4
  109. Init.BackgroundColor3 = Color3.fromRGB(231, 87, 58)
  110. Init.Text = "Made by trollmon123"
  111. Init.TextSize = 30
  112. Init.Font = "SciFi"
  113. Init.TextColor3 = Color3.new(0,0,0)
  114. Mov2 = Instance.new("TextLabel",SGui)
  115. Mov2.Size = UDim2.new(0,300,0,30)
  116. Mov2.Position = UDim2.new(0,1060,0,450)
  117. Mov2.BackgroundTransparency = 0.4
  118. Mov2.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
  119. Mov2.Text = "(Click) Melee "
  120. Mov2.TextSize = 30
  121. Mov2.Font = "SciFi"
  122. Mov2.TextColor3 = Color3.new(255,255,255)
  123. Mov3 = Instance.new("TextLabel",SGui)
  124. Mov3.Size = UDim2.new(0,300,0,30)
  125. Mov3.Position = UDim2.new(0,1060,0,500)
  126. Mov3.BackgroundTransparency = 0.4
  127. Mov3.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
  128. Mov3.Text = "(E) Kunai teleport"
  129. Mov3.TextSize = 30
  130. Mov3.Font = "SciFi"
  131. Mov3.TextColor3 = Color3.new(255,255,255)
  132. Mov4 = Instance.new("TextLabel",SGui)
  133. Mov4.Size = UDim2.new(0,300,0,30)
  134. Mov4.Position = UDim2.new(0,1060,0,550)
  135. Mov4.BackgroundTransparency = 0.4
  136. Mov4.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
  137. Mov4.Text = "(R) Rasengan"
  138. Mov4.TextSize = 30
  139. Mov4.Font = "SciFi"
  140. Mov4.TextColor3 = Color3.new(255,255,255)
  141. Mov5 = Instance.new("TextLabel",SGui)
  142. Mov5.Size = UDim2.new(0,300,0,30)
  143. Mov5.Position = UDim2.new(0,1060,0,600)
  144. Mov5.BackgroundTransparency = 0.4
  145. Mov5.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
  146. Mov5.Text = "(Q)The Yellow Flash(ULT)"
  147. Mov5.TextSize = 30
  148. Mov5.Font = "SciFi"
  149. Mov5.TextColor3 = Color3.new(255,255,255)
  150. for i,v in pairs(Character.Head:children()) do
  151. if v:IsA("Sound") then
  152. v:Destroy()
  153. end
  154. end
  155. for i,v in pairs(Character:children()) do
  156. if v:IsA("Hat") then
  157. v:Destroy()
  158. end
  159. end
  160. for i,v in pairs(Character:children()) do
  161. if v:IsA("Accessory") then
  162. v:Destroy()
  163. end
  164. end
  165. for i,v in pairs(Character:children()) do
  166. if v:IsA("Hair") then
  167. v:Destroy()
  168. end
  169. end
  170. Humanoid.WalkSpeed = 30
  171. Humanoid.Animator.Parent = nil
  172. Character.Animate.Parent = nil
  173. ROW = function(out, trans, s, wt, t, ang, plus)
  174. for i = 1, 360, 360/t do
  175. local c = Instance.new("Part", game.Workspace)
  176. c.FormFactor = 3
  177. c.TopSurface = 0
  178. c.BottomSurface = 0
  179. c.Size = s
  180. c.Anchored = true
  181. c.CanCollide = wt
  182. c.Material= "Slate"
  183. c.Transparency = trans
  184. c.BrickColor = BrickColor.new("Dark orange")
  185. c.CFrame = CFrame.new(Torso.CFrame.x,0,Torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  186. c.Locked=true
  187. game.Debris:AddItem(c,15)
  188. end
  189. end
  190.  
  191. local newMotor = function(part0, part1, c0, c1)
  192. local w = Create('Motor'){
  193. Parent = part0,
  194. Part0 = part0,
  195. Part1 = part1,
  196. C0 = c0,
  197. C1 = c1,
  198. }
  199. return w
  200. end
  201. function clerp(a, b, t)
  202. return a:lerp(b, t)
  203. end
  204.  
  205. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  206. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  207.  
  208. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  209. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  210. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  211. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  212. RootJoint.C1 = CFrame.new(0, 0, 0)
  213. RootJoint.C0 = CFrame.new(0, 0, 0)
  214. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  215. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  216.  
  217. local rarmc1 = RW.C1
  218. local larmc1 = LW.C1
  219. local rlegc1 = RH.C1
  220. local llegc1 = LH.C1
  221.  
  222. local resetc1 = false
  223.  
  224. function PlayAnimationFromTable(table, speed, bool)
  225. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  226. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  227. RW.C0 = clerp(RW.C0, table[3], speed)
  228. LW.C0 = clerp(LW.C0, table[4], speed)
  229. RH.C0 = clerp(RH.C0, table[5], speed)
  230. LH.C0 = clerp(LH.C0, table[6], speed)
  231. if bool == true then
  232. if resetc1 == false then
  233. resetc1 = true
  234. RootJoint.C1 = RootJoint.C1
  235. Torso.Neck.C1 = Torso.Neck.C1
  236. RW.C1 = rarmc1
  237. LW.C1 = larmc1
  238. RH.C1 = rlegc1
  239. LH.C1 = llegc1
  240. end
  241. end
  242. end
  243.  
  244. ArtificialHB = Create("BindableEvent", script){
  245. Parent = script,
  246. Name = "Heartbeat",
  247. }
  248.  
  249. script:WaitForChild("Heartbeat")
  250.  
  251. frame = 1 / 30
  252. tf = 0
  253. allowframeloss = false
  254. tossremainder = false
  255. lastframe = tick()
  256. script.Heartbeat:Fire()
  257.  
  258. game:GetService("RunService").Heartbeat:connect(function(s, p)
  259. tf = tf + s
  260. if tf >= frame then
  261. if allowframeloss then
  262. script.Heartbeat:Fire()
  263. lastframe = tick()
  264. else
  265. for i = 1, math.floor(tf / frame) do
  266. script.Heartbeat:Fire()
  267. end
  268. lastframe = tick()
  269. end
  270. if tossremainder then
  271. tf = 0
  272. else
  273. tf = tf - frame * math.floor(tf / frame)
  274. end
  275. end
  276. end)
  277.  
  278. function swait(num)
  279. if num == 0 or num == nil then
  280. ArtificialHB.Event:wait()
  281. else
  282. for i = 0, num do
  283. ArtificialHB.Event:wait()
  284. end
  285. end
  286. end
  287.  
  288.  
  289.  
  290. Mouse.Button1Down:connect(function()
  291. if attack == false and attacktype == 1 then
  292. Hit()
  293. attacktype = 2
  294. elseif attack == false and attacktype == 2 then
  295. Hit2()
  296. attacktype = 1
  297. end
  298. end)
  299. Mouse.KeyDown:connect(function(key)
  300. if key == "e" then
  301. KT()
  302. end
  303. if key == "r" then
  304. Rasen()
  305. end
  306. if key == "q" then
  307. Ult()
  308. end
  309. end)
  310.  
  311. function Ult()
  312. if not D then D = true
  313. Pause = true
  314. for i = 0,0.5,0.1 do
  315. swait()
  316. PlayAnimationFromTable({
  317. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.3, 0),
  318. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.3, 0),
  319. CFrame.new(1,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7),
  320. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  321. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  322. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  323. }, .5, false)
  324. end
  325. Kun.Transparency = 1
  326. local HB = Instance.new("Part",Character)
  327. HB.Size = Vector3.new(2,2,2)
  328. HB.CanCollide = false
  329. HB.CFrame = RightArm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0)
  330. local HB2 = Instance.new("SpecialMesh",HB)
  331. HB2.MeshId = "rbxassetid://1184404045"
  332. HB2.TextureId = "rbxassetid://1184404058"
  333. HB2.Scale = Vector3.new(0.5,0.5,0.5)
  334. local Fl = Instance.new("BodyVelocity",HB)
  335. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  336. Fl.velocity = RootPart.CFrame.lookVector*300
  337. HB.Touched:connect(function(hit)
  338. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  339. ZZA = true
  340. if ZZA == true then
  341. HB:remove()
  342. Pause = true
  343. hit.Parent.Humanoid.WalkSpeed = 0
  344. hit.Parent.Humanoid.JumpPower = 0
  345. Humanoid.WalkSpeed = 0
  346. Humanoid.JumpPower = 0
  347. hit.Parent.HumanoidRootPart.Anchored = true
  348. local Sou = Instance.new("Sound",Torso)
  349. Sou.SoundId = "rbxassetid://1105039884"
  350. Sou.Pitch = 1
  351. Sou.Volume = 12
  352. Sou.Looped = false
  353. Sou:play()
  354. local C = Instance.new("Part",Torso)
  355. C.Size = Vector3.new(0.1,0.1,0.1)
  356. C.BrickColor = BrickColor.new("Royal blue")
  357. C.Material = "Neon"
  358. C.CanCollide = false
  359. local C2 = Instance.new("SpecialMesh",C)
  360. C2.MeshType = "Sphere"
  361. C2.Scale = Vector3.new(0.1,0.1,0.1)
  362. local C3 = Instance.new("Weld",C)
  363. C3.Part0 = RightArm
  364. C3.Part1 = C
  365. C3.C0 = CFrame.new(0,-1.1,0)
  366. local FlA = Instance.new("ParticleEmitter",C)
  367. FlA.Texture = "rbxassetid://374933037"
  368. FlA.Size = NumberSequence.new(2)
  369. FlA.Rotation = NumberRange.new(-100, 100)
  370. FlA.RotSpeed = NumberRange.new(-100, 100)
  371. FlA.Transparency = NumberSequence.new(0,1)
  372. FlA.Speed = NumberRange.new(0)
  373. FlA.Lifetime = NumberRange.new(0.3)
  374. FlA.LockedToPart = true
  375. FlA.Rate = 11111
  376. local DlA = Instance.new("ParticleEmitter",C)
  377. DlA.Texture = "rbxassetid://375814631"
  378. DlA.Size = NumberSequence.new(2,0)
  379. DlA.Rotation = NumberRange.new(-100, 100)
  380. DlA.RotSpeed = NumberRange.new(-100, 100)
  381. DlA.Transparency = NumberSequence.new(0,1)
  382. DlA.Speed = NumberRange.new(0)
  383. DlA.LockedToPart = true
  384. DlA.Lifetime = NumberRange.new(0.3)
  385. DlA.Rate = 100
  386. local FFA = Instance.new("ParticleEmitter",C)
  387. FFA.Texture = "rbxassetid://1471463945"
  388. FFA.Size = NumberSequence.new(3,0)
  389. FFA.Rotation = NumberRange.new(-100, 100)
  390. FFA.RotSpeed = NumberRange.new(-100, 100)
  391. FFA.Transparency = NumberSequence.new(0,1)
  392. FFA.Speed = NumberRange.new(0)
  393. FFA.LockedToPart = true
  394. FFA.Lifetime = NumberRange.new(0.3)
  395. FFA.Rate = 50
  396. RootPart.Anchored = true
  397. RootPart.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,27,0)*CFrame.Angles(0,0,0)
  398. for i = 0,1.2,0.1 do
  399. swait()
  400. PlayAnimationFromTable({
  401. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.55, 0, 0),
  402. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  403. CFrame.new(1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.5),
  404. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  405. CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  406. CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  407. }, .5, false)
  408. end
  409. RootPart.Anchored = false
  410. local Fle = Instance.new("BodyPosition",RootPart)
  411. Fle.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  412. Fle.P = 3000
  413. Fle.D = 300
  414. Fle.position = hit.Parent.HumanoidRootPart.Position
  415. wait(0.5)
  416. Fle:remove()
  417. hit.Parent.Humanoid:TakeDamage(300)
  418. local Ef = Instance.new("Part",Torso)
  419. Ef.Size = Vector3.new(1,1,1)
  420. Ef.CanCollide = false
  421. Ef.Anchored = true
  422. Ef.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)
  423. Ef.Material = "Neon"
  424. Ef.BrickColor = BrickColor.new("Toothpaste")
  425. local Ef2 = Instance.new("SpecialMesh",Ef)
  426. Ef2.MeshType = "Sphere"
  427. Ef2.Scale = Vector3.new(1,1,1)
  428. local Rin = Instance.new("Part",Torso)
  429. Rin.Size = Vector3.new(1,1,1)
  430. Rin.Material = "Neon"
  431. Rin.BrickColor = BrickColor.new("White")
  432. Rin.CanCollide = false
  433. Rin.Transparency = 0
  434. Rin.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.56,0,0)
  435. Rin.Anchored = true
  436. local Rin2 = Instance.new("SpecialMesh",Rin)
  437. Rin2.MeshId = "rbxassetid://3270017"
  438. Rin2.Scale = Vector3.new(1,1,0.1)
  439. local Bla = Instance.new("Part",Torso)
  440. Bla.Size = Vector3.new(1,1,1)
  441. Bla.BrickColor = BrickColor.new("White")
  442. Bla.CanCollide = false
  443. Bla.Anchored = true
  444. Bla.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  445. local Bla2 = Instance.new("SpecialMesh",Bla)
  446. Bla2.MeshId = "rbxassetid://20329976"
  447. Bla2.Scale = Vector3.new(1,1,1)
  448. local TOA = Instance.new("Part",Torso)
  449. TOA.Size = Vector3.new(1,1,1)
  450. TOA.BrickColor = BrickColor.new("White")
  451. TOA.CanCollide = false
  452. TOA.Anchored = true
  453. TOA.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  454. local TOA2 = Instance.new("SpecialMesh",TOA)
  455. TOA2.MeshId = "rbxassetid://1051557"
  456. TOA2.Scale = Vector3.new(1,1,1)
  457. local FCZ = Instance.new("Sound",Torso)
  458. FCZ.SoundId = "rbxassetid://165969964"
  459. FCZ.Volume = math.huge
  460. FCZ.Pitch = 1
  461. FCZ.Looped = false
  462. FCZ:Play()
  463. ROW(20, 0, Vector3.new(30,30,7), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  464. ROW(30, 0, Vector3.new(50,50,7), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  465. coroutine.resume(coroutine.create(function()
  466. for i = 1,1000 do
  467. TOA2.Scale = TOA2.Scale + Vector3.new(0.6,0.6,0.6)
  468. TOA.Transparency = TOA.Transparency + 0.002
  469. TOA.CFrame = TOA.CFrame*CFrame.new(0,0.3,0)*CFrame.Angles(0,0.3,0)
  470. Bla.CFrame = Bla.CFrame*CFrame.new(0,0.3,0)*CFrame.Angles(0,0.3,0)
  471. Bla2.Scale = Bla2.Scale + Vector3.new(0.7,0.7,0.7)
  472. Bla.Transparency = Bla.Transparency + 0.002
  473. Ef2.Scale = Ef2.Scale + Vector3.new(0.4,0.4,0.4)
  474. Ef.Transparency = Ef.Transparency + 0.002
  475. Rin2.Scale = Rin2.Scale + Vector3.new(0.6,0.6,0)
  476. Rin.Transparency = Rin.Transparency + 0.002
  477. game:GetService("RunService").RenderStepped:wait()
  478. end
  479. end))
  480. for i = 0,1.2,0.1 do
  481. swait()
  482. PlayAnimationFromTable({
  483. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.55, 0, 0),
  484. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  485. CFrame.new(1.4,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.1),
  486. CFrame.new(-1.5,0,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  487. CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  488. CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  489. }, .5, false)
  490. end
  491. Pause = false
  492. FlA.Enabled = false
  493. DlA.Enabled = false
  494. FFA.Enabled = false
  495. Kun.Transparency = 0
  496. Humanoid.WalkSpeed = 30
  497. Humanoid.JumpPower = 50
  498. wait(3)
  499. C:remove()
  500. end
  501. end
  502. end)
  503. for i = 0,0.5,0.1 do
  504. swait()
  505. PlayAnimationFromTable({
  506. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0),
  507. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0),
  508. CFrame.new(1.9,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7),
  509. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  510. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  511. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  512. }, .5, false)
  513. end
  514. if ZZA == false then
  515. Pause = false
  516. end
  517. wait(2)
  518. D = false
  519. end
  520. end
  521. function Rasen()
  522. if not D then D = true
  523. Pause = true
  524. for i = 0,1.2,0.1 do
  525. swait()
  526. PlayAnimationFromTable({
  527. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0),
  528. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0),
  529. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4,0,0),
  530. CFrame.new(-1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.6),
  531. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  532. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  533. }, .5, false)
  534. end
  535. local Sou = Instance.new("Sound",Torso)
  536. Sou.SoundId = "rbxassetid://1105039884"
  537. Sou.Pitch = 1
  538. Sou.Volume = 12
  539. Sou.Looped = false
  540. Sou:play()
  541. local HB = Instance.new("Part",Character)
  542. HB.Size = Vector3.new(1,1,1)
  543. HB.CanCollide = false
  544. HB.Transparency = 1
  545. local HB2 = Instance.new("Weld",HB)
  546. HB2.Part0 = LeftArm
  547. HB2.Part1 = HB
  548. HB2.C0 = CFrame.new(0,-1.1,0)
  549. local C = Instance.new("Part",Torso)
  550. C.Size = Vector3.new(0.1,0.1,0.1)
  551. C.BrickColor = BrickColor.new("Royal blue")
  552. C.Material = "Neon"
  553. C.CanCollide = false
  554. local C2 = Instance.new("SpecialMesh",C)
  555. C2.MeshType = "Sphere"
  556. C2.Scale = Vector3.new(0.1,0.1,0.1)
  557. local C3 = Instance.new("Weld",C)
  558. C3.Part0 = LeftArm
  559. C3.Part1 = C
  560. C3.C0 = CFrame.new(0,-1.1,0)
  561. local FlA = Instance.new("ParticleEmitter",C)
  562. FlA.Texture = "rbxassetid://374933037"
  563. FlA.Size = NumberSequence.new(2)
  564. FlA.Rotation = NumberRange.new(-100, 100)
  565. FlA.RotSpeed = NumberRange.new(-100, 100)
  566. FlA.Transparency = NumberSequence.new(0,1)
  567. FlA.Speed = NumberRange.new(0)
  568. FlA.Lifetime = NumberRange.new(0.3)
  569. FlA.LockedToPart = true
  570. FlA.Rate = 11111
  571. local DlA = Instance.new("ParticleEmitter",C)
  572. DlA.Texture = "rbxassetid://375814631"
  573. DlA.Size = NumberSequence.new(2,0)
  574. DlA.Rotation = NumberRange.new(-100, 100)
  575. DlA.RotSpeed = NumberRange.new(-100, 100)
  576. DlA.Transparency = NumberSequence.new(0,1)
  577. DlA.Speed = NumberRange.new(0)
  578. DlA.LockedToPart = true
  579. DlA.Lifetime = NumberRange.new(0.3)
  580. DlA.Rate = 100
  581. local FFA = Instance.new("ParticleEmitter",C)
  582. FFA.Texture = "rbxassetid://1471463945"
  583. FFA.Size = NumberSequence.new(3,0)
  584. FFA.Rotation = NumberRange.new(-100, 100)
  585. FFA.RotSpeed = NumberRange.new(-100, 100)
  586. FFA.Transparency = NumberSequence.new(0,1)
  587. FFA.Speed = NumberRange.new(0)
  588. FFA.LockedToPart = true
  589. FFA.Lifetime = NumberRange.new(0.3)
  590. FFA.Rate = 50
  591. wait(1.5)
  592. HB.Touched:connect(function(hit)
  593. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  594. HB:remove()
  595. Fl.velocity = RootPart.CFrame.lookVector*0
  596. local Im = Instance.new("Sound",hit.Parent.Head)
  597. Im.SoundId = "rbxassetid://1291549808"
  598. Im.Volume = math.huge
  599. Im.Looped = false
  600. Im.Pitch = 1
  601. Im:play()
  602. local Ef = Instance.new("Part",hit.Parent)
  603. Ef.Size = Vector3.new(1,1,1)
  604. Ef.CanCollide = false
  605. Ef.Anchored = true
  606. Ef.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)
  607. Ef.Material = "Neon"
  608. Ef.BrickColor = BrickColor.new("Toothpaste")
  609. local Ef2 = Instance.new("SpecialMesh",Ef)
  610. Ef2.MeshType = "Sphere"
  611. Ef2.Scale = Vector3.new(1,1,1)
  612. local Rin = Instance.new("Part",hit.Parent)
  613. Rin.Size = Vector3.new(1,1,1)
  614. Rin.Material = "Neon"
  615. Rin.BrickColor = BrickColor.new("White")
  616. Rin.CanCollide = false
  617. Rin.Transparency = 0
  618. Rin.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.56,0,0)
  619. Rin.Anchored = true
  620. local Rin2 = Instance.new("SpecialMesh",Rin)
  621. Rin2.MeshId = "rbxassetid://3270017"
  622. Rin2.Scale = Vector3.new(1,1,0.1)
  623. coroutine.resume(coroutine.create(function()
  624. for i = 1,130 do
  625. Ef2.Scale = Ef2.Scale + Vector3.new(1,1,1)
  626. Ef.Transparency = Ef.Transparency + 0.009
  627. Rin2.Scale = Rin2.Scale + Vector3.new(1.2,1.2,0)
  628. Rin.Transparency = Rin.Transparency + 0.009
  629. game:GetService("RunService").RenderStepped:wait()
  630. end
  631. Rin:remove()
  632. Ef:remove()
  633. end))
  634. hit.Parent.Humanoid:TakeDamage(60)
  635. hit.Parent.Humanoid.Sit = true
  636. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  637. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  638. Fl.velocity = RootPart.CFrame.lookVector*120
  639. wait(0.2)
  640. Fl:remove()
  641. end
  642. end)
  643. Fl = Instance.new("BodyVelocity",Torso)
  644. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  645. Fl.velocity = RootPart.CFrame.lookVector*180
  646. for i = 0,1.2,0.1 do
  647. swait()
  648. PlayAnimationFromTable({
  649. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  650. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  651. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0),
  652. CFrame.new(-1.5,0.6,-0.8) * CFrame.new(0, 0, 0) * CFrame.Angles(2, 0, 0),
  653. CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  654. CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  655. }, .5, false)
  656. end
  657. wait(1)
  658. Fl.velocity = RootPart.CFrame.lookVector*0
  659. Fl:remove()
  660. DlA.Enabled = false
  661. FlA.Enabled = false
  662. FFA.Enabled = false
  663. HB:remove()
  664. Pause = false
  665. Sou:remove()
  666. wait(1)
  667. D = false
  668. end
  669. end
  670.  
  671. function KT()
  672. if not D then D = true
  673. Pause = true
  674. for i = 0,0.5,0.1 do
  675. swait()
  676. PlayAnimationFromTable({
  677. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.3, 0),
  678. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.3, 0),
  679. CFrame.new(1,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7),
  680. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  681. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  682. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  683. }, .5, false)
  684. end
  685. Kun.Transparency = 1
  686. local Kan = Instance.new("Part",RightArm)
  687. Kan.Size = Vector3.new(0.1,0.1,0.1)
  688. Kan.CanCollide = false
  689. Kan.CFrame = RightArm.CFrame*CFrame.new(0,-1.1,0)*CFrame.Angles(0,1.55,0)
  690. local Kan2 = Instance.new("SpecialMesh",Kan)
  691. Kan2.MeshId = "rbxassetid://1184404045"
  692. Kan2.TextureId = "rbxassetid://1184404058"
  693. Kan2.Scale = Vector3.new(0.5,0.5,0.5)
  694. local Fl = Instance.new("BodyVelocity",Kan)
  695. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  696. Fl.velocity = Mouse.hit.lookVector*300
  697. Kan.Touched:connect(function()
  698. if hitted == false then
  699. hitted = true
  700. Kan.Anchored = true
  701. Trail.Enabled = true
  702. local S = Instance.new("Sound",Character.Torso)
  703. S.Volume = 1212
  704. S.Looped = false
  705. S.Pitch = 1
  706. S.SoundId = "rbxassetid://588277987"
  707. S:play()
  708. local Lim = Instance.new("Part",Torso)
  709. Lim.Size = Vector3.new(1,1,1)
  710. Lim.Material = "Neon"
  711. Lim.BrickColor = BrickColor.new("White")
  712. Lim.CanCollide = false
  713. Lim.CFrame = RootPart.CFrame*CFrame.new(0,-1.9,0)*CFrame.Angles(0,0,0)
  714. Lim.Anchored = true
  715. local Lim2 = Instance.new("SpecialMesh",Lim)
  716. Lim2.MeshId = "rbxassetid://489415447"
  717. Lim2.Scale = Vector3.new(1,1,1)
  718. local Dim = Instance.new("Part",Torso)
  719. Dim.Size = Vector3.new(1,1,1)
  720. Dim.Material = "Neon"
  721. Dim.BrickColor = BrickColor.new("White")
  722. Dim.CanCollide = false
  723. Dim.CFrame = RootPart.CFrame*CFrame.new(0,-1.9,0)*CFrame.Angles(0,0,0)
  724. Dim.Anchored = true
  725. local Dim2 = Instance.new("SpecialMesh",Dim)
  726. Dim2.MeshId = "rbxassetid://489415447"
  727. Dim2.Scale = Vector3.new(1,1,1)
  728. coroutine.resume(coroutine.create(function()
  729. for i = 1,200 do
  730. Lim2.Scale = Lim2.Scale + Vector3.new(0.1,0.1,0.1)
  731. Lim.Transparency = Lim.Transparency + 0.009
  732. Lim.CFrame = Lim.CFrame*CFrame.Angles(0,0.3,0)
  733. Dim2.Scale = Dim2.Scale + Vector3.new(0.2,0.2,0.2)
  734. Dim.Transparency = Dim.Transparency + 0.009
  735. Dim.CFrame = Dim.CFrame*CFrame.Angles(0,-0.3,0)
  736. game:GetService("RunService").RenderStepped:wait()
  737. end
  738. Lim:remove()
  739. end))
  740. wait(0.005)
  741. Kun.Transparency = 0
  742. coroutine.resume(coroutine.create(function()
  743. wait(0.6)
  744. Trail.Enabled = false
  745. end))
  746. RootPart.CFrame = Kan.CFrame*CFrame.new(0,-9,0)*CFrame.Angles(0,0,-1.55)
  747. hitted = false
  748. Kan:remove()
  749. end
  750. end)
  751. for i = 0,0.5,0.1 do
  752. swait()
  753. PlayAnimationFromTable({
  754. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0),
  755. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0),
  756. CFrame.new(1.9,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7),
  757. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  758. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  759. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  760. }, .5, false)
  761. end
  762. Pause = false
  763. wait(0.5)
  764. D = false
  765. end
  766. end
  767. function Hit()
  768. if not D then D = true
  769. Pause = true
  770. for i = 0,0.5,0.1 do
  771. swait()
  772. PlayAnimationFromTable({
  773. CFrame.new(0,0,0) * CFrame.new(0, -0.2, 0) * CFrame.Angles(-0.2, -0.6, 0),
  774. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0.6, 0),
  775. CFrame.new(1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7),
  776. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0),
  777. CFrame.new(0.9,-1.8,0) * CFrame.new(0, 0, -0.2) *CFrame.Angles(0.2,0,0)* CFrame.Angles(-0.8, 0, 0.5),
  778. CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0.2, 0, 0),
  779. }, .5, false)
  780. end
  781. local HB = Instance.new("Part",Character)
  782. HB.Size = Vector3.new(2,2,2)
  783. HB.CanCollide = false
  784. HB.Transparency = 1
  785. local HB2 = Instance.new("Weld",HB)
  786. HB2.Part0 = RightArm
  787. HB2.Part1 = HB
  788. HB2.C0 = CFrame.new(0,-1.3,0)
  789. local F = Instance.new("Sound",Character.Torso)
  790. F.SoundId = "rbxassetid://358509727"
  791. F.Volume = 11
  792. F.Looped = false
  793. F.Pitch = 1
  794. F:play()
  795. HB.Touched:connect(function(hit)
  796. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  797. HB:remove()
  798. hit.Parent.Humanoid:TakeDamage(20)
  799. local S = Instance.new("Sound",hit.Parent)
  800. S.SoundId = "rbxassetid://566593606"
  801. S.Pitch = 1
  802. S.Looped = false
  803. S.Volume = 11
  804. S:play()
  805. local Fl = Instance.new("BodyVelocity",hit.Parent.HumanoidRootPart)
  806. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  807. Fl.velocity = RootPart.CFrame.lookVector*15
  808. wait(0.1)
  809. Fl:remove()
  810. end
  811. end)
  812. for i = 0,0.5,0.1 do
  813. swait()
  814. PlayAnimationFromTable({
  815. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.6, 0),
  816. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.6, 0),
  817. CFrame.new(0.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7),
  818. CFrame.new(-1.5,0,0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, 0),
  819. CFrame.new(0.5,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  820. CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  821. }, .5, false)
  822. Kun3.C0 = clerp(Kun3.C0,CFrame.new(0.3,-1.7,0)*CFrame.Angles(0,1.55,0)*CFrame.Angles(1.55,0,0),.3)
  823. end
  824. Pause = false
  825. wait(0.1)
  826. HB:remove()
  827. D = false
  828. end
  829. end
  830.  
  831. function Hit2()
  832. if not D then D = true
  833. Pause = true
  834. for i = 0,0.5,0.1 do
  835. swait()
  836. PlayAnimationFromTable({
  837. CFrame.new(0,0,0) * CFrame.new(0, -0.2, 0) * CFrame.Angles(-0.2, 0.6, 0),
  838. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, -0.6, 0),
  839. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2,0,0),
  840. CFrame.new(-1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0.7),
  841. CFrame.new(0.9,-1.8,0) * CFrame.new(0, 0, -0.2) *CFrame.Angles(0.2,0,0)* CFrame.Angles(-0.8, 0, 0.5),
  842. CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0.2, 0, 0),
  843. }, .5, false)
  844. end
  845. local HB = Instance.new("Part",Character)
  846. HB.Size = Vector3.new(1,1,1)
  847. HB.CanCollide = false
  848. HB.Transparency = 1
  849. local HB2 = Instance.new("Weld",HB)
  850. HB2.Part0 = LeftArm
  851. HB2.Part1 = HB
  852. HB2.C0 = CFrame.new(0,-1.1,0)
  853. local F = Instance.new("Sound",Character.Torso)
  854. F.SoundId = "rbxassetid://908217684"
  855. F.Volume = 11
  856. F.Looped = false
  857. F.Pitch = 1
  858. F:play()
  859. HB.Touched:connect(function(hit)
  860. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  861. HB:remove()
  862. hit.Parent.Humanoid:TakeDamage(13)
  863. local S = Instance.new("Sound",hit.Parent)
  864. S.SoundId = "rbxassetid://936700628"
  865. S.Pitch = 1
  866. S.Looped = false
  867. S.Volume = 11
  868. S:play()
  869. local Fl = Instance.new("BodyVelocity",hit.Parent.HumanoidRootPart)
  870. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  871. Fl.velocity = RootPart.CFrame.lookVector*15
  872. wait(0.1)
  873. Fl:remove()
  874. end
  875. end)
  876. for i = 0,0.5,0.1 do
  877. swait()
  878. PlayAnimationFromTable({
  879. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.6, 0),
  880. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.6, 0),
  881. CFrame.new(1.5,0,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4,0,0),
  882. CFrame.new(-1.2,0.5,-1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.2),
  883. CFrame.new(0.5,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  884. CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  885. }, .5, false)
  886. Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
  887. end
  888. Pause = false
  889. wait(0.1)
  890. HB:remove()
  891. D = false
  892. end
  893. end
  894. New = function(Object, Parent, Name, Data)
  895. local Object = Instance.new(Object)
  896. for Index, Value in pairs(Data or {}) do
  897. Object[Index] = Value
  898. end
  899. Object.Parent = Parent
  900. Object.Name = Name
  901. return Object
  902. end
  903. function rayCast(Position, Direction, Range, Ignore)
  904. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  905. end
  906.  
  907.  
  908.  
  909.  
  910. coroutine.wrap(function()
  911. while 1 do
  912. swait()
  913. if doe <= 360 then
  914. doe = doe + 2
  915. else
  916. doe = 0
  917. end
  918. end
  919. end)()
  920. while true do
  921. swait()
  922. RightArm.BrickColor = ZZZ
  923. LeftArm.BrickColor = ZZZ
  924. Torso.BrickColor = ZZZ
  925. RightLeg.BrickColor = ZZZ
  926. LeftLeg.BrickColor = ZZZ
  927. Head.BrickColor = ZZZ
  928. for i, v in pairs(Character:GetChildren()) do
  929. if v:IsA("Part") then
  930. v.Material = "SmoothPlastic"
  931. elseif v:IsA("Accessory") then
  932. v:WaitForChild("Handle").Material = "SmoothPlastic"
  933. end
  934. end
  935.  
  936. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  937. velocity = RootPart.Velocity.y
  938. sine = sine + change
  939. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  940. if RootPart.Velocity.y > 1 and hit == nil then
  941. Anim = "Jump"
  942. if Pause == false then
  943. PlayAnimationFromTable({
  944. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  945. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  946. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), --- RightArm
  947. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  948. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  949. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  950. }, .3, false)
  951. end
  952. elseif RootPart.Velocity.y < -1 and hit == nil then
  953. Anim = "Fall"
  954. if Pause == false then
  955. PlayAnimationFromTable({
  956. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  957. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  958. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), --- RightArm
  959. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  960. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  961. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  962. }, .3, false)
  963. end
  964. elseif Torsovelocity < 1 and hit ~= nil then
  965. Anim = "Idle"
  966. if Pause == false then
  967. change = 1
  968. PlayAnimationFromTable({
  969. CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 1, 0), -- Torso,
  970. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), ----- Head
  971. CFrame.new(1,0.5,-0.5) * CFrame.new(0,0, 0) * CFrame.Angles(1.55,0,-0.5), --- RightArm
  972. CFrame.new(-1.6,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1),--LeftArm
  973. CFrame.new(0.5,-1.6,-0.3) * CFrame.new(0, 0-.1*math.sin(tick()*2), 0)* CFrame.Angles(-0.5, 0, 0), --RightLeg
  974. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  975. }, .3, false)
  976. Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
  977. end
  978. elseif Torsovelocity > 2 and hit ~= nil then
  979. Anim = "Walk"
  980. if Pause == false then
  981. PlayAnimationFromTable({
  982. CFrame.new(0,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*26), 0) * CFrame.Angles(-0.5, 0, 0+RootPart.RotVelocity.Y/33), -- Torso,
  983. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0+RootPart.RotVelocity.Y/20, 0), ----- Head
  984. CFrame.new(1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.11,0,0), --- RightArm
  985. CFrame.new(-1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.11, 0, 0),--LeftArm
  986. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .9 * math.cos((sine) / 2)) * CFrame.Angles(0-1*math.cos((sine) / 2),0,0)*CFrame.Angles(math.rad(0 - 40 * math.cos((sine) / 2)), 0, 0-RootPart.RotVelocity.Y/33),
  987. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .9 * math.cos((sine) / 2)) * CFrame.Angles(0+1*math.cos((sine) / 2),0,0)*CFrame.Angles(math.rad(0 + 40 * math.cos((sine) / 2)), 0, 0-RootPart.RotVelocity.Y/33),
  988. }, .3, false)
  989. Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
  990. end
  991. end
  992. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement