Advertisement
UserTheAbusedTurkey

Minato bijuu

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