Advertisement
UserTheAbusedTurkey

i need this to work

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