Advertisement
GojiGaming1337

Untitled

May 23rd, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.46 KB | None | 0 0
  1. wait(1/60)
  2. -- Spartan --
  3. -- A Spartan that joined the insurrection --
  4.  
  5. --// Initializing \\--
  6. local grabhead = false
  7. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  8. local Plrs = S.Players
  9. local Plr = Plrs.LocalPlayer
  10. local Char = Plr.Character
  11. local Hum = Char:FindFirstChildOfClass'Humanoid'
  12. local RArm = Char["Right Arm"]
  13. local LArm = Char["Left Arm"]
  14. local RLeg = Char["Right Leg"]
  15. local LLeg = Char["Left Leg"]
  16. local Root = Char:FindFirstChild'HumanoidRootPart'
  17. local Torso = Char.Torso
  18. local Head = Char.Head
  19. local NeutralAnims = true
  20. local Attack = false
  21. local BloodPuddles = {}
  22. local Effects = {}
  23. local Debounces = {Debounces={}}
  24. local Mouse = Plr:GetMouse()
  25. local Hit = {}
  26. local Sine = 0
  27. local Idle = 0
  28. local Change = 1
  29. local FLArm,FRArm,FRArmW,FLArmW
  30. local Stunned = {}
  31. local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB
  32. --// Debounce System \\--
  33.  
  34.  
  35. function Debounces:New(name,cooldown)
  36. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  37. setmetatable(aaaaa,{__index = Debounces})
  38. Debounces.Debounces[name] = aaaaa
  39. return aaaaa
  40. end
  41.  
  42. function Debounces:Use(overrideUsable)
  43. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  44. if(self.Usable or overrideUsable)then
  45. self.Usable = false
  46. self.CoolingDown = true
  47. local LastUse = time()
  48. self.LastUse = LastUse
  49. delay(self.Cooldown or 2,function()
  50. if(self.LastUse == LastUse)then
  51. self.CoolingDown = false
  52. self.Usable = true
  53. end
  54. end)
  55. end
  56. end
  57.  
  58. function Debounces:Get(name)
  59. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  60. for i,v in next, Debounces.Debounces do
  61. if(i == name)then
  62. return v;
  63. end
  64. end
  65. end
  66.  
  67. function Debounces:GetProgressPercentage()
  68. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  69. if(self.CoolingDown and not self.Usable)then
  70. return math.max(
  71. math.floor(
  72. (
  73. (time()-self.LastUse)/self.Cooldown or 2
  74. )*100
  75. )
  76. )
  77. else
  78. return 100
  79. end
  80. end
  81.  
  82. --// Shortcut Variables \\--
  83. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  84. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  85. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  86. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  87. local R3 = {N=Region3.new}
  88. local De = S.Debris
  89. local WS = workspace
  90. local Lght = S.Lighting
  91. local RepS = S.ReplicatedStorage
  92. local IN = Instance.new
  93.  
  94. --// Extended ROBLOX tables \\--
  95. local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end, ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  96. --// Customization \\--
  97.  
  98. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  99. local Remove_Hats = false
  100. local Remove_Clothing = false
  101. local PlayerSize = 1
  102. local DamageColor = BrickColor.new'Really red'
  103. local MusicID = 653939839
  104. local MusicPitch = 1
  105. local BloodID = "rbxassetid://284205403"
  106. local BloodColor = BrickColor.new'Crimson'
  107. local BloodMaterial = Enum.Material.SmoothPlastic
  108.  
  109. --// Weapon and GUI creation, and Character Customization \\--
  110.  
  111. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  112. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  113. local Effects = IN("Folder",Char)
  114. Effects.Name = "Effects"
  115.  
  116. New = function(Object, Parent, Name, Data)
  117. local Object = Instance.new(Object)
  118. for Index, Value in pairs(Data or {}) do
  119. Object[Index] = Value
  120. end
  121. Object.Parent = Parent
  122. Object.Name = Name
  123. return Object
  124. end
  125.  
  126. if(PlayerSize ~= 1)then
  127. for _,v in next, Char:GetDescendats() do
  128. if(v:IsA'BasePart')then
  129. v.Size = v.Size * PlayerSize
  130. end
  131. end
  132. end
  133.  
  134. --// Instance Creation Functions \\--
  135.  
  136. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  137. local Sound = IN("Sound")
  138. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  139. Sound.Pitch = pitch or 1
  140. Sound.Volume = volume or 1
  141. Sound.Looped = looped or false
  142. if(autoPlay)then
  143. coroutine.wrap(function()
  144. repeat wait() until Sound.IsLoaded
  145. Sound.Playing = autoPlay or false
  146. end)()
  147. end
  148. if(not looped and effect)then
  149. Sound.Ended:connect(function()
  150. Sound.Volume = 0
  151. Sound:destroy()
  152. end)
  153. elseif(effect)then
  154. warn("Sound can't be looped and a sound effect!")
  155. end
  156. Sound.Parent =parent or Torso
  157. return Sound
  158. end
  159. function Part(parent,color,material,size,cframe,anchored,cancollide)
  160. local part = IN("Part")
  161. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  162. part.Material = material or Enum.Material.SmoothPlastic
  163. part.TopSurface,part.BottomSurface=10,10
  164. part.Size = size or V3.N(1,1,1)
  165. part.CFrame = cframe or CF.N(0,0,0)
  166. part.CanCollide = cancollide or false
  167. part.Anchored = anchored or false
  168. part.Parent = parent or Char
  169. return part
  170. end
  171.  
  172. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  173. local part = IN("SpecialMesh")
  174. part.MeshId = meshid or ""
  175. part.TextureId = textid or ""
  176. part.Scale = scale or V3.N(1,1,1)
  177. part.Offset = offset or V3.N(0,0,0)
  178. part.MeshType = meshtype or Enum.MeshType.Sphere
  179. part.Parent = parent
  180. return part
  181. end
  182.  
  183. NewInstance = function(instance,parent,properties)
  184. local inst = Instance.new(instance,parent)
  185. if(properties)then
  186. for i,v in next, properties do
  187. pcall(function() inst[i] = v end)
  188. end
  189. end
  190. return inst;
  191. end
  192.  
  193. --// Music Creation \\--
  194. local Music = Sound(Char,MusicID,MusicPitch,3,true,false,true)
  195. Music.Name = 'Music'
  196.  
  197. --// Stop animations \\--
  198. for _,v in next, Hum:GetPlayingAnimationTracks() do
  199. v:Stop();
  200. end
  201.  
  202. pcall(game.Destroy,Char:FindFirstChild'Animate')
  203. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  204.  
  205. --// Joints \\--
  206.  
  207. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  208. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  209. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  210. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  211. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  212. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  213. local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm})
  214.  
  215. local LSC0 = LS.C0
  216. local RSC0 = RS.C0
  217. local NKC0 = NK.C0
  218. local LHC0 = LH.C0
  219. local RHC0 = RH.C0
  220. local RJC0 = RJ.C0
  221.  
  222. --// Artificial HB \\--
  223.  
  224. local ArtificialHB = IN("BindableEvent", script)
  225. ArtificialHB.Name = "Heartbeat"
  226.  
  227. script:WaitForChild("Heartbeat")
  228.  
  229. local tf = 0
  230. local allowframeloss = false
  231. local tossremainder = false
  232. local lastframe = tick()
  233. local frame = 1/Frame_Speed
  234. ArtificialHB:Fire()
  235.  
  236. game:GetService("RunService").Heartbeat:connect(function(s, p)
  237. tf = tf + s
  238. if tf >= frame then
  239. if allowframeloss then
  240. script.Heartbeat:Fire()
  241. lastframe = tick()
  242. else
  243. for i = 1, math.floor(tf / frame) do
  244. ArtificialHB:Fire()
  245. end
  246. lastframe = tick()
  247. end
  248. if tossremainder then
  249. tf = 0
  250. else
  251. tf = tf - frame * math.floor(tf / frame)
  252. end
  253. end
  254. end)
  255.  
  256. function swait(num)
  257. if num == 0 or num == nil then
  258. ArtificialHB.Event:wait()
  259. else
  260. for i = 0, num do
  261. ArtificialHB.Event:wait()
  262. end
  263. end
  264. end
  265.  
  266.  
  267. --// Effect Function(s) \\--
  268.  
  269. function FakeWeld(p0,p1)
  270. local attachment0 = Instance.new('Attachment',p0)
  271. local attachment1 = Instance.new('Attachment',p1)
  272. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  273. end
  274.  
  275. function Fragment(v)
  276. v:ClearAllChildren()
  277. local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
  278. v.Archivable = true
  279. -- X
  280. v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
  281. v.Name = v.Name.."Fragment"
  282.  
  283. local a = v:Clone()
  284. a.Parent = Fragments
  285. a.CFrame = CF.N(-.5,1,1) * a.CFrame
  286. v.CFrame = CF.N(.5,1,1) * v.CFrame
  287. -- Y
  288. v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
  289.  
  290. local a = v:Clone()
  291. a.Parent = Fragments
  292. a.CFrame = CF.N(1,-.5,1) * a.CFrame
  293. v.CFrame = CF.N(1,.5,1) * v.CFrame
  294. -- Z
  295. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  296.  
  297. local a = v:Clone()
  298. a.Parent = Fragments
  299. a.CFrame = CF.N(1,1,-.5) * a.CFrame
  300. v.CFrame = CF.N(1,1,.5) * v.CFrame
  301.  
  302. v.Parent = Fragments
  303. return Fragments
  304. end
  305.  
  306. local blood = NewInstance("ParticleEmitter",nil,{
  307. Color = ColorSequence.new(BloodColor.Color),
  308. LightEmission=.1,
  309. LightInfluence=1,
  310. ZOffset=.9,
  311. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  312. Texture="rbxassetid://284205403",
  313. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  314. Acceleration = V3.N(0,-15,0),
  315. Lifetime = NumberRange.new(1,2),
  316. Rate=50,
  317. Speed = NumberRange.new(5,15),
  318. SpreadAngle = Vector2.new(15,15),
  319. Enabled = false,
  320. EmissionDirection = 'Back',
  321. })
  322.  
  323. local blood2 = NewInstance("ParticleEmitter",nil,{
  324. Color = ColorSequence.new(BloodColor.Color),
  325. LightEmission=.1,
  326. LightInfluence=1,
  327. ZOffset=.9,
  328. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  329. Texture=BloodID,
  330. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  331. Acceleration = V3.N(0,-125,0),
  332. Lifetime = NumberRange.new(1,2),
  333. Rate=50,
  334. Speed = NumberRange.new(5,15),
  335. SpreadAngle = Vector2.new(15,15),
  336. Enabled = false,
  337. EmissionDirection = 'Back',
  338. })
  339.  
  340. local blood3 = NewInstance("ParticleEmitter",nil,{
  341. Color = ColorSequence.new(BloodColor.Color),
  342. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)},
  343. Texture=BloodID,
  344. Lifetime = NumberRange.new(.4),
  345. Rate=50,
  346. LockedToPart=true,
  347. Speed = NumberRange.new(0,2),
  348. Enabled = false,
  349. })
  350.  
  351. function Blood(size,cframe,amount)
  352. local part = Instance.new("Part",Effects)
  353. part.Transparency = 1
  354. part.Size = size
  355. part.Anchored = true
  356. part.CanCollide = false
  357. part.CFrame = cframe
  358. S.Debris:AddItem(part,6)
  359. local prtcl = blood:Clone()
  360. prtcl.Parent = part
  361. prtcl:Emit(amount)
  362. return part, prtcl
  363. end
  364.  
  365. function Blood2(size,cframe)
  366. local part = Instance.new("Part",Effects)
  367. part.Transparency = 1
  368. part.Size = size
  369. part.Anchored = false
  370. part.CanCollide = false
  371. part.CFrame = cframe
  372. local prtcl = blood:Clone()
  373. prtcl.Enabled = true
  374. prtcl.Parent = part
  375. return part, prtcl
  376. end
  377.  
  378. function Blood3(size,cframe,amount)
  379. local part = Instance.new("Part",Effects)
  380. part.Transparency = 1
  381. part.Size = size
  382. part.Anchored = true
  383. part.CanCollide = false
  384. part.CFrame = cframe
  385. S.Debris:AddItem(part,6)
  386. local prtcl = blood2:Clone()
  387. prtcl.Parent = part
  388. prtcl:Emit(amount)
  389. return part, prtcl
  390. end
  391.  
  392. function Blood4(size,cframe)
  393. local part = Instance.new("Part",Effects)
  394. part.Transparency = 1
  395. part.Size = size
  396. part.Anchored = false
  397. part.CanCollide = false
  398. part.CFrame = cframe
  399. local prtcl = blood2:Clone()
  400. prtcl.Enabled = true
  401. prtcl.Parent = part
  402. return part, prtcl
  403. end
  404.  
  405.  
  406. function BloodDrop(pos,dir,maxsize)
  407. if(game.PlaceId ~= 843468296)then
  408. local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false})
  409. owo.CFrame=CF.N(pos,dir)
  410. local bv = Instance.new("BodyVelocity",owo)
  411. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  412. bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
  413. bv.Name = "MOVE"
  414. --[[local prt = blood3:Clone()
  415. prt.Parent = owo
  416. prt.Enabled = true]]
  417. delay(.01, function() bv:destroy() end)
  418. local touch;
  419. touch = owo.Touched:connect(function(hit)
  420. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  421. touch:disconnect()
  422. BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo)
  423. owo:destroy()
  424. end
  425. end)
  426. end
  427. end
  428.  
  429. function BloodPuddle(position,range,maxSize,where)
  430. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  431. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  432. ),{where,Char},false,true)
  433. if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  434. if(hit.Name == 'BloodPuddle')then
  435. local dist = (position - hit.Position).magnitude
  436. if (hit.Size.Z <= 5 and hit.Size.Z < maxSize) or (hit.Size.Z > 5 and hit.Size.Z < maxSize and dist < hit.Size.Z/3) then
  437. --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  438. hit.Size = hit.Size + V3.N(.1,0,.1)
  439. end
  440. if(hit.Size.Z < 2)then
  441. pcall(function() hit.Sound:Play() end)
  442. end
  443. else
  444. local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  445. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  446. Sound(Puddle,685857471,1,2,false,false,true)
  447. coroutine.wrap(function()
  448. swait(75)
  449. repeat
  450. swait()
  451. Puddle.Size = Puddle.Size - V3.N(.02,0,.02)
  452. until Puddle.Size.Z < 0.51
  453. Puddle:destroy()
  454. end)()
  455. end
  456. end
  457. end
  458.  
  459. function recurse(root,callback,i)
  460. i= i or 0
  461. for _,v in pairs(root:GetChildren()) do
  462. i = i + 1
  463. callback(i,v)
  464.  
  465. if #v:GetChildren() > 0 then
  466. i = recurse(v,callback,i)
  467. end
  468. end
  469.  
  470. return i
  471. end
  472.  
  473. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  474. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  475. for i,v in pairs(character:GetChildren()) do
  476. if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
  477. v.Size = Vector3.new(1,1,1)
  478. end
  479. end
  480. if part1:FindFirstChildOfClass('Motor6D') then
  481. part1:FindFirstChildOfClass('Motor6D'):Remove()
  482. end
  483. if attachmentName ~= "NeckAttachment" then
  484. attachmentName = attachmentName.."RigAttachment"
  485. end
  486. local constraint = Instance.new(className.."Constraint")
  487. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  488. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  489. constraint.Name = "RagdollConstraint"..part1.Name
  490. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  491. local collidepart = Instance.new('Part',part1)
  492. collidepart.Size = part1.Size/2
  493. if string.find(string.lower(part1.Name),"upper") then
  494. if string.find(string.lower(part1.Name),"leg") then
  495. collidepart.Size = part1.Size/3
  496. else
  497. collidepart.Size = part1.Size/2.5
  498. end
  499. end
  500. collidepart.CanCollide = true
  501. collidepart.Name = "RagdollJoint"
  502. collidepart.Anchored = false
  503. collidepart.Transparency = 1
  504. collidepart.CFrame = part1.CFrame
  505. collidepart:BreakJoints()
  506. local attachment0 = Instance.new('Attachment',part1)
  507. local attachment1 = Instance.new('Attachment',collidepart)
  508. if attachment0 and attachment1 then
  509. local constraint = Instance.new("HingeConstraint")
  510. constraint.Attachment0 = attachment0
  511. constraint.Attachment1 = attachment1
  512. constraint.LimitsEnabled = true
  513. constraint.UpperAngle = 0
  514. constraint.LowerAngle = 0
  515. constraint.Parent = character
  516. end
  517. if string.find(string.lower(part1.Name),"upper") then
  518. if string.find(string.lower(part1.Name),"leg") then
  519. attachment0.Position = Vector3.new(0,0.01,0)
  520. else
  521. attachment0.Position = Vector3.new(0,0.25,0)
  522. end
  523. else
  524. attachment0.Position = Vector3.new(0,-0.1,0)
  525. end
  526. end
  527. for _,propertyData in next,properties or {} do
  528. constraint[propertyData[1]] = propertyData[2]
  529. end
  530. constraint.Parent = character
  531. return constraint
  532. end
  533. end
  534.  
  535.  
  536. function getAttachment0(character,attachmentName)
  537. for _,child in next,character:children() do
  538. local attachment = child:FindFirstChild(attachmentName)
  539. if attachment then
  540. return attachment
  541. end
  542. end
  543. end
  544.  
  545.  
  546. function Ragdoll(who,half,snapped)
  547. pcall(function()
  548. who:breakJoints()
  549. local who = who
  550. local hhh = who:FindFirstChildOfClass'Humanoid'
  551. local t = GetTorso(who)
  552. pcall(function()
  553. who.HumanoidRootPart:destroy()
  554. end)
  555. hhh.Health = 0
  556. Stunned[who] = true
  557. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  558. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  559. pcall(function()
  560. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  561. FakeWeld(RA,CollideRA) end
  562. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  563. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  564. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  565. end)
  566. pcall(function()
  567. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  568. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  569.  
  570. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  571.  
  572. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  573. FakeWeld(LA,CollideLA) end
  574. end)
  575. pcall(function()
  576. if(HD)then
  577. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  578. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  579. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  580. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  581.  
  582. if(snapped)then
  583. NJ.Orientation = V3.N(0,90,0)
  584. end
  585. if(hhh.Health > 0)then
  586. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  587. FakeWeld(HD,CollideHD)
  588. end
  589. end
  590. end)
  591. if(not half)then
  592. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  593. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  594. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  595. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  596. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  597. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  598. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  599. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  600.  
  601. FakeWeld(RL,CollideRL)
  602. FakeWeld(LL,CollideLL) end
  603. end
  604. for _,v in next, who:children() do
  605. if(v:IsA'BasePart')then
  606. v.CanCollide = true
  607. end
  608. end
  609. else
  610. local character = who
  611.  
  612. if(half)then
  613. pcall(function()
  614. character.UpperTorso.WaistRigAttachment:Destroy()
  615. end)
  616. end
  617.  
  618. local handProperties = {
  619. {"LimitsEnabled", true};
  620. {"UpperAngle",0};
  621. {"LowerAngle",0};
  622. }
  623. local footProperties = {
  624. {"LimitsEnabled", true};
  625. {"UpperAngle", 15};
  626. {"LowerAngle", -45};
  627. }
  628. local shinProperties = {
  629. {"LimitsEnabled", true};
  630. {"UpperAngle", 0};
  631. {"LowerAngle", -75};
  632. }
  633. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  634. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  635. end
  636. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  637. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  638. end
  639. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  640. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  641. end
  642. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  643. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  644. end
  645. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  646. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  647. end
  648. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  649. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  650. end
  651. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  652. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  653. end
  654. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  655. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  656. end
  657. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  658. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  659. end
  660. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  661. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  662. end
  663. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  664. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  665. end
  666. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  667. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  668. end
  669. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  670. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  671. {"LimitsEnabled",true};
  672. {"UpperAngle",5};
  673. {"Radius",5};
  674. })
  675. end
  676. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  677. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  678. {"LimitsEnabled",true};
  679. {"UpperAngle",50};
  680. {"LowerAngle",-50};
  681. })
  682. end
  683. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  684. {"LimitsEnabled",true};
  685. {"UpperAngle",50};
  686. {"LowerAngle",-50};
  687. })
  688.  
  689. recurse(character, function(_,v)
  690. if v:IsA("Attachment") then
  691. v.Axis = Vector3.new(0, 1, 0)
  692. v.SecondaryAxis = Vector3.new(0, 0, 1)
  693. v.Rotation = Vector3.new(0, 0, 0)
  694. if(v.Parent == character.Head and snapped)then
  695. v.Orientation = V3.N(0,-90,0)
  696. end
  697. end
  698. end)
  699. end
  700. end)
  701. end
  702.  
  703.  
  704. function Bezier(startpos, pos2, pos3, endpos, t)
  705. local A = startpos:lerp(pos2, t)
  706. local B = pos2:lerp(pos3, t)
  707. local C = pos3:lerp(endpos, t)
  708. local lerp1 = A:lerp(B, t)
  709. local lerp2 = B:lerp(C, t)
  710. local cubic = lerp1:lerp(lerp2, t)
  711. return cubic
  712. end
  713.  
  714. function Effect(data)
  715. local FX = data.Effect or 'Resize-AndFade'
  716. local Parent = data.Parent or Effects
  717. local Color = data.Color or C3.N(0,0,0)
  718. local Size = data.Size or V3.N(1,1,1)
  719. local MoveDir = data.MoveDirection or nil
  720. local MeshData = data.Mesh or nil
  721. local SndData = data.Sound or nil
  722. local Frames = data.Frames or 45
  723. local Manual = data.Manual or nil
  724. local Material = data.Material or nil
  725. local CFra = data.CFrame or Torso.CFrame
  726. local Settings = data.FXSettings or {}
  727. local Snd,Prt,Msh;
  728. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  729. Prt = Manual
  730. else
  731. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  732. end
  733. if(typeof(MeshData) == 'table')then
  734. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  735. elseif(typeof(MeshData) == 'Instance')then
  736. Msh = MeshData:Clone()
  737. Msh.Parent = Prt
  738. end
  739. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  740. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  741. end
  742. if(Snd)then
  743. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  744. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  745. end
  746. local MoveSpeed = nil;
  747. if(MoveDir)then
  748. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  749. end
  750. local Inc = M.RNG()-M.RNG()
  751. local Thingie = 0
  752. local Thingie2 = M.RNG(50,100)/100
  753.  
  754. coroutine.wrap(function()
  755. if(FX ~= 'Arc')then
  756. for i = 1, Frames do
  757. if(FX == 'Resize-AndFade')then
  758. if(not Settings.EndSize)then
  759. Settings.EndSize = V3.N(0,0,0)
  760. end
  761. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  762. if(Settings.EndIsIncrement)then
  763. Prt.Size = Prt.Size - Settings.EndSize
  764. else
  765. Prt.Size = Prt.Size - grow/Frames
  766. end
  767. Prt.Transparency = (i/Frames)
  768. elseif(FX == 'Resize+AndFade')then
  769. if(not Settings.EndSize)then
  770. Settings.EndSize = Size*2
  771. end
  772. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  773. if(Settings.EndIsIncrement)then
  774. Prt.Size = Prt.Size + Settings.EndSize
  775. else
  776. Prt.Size = Prt.Size + grow/Frames
  777. end
  778. Prt.Transparency = (i/Frames)
  779. elseif(FX == 'Fade')then
  780. Prt.Transparency = (i/Frames)
  781. end
  782. if(Settings.RandomizeCFrame)then
  783. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  784. end
  785. if(MoveDir and MoveSpeed)then
  786. local Orientation = Prt.Orientation
  787. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  788. Prt.Orientation = Orientation
  789. end
  790. if(swait and typeof(swait) == 'function')then
  791. swait()
  792. else
  793. wait()
  794. end
  795. end
  796. Prt:destroy()
  797. else
  798. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  799. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  800. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  801. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  802. assert(start ~= nil,"You need to specify a start point!")
  803. assert(endP ~= nil,"You need to specify an end point!")
  804. for i = 0, 1, Settings.Speed or 0.01 do
  805. if(Settings.Home)then
  806. endP = Settings.Home.CFrame
  807. end
  808. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  809. if(swait and typeof(swait) == 'function')then
  810. swait()
  811. else
  812. wait()
  813. end
  814. end
  815. if(Settings.RemoveOnGoal)then
  816. Prt:destroy()
  817. end
  818. end
  819. end)()
  820. return Prt,Msh,Snd
  821. end
  822.  
  823.  
  824. function SoulSteal(character)
  825. local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart')
  826. print(torso)
  827. if(torso and torso:IsA'BasePart')then
  828. local Model = Instance.new("Model",Effects)
  829. Model.Name = character.Name.."'s Soul"
  830. character:BreakJoints()
  831. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  832. Soul.Name = 'Head'
  833. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  834. Effect{
  835. Effect="Arc",
  836. Manual = Soul,
  837. FXSettings={
  838. Start=torso.CFrame,
  839. Home = Torso,
  840. RemoveOnGoal = true,
  841. }
  842. }
  843. local lastPoint = Soul.CFrame.p
  844.  
  845. for i = 0, 1, 0.01 do
  846. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  847. local mag = (lastPoint - Soul.Position).magnitude
  848. Effect{
  849. Effect = "Fade",
  850. CFrame = point * CF.N(0, mag/2, 0),
  851. Size = V3.N(.5,mag+.5,.5),
  852. Color = Soul.BrickColor
  853. }
  854. lastPoint = Soul.CFrame.p
  855. swait()
  856. end
  857. for i = 1, 5 do
  858. Effect{
  859. Effect="Fade",
  860. Color = BrickColor.new'Really red',
  861. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  862. }
  863. end
  864. end
  865. end
  866.  
  867. --// Other Functions \\ --
  868.  
  869. function getRegion(point,range,ignore)
  870. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  871. end
  872.  
  873. function clerp(startCF,endCF,alpha)
  874. return startCF:lerp(endCF, alpha)
  875. end
  876.  
  877. function GetTorso(char)
  878. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  879. end
  880.  
  881.  
  882.  
  883. function ShowDamage(Pos, Text, Time, Color)
  884. coroutine.wrap(function()
  885. local Rate = (1 / 30)
  886. local Pos = (Pos or Vector3.new(0, 0, 0))
  887. local Text = (Text or "")
  888. local Time = (Time or 2)
  889. local Color = (Color or Color3.new(1, 0, 1))
  890. local EffectPart = NewInstance("Part",Effects,{
  891. Material=Enum.Material.SmoothPlastic,
  892. RArmlectance = 0,
  893. Transparency = 1,
  894. BrickColor = BrickColor.new(Color),
  895. Name = "Effect",
  896. Size = Vector3.new(0,0,0),
  897. Anchored = true
  898. })
  899. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  900. Size = UDim2.new(1.25, 0, 1.25, 0),
  901. Adornee = EffectPart,
  902. })
  903. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  904. BackgroundTransparency = 1,
  905. Size = UDim2.new(1, 0, 1, 0),
  906. Text = Text,
  907. Font = "Arial",
  908. TextColor3 = Color,
  909. TextStrokeColor3 = Color3.new(0,0,0),
  910. TextStrokeTransparency=0,
  911. TextScaled = true,
  912. })
  913. game.Debris:AddItem(EffectPart, (Time))
  914. EffectPart.Parent = game:GetService("Workspace")
  915. delay(0, function()
  916. local Frames = (Time / Rate)
  917. for Frame = 1, Frames do
  918. wait(Rate)
  919. local Percent = (Frame / Frames)
  920. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  921. TextLabel.TextTransparency = Percent
  922. TextLabel.TextStrokeTransparency = Percent
  923. end
  924. if EffectPart and EffectPart.Parent then
  925. EffectPart:Destroy()
  926. end
  927. end) end)()
  928. end
  929.  
  930.  
  931. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  932. if(who)then
  933. local hum = who:FindFirstChildOfClass'Humanoid'
  934. local Damage = M.RNG(minDam,maxDam)
  935. local canHit = true
  936. if(hum)then
  937. for _, p in pairs(Hit) do
  938. if p[1] == hum then
  939. if(time() - p[2] < 0.1) then
  940. canHit = false
  941. else
  942. Hit[_] = nil
  943. end
  944. end
  945. end
  946. if(canHit)then
  947. if(hum.Health >= math.huge)then
  948. who:BreakJoints()
  949. if(who:FindFirstChild'Head' and hum.Health > 0)then
  950. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  951. end
  952. else
  953. local player = S.Players:GetPlayerFromCharacter(who)
  954. if(Type == "Fire")then
  955. --idk..
  956. else
  957. local c = Instance.new("ObjectValue",hum)
  958. c.Name = "creator"
  959. c.Value = Plr
  960. game:service'Debris':AddItem(c,0.35)
  961. if(M.RNG(1,100) <= (critChance or 0))then
  962. if(who:FindFirstChild'Head' and hum.Health > 0)then
  963. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  964. end
  965. hum.Health = hum.Health - Damage*(critMult or 2)
  966. else
  967. if(who:FindFirstChild'Head' and hum.Health > 0)then
  968. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
  969. end
  970. hum.Health = hum.Health - Damage
  971. end
  972. if(Type == 'Knockback' and GetTorso(who))then
  973. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  974. local body = NewInstance('BodyVelocity',GetTorso(who),{
  975. P = 500,
  976. maxForce = V3.N(math.huge,0,math.huge),
  977. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  978. })
  979. game:service'Debris':AddItem(body,.5)
  980. elseif(Type == 'Knockdown' and GetTorso(who))then
  981. local rek = GetTorso(who)
  982. print(rek)
  983. hum.PlatformStand = true
  984. delay(1,function()
  985. hum.PlatformStand = false
  986. end)
  987. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  988. local bodvol = NewInstance("BodyVelocity",rek,{
  989. velocity = angle * Knock,
  990. P = 5000,
  991. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  992. })
  993. local rl = NewInstance("BodyAngularVelocity",rek,{
  994. P = 3000,
  995. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  996. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  997. })
  998. game:GetService("Debris"):AddItem(bodvol, .5)
  999. game:GetService("Debris"):AddItem(rl, .5)
  1000. end
  1001. end
  1002. end
  1003. end
  1004. table.insert(Hit,{hum,time()})
  1005. end
  1006. end
  1007. end
  1008.  
  1009. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  1010. for _,v in next, getRegion(where,range,{Char}) do
  1011. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1012. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  1013. end
  1014. end
  1015. end
  1016.  
  1017. function AOEFunction(where,range,callback)
  1018. for _,v in next, getRegion(where,range,{Char}) do
  1019. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1020. callback(v.Parent)
  1021. end
  1022. end
  1023. end
  1024.  
  1025. function ClosestHumanoid(pos,range)
  1026. local mag,closest = math.huge;
  1027. for _,v in next, getRegion(pos,range or 10,{Char}) do
  1028. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1029. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  1030. mag = (v.CFrame.p-pos).magnitude
  1031. closest = hum
  1032. end
  1033. end
  1034. return closest,(closest and GetTorso(closest.Parent) or nil)
  1035. end
  1036.  
  1037. function AOEHeal(where,range,amount)
  1038. local healed = {}
  1039. for _,v in next, getRegion(where,range,{Char}) do
  1040. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1041. if(hum and not healed[hum])then
  1042. hum.Health = hum.Health + amount
  1043. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1044. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Really red'.Color)
  1045. end
  1046. end
  1047. end
  1048. end
  1049. --// Attack Function \\--
  1050.  
  1051. function Equip_Sawblade()
  1052. for i = 1, 5 do
  1053. Effect{
  1054. Effect='Resize+AndFade',
  1055. Color = BrickColor.new'Smoky grey',
  1056. Material = Enum.Material.Neon,
  1057. Size=V3.N(3.5,3.5,3.5),
  1058. CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1059. FXSettings={
  1060. EndSize=V3.N(.05,.05,.05),
  1061. EndIsIncrement=true,
  1062.  
  1063. }
  1064. }
  1065. end
  1066. local prt = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(),false,false)
  1067. prt.Transparency = .5
  1068. local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,3),V3.N())
  1069. local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)})
  1070. return prt,weld
  1071. end
  1072.  
  1073. function The_Necc()
  1074. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1075. if(torso)then
  1076. local who = torso.Parent
  1077. Attack = true
  1078. NeutralAnims = false
  1079. who.Parent = Char
  1080. local oRoot
  1081. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1082. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1083. for i = 0, 4, 0.1 do
  1084. swait()
  1085. humanoid.PlatformStand = true
  1086. local Alpha = .15
  1087. RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
  1088. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1089. RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1090. LS.C0 = clerp(LS.C0,CFrame.new(-1.0486517, 0.929213107, -0.824554026, 0.712753832, -0.694763601, -0.0963225588, 0.0692147464, 0.206324935, -0.976032555, 0.697985768, 0.689004064, 0.195146814),Alpha)
  1091. RS.C0 = clerp(RS.C0,CFrame.new(0.386394978, 1.64370263, -1.084023, -0.617445648, -0.751786709, -0.231452331, -0.0510570146, 0.331923157, -0.941923738, 0.784950197, -0.569769561, -0.243328467),Alpha)
  1092. NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
  1093. end
  1094. gWeld:destroy()
  1095. if(who:FindFirstChild'Head')then
  1096. local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false)
  1097. s:Play()
  1098. s.Ended:connect(function() s:Destroy() end)
  1099. end
  1100. who.Parent = workspace
  1101. humanoid.Health = 0
  1102. Ragdoll(who,false,true)
  1103. for i = 0, 1.5, 0.1 do
  1104. swait()
  1105. humanoid.PlatformStand = true
  1106. local Alpha = .3
  1107. RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
  1108. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1109. RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1110. LS.C0 = clerp(LS.C0,CFrame.new(-1.47842193, 0.485131323, -0.0262347199, 0.0664671659, 0.993123412, -0.0963359103, -0.201927185, -0.0811635256, -0.976031899, -0.977139056, 0.0843269154, 0.195143938),Alpha)
  1111. RS.C0 = clerp(RS.C0,CFrame.new(2.33067179, 0.249403879, 0.270489573, 0.171869993, 0.978404701, -0.114792682, 0.105083257, -0.134070903, -0.985384524, -0.979495406, 0.157295257, -0.125856698),Alpha)
  1112. NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
  1113. end
  1114. Attack = false
  1115. NeutralAnims = true
  1116. end
  1117. end
  1118.  
  1119. function Hands_Off()
  1120. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1121.  
  1122. if(torso)then
  1123. local who = torso.Parent
  1124. local doAttack = false
  1125. Instance.AllChildren(who,function(v)
  1126. if(v.Name:lower():find"arm")then
  1127. doAttack = true
  1128. end
  1129. end, true)
  1130. if(not doAttack)then return end
  1131. Hum.WalkSpeed = 0
  1132. Hum.JumpPower = 0
  1133. Attack = true
  1134. NeutralAnims = false
  1135. who.Parent = Char
  1136. local oRoot
  1137. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1138. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1139. for i = 0, 4, 0.1 do
  1140. swait()
  1141. humanoid.PlatformStand = true
  1142. local Alpha = .15
  1143. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1144. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1145. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1146. LS.C0 = clerp(LS.C0,CFrame.new(-1.42285931, 0.338565946, -0.110074639, 0.983876407, 0.1786367, 0.00868223887, -0.0932332501, 0.553717494, -0.827468753, -0.152623802, 0.813317537, 0.561444461),Alpha)
  1147. RS.C0 = clerp(RS.C0,CFrame.new(1.374735, 0.282860518, -0.133752465, 0.973415911, -0.228878334, 0.00868532527, 0.135509402, 0.544919252, -0.827466309, 0.184656292, 0.806645751, 0.561448157),Alpha)
  1148. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1149. end
  1150. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor
  1151. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor
  1152. Sound(torso,1093102664,.85,5,false,true,true)
  1153. Sound(torso,429400881,1,1,false,true,true)
  1154. FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1155. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  1156. FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1157. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  1158. FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1159. FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1160. Instance.AllChildren(who,function(v)
  1161. if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then
  1162. v:destroy()
  1163. end
  1164. end, true)
  1165. if(not VoidSB)then
  1166. coroutine.wrap(function()
  1167. repeat swait()
  1168. BloodDrop(torso.CFrame * CF.N(-.5,.5,0).p,torso.CFrame * CF.N(-1,.5,0).p,15)
  1169. BloodDrop(torso.CFrame * CF.N(.5,.5,0).p,torso.CFrame * CF.N(1,.5,0).p,15)
  1170. humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1171. humanoid.Health = 0
  1172. end)()
  1173. else
  1174. coroutine.wrap(function()
  1175. repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1176. humanoid.Health = 0
  1177. end)()
  1178.  
  1179. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1180. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1181. prt1.Parent = torso;
  1182. prt2.Parent = torso;
  1183. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)})
  1184. local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)})
  1185. end
  1186.  
  1187. humanoid.Died:connect(function()
  1188. Ragdoll(who)
  1189. end)
  1190. who.Parent = workspace
  1191.  
  1192. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1193. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1194. prt1.Parent = FRArm;
  1195. prt2.Parent = FLArm;
  1196. local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)})
  1197. local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)})
  1198. gWeld:destroy()
  1199. humanoid.PlatformStand = false
  1200. if(oRoot)then
  1201. oRoot.Parent = who
  1202. if(who:FindFirstChild('RootJoint',true))then
  1203. oRoot.RootJoint.Part0 = oRoot
  1204. oRoot.RootJoint.Part1 = torso
  1205. else
  1206. humanoid:BuildRigFromAttachments()
  1207. end
  1208. end
  1209.  
  1210.  
  1211. for i = 0, 3, 0.1 do
  1212. swait()
  1213. local Alpha = .15
  1214. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1215. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1216. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1217. LS.C0 = clerp(LS.C0,CFrame.new(-1.25778806, 0.320386261, -0.139421374, 0.690939784, 0.722859621, 0.00868486147, -0.400907725, 0.393146276, -0.827471495, -0.601560116, 0.568251252, 0.561440408),Alpha)
  1218. RS.C0 = clerp(RS.C0,CFrame.new(1.39739037, 0.354236364, -0.0289047062, 0.709462166, -0.704689503, 0.00868486147, 0.400770277, 0.393286407, -0.827471495, 0.579694867, 0.59054029, 0.561440408),Alpha)
  1219. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1220. end
  1221. Hum.WalkSpeed = 16
  1222. Hum.JumpPower = 50
  1223. Attack = false
  1224. NeutralAnims = true
  1225. end
  1226. end
  1227. function ScrewMe()
  1228. Attack = true
  1229. NeutralAnims = false
  1230. for i = 0, 2, 0.1 do
  1231. swait()
  1232. local Alpha = .15
  1233. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1234. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1235. RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1236. LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
  1237. RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
  1238. NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
  1239. end
  1240. local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false)
  1241. local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N())
  1242. local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)})
  1243. for i = 1, 3 do
  1244. for i = 0, 2, 0.1 do
  1245. swait()
  1246. local Alpha = .15
  1247. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1248. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1249. RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1250. LS.C0 = clerp(LS.C0,CFrame.new(-0.971063137, 0.544531465, -0.856619298, 0.824469268, -0.565411985, 0.0236563906, 0.239681676, 0.311018854, -0.919684827, 0.512643158, 0.763921857, 0.391944379),Alpha)
  1251. RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
  1252. NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
  1253. driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.754458785, -0.945940197, 0.0140114268, -0.867547691, -0.497354031, 8.15391541e-05, -7.91847706e-05, 0.00030207634, 1, -0.49735406, 0.867547691, -0.000301415101),Alpha)
  1254. end
  1255. for i = 0, 2, 0.1 do
  1256. swait()
  1257. local Alpha = .15
  1258. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1259. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1260. RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1261. LS.C0 = clerp(LS.C0,CFrame.new(-0.952282608, 0.388567954, -0.813911676, 0.824469686, -0.527844906, 0.204033226, 0.23967658, -0.000909555703, -0.970852435, 0.512645066, 0.849340379, 0.12576215),Alpha)
  1262. RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
  1263. NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
  1264. driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.75445646, -0.891306043, 0.317142308, -0.867489815, -0.183382571, -0.462420344, -0.159916192, -0.777427077, 0.608304381, -0.471050501, 0.601646185, 0.645084083),Alpha)
  1265. end
  1266. end
  1267. for i = 0, 2, 0.1 do
  1268. swait()
  1269. local Alpha = .15
  1270. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1271. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1272. RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1273. LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
  1274. RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
  1275. NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
  1276. end
  1277. screwdriver:destroy()
  1278. Attack = false
  1279. NeutralAnims = true
  1280. end
  1281. function SliceYou()
  1282. Attack = true
  1283. NeutralAnims = false
  1284. local saw,weld = Equip_Sawblade()
  1285. for i = 0, 2, 0.1 do
  1286. swait()
  1287. local Alpha = .15
  1288. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0029785831, 0.00629174896, 0.00529580005, 0.517270923, -0.00537902303, -0.855804324, 0, 0.99998033, -0.00628521619, 0.855821192, 0.00325116003, 0.517260671),Alpha)
  1289. LH.C0 = clerp(LH.C0,CFrame.new(-0.524694026, -0.992068648, -0.177415758, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
  1290. RH.C0 = clerp(RH.C0,CFrame.new(0.863649905, -0.990154982, 0.147100359, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
  1291. LS.C0 = clerp(LS.C0,CFrame.new(-1.15776694, 0.555799365, -0.115642846, -0.0494773015, 0.838752568, -0.54226011, -0.986161113, -0.127040714, -0.106522933, -0.15823549, 0.529485285, 0.833430767),Alpha)
  1292. RS.C0 = clerp(RS.C0,CFrame.new(1.41811252, 0.715449214, 0.00713690743, 0.924166977, -0.38166979, 0.0156050026, 0.381617904, 0.924298882, 0.00629791059, -0.0168274939, 0.00013487041, 0.999858379),Alpha)
  1293. NK.C0 = clerp(NK.C0,CFrame.new(-0.0103359073, 1.49896884, -0.0121970959, 0.517271042, -0.0492044352, 0.854405463, -0.00537938019, 0.998139322, 0.0607386976, -0.855804205, -0.0360145383, 0.516043782),Alpha)
  1294. end
  1295. for i = 0, 3, 0.1 do
  1296. swait()
  1297. local Alpha = .3
  1298. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0750166476, 0.00629172707, 0.115993313, -0.407934308, 0.00573777966, 0.912992895, 0, 0.99998033, -0.00628445856, -0.913010895, -0.00256364676, -0.407926261),Alpha)
  1299. LH.C0 = clerp(LH.C0,CFrame.new(-0.702545583, -0.991440296, -0.0774632096, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
  1300. RH.C0 = clerp(RH.C0,CFrame.new(0.572302818, -0.991491556, -0.0655612499, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
  1301. LS.C0 = clerp(LS.C0,CFrame.new(-1.42436278, 0.674626052, -0.273927838, 0.816972971, 0.196224883, -0.54226476, -0.298526257, 0.948434591, -0.106555678, 0.493393689, 0.248933315, 0.833423615),Alpha)
  1302. RS.C0 = clerp(RS.C0,CFrame.new(1.39865923, 0.565930247, 0.00839936361, -0.125458091, -0.991975904, 0.0156244934, 0.992089748, -0.125373363, 0.00629395852, -0.00428455323, 0.0162905455, 0.99985826),Alpha)
  1303. NK.C0 = clerp(NK.C0,CFrame.new(0.141048998, 1.4988662, -0.0285577606, -0.407934487, 0.0524925366, -0.911500514, 0.0057374211, 0.998473644, 0.054933507, 0.912992835, 0.0171796028, -0.40761295),Alpha)
  1304. end
  1305. local sound = Sound(Torso,367720620,false,false,false)
  1306. sound:Play()
  1307. for i = 0, 6, .1 do
  1308. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1309. swait()
  1310. end
  1311. for i = 0, 2, .1 do
  1312. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1313. swait()
  1314. end
  1315. sound:Play()
  1316. for i = 0, 1, .1 do
  1317. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1318. swait()
  1319. end
  1320. sound:Play()
  1321. for i = 0, 5, .1 do
  1322. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3)
  1323. swait()
  1324. end
  1325. for i = 1, 5 do
  1326. Effect{
  1327. Effect='Resize+AndFade',
  1328. Color = BrickColor.new'Really red',
  1329. Material = Enum.Material.Neon,
  1330. Size=V3.N(3.5,3.5,3.5),
  1331. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1332. FXSettings={
  1333. EndSize=V3.N(.05,.05,.05),
  1334. EndIsIncrement=true,
  1335.  
  1336. }
  1337. }
  1338. end
  1339. saw:destroy()
  1340. Attack = false
  1341. NeutralAnims = true
  1342. end
  1343. function Taunt()
  1344. local tauntFuncs = {SliceYou,ScrewMe}
  1345. local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)]
  1346. taunt()
  1347. end
  1348. function Aids()
  1349. Music.Playing = false
  1350. local DabSounds = {420701444,420701460,420701487}
  1351. local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false)
  1352. repeat swait() until DabSnd.IsLoaded
  1353. DabSnd:Play()
  1354. DabSnd.Ended:connect(function()DabSnd:destroy()end)
  1355. Attack = true
  1356. NeutralAnims = false
  1357. local a = 0
  1358. for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do
  1359. a = a + 1
  1360. swait()
  1361. local Alpha = .3
  1362. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0561925545, 0.006292901+.2*M.C(a/16), -0.00967639871, 0.961586297, 0.00172359415, 0.274496257, 0, 0.99998033, -0.00627899449, -0.274501652, 0.00603779452, 0.961567342),Alpha)
  1363. LH.C0 = clerp(LH.C0,CFrame.new(-0.593769729, -0.99042201-.2*M.C(a/16), 0.0849506408, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
  1364. RH.C0 = clerp(RH.C0,CFrame.new(0.468464553, -0.991293669-.2*M.C(a/16), -0.0339690484, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
  1365. LS.C0 = clerp(LS.C0,CFrame.new(-1.15301001, 0.367895871, -0.145940349+.2*M.C(a/16), 0.375669211, 0.913452208, -0.156454355, -0.926753879, 0.37026915, -0.0634673014, -4.41223383e-05, 0.168837398, 0.985643983),Alpha)
  1366. RS.C0 = clerp(RS.C0,CFrame.new(0.998128295, 0.633566499, -0.753388047+.2*M.C(a/16), 0.594308019, 0.804203451, 0.00742085278, -0.383671522, 0.29161948, -0.876215935, -0.706819832, 0.517895043, 0.481861711),Alpha)
  1367. NK.C0 = clerp(NK.C0,CFrame.new(0.207638323, 1.47957158, -0.302699238, 0.745848298, 0.476892024, -0.465063959, 0.0606503561, 0.646653771, 0.760368645, 0.663349032, -0.595326006, 0.453382045),Alpha)
  1368. end
  1369. Music.Playing = true
  1370. Attack = false
  1371. NeutralAnims = true
  1372. end
  1373.  
  1374. function OnceWas(who)
  1375. for _,v in next, who:children() do
  1376. if(v:IsA'BasePart')then
  1377. Effect{
  1378. Parent=Effects,
  1379. Effect='Fade',
  1380. Color = BrickColor.new'Smoky grey',
  1381. Material = Enum.Material.Glass,
  1382. Size = v.Size,
  1383. CFrame=v.CFrame,
  1384. Frames = 90,
  1385. }
  1386. end
  1387. end
  1388. end
  1389.  
  1390. function Teleport(where)
  1391. OnceWas(Char)
  1392. Sound(Root,235097614,3,1,false,true,true)
  1393. Sound(Root,75356820,2,1,false,true,true)
  1394. Root.CFrame = CF.N(where.p)
  1395. OnceWas(Char)
  1396. end
  1397.  
  1398. function Dash()
  1399. Attack = true
  1400. Sound(Root,235097614,3,1,false,true,true)
  1401. Sound(Root,75356820,2,1,false,true,true)
  1402. for i = 1, 5 do
  1403. Root.CFrame = Root.CFrame*CF.N(0,0,-5)
  1404. swait()
  1405. end
  1406. Attack = false
  1407. end
  1408.  
  1409. function Shriek()
  1410. Attack = true
  1411. NeutralAnims = false
  1412. local scream = Sound(Head,198165368,.5,10,false,false,false)
  1413. local i = 0
  1414. scream:Play()
  1415. while scream.Playing do
  1416. i = i + 1
  1417. swait()
  1418. coroutine.wrap(function()
  1419. AOEFunction(Head.Position,30,function(who)
  1420. local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head'
  1421. if(h and hd and h.Health > 0)then
  1422. h.Health = 0
  1423. Sound(hd,429400881,1,1,false,true,true)
  1424. Ragdoll(who)
  1425. swait()
  1426. local frags = Fragment(hd)
  1427. for _,v in next, frags:children() do
  1428. v.BrickColor = BloodColor
  1429. v.Material = BloodMaterial
  1430. v.CanCollide = true
  1431. v.Anchored = false
  1432. end
  1433. hd:destroy()
  1434. end
  1435. end)
  1436. end)()
  1437. local Alpha = .15
  1438. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00956845004, -0.141102523, 0.612865508, 0.999947488, 0.00962571148, -0.00340035092, -0.00964800082, 0.782201111, -0.622951329, -0.00333659165, 0.622951448, 0.782252967),Alpha)
  1439. LH.C0 = clerp(LH.C0,CFrame.new(-0.495904773, -1.0368886, 0.0598222613, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
  1440. RH.C0 = clerp(RH.C0,CFrame.new(0.499093086, -1.03124118, 0.0517056584, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
  1441. LS.C0 = clerp(LS.C0,CFrame.new(-1.23829794, 0.600065649, 0.16030249, -0.8319574, 0.546545088, -0.0955789387, 0.0976095572, -0.0254041255, -0.994900525, -0.54618609, -0.837044299, -0.0322128981),Alpha)
  1442. RS.C0 = clerp(RS.C0,CFrame.new(1.40538526, 0.413302839, 0.119919479, 0.97065413, -0.226111293, -0.0818808898, 0.0516543165, -0.13650623, 0.989291787, -0.23486729, -0.96448946, -0.120820649),Alpha)
  1443. NK.C0 = clerp(NK.C0,CFrame.new(3.62367791e-06, 1.56057274, 0.233575165, 1, 3.8058497e-06, -3.58493999e-05, -1.91188519e-05, 0.899042785, -0.437860936, 3.05641443e-05, 0.437861085, 0.899042606),Alpha)
  1444. end
  1445. Attack = false
  1446. NeutralAnims = true
  1447. end
  1448.  
  1449. function SawMeDaddy()
  1450. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1451. if(torso)then
  1452. Attack = true
  1453. NeutralAnims = false
  1454. local who = torso.Parent
  1455. who.Parent = Char
  1456. Hum.WalkSpeed = 0
  1457. Hum.JumpPower = 0
  1458. humanoid.WalkSpeed = 0
  1459. humanoid.JumpPower = 0
  1460. local saw,weld = Equip_Sawblade()
  1461. pcall(function() who.HumanoidRootPart:destroy() end)
  1462. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)})
  1463. for i = 0, 6, 0.1 do
  1464. swait()
  1465. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1466. local Alpha = .15
  1467. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
  1468. LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1469. RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1470. LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
  1471. RS.C0 = clerp(RS.C0,CFrame.new(1.31421685, 0.81056267, 0.00814598706, -0.489612877, -0.871799946, 0.0156333037, 0.871937394, -0.489577413, 0.00628277427, 0.00217639096, 0.0167073887, 0.999858201),Alpha)
  1472. NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
  1473. end
  1474. Sound(Torso,367720620,1,1,false,true,true)
  1475. coroutine.wrap(function()
  1476. repeat swait()
  1477. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3)
  1478. until not saw.Parent
  1479. end)()
  1480. swait(60)
  1481. local slicing = Sound(saw,1013673726,1,1,true,false,true)
  1482. Sound(torso,429400881,1,1,false,true,true)
  1483. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1484. prt1.Parent = torso;
  1485. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)})
  1486. for i = 0, .3, 0.001 do
  1487. swait()
  1488.  
  1489. humanoid.Health = humanoid.Health - .5
  1490. if(humanoid.Health <= 0)then
  1491. gWeld:destroy()
  1492. Sound(torso,429400881,1,1,false,true,true)
  1493. break
  1494. end
  1495. local Alpha = i
  1496. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
  1497. LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1498. RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1499. LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
  1500. RS.C0 = clerp(RS.C0,CFrame.new(1.18219912, 0.268655062, 0.0136158429, 0.6882689, -0.725287437, 0.0156234093, 0.725293934, 0.688410699, 0.00629597344, -0.0153217092, 0.00699824095, 0.99985826),Alpha)
  1501. NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
  1502. end
  1503. humanoid.Health = 0
  1504. who.Parent = workspace
  1505. Ragdoll(who)
  1506. slicing:destroy()
  1507. for i = 1, 5 do
  1508. Effect{
  1509. Effect='Resize+AndFade',
  1510. Color = BrickColor.new'Really red',
  1511. Material = Enum.Material.Neon,
  1512. Size=V3.N(3.5,3.5,3.5),
  1513. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1514. FXSettings={
  1515. EndSize=V3.N(.05,.05,.05),
  1516. EndIsIncrement=true,
  1517.  
  1518. }
  1519. }
  1520. end
  1521. Hum.WalkSpeed = 16
  1522. Hum.JumpPower = 50
  1523. saw:destroy()
  1524. Attack = false
  1525. NeutralAnims = true
  1526. end
  1527. end
  1528. function The_End()
  1529. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1530.  
  1531. if(torso)then
  1532. Attack = true
  1533. NeutralAnims = false
  1534. local who = torso.Parent
  1535. Hum.WalkSpeed = 0
  1536. Hum.JumpPower = 0
  1537. humanoid.WalkSpeed = 0
  1538. humanoid.JumpPower = 0
  1539. who.Parent = Char
  1540. pcall(function() who.HumanoidRootPart:destroy() end)
  1541. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
  1542. for i = 0, 2, 0.1 do
  1543. swait()
  1544. local Alpha = .3
  1545. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
  1546. LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1547. RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1548. LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
  1549. RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
  1550. NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
  1551. end
  1552. Sound(Torso,200065377,1.3,4,false,true,true)
  1553. for i = 0, 1, 0.1 do
  1554. swait()
  1555. local Alpha = .2
  1556. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
  1557. LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1558. RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1559. LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
  1560. RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
  1561. NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
  1562. end
  1563. gWeld:destroy()
  1564. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=torso,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  1565. for i = 0, 1, 0.1 do
  1566. swait()
  1567. local Alpha = .3
  1568. humanoid.PlatformStand = true
  1569. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1570. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1571. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1572. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1573. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1574. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1575. end
  1576. gWeld:destroy()
  1577. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
  1578. for i = 0, 6, 0.1 do
  1579. swait()
  1580. local Alpha = .3
  1581. humanoid.PlatformStand = true
  1582. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1583. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1584. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1585. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1586. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1587. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1588. end
  1589. Sound(torso,1093102664,.85,5,false,true,true)
  1590. Sound(torso,429400881,1,1,false,true,true)
  1591. gWeld:destroy()
  1592. Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
  1593. humanoid.Health = 0
  1594. for _,v in next, who:children() do
  1595. if(v:IsA'LocalScript' or v:IsA'Script')then
  1596. v.Disabled = true
  1597. v:destroy()
  1598. end
  1599. end
  1600. Ragdoll(who,true)
  1601.  
  1602.  
  1603. if(not VoidSB)then
  1604. coroutine.wrap(function()
  1605. repeat swait()
  1606. BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
  1607. until not who or not who.Parent
  1608. end)()
  1609. coroutine.wrap(function()
  1610. local LT = who:FindFirstChild'LowerTorso'
  1611. if(LT)then
  1612. repeat swait()
  1613. BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
  1614. until not who or not who.Parent
  1615. end
  1616. end)()
  1617. end
  1618.  
  1619. for i = 0, 1, 0.1 do
  1620. swait()
  1621. local Alpha = .3
  1622. humanoid.PlatformStand = true
  1623. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1624. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1625. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1626. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
  1627. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
  1628. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1629. end
  1630. for i = 0, 4, 0.1 do
  1631. swait()
  1632. local Alpha = .3
  1633. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1634. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1635. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1636. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1637. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1638. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1639. end
  1640. who.Parent = workspace
  1641. Attack = false
  1642. NeutralAnims = true
  1643. Hum.WalkSpeed = 16
  1644. Hum.JumpPower = 50
  1645. end
  1646. end
  1647.  
  1648. function ThrowArms()
  1649. Attack = true
  1650. NeutralAnims = false
  1651. for i = 0, 3, 0.1 do
  1652. swait()
  1653. local Alpha = .15
  1654. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1655. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1656. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1657. LS.C0 = clerp(LS.C0,CFrame.new(-1.49870801, 0.639989734, 0.342571348, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
  1658. RS.C0 = clerp(RS.C0,CFrame.new(1.50170219, 0.685996532, 0.261634499, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
  1659. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1660. end
  1661. Sound()
  1662. FLArmW:destroy()
  1663. FRArmW:destroy()
  1664. local BV1 = NewInstance("BodyVelocity", FRArm, {
  1665. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1666. P = 5000,
  1667. maxForce = Vector3.new(8000, 8000, 8000),
  1668. })
  1669. local BV2 = NewInstance("BodyVelocity", FLArm, {
  1670. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1671. P = 5000,
  1672. maxForce = Vector3.new(8000, 8000, 8000),
  1673. })
  1674. Sound(Torso,541909763,.8,5,false,true,true)
  1675. S.Debris:AddItem(BV1, 0.05)
  1676. S.Debris:AddItem(BV2, 0.05)
  1677. FRArm.CanCollide = true
  1678. FLArm.CanCollide = true
  1679. S.Debris:AddItem(FRArm, 5)
  1680. S.Debris:AddItem(FLArm, 5)
  1681. FRArm = nil
  1682. FLArm = nil
  1683. for i = 0, 1, 0.1 do
  1684. swait()
  1685. local Alpha = .3
  1686. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1687. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1688. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1689. LS.C0 = clerp(LS.C0,CFrame.new(-1.50884342, 0.499208659, -0.305685878, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
  1690. RS.C0 = clerp(RS.C0,CFrame.new(1.4918015, 0.444425255, -0.370944679, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
  1691. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1692. end
  1693. Attack = false
  1694. NeutralAnims = true
  1695. end
  1696. function thehead()
  1697. attack = true
  1698. Humanoid.WalkSpeed = 2
  1699. local grab = nil
  1700. local torsy = nil
  1701. for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do
  1702. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
  1703. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1704. grab = v
  1705. end
  1706. end
  1707. if grab ~= nil and torsy ~= nil then
  1708. so(200632136, RootPart, .8, 1)
  1709. for i = 0,2,0.1 do
  1710. swait()
  1711. PlayAnimationFromTable({
  1712. CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
  1713. CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661),
  1714. CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304),
  1715. CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768),
  1716. CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
  1717. CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326),
  1718. }, .3, false)
  1719. torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3)
  1720. torsy.Velocity = Vector3.new()
  1721. end
  1722. local armmod = Instance.new("Model",chara)
  1723. armmod.Name = grab.Name
  1724. Instance.new("Humanoid",armmod).Health = 0
  1725. for i, v in pairs(grab:GetChildren()) do
  1726. if v:IsA("Accoutrement") then
  1727. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1728. v.Handle.AccessoryWeld.Part1 = nil
  1729. end
  1730. end
  1731. end
  1732. local armp = grab:FindFirstChild("Head")
  1733. createSplatter(armp.Position)
  1734. killmortal(grab,5)
  1735. armp.Parent = armmod
  1736. for i, v in pairs(grab:GetChildren()) do
  1737. if v:IsA("Accoutrement") then
  1738. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1739. v.Handle.AccessoryWeld.Part1 = armp
  1740. v.Parent = armmod
  1741. end
  1742. end
  1743. end
  1744. so(206082327,armp,1,5)
  1745. local bledp = Instance.new("Part",grab)
  1746. bledp.Size = Vector3.new(0,0,0)
  1747. bledp.Transparency = 1
  1748. bledp.CanCollide = false
  1749. local blpe = blpemit:Clone()
  1750. blpe.Parent = bledp
  1751. blpe.EmissionDirection = "Top"
  1752. blpe.VelocitySpread = 20
  1753. local wel = Instance.new("Weld",armp)
  1754. wel.Part0 = RightArm
  1755. wel.Part1 = armp
  1756. wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0)
  1757. local blape = bledp:Clone()
  1758. blape.Parent = armmod
  1759. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1760. local bledw = Instance.new("Weld",bledp)
  1761. bledw.Part0 = torsy
  1762. bledw.Part1 = bledp
  1763. bledw.C0 = CFrame.new(0,1,0)
  1764. local bledw2 = Instance.new("Weld",blape)
  1765. bledw2.Part0 = armp
  1766. bledw2.Part1 = blape
  1767. bledw2.C0 = CFrame.new(0,-.5,0)
  1768. grabhead = true
  1769. heddo = armp
  1770. for i = 0, 1, 0.25 do
  1771. swait()
  1772. PlayAnimationFromTable({
  1773. CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155),
  1774. CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056),
  1775. CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876),
  1776. CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407),
  1777. CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994),
  1778. CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266),
  1779. }, .3, false)
  1780. end
  1781. swait(30)
  1782. end
  1783. attack = false
  1784. Humanoid.WalkSpeed = 8
  1785. end
  1786.  
  1787. function headthrow()
  1788. attack = true
  1789. Humanoid.WalkSpeed = 2
  1790. for i = 0, 2, 0.1 do
  1791. swait()
  1792. PlayAnimationFromTable({
  1793. CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1794. CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1795. CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0),
  1796. CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012),
  1797. CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012),
  1798. CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718),
  1799. }, .3, false)
  1800. end
  1801. so(200632136, RootPart, .8, 1)
  1802. local haea = heddo
  1803. haea.Weld:Destroy()
  1804. haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0)
  1805. haea.RotVelocity = Vector3.new(10,10,10)
  1806. haea.Touched:connect(function(hit)
  1807. if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then
  1808. print("DIE")
  1809. Instance.new("BoolValue",haea).Name = "HITA"
  1810. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1)
  1811. killmortal(hit.Parent,50)
  1812. so(386946017,haea,.95,5)
  1813. swait(120)
  1814. for i=0,1,.05 do
  1815. haea.Transparency = i
  1816. swait()
  1817. end
  1818. haea.Parent:Destroy()
  1819. end
  1820. end)
  1821. heddo = nil
  1822. grabhead = false
  1823. for i = 0, 1, 0.1 do
  1824. swait()
  1825. PlayAnimationFromTable({
  1826. CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1827. CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845),
  1828. CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195),
  1829. CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1),
  1830. CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1831. CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1832. }, .3, false)
  1833. end
  1834. attack = false
  1835. Humanoid.WalkSpeed = 8
  1836. end
  1837.  
  1838.  
  1839. Mouse.KeyDown:connect(function(k)
  1840. if(Attack)then return end
  1841. if(k == 'e')then Dash() end
  1842. if(not FLArm and not FRArm)then
  1843. if(k == 'z')then The_Necc() end
  1844. if(k == 'x')then The_End() end
  1845. if(k == 'c')then Hands_Off() end
  1846. end
  1847. end)
  1848. Mouse.Button1Down:connect(function()
  1849. if(Attack)then return end
  1850. if(FLArm and FRArm)then
  1851. ThrowArms()
  1852. end
  1853. end)
  1854. Plr.Chatted:connect(function(m)
  1855. if(m == '/e aeiou')then Sound(Torso,221792881,1,5,false,true,true) end
  1856. if(m == '/e earthquake')then Sound(Torso,1205111204,1,5,false,true,true) end
  1857. if(Attack)then return end
  1858. if(m == '/e dab')then Aids() end
  1859. end)
  1860.  
  1861. --// Wrap it all up \\--
  1862.  
  1863. while true do
  1864. swait()
  1865. if(not Music or not Music.Parent)then
  1866. local a = Music.TimePosition
  1867. Music = Sound(Char,MusicID,MusicPitch,2,true,false,true)
  1868. Music.Name = 'Music'
  1869. Music.TimePosition = a
  1870. end
  1871. if(Music.Volume ~= 2)then Music.Volume = 2 end
  1872. RArm.Transparency = 0
  1873. Sine = Sine + Change
  1874. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
  1875. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1876. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1877. if(State == 'Walk')then
  1878. local wsVal = 7 / (Hum.WalkSpeed/16)
  1879. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1880. --RH.C1 = RH.C1:lerp(CF.N(0,.925+.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(-M.R(-15-35*M.C(Sine/wsVal) + -M.S(Sine/wsVal)/2.5),0,0),Alpha)
  1881. --RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)--
  1882. RH.C1 = RH.C1:lerp(CF.N(0,.95+.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15-45*M.C(Sine/wsVal)) + M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)
  1883. LH.C1 = LH.C1:lerp(CF.N(0,.95-.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15+45*M.C(Sine/wsVal)) + -M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)
  1884. else
  1885. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
  1886. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
  1887. end
  1888. if(Idle > Frame_Speed*10)then
  1889. --idk i'll do something
  1890. end
  1891. if(NeutralAnims and not Attack and State == 'Idle')then
  1892. Idle = Idle + 1
  1893. else
  1894. Idle = 0
  1895. end
  1896. for v,_ in next, Stunned do
  1897. if(v.Parent)then
  1898. local h = v:FindFirstChildOfClass'Humanoid'
  1899. for _,c in next, v:children() do
  1900. if(c:IsA'Script' or c:IsA'LocalScript')then
  1901. c.Disabled = false
  1902. end
  1903. end
  1904. if(h)then
  1905. h.Name = 'no escape lol'
  1906. h.PlatformStand = true
  1907. else
  1908. Stunned[v] = nil
  1909. end
  1910. else
  1911. Stunned[v] = nil
  1912. end
  1913. end
  1914. if(NeutralAnims)then
  1915. if(State == 'Idle')then
  1916. Change = 1
  1917. local Alpha = .3
  1918. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00232864846, 0.00629545515+.2*M.C(Sine/16), 0.00257661846, 0.838281333, -0.00342716719, -0.545226395, 0, 0.99998033, -0.00628564507, 0.545237184, 0.00526913954, 0.838264763),Alpha)
  1919. LH.C0 = clerp(LH.C0,CFrame.new(-0.725328565, -0.990803361-.2*M.C(Sine/16), 0.0247094855, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
  1920. RH.C0 = clerp(RH.C0,CFrame.new(0.576427579, -0.99124372-.2*M.C(Sine/16), -0.02560886, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
  1921. LS.C0 = clerp(LS.C0,CFrame.new(-1.46491873, 0.505438805+.2*M.C(Sine/16), -0.00360340625, 0.996807694, 0.0782995075, 0.0156106055, -0.0784052685, 0.996901929, 0.00628136564, -0.0150704384, -0.0074852705, 0.999858379)*CF.A(-M.R(0+5*M.S(Sine/16)),0,M.R(0+5*M.C(Sine/16))),Alpha)
  1922. RS.C0 = clerp(RS.C0,CFrame.new(1.44824493, 0.497874349+.2*M.C(Sine/16), 0.00803661905, 0.994963646, -0.0990139842, 0.0156099498, 0.0989264548, 0.995075107, 0.00628477754, -0.0161553323, -0.00470888987, 0.999858439)*CF.A(-M.R(0+5*M.S(Sine/16)),0,-M.R(0+5*M.C(Sine/16))),Alpha)
  1923. NK.C0 = clerp(NK.C0,CFrame.new(-0.00607250631, 1.49895012, -0.0144915879, 0.838281453, -0.0313475803, 0.544335127, -0.00342752389, 0.998023272, 0.0627533421, -0.545226216, -0.0544706844, 0.836516857)*CF.A(M.R(0+5*M.C(Sine/16)),0,0),Alpha)
  1924. elseif(State == 'Walk')then
  1925. local wsVal = 7 / (Hum.WalkSpeed/16)
  1926. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1927. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-0.175 + 0.025 * M.C(Sine/(wsVal/2)) + -M.S(Sine/(wsVal/2)) / 7,0)*CF.A(0,M.R(0+8*M.C(Sine/wsVal)),M.R(0+2*M.C(Sine/wsVal))),Alpha)
  1928. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  1929. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  1930. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(0-45*M.C(Sine/wsVal)),0,M.R(5+10*M.C(Sine/wsVal))),Alpha)
  1931. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(0+45*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/wsVal))),Alpha)
  1932. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1933. elseif(State == 'Jump' or State == 'Fall')then
  1934. if(Walking)then
  1935. local Alpha = .2
  1936. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1937. LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
  1938. RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
  1939. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1940. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1941. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1942. else
  1943. local Alpha = .2
  1944. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1945. LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
  1946. RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
  1947. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1948. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1949. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1950. end
  1951. elseif(State == 'Paralyzed')then
  1952. local Alpha = .3
  1953. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1954. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1955. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1956. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha)
  1957. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha)
  1958. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1959. elseif(State == 'Sit')then
  1960. local Alpha = .3
  1961. RJ.C0 = clerp(RJ.C0,CFrame.new(3.2050404e-13, 0.00629293546, 1.41158671e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1962. LH.C0 = clerp(LH.C0,CFrame.new(-0.686911047, -1.01880026, -0.25455457, 0.980693579, 0.195502773, 0.00425194856, -0.0504306704, 0.273862094, -0.960446, -0.188934311, 0.941688716, 0.278434128),Alpha)
  1963. RH.C0 = clerp(RH.C0,CFrame.new(0.557953715, -1.03419244, -0.293038249, 0.986133933, -0.165894628, 0.00425344985, 0.0502241589, 0.273924351, -0.960439026, 0.158166528, 0.947335124, 0.278457999),Alpha)
  1964. LS.C0 = clerp(LS.C0,CFrame.new(-1.50518143, 0.551521897, -0.0714710951, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
  1965. RS.C0 = clerp(RS.C0,CFrame.new(1.4960835, 0.497820318, -0.0970379114, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
  1966. NK.C0 = clerp(NK.C0,CFrame.new(4.35156289e-06, 1.49895275, -0.0144044831, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1967. end
  1968. end
  1969. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement