Advertisement
Guest User

rfghrthfghty

a guest
Nov 22nd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.09 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.  
  135. end
  136.  
  137.  
  138. skincol = {"Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow","Brick yellow"}
  139.  
  140. FHead = New("Part",chara,"FHead",{BrickColor = BrickColor.new(skincol[math.random(1,#skincol)]),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2.5999999, 1.29999995, 1.29999995),CFrame = CFrame.new(18.8000259, 5.85002184, -11.199934, -1, 0, 0, 0, 0.999997139, -9.36714151e-10, 0, -9.36711486e-10, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  141. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  142. Decal = New("Decal",FHead,"Decal",{Texture = "http://www.roblox.com/asset/?id=46078492",})
  143. Weld = New("ManualWeld",FHead,"Weld",{Part0 = FHead,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.999999046, -9.36713263e-10, 0, -9.36714151e-10, -1),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.999999046, -9.36713263e-10, 0, -9.36714151e-10, -1),})
  144.  
  145. Instance.new("BlockMesh",Head).Scale = Vector3.new(0,0,0)
  146.  
  147. local hedcol = FHead.BrickColor
  148. local bcols = Instance.new("BodyColors",chara)
  149. bcols.Name = "NeoCols"
  150. bcols.HeadColor = hedcol
  151. bcols.LeftArmColor = hedcol
  152. bcols.RightArmColor = hedcol
  153. bcols.TorsoColor = hedcol
  154. bcols.LeftLegColor = hedcol
  155. bcols.RightLegColor = hedcol
  156.  
  157. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  158. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  159. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  160. 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})
  161. return TEff
  162. end
  163.  
  164. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  165. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  166. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  167. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  168.  
  169.  
  170. function rayCast(Position, Direction, Range, Ignore)
  171. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  172. end
  173.  
  174. function FindNearestTorso(Position, Distance, SinglePlayer)
  175. if SinglePlayer then
  176. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  177. end
  178. local List = {}
  179. for i, v in pairs(workspace:GetDescendants()) do
  180. if v:IsA("Model") then
  181. if v:findFirstChild("Head") then
  182. if v ~= chara then
  183. if (v.Head.Position - Position).magnitude <= Distance then
  184. table.insert(List, v)
  185. end
  186. end
  187. end
  188. end
  189. end
  190. return List
  191. end
  192.  
  193. ArtificialHB = Instance.new("BindableEvent", script)
  194. ArtificialHB.Name = "Heartbeat"
  195. script:waitForChild("Heartbeat")
  196. frame = 0.03333333333333
  197. tf = 0
  198. allowframeloss = false
  199. tossremainder = false
  200. lastframe = tick()
  201. script.Heartbeat:Fire()
  202. game:GetService("RunService").Heartbeat:connect(function(s, p)
  203. tf = tf + s
  204. if tf >= frame then
  205. if allowframeloss then
  206. script.Heartbeat:Fire()
  207. lastframe = tick()
  208. else
  209. for i = 1, math.floor(tf / frame) do
  210. script.Heartbeat:Fire()
  211. end
  212. lastframe = tick()
  213. end
  214. if tossremainder then
  215. tf = 0
  216. else
  217. tf = tf - frame * math.floor(tf / frame)
  218. end
  219. end
  220. end)
  221. function swait(num)
  222. if num == 0 or num == nil then
  223. ArtificialHB.Event:wait()
  224. else
  225. for i = 0, num*30 do
  226. ArtificialHB.Event:wait()
  227. end
  228. end
  229. end
  230.  
  231. EffectModel = Create("Model"){
  232. Parent = chara,
  233. Name = "Effects",
  234. }
  235.  
  236. --Effect Functions--
  237. Effects = {
  238.  
  239. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  240. local p = Instance.new("Part",EffectModel)
  241. p.BrickColor = BrickColor.new(colour)
  242. p.Size = partsize
  243. p.Anchored = true
  244. p.CanCollide = false
  245. p.Material = matr
  246. p.CFrame = cf
  247. if inverse == true then
  248. p.Transparency = 1
  249. else
  250. p.Transparency = 0
  251. end
  252. local m = Instance.new("BlockMesh",p)
  253. m.Scale = meshstart
  254. coroutine.wrap(function()
  255. for i=0,1,factor do
  256. swait()
  257. if inverse == true then
  258. p.Transparency = 1-i
  259. else
  260. p.Transparency = i
  261. end
  262. m.Scale = m.Scale + meshadd
  263. if spin == true then
  264. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  265. end
  266. end
  267. p:Destroy()
  268. end)()
  269. return p
  270. end,
  271.  
  272. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  273. local p = Instance.new("Part",EffectModel)
  274. p.BrickColor = BrickColor.new(colour)
  275. p.Size = partsize
  276. p.Anchored = true
  277. p.CanCollide = false
  278. p.Material = matr
  279. p.CFrame = cf
  280. if inverse == true then
  281. p.Transparency = 1
  282. else
  283. p.Transparency = 0
  284. end
  285. local m = Instance.new("SpecialMesh",p)
  286. m.MeshType = "Sphere"
  287. m.Scale = meshstart
  288. coroutine.wrap(function()
  289. for i=0,1,factor do
  290. swait()
  291. if inverse == true then
  292. p.Transparency = 1-i
  293. else
  294. p.Transparency = i
  295. end
  296. m.Scale = m.Scale + meshadd
  297. end
  298. p:Destroy()
  299. end)()
  300. return p
  301. end,
  302.  
  303. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  304. local p = Instance.new("Part",EffectModel)
  305. p.BrickColor = BrickColor.new(colour)
  306. p.Size = partsize
  307. p.Anchored = true
  308. p.CanCollide = false
  309. p.Material = matr
  310. p.CFrame = cf
  311. if inverse == true then
  312. p.Transparency = 1
  313. else
  314. p.Transparency = 0
  315. end
  316. local m = Instance.new("CylinderMesh",p)
  317. m.Scale = meshstart
  318. coroutine.wrap(function()
  319. for i=0,1,factor do
  320. swait()
  321. if inverse == true then
  322. p.Transparency = 1-i
  323. else
  324. p.Transparency = i
  325. end
  326. m.Scale = m.Scale + meshadd
  327. end
  328. p:Destroy()
  329. end)()
  330. return p
  331. end,
  332.  
  333. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  334. local p = Instance.new("Part",EffectModel)
  335. p.BrickColor = BrickColor.new(colour)
  336. p.Size = Vector3.new()
  337. p.Anchored = true
  338. p.CanCollide = false
  339. p.CFrame = cf
  340. if inverse == true then
  341. p.Transparency = 1
  342. else
  343. p.Transparency = 0
  344. end
  345. local m = Instance.new("SpecialMesh",p)
  346. m.MeshId = "rbxassetid://20329976"
  347. m.Scale = meshstart
  348. coroutine.wrap(function()
  349. for i=0,1,factor do
  350. swait()
  351. if inverse == true then
  352. p.Transparency = 1-i
  353. else
  354. p.Transparency = i
  355. end
  356. m.Scale = m.Scale + meshadd
  357. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  358. end
  359. p:Destroy()
  360. end)()
  361. return p
  362. end,
  363.  
  364. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  365. local p = Instance.new("Part",EffectModel)
  366. p.BrickColor = BrickColor.new(colour)
  367. p.Size = Vector3.new()
  368. p.Anchored = true
  369. p.CanCollide = false
  370. p.CFrame = cf
  371. if inverse == true then
  372. p.Transparency = 1
  373. else
  374. p.Transparency = 0
  375. end
  376. local m = Instance.new("SpecialMesh",p)
  377. m.MeshId = "rbxassetid://3270017"
  378. m.Scale = meshstart
  379. coroutine.wrap(function()
  380. for i=0,1,factor do
  381. swait()
  382. if inverse == true then
  383. p.Transparency = 1-i
  384. else
  385. p.Transparency = i
  386. end
  387. m.Scale = m.Scale + meshadd
  388. end
  389. p:Destroy()
  390. end)()
  391. return p
  392. end,
  393.  
  394. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  395. local p = Instance.new("Part",EffectModel)
  396. p.BrickColor = BrickColor.new(colour)
  397. p.Size = Vector3.new()
  398. p.Anchored = true
  399. p.CanCollide = false
  400. p.CFrame = cf
  401. if inverse == true then
  402. p.Transparency = 1
  403. else
  404. p.Transparency = 0
  405. end
  406. local m = Instance.new("SpecialMesh",p)
  407. m.MeshId = meshid
  408. m.TextureId = textid
  409. m.Scale = meshstart
  410. coroutine.wrap(function()
  411. for i=0,1,factor do
  412. swait()
  413. if inverse == true then
  414. p.Transparency = 1-i
  415. else
  416. p.Transparency = i
  417. end
  418. m.Scale = m.Scale + meshadd
  419. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  420. end
  421. p:Destroy()
  422. end)()
  423. return p
  424. end,
  425.  
  426. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  427. local p = Instance.new("Part",EffectModel)
  428. p.BrickColor = BrickColor.new(colour)
  429. p.Size = partsize
  430. p.Anchored = true
  431. p.CanCollide = false
  432. p.Material = matr
  433. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  434. if inverse == true then
  435. p.Transparency = 1
  436. else
  437. p.Transparency = 0
  438. end
  439. local m = Instance.new("SpecialMesh",p)
  440. m.MeshType = "Sphere"
  441. m.Scale = meshstart
  442. coroutine.wrap(function()
  443. for i=0,1,factor do
  444. swait()
  445. if inverse == true then
  446. p.Transparency = 1-i
  447. else
  448. p.Transparency = i
  449. end
  450. m.Scale = m.Scale + meshadd
  451. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  452. end
  453. p:Destroy()
  454. end)()
  455. return p
  456. end,
  457.  
  458. }
  459.  
  460. function GetDudesTorso(c)
  461. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  462. if torsy ~= nil then
  463. return torsy
  464. end
  465. end
  466.  
  467. function BodyVel(part,faws)
  468. local bodyvel = Instance.new("BodyVelocity",part)
  469. local pep = 10000000
  470. bodyvel.P = pep
  471. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  472. bodyvel.Velocity = faws
  473. debby:AddItem(bodyvel,.2)
  474. end
  475.  
  476. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  477. if dude and dude ~= chara then
  478. if dude:FindFirstChild("HITO") then return end
  479. local debounce = Instance.new("BoolValue",dude)
  480. debounce.Name = "HITO"
  481. debby:AddItem(debounce,toim)
  482. local hum = dude:FindFirstChildOfClass("Humanoid")
  483. local dam = dmg+math.random(-env,env)
  484. local teksu = "-"..dam
  485. if hum then
  486. local finhel = hum.Health - dam
  487. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  488. Instance.new("BoolValue",dude).Name = "DEATHED"
  489. end
  490. hum.Health = hum.Health - dam
  491. end
  492. coroutine.wrap(function()
  493. local naeeym2 = Instance.new("BillboardGui",dude)
  494. naeeym2.Size = UDim2.new(0,100,0,40)
  495. naeeym2.StudsOffset = Vector3.new(0,3,0)
  496. naeeym2.Adornee = dude:FindFirstChild("Head")
  497. naeeym2.Name = "TalkingBillBoard"
  498. local tecks2 = Instance.new("TextLabel",naeeym2)
  499. tecks2.BackgroundTransparency = 1
  500. tecks2.BorderSizePixel = 0
  501. tecks2.Text = teksu
  502. tecks2.Font = "Fantasy"
  503. tecks2.TextSize = 24
  504. tecks2.TextStrokeTransparency = 0
  505. tecks2.TextColor3 = Color3.new(1,1,1)
  506. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  507. tecks2.Size = UDim2.new(1,0,0.5,0)
  508. swait(.2)
  509. for i = 0,1,.05 do
  510. swait()
  511. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  512. tecks2.TextStrokeTransparency = i
  513. tecks2.TextTransparency = i
  514. end
  515. naeeym2:Destroy()
  516. end)()
  517. local torsy = GetDudesTorso(dude)
  518. if torsy then
  519. for i=1,dam/5 do
  520. local blp = Instance.new("Part",EffectModel)
  521. blp.Size = Vector3.new(.3,.3,.3)
  522. blp.BrickColor = BrickColor.new("Crimson")
  523. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  524. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  525. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  526. --local blm = Instance.new("SpecialMesh",blp)
  527. --blm.MeshType = "Sphere"
  528. coroutine.wrap(function()
  529. swait(.2)
  530. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  531. for i=0,1,.1 do
  532. swait()
  533. blp.Transparency = i
  534. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  535. end
  536. blp:Destroy()
  537. end)()
  538. end
  539. if efftyp == "Blunt" then
  540. puncheff(torsy)
  541. elseif efftyp == "Sharp" then
  542. slasheff(torsy)
  543. elseif efftyp == "Shot" then
  544. so(144884872,torsy,.9,1)
  545. end
  546. if faws ~= 0 then
  547. BodyVel(torsy,faws)
  548. end
  549. if trip == true then
  550. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  551. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  552. end
  553. end
  554. end
  555. end
  556.  
  557. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  558. for _, c in pairs(workspace:GetDescendants()) do
  559. local hum = c:FindFirstChildOfClass("Humanoid")
  560. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  561. local head = GetDudesTorso(c)
  562. if head ~= nil then
  563. local targ = head.Position - par.Position
  564. local mag = targ.magnitude
  565. if magni >= mag and c ~= chara then
  566. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  567. end
  568. end
  569. end
  570. end
  571. end
  572.  
  573. function CamShake(par,magni,env,dur)
  574. coroutine.wrap(function()
  575. for i=0,dur*60 do
  576. swait()
  577. 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)
  578. end
  579. Humanoid.CameraOffset = Vector3.new(0,0,0)
  580. end)()
  581. end
  582.  
  583. function puncheff(par)
  584. if par.Parent:FindFirstChild("DebounceHit")==nil then
  585. so(386946017,par,math.random(6,8)/10,1)
  586. 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)
  587. CamShake(bla,30,.5,.5)
  588. end
  589. end
  590.  
  591. function slasheff(par)
  592. if par.Parent:FindFirstChild("DebounceHit")==nil then
  593. local cho = math.random(1,3)
  594. if cho == 1 then
  595. so(444667824,par,1,1)
  596. elseif cho == 2 then
  597. so(444667844,par,1,1)
  598. elseif cho == 3 then
  599. so(444667859,par,1,1)
  600. end
  601. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  602. 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)
  603. end
  604. end
  605.  
  606. function smasheff(pos,projsiz,projnum,grousiz,grono,grospr,projfor)
  607. local hit,hitpos = rayCast(pos,Vector3.new(0,-1,0),4,chara)
  608. if hit ~= nil then
  609. for i = 1, projnum do
  610. local p = Instance.new("Part",EffectModel)
  611. p.BrickColor = hit.BrickColor
  612. p.Material = hit.Material
  613. p.Size = Vector3.new(projsiz,projsiz,projsiz)
  614. 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)))
  615. p.CanCollide = false
  616. p.Velocity = projfor
  617. CreateTrailObj(p,Color3.new(1,1,1),Color3.new(1,1,1),0,0).Enabled = true
  618. coroutine.resume(coroutine.create(function()
  619. swait(.2)
  620. p.CanCollide = true
  621. swait(3)
  622. for i = 0,1,.01 do
  623. swait()
  624. p.Transparency = i
  625. end
  626. p:Destroy()
  627. end))
  628. end
  629. for i = 1, grono do
  630. local size = math.random(4,6)
  631. local gtrace = Instance.new("Part",EffectModel)
  632. gtrace.BrickColor = hit.BrickColor
  633. gtrace.Material = hit.Material
  634. gtrace.Size = Vector3.new(grousiz,grousiz,grousiz)
  635. gtrace.Anchored = true
  636. gtrace.CanCollide = false
  637. 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)))
  638. coroutine.wrap(function()
  639. swait(3)
  640. for i = 0,1,.01 do
  641. swait()
  642. gtrace.Transparency = i
  643. end
  644. gtrace:Destroy()
  645. end)()
  646. end
  647. end
  648. end
  649.  
  650. function attackone()
  651. attack = true
  652. Humanoid.WalkSpeed = 10
  653. for i=0,2,.1 do
  654. swait()
  655. PlayAnimationFromTable({
  656. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  657. 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),
  658. CFrame.new(1.10928118, 0.356215954, -1.26063514, 0.766042948, 0.642789483, 0, 0, 0, -1, -0.642789423, 0.766042948, 0),
  659. 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),
  660. CFrame.new(0.650009155, -2.5999999, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  661. CFrame.new(-0.650007129, -2.5999999, 1.07288361e-05, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  662. }, .3, false)
  663. end
  664. RATr.Enabled = true
  665. so(487907203,Head,1,3)
  666. so(200632136,RightArm,.6,1)
  667. Humanoid.WalkSpeed = 0
  668. BodyVel(RootPart,RootPart.CFrame.lookVector*70)
  669. for i=0,1,.1 do
  670. swait()
  671. PlayAnimationFromTable({
  672. 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),
  673. 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),
  674. 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),
  675. 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),
  676. 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),
  677. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  678. }, .3, false)
  679. MagnitudeDmg(RightArm,2.5,40,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  680. end
  681. swait(.5)
  682. Humanoid.WalkSpeed = 16
  683. RATr.Enabled = false
  684. attack = false
  685. end
  686.  
  687. function dashattack()
  688. attack = true
  689. Humanoid.WalkSpeed = 2
  690. so(487911937,Head,1,3)
  691. for i=0,2,.1 do
  692. swait()
  693. PlayAnimationFromTable({
  694. CFrame.new(0, -0.260801345, 0.37769106, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  695. CFrame.new(0, 1.88156867, 0.187936544, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  696. CFrame.new(2.54999161, 0.600001335, 9.71555778e-07, 0, -1, 0, 1, 0, 2.98023224e-08, 2.98023224e-08, 0, 1),
  697. CFrame.new(-2.54999542, 0.599999964, 3.99351336e-07, 0, 1, 0, -1.00000012, 0, 9.83476639e-07, 9.23871994e-07, 0, 1.00000012),
  698. 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),
  699. 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),
  700. }, .4, false)
  701. end
  702. RATr.Enabled = true
  703. Humanoid.WalkSpeed = 0
  704. local bodyvel = Instance.new("BodyVelocity",RootPart)
  705. local pep = 10000000
  706. bodyvel.P = pep
  707. bodyvel.MaxForce = Vector3.new(pep,0,pep)
  708. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  709. local dasu = 0
  710. local par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  711. repeat
  712. dasu = dasu + 1
  713. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  714. par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  715. so(10730819,Torso,1,2)
  716. CamShake(Torso,60,.4,.1)
  717. 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)))
  718. swait()
  719. Effects.Wave(RootPart.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  720. PlayAnimationFromTable({
  721. 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),
  722. 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),
  723. 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),
  724. 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),
  725. 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),
  726. 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),
  727. }, .4, false)
  728. MagnitudeDmg(Torso,6,30,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  729. until par ~= nil or dasu >= 100
  730. bodyvel:Destroy()
  731. Humanoid.WalkSpeed = 16
  732. RATr.Enabled = false
  733. attack = false
  734. end
  735.  
  736. function thesurou()
  737. attack = true
  738. Humanoid.WalkSpeed = 0
  739. local grab = nil
  740. local torsy = nil
  741. local hum = nil
  742. for i, v in pairs(FindNearestTorso(Torso.Position, 6)) do
  743. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  744. hum = v:FindFirstChildOfClass("Humanoid")
  745. torsy = GetDudesTorso(v)
  746. grab = v
  747. end
  748. end
  749. so(200632136,RootPart,.8,1)
  750. for i = 0,1,.1 do
  751. swait()
  752. PlayAnimationFromTable({
  753. CFrame.new(0, -0.160800725, -0.377691686, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  754. CFrame.new(0, 2.01372528, -0.214328468, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  755. 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),
  756. 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),
  757. 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),
  758. 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),
  759. }, .3, false)
  760. end
  761. if grab ~= nil and torsy ~= nil then
  762. so(487911937,Head,1,3)
  763. so(240429615,torsy,1,1)
  764. for i = 0,1,.1 do
  765. swait()
  766. PlayAnimationFromTable({
  767. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  768. 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),
  769. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  770. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  771. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  772. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  773. }, .3, false)
  774. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  775. hum.PlatformStand = true
  776. torsy.Velocity = Vector3.new()
  777. end
  778. for a=1,3 do
  779. for i = 0,1,.1 do
  780. swait()
  781. PlayAnimationFromTable({
  782. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  783. 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),
  784. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  785. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  786. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  787. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  788. }, .3, false)
  789. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  790. hum.PlatformStand = true
  791. torsy.Velocity = Vector3.new()
  792. end
  793. so(200632136,RootPart,.9,1)
  794. for i = 0,1,.2 do
  795. swait()
  796. PlayAnimationFromTable({
  797. CFrame.new(-0.102054864, -0.932198167, 9.983778e-07, 0, 0.766044974, -0.64278698, 0, 0.64278698, 0.766044974, 1, 0, 0),
  798. CFrame.new(0, 1.94997787, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  799. 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),
  800. CFrame.new(-1.95000505, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  801. CFrame.new(0.650000989, -0.993868172, -1.34321105, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  802. CFrame.new(-0.650000989, -2.59999466, 7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  803. }, .4, false)
  804. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  805. hum.PlatformStand = true
  806. torsy.Velocity = Vector3.new()
  807. end
  808. puncheff(torsy)
  809. 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)))
  810. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  811. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  812. for i = 0,1,.1 do
  813. swait()
  814. PlayAnimationFromTable({
  815. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  816. 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),
  817. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  818. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  819. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  820. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  821. }, .3, false)
  822. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  823. hum.PlatformStand = true
  824. torsy.Velocity = Vector3.new()
  825. end
  826. so(200632136,RootPart,.9,1)
  827. for i = 0,1,.2 do
  828. swait()
  829. PlayAnimationFromTable({
  830. CFrame.new(0.102049023, -0.932193279, 0, 0, -0.766044974, 0.64278698, 0, 0.64278698, 0.766044974, -1, 0, 0),
  831. CFrame.new(0, 1.94997406, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  832. 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),
  833. CFrame.new(-1.95000458, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  834. CFrame.new(0.650002003, -0.993867934, -1.34321058, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  835. CFrame.new(-0.650001049, -2.60001373, 1.14440918e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  836. }, .4, false)
  837. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  838. hum.PlatformStand = true
  839. torsy.Velocity = Vector3.new()
  840. end
  841. puncheff(torsy)
  842. 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)))
  843. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  844. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  845. end
  846. so(200632136,RootPart,.9,1)
  847. for i = 0,1,.1 do
  848. swait()
  849. PlayAnimationFromTable({
  850. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  851. 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),
  852. 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),
  853. 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),
  854. CFrame.new(0.650005341, -2.5999999, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  855. CFrame.new(-0.650006175, -2.5999999, 2.44379044e-06, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  856. }, .4, false)
  857. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  858. hum.PlatformStand = true
  859. torsy.Velocity = Vector3.new()
  860. end
  861. local pato = Instance.new("Part",torsy)
  862. pato.CFrame = torsy.CFrame
  863. pato.Size = Vector3.new(4.1,6.1,1.1)
  864. pato.Transparency = 1
  865. pato.CanCollide = false
  866. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  867. local werudo = Instance.new("Weld",pato)
  868. werudo.Part0 = pato
  869. werudo.Part1 = torsy
  870. torsy.Velocity = RootPart.CFrame.lookVector*150+Vector3.new(0,30,0)
  871. torsy.RotVelocity = Vector3.new(10,10,10)
  872. pato.Touched:connect(function(hit)
  873. if hit:IsDescendantOf(chara)==false then
  874. pato:Destroy()
  875. Dmg(grab,70,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  876. so(260430079,torsy,1,5)
  877. MagnitudeDmg(torsy,6,40,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  878. 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)))
  879. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  880. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  881. end
  882. end)
  883. so(200632136,RootPart,.8,1)
  884. for i = 0,2,.1 do
  885. swait()
  886. PlayAnimationFromTable({
  887. 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),
  888. 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),
  889. 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),
  890. 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),
  891. 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),
  892. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  893. }, .3, false)
  894. end
  895. end
  896. attack = false
  897. Humanoid.WalkSpeed = 8
  898. end
  899.  
  900. function taunt()
  901. attack = true
  902. Humanoid.WalkSpeed = 0
  903. mus.Pitch = 0
  904. local snd = Instance.new("Sound",Head)
  905. snd.Volume = 3
  906. snd.SoundId = "rbxassetid://146333460"
  907. snd:Play()
  908. so(487907203,Head,1,3)
  909. for i = 0,1,.01 do
  910. swait()
  911. PlayAnimationFromTable({
  912. 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),
  913. 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),
  914. 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),
  915. 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),
  916. 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),
  917. 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),
  918. }, .1, false)
  919. end
  920. so(487907316,Head,1,3)
  921. for i = 0,1,.01 do
  922. swait()
  923. PlayAnimationFromTable({
  924. 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),
  925. 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),
  926. 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),
  927. 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),
  928. 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),
  929. 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),
  930. }, .1, false)
  931. end
  932. so(487907203,Head,.9,3)
  933. for i = 0,1,.01 do
  934. swait()
  935. PlayAnimationFromTable({
  936. CFrame.new(0, -0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  937. 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),
  938. 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),
  939. 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),
  940. 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),
  941. CFrame.new(-0.649993896, -1.99999642, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  942. }, .1, false)
  943. end
  944. so(487907316,Head,.9,3)
  945. for i = 0,1,.01 do
  946. swait()
  947. PlayAnimationFromTable({
  948. CFrame.new(0, -0.699999571, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  949. 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),
  950. 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),
  951. 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),
  952. CFrame.new(0.650001526, -1.89999652, -0.599994659, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  953. 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),
  954. }, .1, false)
  955. end
  956. snd:Destroy()
  957. mus.Pitch = 1
  958. Humanoid.WalkSpeed = 16
  959. attack = false
  960. end
  961.  
  962. Mouse.Button1Down:connect(function()
  963. if attack == false then
  964. attackone()
  965. end
  966. end)
  967.  
  968. local sprintt = 0
  969.  
  970. Mouse.KeyDown:connect(function(k)
  971. k = k:lower()
  972. if k=='m' then
  973. if mus.IsPlaying == true then
  974. mus:Stop()
  975. elseif mus.IsPaused == true then
  976. mus:Play()
  977. end
  978. end
  979. if attack == false then
  980. if k == 'z' then
  981. thesurou()
  982. elseif k == 'x' then
  983. dashattack()
  984. elseif k == 'g' then
  985. taunt()
  986. end
  987. end
  988. end)
  989.  
  990. prevhp = 800
  991. Humanoid.HealthChanged:connect(function(hp)
  992. if hp < prevhp then
  993. local cho = math.random(1,5)
  994. local s = Instance.new("Sound",Head)
  995. if cho == 1 then
  996. so(480392869,Head,1,3)
  997. elseif cho == 2 then
  998. so(480392949,Head,1,3)
  999. elseif cho == 3 then
  1000. so(480394663,Head,1,3)
  1001. elseif cho == 4 then
  1002. so(480394802,Head,1,3)
  1003. elseif cho == 5 then
  1004. so(480394542,Head,1,3)
  1005. end
  1006. end
  1007. prevhp = hp
  1008. end)
  1009.  
  1010. local soundIds = {142539074, 487912030, 487911937}
  1011. coroutine.wrap(function()
  1012. while wait(math.random(25,30)/10) do
  1013. if Humanoid.Health > 1 and attack == false then
  1014. so(soundIds[math.random(1,3)],Head,1,3)
  1015. end
  1016. end
  1017. end)()
  1018.  
  1019. Humanoid.Died:connect(function()
  1020. mus:Stop()
  1021. so(487907155,Head,1,3)
  1022. swait(5)
  1023. for i = 1,10 do
  1024. swait()
  1025. for i,v in pairs(chara:GetDescendants()) do
  1026. if v:IsA("BasePart") then
  1027. v.Transparency = v.Transparency + .1
  1028. end
  1029. end
  1030. end
  1031. chara:Destroy()
  1032. end)
  1033.  
  1034. coroutine.wrap(function()
  1035. while 1 do
  1036. swait()
  1037. if doe <= 360 then
  1038. doe = doe + 2
  1039. else
  1040. doe = 0
  1041. end
  1042. end
  1043. end)()
  1044.  
  1045. while true do
  1046. swait()
  1047. while true do
  1048. swait()
  1049. if Head:FindFirstChild("mus")==nil then
  1050. mus = Instance.new("Sound",Head)
  1051. mus.Name = "mus"
  1052. mus.SoundId = "rbxassetid://318340174"
  1053. mus.Looped = true
  1054. mus.Volume = 1
  1055. mus:Play()
  1056. end
  1057. local ss = Humanoid:GetState()
  1058. if ss == (Enum.HumanoidStateType.FallingDown or ss == Enum.HumanoidStateType.PlatformStanding) then
  1059. Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1060. end
  1061. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1062. velocity = RootPart.Velocity.y
  1063. sine = sine + change
  1064. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 5.3, chara)
  1065. if RootPart.Velocity.y > 1 and hit == nil then
  1066. Anim = "Jump"
  1067. if attack == false then
  1068. PlayAnimationFromTable({
  1069. CFrame.new(0, 0.0740167201, -0.180228189, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1070. CFrame.new(0, 2.03109002, -0.115844816, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  1071. 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),
  1072. 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),
  1073. CFrame.new(0.650001526, -1.19999599, -0.600000799, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1074. CFrame.new(-0.649993896, -2.59999466, 5.54323037e-07, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1075. }, .3, false)
  1076. end
  1077. elseif RootPart.Velocity.y < -1 and hit == nil then
  1078. Anim = "Fall"
  1079. if attack == false then
  1080. PlayAnimationFromTable({
  1081. CFrame.new(0, -0.133714333, 0.15832366, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1082. CFrame.new(0, 2.05995607, -0.632082939, 1, 0, 0, 0, 0.766044796, 0.642787218, 0, -0.642787218, 0.766044855),
  1083. 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),
  1084. 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),
  1085. CFrame.new(0.649993896, -1.3999939, -0.600004256, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1086. CFrame.new(-0.650001526, -2.59999371, -3.89218303e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1087. }, .3, false)
  1088. end
  1089. elseif Torsovelocity < 1 and hit ~= nil then
  1090. Anim = "Idle"
  1091. if attack == false then
  1092. change = 1
  1093. PlayAnimationFromTable({
  1094. 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),
  1095. 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),
  1096. 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),
  1097. 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),
  1098. 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),
  1099. 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),
  1100. }, .3, false)
  1101. end
  1102. elseif Torsovelocity > 2 and hit ~= nil then
  1103. Anim = "Walk"
  1104. if attack == false then
  1105. Humanoid.WalkSpeed = 16
  1106. Humanoid.JumpPower = 80
  1107. PlayAnimationFromTable({
  1108. 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),
  1109. CFrame.new(0, 2.01372552, -0.214327857, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849),
  1110. CFrame.new(1.94397354, -0.115067676, -0.230779886, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1111. CFrame.new(-1.95000458, -0.0637510419, -0.214326635, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1112. 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),
  1113. 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),
  1114. }, .3, false)
  1115. end
  1116. end
  1117. end
  1118. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement