Advertisement
Guest User

ffgjhytjghkkt2

a guest
Nov 22nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.79 KB | None | 0 0
  1. -------------
  2. --Big Daddy--
  3. ----------------------------------------------------------------
  4. --By CKbackup (Sugarie Saffron) --
  5. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  6. --Discord: Sugarie Saffron#4705 --
  7. ----------------------------------------------------------------
  8.  
  9. wait(.1)
  10. local Player = game:service'Players'.LocalPlayer
  11. local chara = Player.Character
  12. local Mouse = Player:GetMouse()
  13. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  14. local LeftArm = chara["Left Arm"]
  15. local RightArm = chara["Right Arm"]
  16. local LeftLeg = chara["Left Leg"]
  17. local RightLeg = chara["Right Leg"]
  18. local Head = chara.Head
  19. local Torso = chara.Torso
  20. local RootPart = chara.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local attack = false
  23. local Anim = 'Idle'
  24. local attacktype = 1
  25. local delays = false
  26. local play = true
  27. local targetted = nil
  28. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local doe = 0
  33. local Create = LoadLibrary("RbxUtility").Create
  34. Humanoid.WalkSpeed = 16
  35. debby = game:GetService("Debris")
  36.  
  37. Humanoid.MaxHealth = 800
  38. Humanoid.Health = 800
  39.  
  40. Humanoid.Animator.Parent = nil
  41. chara.Animate.Parent = nil
  42.  
  43.  
  44. local newMotor = function(part0, part1, c0, c1)
  45. local w = Create('Motor'){
  46. Parent = part0,
  47. Part0 = part0,
  48. Part1 = part1,
  49. C0 = c0,
  50. C1 = c1,
  51. }
  52. return w
  53. end
  54.  
  55. function clerp(a, b, t)
  56. return a:lerp(b, t)
  57. end
  58.  
  59. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  60. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  61.  
  62. LeftArm.Size = LeftArm.Size * 1.3
  63. RightArm.Size = RightArm.Size * 1.3
  64. LeftLeg.Size = LeftLeg.Size * 1.3
  65. RightLeg.Size = RightLeg.Size * 1.3
  66. Torso.Size = Torso.Size * 1.3
  67. Head.Size = Head.Size * 1.3
  68. RootPart.Size = RootPart.Size * 1.3
  69.  
  70. local RW = newMotor(Torso, RightArm, CFrame.new(1.95, 0, 0), CFrame.new(0, 0, 0))
  71. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.95, 0, 0), CFrame.new(0, 0, 0))
  72. local Neck = newMotor(Torso, Head, CFrame.new(0,1.95,0), CFrame.new())
  73. local RH = newMotor(Torso, RightLeg, CFrame.new(.65, -2.6, 0), CFrame.new(0, 0, 0))
  74. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.65, -2.6, 0), CFrame.new(0, 0, 0))
  75. local RootJoint = newMotor(RootPart, Torso, CFrame.new(0,-1.3,0), CFrame.new(0,0,0))
  76.  
  77. local rarmc1 = RW.C1
  78. local larmc1 = LW.C1
  79. local rlegc1 = RH.C1
  80. local llegc1 = LH.C1
  81.  
  82. local resetc1 = false
  83.  
  84. function PlayAnimationFromTable(table, speed, bool)
  85. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  86. Neck.C0 = clerp(Neck.C0, table[2], speed)
  87. RW.C0 = clerp(RW.C0, table[3], speed)
  88. LW.C0 = clerp(LW.C0, table[4], speed)
  89. RH.C0 = clerp(RH.C0, table[5], speed)
  90. LH.C0 = clerp(LH.C0, table[6], speed)
  91. if bool == true then
  92. if resetc1 == false then
  93. resetc1 = true
  94. RootJoint.C1 = RootJoint.C1
  95. Neck.C1 = Neck.C1
  96. RW.C1 = rarmc1
  97. LW.C1 = larmc1
  98. RH.C1 = rlegc1
  99. LH.C1 = llegc1
  100. end
  101. end
  102. end
  103.  
  104. function so(id,par,pit,vol)
  105. local sou = Instance.new("Sound", par or workspace)
  106. if par == chara then
  107. sou.Parent = chara.Torso
  108. end
  109. sou.Volume = vol
  110. sou.Pitch = pit or 1
  111. sou.SoundId = "rbxassetid://" .. id
  112. sou.PlayOnRemove = true
  113. sou:Destroy()
  114. end
  115.  
  116. --This is just for builds--
  117. New = function(Object, Parent, Name, Data)
  118. local Object = Instance.new(Object)
  119. for Index, Value in pairs(Data or {}) do
  120. Object[Index] = Value
  121. end
  122. Object.Parent = Parent
  123. Object.Name = Name
  124. return Object
  125. end
  126.  
  127. local mus = Instance.new("Sound",Head)
  128. mus.Name = "mus"
  129. mus.SoundId = "rbxassetid://318340174"
  130. mus.Looped = true
  131. mus.Volume = 1
  132. mus:Play()
  133.  
  134. end
  135.  
  136. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  137. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  138. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  139. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  140. return TEff
  141. end
  142.  
  143. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  144. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  145. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  146. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  147.  
  148.  
  149. function rayCast(Position, Direction, Range, Ignore)
  150. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  151. end
  152.  
  153. function FindNearestTorso(Position, Distance, SinglePlayer)
  154. if SinglePlayer then
  155. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  156. end
  157. local List = {}
  158. for i, v in pairs(workspace:GetDescendants()) do
  159. if v:IsA("Model") then
  160. if v:findFirstChild("Head") then
  161. if v ~= chara then
  162. if (v.Head.Position - Position).magnitude <= Distance then
  163. table.insert(List, v)
  164. end
  165. end
  166. end
  167. end
  168. end
  169. return List
  170. end
  171.  
  172. ArtificialHB = Instance.new("BindableEvent", script)
  173. ArtificialHB.Name = "Heartbeat"
  174. script:waitForChild("Heartbeat")
  175. frame = 0.03333333333333
  176. tf = 0
  177. allowframeloss = false
  178. tossremainder = false
  179. lastframe = tick()
  180. script.Heartbeat:Fire()
  181. game:GetService("RunService").Heartbeat:connect(function(s, p)
  182. tf = tf + s
  183. if tf >= frame then
  184. if allowframeloss then
  185. script.Heartbeat:Fire()
  186. lastframe = tick()
  187. else
  188. for i = 1, math.floor(tf / frame) do
  189. script.Heartbeat:Fire()
  190. end
  191. lastframe = tick()
  192. end
  193. if tossremainder then
  194. tf = 0
  195. else
  196. tf = tf - frame * math.floor(tf / frame)
  197. end
  198. end
  199. end)
  200. function swait(num)
  201. if num == 0 or num == nil then
  202. ArtificialHB.Event:wait()
  203. else
  204. for i = 0, num*30 do
  205. ArtificialHB.Event:wait()
  206. end
  207. end
  208. end
  209.  
  210. EffectModel = Create("Model"){
  211. Parent = chara,
  212. Name = "Effects",
  213. }
  214.  
  215. --Effect Functions--
  216. Effects = {
  217.  
  218. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  219. local p = Instance.new("Part",EffectModel)
  220. p.BrickColor = BrickColor.new(colour)
  221. p.Size = partsize
  222. p.Anchored = true
  223. p.CanCollide = false
  224. p.Material = matr
  225. p.CFrame = cf
  226. if inverse == true then
  227. p.Transparency = 1
  228. else
  229. p.Transparency = 0
  230. end
  231. local m = Instance.new("BlockMesh",p)
  232. m.Scale = meshstart
  233. coroutine.wrap(function()
  234. for i=0,1,factor do
  235. swait()
  236. if inverse == true then
  237. p.Transparency = 1-i
  238. else
  239. p.Transparency = i
  240. end
  241. m.Scale = m.Scale + meshadd
  242. if spin == true then
  243. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  244. end
  245. end
  246. p:Destroy()
  247. end)()
  248. return p
  249. end,
  250.  
  251. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  252. local p = Instance.new("Part",EffectModel)
  253. p.BrickColor = BrickColor.new(colour)
  254. p.Size = partsize
  255. p.Anchored = true
  256. p.CanCollide = false
  257. p.Material = matr
  258. p.CFrame = cf
  259. if inverse == true then
  260. p.Transparency = 1
  261. else
  262. p.Transparency = 0
  263. end
  264. local m = Instance.new("SpecialMesh",p)
  265. m.MeshType = "Sphere"
  266. m.Scale = meshstart
  267. coroutine.wrap(function()
  268. for i=0,1,factor do
  269. swait()
  270. if inverse == true then
  271. p.Transparency = 1-i
  272. else
  273. p.Transparency = i
  274. end
  275. m.Scale = m.Scale + meshadd
  276. end
  277. p:Destroy()
  278. end)()
  279. return p
  280. end,
  281.  
  282. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  283. local p = Instance.new("Part",EffectModel)
  284. p.BrickColor = BrickColor.new(colour)
  285. p.Size = partsize
  286. p.Anchored = true
  287. p.CanCollide = false
  288. p.Material = matr
  289. p.CFrame = cf
  290. if inverse == true then
  291. p.Transparency = 1
  292. else
  293. p.Transparency = 0
  294. end
  295. local m = Instance.new("CylinderMesh",p)
  296. m.Scale = meshstart
  297. coroutine.wrap(function()
  298. for i=0,1,factor do
  299. swait()
  300. if inverse == true then
  301. p.Transparency = 1-i
  302. else
  303. p.Transparency = i
  304. end
  305. m.Scale = m.Scale + meshadd
  306. end
  307. p:Destroy()
  308. end)()
  309. return p
  310. end,
  311.  
  312. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  313. local p = Instance.new("Part",EffectModel)
  314. p.BrickColor = BrickColor.new(colour)
  315. p.Size = Vector3.new()
  316. p.Anchored = true
  317. p.CanCollide = false
  318. p.CFrame = cf
  319. if inverse == true then
  320. p.Transparency = 1
  321. else
  322. p.Transparency = 0
  323. end
  324. local m = Instance.new("SpecialMesh",p)
  325. m.MeshId = "rbxassetid://20329976"
  326. m.Scale = meshstart
  327. coroutine.wrap(function()
  328. for i=0,1,factor do
  329. swait()
  330. if inverse == true then
  331. p.Transparency = 1-i
  332. else
  333. p.Transparency = i
  334. end
  335. m.Scale = m.Scale + meshadd
  336. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  337. end
  338. p:Destroy()
  339. end)()
  340. return p
  341. end,
  342.  
  343. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  344. local p = Instance.new("Part",EffectModel)
  345. p.BrickColor = BrickColor.new(colour)
  346. p.Size = Vector3.new()
  347. p.Anchored = true
  348. p.CanCollide = false
  349. p.CFrame = cf
  350. if inverse == true then
  351. p.Transparency = 1
  352. else
  353. p.Transparency = 0
  354. end
  355. local m = Instance.new("SpecialMesh",p)
  356. m.MeshId = "rbxassetid://3270017"
  357. m.Scale = meshstart
  358. coroutine.wrap(function()
  359. for i=0,1,factor do
  360. swait()
  361. if inverse == true then
  362. p.Transparency = 1-i
  363. else
  364. p.Transparency = i
  365. end
  366. m.Scale = m.Scale + meshadd
  367. end
  368. p:Destroy()
  369. end)()
  370. return p
  371. end,
  372.  
  373. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  374. local p = Instance.new("Part",EffectModel)
  375. p.BrickColor = BrickColor.new(colour)
  376. p.Size = Vector3.new()
  377. p.Anchored = true
  378. p.CanCollide = false
  379. p.CFrame = cf
  380. if inverse == true then
  381. p.Transparency = 1
  382. else
  383. p.Transparency = 0
  384. end
  385. local m = Instance.new("SpecialMesh",p)
  386. m.MeshId = meshid
  387. m.TextureId = textid
  388. m.Scale = meshstart
  389. coroutine.wrap(function()
  390. for i=0,1,factor do
  391. swait()
  392. if inverse == true then
  393. p.Transparency = 1-i
  394. else
  395. p.Transparency = i
  396. end
  397. m.Scale = m.Scale + meshadd
  398. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  399. end
  400. p:Destroy()
  401. end)()
  402. return p
  403. end,
  404.  
  405. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  406. local p = Instance.new("Part",EffectModel)
  407. p.BrickColor = BrickColor.new(colour)
  408. p.Size = partsize
  409. p.Anchored = true
  410. p.CanCollide = false
  411. p.Material = matr
  412. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  413. if inverse == true then
  414. p.Transparency = 1
  415. else
  416. p.Transparency = 0
  417. end
  418. local m = Instance.new("SpecialMesh",p)
  419. m.MeshType = "Sphere"
  420. m.Scale = meshstart
  421. coroutine.wrap(function()
  422. for i=0,1,factor do
  423. swait()
  424. if inverse == true then
  425. p.Transparency = 1-i
  426. else
  427. p.Transparency = i
  428. end
  429. m.Scale = m.Scale + meshadd
  430. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  431. end
  432. p:Destroy()
  433. end)()
  434. return p
  435. end,
  436.  
  437. }
  438.  
  439. function GetDudesTorso(c)
  440. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  441. if torsy ~= nil then
  442. return torsy
  443. end
  444. end
  445.  
  446. function BodyVel(part,faws)
  447. local bodyvel = Instance.new("BodyVelocity",part)
  448. local pep = 10000000
  449. bodyvel.P = pep
  450. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  451. bodyvel.Velocity = faws
  452. debby:AddItem(bodyvel,.2)
  453. end
  454.  
  455. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  456. if dude and dude ~= chara then
  457. if dude:FindFirstChild("HITO") then return end
  458. local debounce = Instance.new("BoolValue",dude)
  459. debounce.Name = "HITO"
  460. debby:AddItem(debounce,toim)
  461. local hum = dude:FindFirstChildOfClass("Humanoid")
  462. local dam = dmg+math.random(-env,env)
  463. local teksu = "-"..dam
  464. if hum then
  465. local finhel = hum.Health - dam
  466. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  467. Instance.new("BoolValue",dude).Name = "DEATHED"
  468. end
  469. hum.Health = hum.Health - dam
  470. end
  471. coroutine.wrap(function()
  472. local naeeym2 = Instance.new("BillboardGui",dude)
  473. naeeym2.Size = UDim2.new(0,100,0,40)
  474. naeeym2.StudsOffset = Vector3.new(0,3,0)
  475. naeeym2.Adornee = dude:FindFirstChild("Head")
  476. naeeym2.Name = "TalkingBillBoard"
  477. local tecks2 = Instance.new("TextLabel",naeeym2)
  478. tecks2.BackgroundTransparency = 1
  479. tecks2.BorderSizePixel = 0
  480. tecks2.Text = teksu
  481. tecks2.Font = "Fantasy"
  482. tecks2.TextSize = 24
  483. tecks2.TextStrokeTransparency = 0
  484. tecks2.TextColor3 = Color3.new(1,1,1)
  485. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  486. tecks2.Size = UDim2.new(1,0,0.5,0)
  487. swait(.2)
  488. for i = 0,1,.05 do
  489. swait()
  490. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  491. tecks2.TextStrokeTransparency = i
  492. tecks2.TextTransparency = i
  493. end
  494. naeeym2:Destroy()
  495. end)()
  496. local torsy = GetDudesTorso(dude)
  497. if torsy then
  498. for i=1,dam/5 do
  499. local blp = Instance.new("Part",EffectModel)
  500. blp.Size = Vector3.new(.3,.3,.3)
  501. blp.BrickColor = BrickColor.new("Crimson")
  502. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  503. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  504. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  505. --local blm = Instance.new("SpecialMesh",blp)
  506. --blm.MeshType = "Sphere"
  507. coroutine.wrap(function()
  508. swait(.2)
  509. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  510. for i=0,1,.1 do
  511. swait()
  512. blp.Transparency = i
  513. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  514. end
  515. blp:Destroy()
  516. end)()
  517. end
  518. if efftyp == "Blunt" then
  519. puncheff(torsy)
  520. elseif efftyp == "Sharp" then
  521. slasheff(torsy)
  522. elseif efftyp == "Shot" then
  523. so(144884872,torsy,.9,1)
  524. end
  525. if faws ~= 0 then
  526. BodyVel(torsy,faws)
  527. end
  528. if trip == true then
  529. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  530. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  531. end
  532. end
  533. end
  534. end
  535.  
  536. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  537. for _, c in pairs(workspace:GetDescendants()) do
  538. local hum = c:FindFirstChildOfClass("Humanoid")
  539. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  540. local head = GetDudesTorso(c)
  541. if head ~= nil then
  542. local targ = head.Position - par.Position
  543. local mag = targ.magnitude
  544. if magni >= mag and c ~= chara then
  545. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  546. end
  547. end
  548. end
  549. end
  550. end
  551.  
  552. function CamShake(par,magni,env,dur)
  553. coroutine.wrap(function()
  554. for i=0,dur*60 do
  555. swait()
  556. Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10)
  557. end
  558. Humanoid.CameraOffset = Vector3.new(0,0,0)
  559. end)()
  560. end
  561.  
  562. function puncheff(par)
  563. if par.Parent:FindFirstChild("DebounceHit")==nil then
  564. so(386946017,par,math.random(6,8)/10,1)
  565. local bla = Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(1,1,1),"Neon","White",false,.1)
  566. CamShake(bla,30,.5,.5)
  567. end
  568. end
  569.  
  570. function slasheff(par)
  571. if par.Parent:FindFirstChild("DebounceHit")==nil then
  572. local cho = math.random(1,3)
  573. if cho == 1 then
  574. so(444667824,par,1,1)
  575. elseif cho == 2 then
  576. so(444667844,par,1,1)
  577. elseif cho == 3 then
  578. so(444667859,par,1,1)
  579. end
  580. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  581. Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(0,5,0),"Neon","Really red",false,.1)
  582. end
  583. end
  584.  
  585. function smasheff(pos,projsiz,projnum,grousiz,grono,grospr,projfor)
  586. local hit,hitpos = rayCast(pos,Vector3.new(0,-1,0),4,chara)
  587. if hit ~= nil then
  588. for i = 1, projnum do
  589. local p = Instance.new("Part",EffectModel)
  590. p.BrickColor = hit.BrickColor
  591. p.Material = hit.Material
  592. p.Size = Vector3.new(projsiz,projsiz,projsiz)
  593. p.CFrame = CFrame.new(hitpos+Vector3.new(math.random(-grospr,grospr),0,math.random(-grospr,grospr))) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  594. p.CanCollide = false
  595. p.Velocity = projfor
  596. CreateTrailObj(p,Color3.new(1,1,1),Color3.new(1,1,1),0,0).Enabled = true
  597. coroutine.resume(coroutine.create(function()
  598. swait(.2)
  599. p.CanCollide = true
  600. swait(3)
  601. for i = 0,1,.01 do
  602. swait()
  603. p.Transparency = i
  604. end
  605. p:Destroy()
  606. end))
  607. end
  608. for i = 1, grono do
  609. local size = math.random(4,6)
  610. local gtrace = Instance.new("Part",EffectModel)
  611. gtrace.BrickColor = hit.BrickColor
  612. gtrace.Material = hit.Material
  613. gtrace.Size = Vector3.new(grousiz,grousiz,grousiz)
  614. gtrace.Anchored = true
  615. gtrace.CanCollide = false
  616. gtrace.CFrame = CFrame.new(hitpos+Vector3.new(math.random(-grospr,grospr),0,math.random(-grospr,grospr))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  617. coroutine.wrap(function()
  618. swait(3)
  619. for i = 0,1,.01 do
  620. swait()
  621. gtrace.Transparency = i
  622. end
  623. gtrace:Destroy()
  624. end)()
  625. end
  626. end
  627. end
  628.  
  629. function attackone()
  630. attack = true
  631. Humanoid.WalkSpeed = 10
  632. for i=0,2,.1 do
  633. swait()
  634. PlayAnimationFromTable({
  635. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  636. CFrame.new(-0.0638873279, 2.01559806, -0.402032375, 0.492402941, -0.214610398, 0.84349376, -0.173647985, 0.925416708, 0.336823881, -0.852869213, -0.312324047, 0.418411195),
  637. CFrame.new(1.10928118, 0.356215954, -1.26063514, 0.766042948, 0.642789483, 0, 0, 0, -1, -0.642789423, 0.766042948, 0),
  638. CFrame.new(-1.95000088, -9.79751348e-07, 8.32974911e-06, 0.766044021, 0.633022547, -0.111619651, -0.642788172, 0.754405975, -0.133022651, 1.49011612e-07, 0.173648953, 0.984807789),
  639. CFrame.new(0.650009155, -2.5999999, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  640. CFrame.new(-0.650007129, -2.5999999, 1.07288361e-05, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  641. }, .3, false)
  642. end
  643. RATr.Enabled = true
  644. so(487907203,Head,1,3)
  645. so(200632136,RightArm,.6,1)
  646. Humanoid.WalkSpeed = 0
  647. BodyVel(RootPart,RootPart.CFrame.lookVector*70)
  648. for i=0,1,.1 do
  649. swait()
  650. PlayAnimationFromTable({
  651. CFrame.new(-0.222327977, -0.0760439336, -0.208909988, 0.604021907, -0.342020392, 0.719846964, -0.0554149859, 0.883022249, 0.46604827, -0.795038819, -0.321393698, 0.514411688),
  652. CFrame.new(7.34417608e-06, 2.0353117, -0.350306809, 1, -4.47034836e-07, 1.69873238e-06, -2.08616257e-07, 0.939692974, 0.342019647, -1.7285347e-06, -0.342019677, 0.939692795),
  653. CFrame.new(1.09530568, 0.103452325, -1.42083132, 0.766043782, 0.64278847, -1.9967556e-06, -0.321392238, 0.383016765, -0.866028547, -0.556672335, 0.663416266, 0.499994785),
  654. CFrame.new(-1.9499985, -4.95091081e-06, 1.11758709e-06, 0.766044378, 0.633022308, -0.111619204, -0.642787814, 0.754405975, -0.13302502, -1.57952309e-06, 0.173650473, 0.984807491),
  655. CFrame.new(0.75631088, -2.3547678, -0.864154458, 0.997292876, -0.0554149859, -0.0483326912, 0.0263557732, 0.883022249, -0.468590677, 0.0686457753, 0.46604827, 0.882092297),
  656. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  657. }, .3, false)
  658. MagnitudeDmg(RightArm,2.5,40,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  659. end
  660. swait(.5)
  661. Humanoid.WalkSpeed = 16
  662. RATr.Enabled = false
  663. attack = false
  664. end
  665.  
  666. function dashattack()
  667. attack = true
  668. Humanoid.WalkSpeed = 2
  669. so(487911937,Head,1,3)
  670. for i=0,2,.1 do
  671. swait()
  672. PlayAnimationFromTable({
  673. CFrame.new(0, -0.260801345, 0.37769106, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  674. CFrame.new(0, 1.88156867, 0.187936544, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  675. CFrame.new(2.54999161, 0.600001335, 9.71555778e-07, 0, -1, 0, 1, 0, 2.98023224e-08, 2.98023224e-08, 0, 1),
  676. CFrame.new(-2.54999542, 0.599999964, 3.99351336e-07, 0, 1, 0, -1.00000012, 0, 9.83476639e-07, 9.23871994e-07, 0, 1.00000012),
  677. CFrame.new(0.649994314, -2.32730556, 0.445138514, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428),
  678. CFrame.new(-0.649998546, -2.32730579, 0.445138097, 0.939692736, 0, 0.342019886, -0.116977625, 0.939692736, 0.321393639, -0.321393639, -0.342019886, 0.883022428),
  679. }, .4, false)
  680. end
  681. RATr.Enabled = true
  682. Humanoid.WalkSpeed = 0
  683. local bodyvel = Instance.new("BodyVelocity",RootPart)
  684. local pep = 10000000
  685. bodyvel.P = pep
  686. bodyvel.MaxForce = Vector3.new(pep,0,pep)
  687. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  688. local dasu = 0
  689. local par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  690. repeat
  691. dasu = dasu + 1
  692. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  693. par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  694. so(10730819,Torso,1,2)
  695. CamShake(Torso,60,.4,.1)
  696. smasheff(Torso.Position,math.random(10,20)/10,math.random(2,3),math.random(10,20)/10,math.random(2,3),2,(RootPart.CFrame.lookVector*-math.random(30,50))+Vector3.new(math.random(-5,5),math.random(50,70),math.random(-5,5)))
  697. swait()
  698. Effects.Wave(RootPart.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  699. PlayAnimationFromTable({
  700. CFrame.new(-0.11852926, -0.0870857984, -0.16250591, 0.499998987, 0.433013916, -0.75, 0, 0.866024852, 0.500001073, 0.866025984, -0.25000003, 0.433011562),
  701. CFrame.new(1.67643725e-06, 1.94997621, -1.7765941e-06, 0.866025209, -8.34465027e-07, 0.500000358, 7.30156898e-07, 1.00000012, 3.57627869e-07, -0.500000417, 6.70552254e-08, 0.866025209),
  702. CFrame.new(2.30981135, 0.0232107639, -1.46663569e-05, 0.499999255, -0.866025925, 3.06963921e-06, 0.866025925, 0.499999285, -2.25007534e-06, 4.17232513e-07, 3.78489494e-06, 1),
  703. CFrame.new(-0.942220747, 0.533102334, -1.07246113, 0.173649132, -0.63302058, 0.754407704, 0.98480767, 0.11162056, -0.1330221, -1.62422657e-06, 0.76604557, 0.642786443),
  704. CFrame.new(0.650001526, -2.59999871, -7.62939544e-06, 1, 0, 2.98023224e-08, 0, 1.00000012, 7.4505806e-09, 2.98023224e-08, 7.4505806e-09, 1.00000012),
  705. CFrame.new(-0.957818449, -2.31074858, -0.794715047, 0.939692378, 1.1920929e-07, 0.342020839, 0.116977721, 0.939692855, -0.321393222, -0.321394473, 0.342019558, 0.883022189),
  706. }, .4, false)
  707. MagnitudeDmg(Torso,6,30,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  708. until par ~= nil or dasu >= 100
  709. bodyvel:Destroy()
  710. Humanoid.WalkSpeed = 16
  711. RATr.Enabled = false
  712. attack = false
  713. end
  714.  
  715. function thesurou()
  716. attack = true
  717. Humanoid.WalkSpeed = 0
  718. local grab = nil
  719. local torsy = nil
  720. local hum = nil
  721. for i, v in pairs(FindNearestTorso(Torso.Position, 6)) do
  722. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  723. hum = v:FindFirstChildOfClass("Humanoid")
  724. torsy = GetDudesTorso(v)
  725. grab = v
  726. end
  727. end
  728. so(200632136,RootPart,.8,1)
  729. for i = 0,1,.1 do
  730. swait()
  731. PlayAnimationFromTable({
  732. CFrame.new(0, -0.160800725, -0.377691686, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  733. CFrame.new(0, 2.01372528, -0.214328468, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  734. CFrame.new(1.30359828, 0.346287906, -1.12627494, 0.866025269, 0.500000358, -4.18942193e-07, -0.0868241489, 0.150382817, -0.984807909, -0.492404312, 0.852868497, 0.173647434),
  735. CFrame.new(-1.30359876, 0.346286833, -1.12628198, 0.866025269, -0.500000358, 4.18942193e-07, 0.0868241489, 0.150382817, -0.984807909, 0.492404312, 0.852868497, 0.173647434),
  736. CFrame.new(0.65000087, -2.4212749, -0.479339659, 0.984807849, 0, -0.173647985, -0.0593910702, 0.939692736, -0.33682391, 0.163175747, 0.342019886, 0.925416768),
  737. CFrame.new(-0.649993539, -2.42127419, -0.479341805, 0.984807849, 0, 0.173647985, 0.0593910702, 0.939692736, -0.33682391, -0.163175747, 0.342019886, 0.925416768),
  738. }, .3, false)
  739. end
  740. if grab ~= nil and torsy ~= nil then
  741. so(487911937,Head,1,3)
  742. so(240429615,torsy,1,1)
  743. for i = 0,1,.1 do
  744. swait()
  745. PlayAnimationFromTable({
  746. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  747. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  748. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  749. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  750. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  751. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  752. }, .3, false)
  753. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  754. hum.PlatformStand = true
  755. torsy.Velocity = Vector3.new()
  756. end
  757. for a=1,3 do
  758. for i = 0,1,.1 do
  759. swait()
  760. PlayAnimationFromTable({
  761. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  762. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  763. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  764. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  765. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  766. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  767. }, .3, false)
  768. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  769. hum.PlatformStand = true
  770. torsy.Velocity = Vector3.new()
  771. end
  772. so(200632136,RootPart,.9,1)
  773. for i = 0,1,.2 do
  774. swait()
  775. PlayAnimationFromTable({
  776. CFrame.new(-0.102054864, -0.932198167, 9.983778e-07, 0, 0.766044974, -0.64278698, 0, 0.64278698, 0.766044974, 1, 0, 0),
  777. CFrame.new(0, 1.94997787, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  778. CFrame.new(1.70003557, 0.647316098, -1.51024413, 0.866025388, 0, 0.500000238, 0.383022666, 0.64278698, -0.663414419, -0.321393639, 0.766044974, 0.556669831),
  779. CFrame.new(-1.95000505, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  780. CFrame.new(0.650000989, -0.993868172, -1.34321105, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  781. CFrame.new(-0.650000989, -2.59999466, 7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  782. }, .4, false)
  783. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  784. hum.PlatformStand = true
  785. torsy.Velocity = Vector3.new()
  786. end
  787. puncheff(torsy)
  788. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  789. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  790. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  791. for i = 0,1,.1 do
  792. swait()
  793. PlayAnimationFromTable({
  794. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  795. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  796. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  797. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  798. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  799. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  800. }, .3, false)
  801. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  802. hum.PlatformStand = true
  803. torsy.Velocity = Vector3.new()
  804. end
  805. so(200632136,RootPart,.9,1)
  806. for i = 0,1,.2 do
  807. swait()
  808. PlayAnimationFromTable({
  809. CFrame.new(0.102049023, -0.932193279, 0, 0, -0.766044974, 0.64278698, 0, 0.64278698, 0.766044974, -1, 0, 0),
  810. CFrame.new(0, 1.94997406, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  811. CFrame.new(1.70003128, 0.647328019, -1.51025343, 0.866025388, 0, 0.500000238, 0.383022666, 0.64278698, -0.663414419, -0.321393639, 0.766044974, 0.556669831),
  812. CFrame.new(-1.95000458, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  813. CFrame.new(0.650002003, -0.993867934, -1.34321058, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  814. CFrame.new(-0.650001049, -2.60001373, 1.14440918e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  815. }, .4, false)
  816. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  817. hum.PlatformStand = true
  818. torsy.Velocity = Vector3.new()
  819. end
  820. puncheff(torsy)
  821. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  822. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  823. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  824. end
  825. so(200632136,RootPart,.9,1)
  826. for i = 0,1,.1 do
  827. swait()
  828. PlayAnimationFromTable({
  829. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  830. CFrame.new(0.0492400974, 1.93260896, -0.0852866173, 0.492402941, 0.0868238136, 0.866025984, -0.173647985, 0.984807849, 0, -0.852869213, -0.150383666, 0.499998987),
  831. CFrame.new(2.25130796, 1.15621161, -0.521879852, 0.866025984, -0.43301183, 0.249999613, 0, -0.500000238, -0.866025388, 0.499998987, 0.750000477, -0.433013201),
  832. CFrame.new(-1.95000482, 3.33413482e-07, 2.38418579e-07, 0.76604408, 0.633022606, -0.111619651, -0.642788172, 0.754405975, -0.133022651, 1.78813934e-07, 0.173648968, 0.98480773),
  833. CFrame.new(0.650005341, -2.5999999, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  834. CFrame.new(-0.650006175, -2.5999999, 2.44379044e-06, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  835. }, .4, false)
  836. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  837. hum.PlatformStand = true
  838. torsy.Velocity = Vector3.new()
  839. end
  840. local pato = Instance.new("Part",torsy)
  841. pato.CFrame = torsy.CFrame
  842. pato.Size = Vector3.new(4.1,6.1,1.1)
  843. pato.Transparency = 1
  844. pato.CanCollide = false
  845. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  846. local werudo = Instance.new("Weld",pato)
  847. werudo.Part0 = pato
  848. werudo.Part1 = torsy
  849. torsy.Velocity = RootPart.CFrame.lookVector*150+Vector3.new(0,30,0)
  850. torsy.RotVelocity = Vector3.new(10,10,10)
  851. pato.Touched:connect(function(hit)
  852. if hit:IsDescendantOf(chara)==false then
  853. pato:Destroy()
  854. Dmg(grab,70,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  855. so(260430079,torsy,1,5)
  856. MagnitudeDmg(torsy,6,40,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  857. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  858. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  859. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  860. end
  861. end)
  862. so(200632136,RootPart,.8,1)
  863. for i = 0,2,.1 do
  864. swait()
  865. PlayAnimationFromTable({
  866. CFrame.new(-0.222327977, -0.0760439336, -0.208909988, 0.604021907, -0.342020392, 0.719846964, -0.0554149859, 0.883022249, 0.46604827, -0.795038819, -0.321393698, 0.514411688),
  867. CFrame.new(7.34417608e-06, 2.0353117, -0.350306809, 1, -4.47034836e-07, 1.69873238e-06, -2.08616257e-07, 0.939692974, 0.342019647, -1.7285347e-06, -0.342019677, 0.939692795),
  868. CFrame.new(1.09530568, 0.103452325, -1.42083132, 0.766043782, 0.64278847, -1.9967556e-06, -0.321392238, 0.383016765, -0.866028547, -0.556672335, 0.663416266, 0.499994785),
  869. CFrame.new(-1.9499985, -4.95091081e-06, 1.11758709e-06, 0.766044378, 0.633022308, -0.111619204, -0.642787814, 0.754405975, -0.13302502, -1.57952309e-06, 0.173650473, 0.984807491),
  870. CFrame.new(0.75631088, -2.3547678, -0.864154458, 0.997292876, -0.0554149859, -0.0483326912, 0.0263557732, 0.883022249, -0.468590677, 0.0686457753, 0.46604827, 0.882092297),
  871. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  872. }, .3, false)
  873. end
  874. end
  875. attack = false
  876. Humanoid.WalkSpeed = 8
  877. end
  878.  
  879. function taunt()
  880. attack = true
  881. Humanoid.WalkSpeed = 0
  882. mus.Pitch = 0
  883. local snd = Instance.new("Sound",Head)
  884. snd.Volume = 3
  885. snd.SoundId = "rbxassetid://146333460"
  886. snd:Play()
  887. so(487907203,Head,1,3)
  888. for i = 0,1,.01 do
  889. swait()
  890. PlayAnimationFromTable({
  891. CFrame.new(-7.70094994e-06, 0.0393988565, 0.149780393, 0.999998927, -8.29677447e-08, -4.7053436e-07, 0, 0.984807849, -0.173647985, -6.85358827e-06, 0.173648238, 0.984809279),
  892. CFrame.new(6.96081361e-06, 1.94950724, -0.513472855, 1, -6.94597475e-07, 3.9392653e-06, -6.94597475e-07, 0.939692855, 0.342019767, -3.93926348e-06, -0.342019796, 0.939692736),
  893. CFrame.new(1.69018638, 1.65000451, 0.300107032, 0.866022527, 0.500005007, 5.95726306e-06, 0.500005066, -0.866022527, -1.13099813e-05, -4.91738319e-07, 1.27702951e-05, -1.00000012),
  894. CFrame.new(-1.69020617, 1.6499958, 0.299897015, 0.866027176, -0.49999702, 6.79078403e-06, -0.499997079, -0.866027117, 1.20401382e-05, -1.34110451e-07, -1.38133764e-05, -1.00000012),
  895. CFrame.new(0.650000513, -2.62530255, 0.310812205, 0.939692974, 0, -0.342019439, 0.0593909882, 0.984807849, 0.163175792, 0.336823434, -0.173647985, 0.925417006),
  896. CFrame.new(-0.649998724, -2.62530136, 0.310818315, 0.939692497, 0, 0.34202072, -0.0593912043, 0.984807849, 0.163175717, -0.336824685, -0.173647985, 0.925416589),
  897. }, .1, false)
  898. end
  899. so(487907316,Head,1,3)
  900. for i = 0,1,.01 do
  901. swait()
  902. PlayAnimationFromTable({
  903. CFrame.new(1.55392627e-05, -0.118780732, -0.583496988, 0.999998569, 2.40357622e-07, -4.16312105e-07, 0, 0.866025388, 0.500000238, -9.29446469e-06, -0.500001192, 0.866027057),
  904. CFrame.new(1.61478602e-05, 1.9034369, 0.0406528115, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  905. CFrame.new(1.35360622, -0.201802224, -0.616510034, 0.866021276, 0.500007153, -5.6077406e-06, -0.433019817, 0.74999243, -0.500005424, -0.250002086, 0.433017761, 0.866022408),
  906. CFrame.new(-1.35358262, -0.201804206, -0.616507173, 0.866028905, -0.49999395, -4.74162516e-06, 0.433007032, 0.750007033, -0.499994606, 0.249997824, 0.433007747, 0.866028666),
  907. CFrame.new(0.649987519, -2.44053602, -0.735289276, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  908. CFrame.new(-0.650013626, -2.44054365, -0.735276401, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  909. }, .1, false)
  910. end
  911. so(487907203,Head,.9,3)
  912. for i = 0,1,.01 do
  913. swait()
  914. PlayAnimationFromTable({
  915. CFrame.new(0, -0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  916. CFrame.new(3.60608101e-06, 1.94996309, -3.51667404e-06, 0.469848812, 0.342020154, 0.813796282, -0.171001956, 0.939692676, -0.296202868, -0.866025746, 9.79501692e-06, 0.499999583),
  917. CFrame.new(1.61960268, 1.77223492, -2.74498088e-05, 0.866025388, 0.500000238, 1.34671045e-05, 0.500000238, -0.866025388, -9.50000867e-06, 6.91284913e-06, 1.49608022e-05, -1),
  918. CFrame.new(-2.50045633, 0.909400702, 7.89161845e-07, -1.0784097e-06, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, -1.06202424e-06, 1.8726405e-07),
  919. CFrame.new(1.36961031, -2.04641271, 4.32031811e-06, 0.866025388, -0.500000238, -7.40492396e-06, 0.500000238, 0.866025388, 1.30000126e-05, -8.71550583e-08, -1.49608022e-05, 1),
  920. CFrame.new(-0.649993896, -1.99999642, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  921. }, .1, false)
  922. end
  923. so(487907316,Head,.9,3)
  924. for i = 0,1,.01 do
  925. swait()
  926. PlayAnimationFromTable({
  927. CFrame.new(0, -0.699999571, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  928. CFrame.new(4.35113907e-06, 1.9499656, -2.47359276e-06, 0.499997169, -0.296198249, -0.813799441, 0, 0.939692855, -0.342019647, 0.866027057, 0.171008855, 0.469843775),
  929. CFrame.new(2.56986904, 0.91509676, 1.86699071e-05, -3.99215896e-05, -0.984806359, 0.173656061, 0, -0.173656061, -0.984806359, 1, -3.93150331e-05, 6.93262609e-06),
  930. CFrame.new(-1.76206148, 1.33159709, 1.23434656e-05, 0.939692736, -0.342019886, 5.52932834e-05, -0.342019916, -0.939692736, -9.23453536e-06, 5.51170961e-05, -1.02337781e-05, -1),
  931. CFrame.new(0.650001526, -1.89999652, -0.599994659, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  932. CFrame.new(-1.4295907, -1.91907001, -1.105927e-05, 0.866025388, 0.500000238, -1.4333129e-05, -0.500000238, 0.866025388, -9.00000668e-06, 7.91284765e-06, 1.49608022e-05, 1),
  933. }, .1, false)
  934. end
  935. snd:Destroy()
  936. mus.Pitch = 1
  937. Humanoid.WalkSpeed = 16
  938. attack = false
  939. end
  940.  
  941. Mouse.Button1Down:connect(function()
  942. if attack == false then
  943. attackone()
  944. end
  945. end)
  946.  
  947. local sprintt = 0
  948.  
  949. Mouse.KeyDown:connect(function(k)
  950. k = k:lower()
  951. if k=='m' then
  952. if mus.IsPlaying == true then
  953. mus:Stop()
  954. elseif mus.IsPaused == true then
  955. mus:Play()
  956. end
  957. end
  958. if attack == false then
  959. if k == 'z' then
  960. thesurou()
  961. elseif k == 'x' then
  962. dashattack()
  963. elseif k == 'g' then
  964. taunt()
  965. end
  966. end
  967. end)
  968.  
  969. prevhp = 800
  970. Humanoid.HealthChanged:connect(function(hp)
  971. if hp < prevhp then
  972. local cho = math.random(1,5)
  973. local s = Instance.new("Sound",Head)
  974. if cho == 1 then
  975. so(480392869,Head,1,3)
  976. elseif cho == 2 then
  977. so(480392949,Head,1,3)
  978. elseif cho == 3 then
  979. so(480394663,Head,1,3)
  980. elseif cho == 4 then
  981. so(480394802,Head,1,3)
  982. elseif cho == 5 then
  983. so(480394542,Head,1,3)
  984. end
  985. end
  986. prevhp = hp
  987. end)
  988.  
  989. local soundIds = {142539074, 487912030, 487911937}
  990. coroutine.wrap(function()
  991. while wait(math.random(25,30)/10) do
  992. if Humanoid.Health > 1 and attack == false then
  993. so(soundIds[math.random(1,3)],Head,1,3)
  994. end
  995. end
  996. end)()
  997.  
  998. Humanoid.Died:connect(function()
  999. mus:Stop()
  1000. so(487907155,Head,1,3)
  1001. swait(5)
  1002. for i = 1,10 do
  1003. swait()
  1004. for i,v in pairs(chara:GetDescendants()) do
  1005. if v:IsA("BasePart") then
  1006. v.Transparency = v.Transparency + .1
  1007. end
  1008. end
  1009. end
  1010. chara:Destroy()
  1011. end)
  1012.  
  1013. coroutine.wrap(function()
  1014. while 1 do
  1015. swait()
  1016. if doe <= 360 then
  1017. doe = doe + 2
  1018. else
  1019. doe = 0
  1020. end
  1021. end
  1022. end)()
  1023.  
  1024. while true do
  1025. swait()
  1026. while true do
  1027. swait()
  1028. if Head:FindFirstChild("mus")==nil then
  1029. mus = Instance.new("Sound",Head)
  1030. mus.Name = "mus"
  1031. mus.SoundId = "rbxassetid://318340174"
  1032. mus.Looped = true
  1033. mus.Volume = 1
  1034. mus:Play()
  1035. end
  1036. local ss = Humanoid:GetState()
  1037. if ss == (Enum.HumanoidStateType.FallingDown or ss == Enum.HumanoidStateType.PlatformStanding) then
  1038. Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1039. end
  1040. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1041. velocity = RootPart.Velocity.y
  1042. sine = sine + change
  1043. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 5.3, chara)
  1044. if RootPart.Velocity.y > 1 and hit == nil then
  1045. Anim = "Jump"
  1046. if attack == false then
  1047. PlayAnimationFromTable({
  1048. CFrame.new(0, 0.0740167201, -0.180228189, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1049. CFrame.new(0, 2.03109002, -0.115844816, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  1050. CFrame.new(1.47152913, -0.278083742, 0.397592455, 0.939692855, 0.342019439, -3.31528156e-08, -0.321393043, 0.883022368, 0.34202078, 0.116977774, -0.321394503, 0.939692497),
  1051. CFrame.new(-1.47150564, -0.27808097, 0.397592992, 0.939692855, -0.342019439, 3.31528156e-08, 0.321393043, 0.883022368, 0.34202078, -0.116977774, -0.321394503, 0.939692497),
  1052. CFrame.new(0.650001526, -1.19999599, -0.600000799, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1053. CFrame.new(-0.649993896, -2.59999466, 5.54323037e-07, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1054. }, .3, false)
  1055. end
  1056. elseif RootPart.Velocity.y < -1 and hit == nil then
  1057. Anim = "Fall"
  1058. if attack == false then
  1059. PlayAnimationFromTable({
  1060. CFrame.new(0, -0.133714333, 0.15832366, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1061. CFrame.new(0, 2.05995607, -0.632082939, 1, 0, 0, 0, 0.766044796, 0.642787218, 0, -0.642787218, 0.766044855),
  1062. CFrame.new(2.25642705, 0.257112086, -3.82667531e-06, 0.766044319, -0.642787933, -2.9919768e-08, 0.642787993, 0.766044319, 3.87430191e-07, -1.93715096e-07, -2.83122063e-07, 1),
  1063. CFrame.new(-2.25643301, 0.257116973, 9.41694736e-07, 0.766044319, 0.642787933, 2.9919768e-08, -0.642787993, 0.766044319, 3.87430191e-07, 1.93715096e-07, -2.83122063e-07, 1),
  1064. CFrame.new(0.649993896, -1.3999939, -0.600004256, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1065. CFrame.new(-0.650001526, -2.59999371, -3.89218303e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1066. }, .3, false)
  1067. end
  1068. elseif Torsovelocity < 1 and hit ~= nil then
  1069. Anim = "Idle"
  1070. if attack == false then
  1071. change = 1
  1072. PlayAnimationFromTable({
  1073. CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0,.05 * math.cos((sine)/5), 0),
  1074. CFrame.new(0.0984803587, 1.91524398, -0.170572892, 0.866025388, 0.0868240371, -0.492404163, 0, 0.984807849, 0.173647985, 0.500000238, -0.150383562, 0.852868617),
  1075. CFrame.new(1.98214447, 0.0342020541, -0.0883011818, 0.939692676, -0.116977856, -0.321394205, 0, 0.939692736, -0.342019945, 0.342020601, 0.321393609, 0.883022249),
  1076. CFrame.new(-1.51237798, -0.128823012, -0.775815547, 0.766044199, -0.642788053, -3.87430191e-07, 0.413175076, 0.492402881, -0.76604563, 0.492405087, 0.586824656, 0.642786384),
  1077. CFrame.new(0.649999857, -2.5999999, -8.64267349e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  1078. CFrame.new(-0.64999789, -2.5999999, -9.53674544e-07, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  1079. }, .3, false)
  1080. end
  1081. elseif Torsovelocity > 2 and hit ~= nil then
  1082. Anim = "Walk"
  1083. if attack == false then
  1084. Humanoid.WalkSpeed = 16
  1085. Humanoid.JumpPower = 80
  1086. PlayAnimationFromTable({
  1087. CFrame.new(0, 0.0098747462, -0.187130988, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.Angles(0, math.rad(0 + 10 * math.cos((sine) / 5)), 0),
  1088. CFrame.new(0, 2.01372552, -0.214327857, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849),
  1089. CFrame.new(1.94397354, -0.115067676, -0.230779886, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1090. CFrame.new(-1.95000458, -0.0637510419, -0.214326635, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1091. CFrame.new(0.649997711, -2.60271978, -0.268911421, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0+ .65 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0),
  1092. CFrame.new(-0.650001526, -2.60271978, -0.268911421, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0- .65 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0),
  1093. }, .3, false)
  1094. end
  1095. end
  1096. end
  1097. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement