Advertisement
GojiGaming1337

Untitled

May 22nd, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.00 KB | None | 0 0
  1. wait(1/60)
  2. -- Created by Nebula_Zorua --
  3. -- Killbot --
  4. -- A cyborg that got taken over by a virus --
  5. -- Discord: Nebula the Zorua#6969
  6. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  7.  
  8.  
  9. --// Initializing \\--
  10. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  11. local Plrs = S.Players
  12. local Plr = Plrs.LocalPlayer
  13. local Char = Plr.Character
  14. local Hum = Char:FindFirstChildOfClass'Humanoid'
  15. local RArm = Char["Right Arm"]
  16. local LArm = Char["Left Arm"]
  17. local RLeg = Char["Right Leg"]
  18. local LLeg = Char["Left Leg"]
  19. local Root = Char:FindFirstChild'HumanoidRootPart'
  20. local Torso = Char.Torso
  21. local Head = Char.Head
  22. local NeutralAnims = true
  23. local Attack = false
  24. local BloodPuddles = {}
  25. local Effects = {}
  26. local Debounces = {Debounces={}}
  27. local Mouse = Plr:GetMouse()
  28. local Hit = {}
  29. local Sine = 0
  30. local Idle = 0
  31. local Change = 1
  32. local FLArm,FRArm,FRArmW,FLArmW
  33. local Stunned = {}
  34. local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB
  35. --// Debounce System \\--
  36.  
  37.  
  38. function Debounces:New(name,cooldown)
  39. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  40. setmetatable(aaaaa,{__index = Debounces})
  41. Debounces.Debounces[name] = aaaaa
  42. return aaaaa
  43. end
  44.  
  45. function Debounces:Use(overrideUsable)
  46. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  47. if(self.Usable or overrideUsable)then
  48. self.Usable = false
  49. self.CoolingDown = true
  50. local LastUse = time()
  51. self.LastUse = LastUse
  52. delay(self.Cooldown or 2,function()
  53. if(self.LastUse == LastUse)then
  54. self.CoolingDown = false
  55. self.Usable = true
  56. end
  57. end)
  58. end
  59. end
  60.  
  61. function Debounces:Get(name)
  62. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  63. for i,v in next, Debounces.Debounces do
  64. if(i == name)then
  65. return v;
  66. end
  67. end
  68. end
  69.  
  70. function Debounces:GetProgressPercentage()
  71. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  72. if(self.CoolingDown and not self.Usable)then
  73. return math.max(
  74. math.floor(
  75. (
  76. (time()-self.LastUse)/self.Cooldown or 2
  77. )*100
  78. )
  79. )
  80. else
  81. return 100
  82. end
  83. end
  84.  
  85. --// Shortcut Variables \\--
  86. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  87. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  88. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  89. 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}
  90. local R3 = {N=Region3.new}
  91. local De = S.Debris
  92. local WS = workspace
  93. local Lght = S.Lighting
  94. local RepS = S.ReplicatedStorage
  95. local IN = Instance.new
  96.  
  97. --// Extended ROBLOX tables \\--
  98. 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})
  99. --// Customization \\--
  100.  
  101. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  102. local Remove_Hats = false
  103. local Remove_Clothing = false
  104. local PlayerSize = 1
  105. local DamageColor = BrickColor.new'Really red'
  106. local MusicID = 1030796589
  107. local MusicPitch = 1
  108. local BloodID = "rbxassetid://284205403"
  109. local BloodColor = BrickColor.new'Crimson'
  110. local BloodMaterial = Enum.Material.SmoothPlastic
  111.  
  112. --// Weapon and GUI creation, and Character Customization \\--
  113.  
  114. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  115. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  116. local Effects = IN("Folder",Char)
  117. Effects.Name = "Effects"
  118.  
  119. New = function(Object, Parent, Name, Data)
  120. local Object = Instance.new(Object)
  121. for Index, Value in pairs(Data or {}) do
  122. Object[Index] = Value
  123. end
  124. Object.Parent = Parent
  125. Object.Name = Name
  126. return Object
  127. end
  128.  
  129. if(PlayerSize ~= 1)then
  130. for _,v in next, Char:GetDescendats() do
  131. if(v:IsA'BasePart')then
  132. v.Size = v.Size * PlayerSize
  133. end
  134. end
  135. end
  136.  
  137. --// Instance Creation Functions \\--
  138.  
  139. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  140. local Sound = IN("Sound")
  141. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  142. Sound.Pitch = pitch or 1
  143. Sound.Volume = volume or 1
  144. Sound.Looped = looped or false
  145. if(autoPlay)then
  146. coroutine.wrap(function()
  147. repeat wait() until Sound.IsLoaded
  148. Sound.Playing = autoPlay or false
  149. end)()
  150. end
  151. if(not looped and effect)then
  152. Sound.Ended:connect(function()
  153. Sound.Volume = 0
  154. Sound:destroy()
  155. end)
  156. elseif(effect)then
  157. warn("Sound can't be looped and a sound effect!")
  158. end
  159. Sound.Parent =parent or Torso
  160. return Sound
  161. end
  162. function Part(parent,color,material,size,cframe,anchored,cancollide)
  163. local part = IN("Part")
  164. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  165. part.Material = material or Enum.Material.SmoothPlastic
  166. part.TopSurface,part.BottomSurface=10,10
  167. part.Size = size or V3.N(1,1,1)
  168. part.CFrame = cframe or CF.N(0,0,0)
  169. part.CanCollide = cancollide or false
  170. part.Anchored = anchored or false
  171. part.Parent = parent or Char
  172. return part
  173. end
  174.  
  175. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  176. local part = IN("SpecialMesh")
  177. part.MeshId = meshid or ""
  178. part.TextureId = textid or ""
  179. part.Scale = scale or V3.N(1,1,1)
  180. part.Offset = offset or V3.N(0,0,0)
  181. part.MeshType = meshtype or Enum.MeshType.Sphere
  182. part.Parent = parent
  183. return part
  184. end
  185.  
  186. NewInstance = function(instance,parent,properties)
  187. local inst = Instance.new(instance,parent)
  188. if(properties)then
  189. for i,v in next, properties do
  190. pcall(function() inst[i] = v end)
  191. end
  192. end
  193. return inst;
  194. end
  195.  
  196. --// Music Creation \\--
  197. local Music = Sound(Char,MusicID,MusicPitch,3,true,false,true)
  198. Music.Name = 'Music'
  199.  
  200. --// Stop animations \\--
  201. for _,v in next, Hum:GetPlayingAnimationTracks() do
  202. v:Stop();
  203. end
  204.  
  205. pcall(game.Destroy,Char:FindFirstChild'Animate')
  206. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  207.  
  208. --// Joints \\--
  209.  
  210. 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)})
  211. 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)})
  212. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  213. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  214. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  215. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  216. local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm})
  217.  
  218. local LSC0 = LS.C0
  219. local RSC0 = RS.C0
  220. local NKC0 = NK.C0
  221. local LHC0 = LH.C0
  222. local RHC0 = RH.C0
  223. local RJC0 = RJ.C0
  224.  
  225. --// Artificial HB \\--
  226.  
  227. local ArtificialHB = IN("BindableEvent", script)
  228. ArtificialHB.Name = "Heartbeat"
  229.  
  230. script:WaitForChild("Heartbeat")
  231.  
  232. local tf = 0
  233. local allowframeloss = false
  234. local tossremainder = false
  235. local lastframe = tick()
  236. local frame = 1/Frame_Speed
  237. ArtificialHB:Fire()
  238.  
  239. game:GetService("RunService").Heartbeat:connect(function(s, p)
  240. tf = tf + s
  241. if tf >= frame then
  242. if allowframeloss then
  243. script.Heartbeat:Fire()
  244. lastframe = tick()
  245. else
  246. for i = 1, math.floor(tf / frame) do
  247. ArtificialHB:Fire()
  248. end
  249. lastframe = tick()
  250. end
  251. if tossremainder then
  252. tf = 0
  253. else
  254. tf = tf - frame * math.floor(tf / frame)
  255. end
  256. end
  257. end)
  258.  
  259. function swait(num)
  260. if num == 0 or num == nil then
  261. ArtificialHB.Event:wait()
  262. else
  263. for i = 0, num do
  264. ArtificialHB.Event:wait()
  265. end
  266. end
  267. end
  268.  
  269.  
  270. --// Effect Function(s) \\--
  271.  
  272. function FakeWeld(p0,p1)
  273. local attachment0 = Instance.new('Attachment',p0)
  274. local attachment1 = Instance.new('Attachment',p1)
  275. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  276. end
  277.  
  278. function Fragment(v)
  279. v:ClearAllChildren()
  280. local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
  281. v.Archivable = true
  282. -- X
  283. v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
  284. v.Name = v.Name.."Fragment"
  285.  
  286. local a = v:Clone()
  287. a.Parent = Fragments
  288. a.CFrame = CF.N(-.5,1,1) * a.CFrame
  289. v.CFrame = CF.N(.5,1,1) * v.CFrame
  290. -- Y
  291. v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
  292.  
  293. local a = v:Clone()
  294. a.Parent = Fragments
  295. a.CFrame = CF.N(1,-.5,1) * a.CFrame
  296. v.CFrame = CF.N(1,.5,1) * v.CFrame
  297. -- Z
  298. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  299.  
  300. local a = v:Clone()
  301. a.Parent = Fragments
  302. a.CFrame = CF.N(1,1,-.5) * a.CFrame
  303. v.CFrame = CF.N(1,1,.5) * v.CFrame
  304.  
  305. v.Parent = Fragments
  306. return Fragments
  307. end
  308.  
  309. local blood = NewInstance("ParticleEmitter",nil,{
  310. Color = ColorSequence.new(BloodColor.Color),
  311. LightEmission=.1,
  312. LightInfluence=1,
  313. ZOffset=.9,
  314. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  315. Texture="rbxassetid://284205403",
  316. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  317. Acceleration = V3.N(0,-15,0),
  318. Lifetime = NumberRange.new(1,2),
  319. Rate=50,
  320. Speed = NumberRange.new(5,15),
  321. SpreadAngle = Vector2.new(15,15),
  322. Enabled = false,
  323. EmissionDirection = 'Back',
  324. })
  325.  
  326. local blood2 = NewInstance("ParticleEmitter",nil,{
  327. Color = ColorSequence.new(BloodColor.Color),
  328. LightEmission=.1,
  329. LightInfluence=1,
  330. ZOffset=.9,
  331. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  332. Texture=BloodID,
  333. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  334. Acceleration = V3.N(0,-125,0),
  335. Lifetime = NumberRange.new(1,2),
  336. Rate=50,
  337. Speed = NumberRange.new(5,15),
  338. SpreadAngle = Vector2.new(15,15),
  339. Enabled = false,
  340. EmissionDirection = 'Back',
  341. })
  342.  
  343. local blood3 = NewInstance("ParticleEmitter",nil,{
  344. Color = ColorSequence.new(BloodColor.Color),
  345. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)},
  346. Texture=BloodID,
  347. Lifetime = NumberRange.new(.4),
  348. Rate=50,
  349. LockedToPart=true,
  350. Speed = NumberRange.new(0,2),
  351. Enabled = false,
  352. })
  353.  
  354. function Blood(size,cframe,amount)
  355. local part = Instance.new("Part",Effects)
  356. part.Transparency = 1
  357. part.Size = size
  358. part.Anchored = true
  359. part.CanCollide = false
  360. part.CFrame = cframe
  361. S.Debris:AddItem(part,6)
  362. local prtcl = blood:Clone()
  363. prtcl.Parent = part
  364. prtcl:Emit(amount)
  365. return part, prtcl
  366. end
  367.  
  368. function Blood2(size,cframe)
  369. local part = Instance.new("Part",Effects)
  370. part.Transparency = 1
  371. part.Size = size
  372. part.Anchored = false
  373. part.CanCollide = false
  374. part.CFrame = cframe
  375. local prtcl = blood:Clone()
  376. prtcl.Enabled = true
  377. prtcl.Parent = part
  378. return part, prtcl
  379. end
  380.  
  381. function Blood3(size,cframe,amount)
  382. local part = Instance.new("Part",Effects)
  383. part.Transparency = 1
  384. part.Size = size
  385. part.Anchored = true
  386. part.CanCollide = false
  387. part.CFrame = cframe
  388. S.Debris:AddItem(part,6)
  389. local prtcl = blood2:Clone()
  390. prtcl.Parent = part
  391. prtcl:Emit(amount)
  392. return part, prtcl
  393. end
  394.  
  395. function Blood4(size,cframe)
  396. local part = Instance.new("Part",Effects)
  397. part.Transparency = 1
  398. part.Size = size
  399. part.Anchored = false
  400. part.CanCollide = false
  401. part.CFrame = cframe
  402. local prtcl = blood2:Clone()
  403. prtcl.Enabled = true
  404. prtcl.Parent = part
  405. return part, prtcl
  406. end
  407.  
  408.  
  409. function BloodDrop(pos,dir,maxsize)
  410. if(game.PlaceId ~= 843468296)then
  411. local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false})
  412. owo.CFrame=CF.N(pos,dir)
  413. local bv = Instance.new("BodyVelocity",owo)
  414. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  415. 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
  416. bv.Name = "MOVE"
  417. --[[local prt = blood3:Clone()
  418. prt.Parent = owo
  419. prt.Enabled = true]]
  420. delay(.01, function() bv:destroy() end)
  421. local touch;
  422. touch = owo.Touched:connect(function(hit)
  423. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  424. touch:disconnect()
  425. BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo)
  426. owo:destroy()
  427. end
  428. end)
  429. end
  430. end
  431.  
  432. function BloodPuddle(position,range,maxSize,where)
  433. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  434. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  435. ),{where,Char},false,true)
  436. if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  437. if(hit.Name == 'BloodPuddle')then
  438. local dist = (position - hit.Position).magnitude
  439. 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
  440. --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  441. hit.Size = hit.Size + V3.N(.1,0,.1)
  442. end
  443. if(hit.Size.Z < 2)then
  444. pcall(function() hit.Sound:Play() end)
  445. end
  446. else
  447. 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'})
  448. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  449. Sound(Puddle,685857471,1,2,false,false,true)
  450. coroutine.wrap(function()
  451. swait(75)
  452. repeat
  453. swait()
  454. Puddle.Size = Puddle.Size - V3.N(.02,0,.02)
  455. until Puddle.Size.Z < 0.51
  456. Puddle:destroy()
  457. end)()
  458. end
  459. end
  460. end
  461.  
  462. function recurse(root,callback,i)
  463. i= i or 0
  464. for _,v in pairs(root:GetChildren()) do
  465. i = i + 1
  466. callback(i,v)
  467.  
  468. if #v:GetChildren() > 0 then
  469. i = recurse(v,callback,i)
  470. end
  471. end
  472.  
  473. return i
  474. end
  475.  
  476. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  477. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  478. for i,v in pairs(character:GetChildren()) do
  479. 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
  480. v.Size = Vector3.new(1,1,1)
  481. end
  482. end
  483. if part1:FindFirstChildOfClass('Motor6D') then
  484. part1:FindFirstChildOfClass('Motor6D'):Remove()
  485. end
  486. if attachmentName ~= "NeckAttachment" then
  487. attachmentName = attachmentName.."RigAttachment"
  488. end
  489. local constraint = Instance.new(className.."Constraint")
  490. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  491. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  492. constraint.Name = "RagdollConstraint"..part1.Name
  493. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  494. local collidepart = Instance.new('Part',part1)
  495. collidepart.Size = part1.Size/2
  496. if string.find(string.lower(part1.Name),"upper") then
  497. if string.find(string.lower(part1.Name),"leg") then
  498. collidepart.Size = part1.Size/3
  499. else
  500. collidepart.Size = part1.Size/2.5
  501. end
  502. end
  503. collidepart.CanCollide = true
  504. collidepart.Name = "RagdollJoint"
  505. collidepart.Anchored = false
  506. collidepart.Transparency = 1
  507. collidepart.CFrame = part1.CFrame
  508. collidepart:BreakJoints()
  509. local attachment0 = Instance.new('Attachment',part1)
  510. local attachment1 = Instance.new('Attachment',collidepart)
  511. if attachment0 and attachment1 then
  512. local constraint = Instance.new("HingeConstraint")
  513. constraint.Attachment0 = attachment0
  514. constraint.Attachment1 = attachment1
  515. constraint.LimitsEnabled = true
  516. constraint.UpperAngle = 0
  517. constraint.LowerAngle = 0
  518. constraint.Parent = character
  519. end
  520. if string.find(string.lower(part1.Name),"upper") then
  521. if string.find(string.lower(part1.Name),"leg") then
  522. attachment0.Position = Vector3.new(0,0.01,0)
  523. else
  524. attachment0.Position = Vector3.new(0,0.25,0)
  525. end
  526. else
  527. attachment0.Position = Vector3.new(0,-0.1,0)
  528. end
  529. end
  530. for _,propertyData in next,properties or {} do
  531. constraint[propertyData[1]] = propertyData[2]
  532. end
  533. constraint.Parent = character
  534. return constraint
  535. end
  536. end
  537.  
  538.  
  539. function getAttachment0(character,attachmentName)
  540. for _,child in next,character:children() do
  541. local attachment = child:FindFirstChild(attachmentName)
  542. if attachment then
  543. return attachment
  544. end
  545. end
  546. end
  547.  
  548.  
  549. function Ragdoll(who,half,snapped)
  550. pcall(function()
  551. who:breakJoints()
  552. local who = who
  553. local hhh = who:FindFirstChildOfClass'Humanoid'
  554. local t = GetTorso(who)
  555. pcall(function()
  556. who.HumanoidRootPart:destroy()
  557. end)
  558. hhh.Health = 0
  559. Stunned[who] = true
  560. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  561. 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'
  562. pcall(function()
  563. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  564. FakeWeld(RA,CollideRA) end
  565. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  566. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  567. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  568. end)
  569. pcall(function()
  570. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  571. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  572.  
  573. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  574.  
  575. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  576. FakeWeld(LA,CollideLA) end
  577. end)
  578. pcall(function()
  579. if(HD)then
  580. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  581. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  582. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  583. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  584.  
  585. if(snapped)then
  586. NJ.Orientation = V3.N(0,90,0)
  587. end
  588. if(hhh.Health > 0)then
  589. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  590. FakeWeld(HD,CollideHD)
  591. end
  592. end
  593. end)
  594. if(not half)then
  595. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  596. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  597. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  598. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  599. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  600. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  601. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  602. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  603.  
  604. FakeWeld(RL,CollideRL)
  605. FakeWeld(LL,CollideLL) end
  606. end
  607. for _,v in next, who:children() do
  608. if(v:IsA'BasePart')then
  609. v.CanCollide = true
  610. end
  611. end
  612. else
  613. local character = who
  614.  
  615. if(half)then
  616. pcall(function()
  617. character.UpperTorso.WaistRigAttachment:Destroy()
  618. end)
  619. end
  620.  
  621. local handProperties = {
  622. {"LimitsEnabled", true};
  623. {"UpperAngle",0};
  624. {"LowerAngle",0};
  625. }
  626. local footProperties = {
  627. {"LimitsEnabled", true};
  628. {"UpperAngle", 15};
  629. {"LowerAngle", -45};
  630. }
  631. local shinProperties = {
  632. {"LimitsEnabled", true};
  633. {"UpperAngle", 0};
  634. {"LowerAngle", -75};
  635. }
  636. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  637. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  638. end
  639. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  640. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  641. end
  642. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  643. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  644. end
  645. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  646. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  647. end
  648. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  649. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  650. end
  651. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  652. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  653. end
  654. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  655. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  656. end
  657. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  658. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  659. end
  660. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  661. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  662. end
  663. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  664. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  665. end
  666. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  667. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  668. end
  669. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  670. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  671. end
  672. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  673. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  674. {"LimitsEnabled",true};
  675. {"UpperAngle",5};
  676. {"Radius",5};
  677. })
  678. end
  679. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  680. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  681. {"LimitsEnabled",true};
  682. {"UpperAngle",50};
  683. {"LowerAngle",-50};
  684. })
  685. end
  686. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  687. {"LimitsEnabled",true};
  688. {"UpperAngle",50};
  689. {"LowerAngle",-50};
  690. })
  691.  
  692. recurse(character, function(_,v)
  693. if v:IsA("Attachment") then
  694. v.Axis = Vector3.new(0, 1, 0)
  695. v.SecondaryAxis = Vector3.new(0, 0, 1)
  696. v.Rotation = Vector3.new(0, 0, 0)
  697. if(v.Parent == character.Head and snapped)then
  698. v.Orientation = V3.N(0,-90,0)
  699. end
  700. end
  701. end)
  702. end
  703. end)
  704. end
  705.  
  706.  
  707. function Bezier(startpos, pos2, pos3, endpos, t)
  708. local A = startpos:lerp(pos2, t)
  709. local B = pos2:lerp(pos3, t)
  710. local C = pos3:lerp(endpos, t)
  711. local lerp1 = A:lerp(B, t)
  712. local lerp2 = B:lerp(C, t)
  713. local cubic = lerp1:lerp(lerp2, t)
  714. return cubic
  715. end
  716.  
  717. function Effect(data)
  718. local FX = data.Effect or 'Resize-AndFade'
  719. local Parent = data.Parent or Effects
  720. local Color = data.Color or C3.N(0,0,0)
  721. local Size = data.Size or V3.N(1,1,1)
  722. local MoveDir = data.MoveDirection or nil
  723. local MeshData = data.Mesh or nil
  724. local SndData = data.Sound or nil
  725. local Frames = data.Frames or 45
  726. local Manual = data.Manual or nil
  727. local Material = data.Material or nil
  728. local CFra = data.CFrame or Torso.CFrame
  729. local Settings = data.FXSettings or {}
  730. local Snd,Prt,Msh;
  731. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  732. Prt = Manual
  733. else
  734. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  735. end
  736. if(typeof(MeshData) == 'table')then
  737. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  738. elseif(typeof(MeshData) == 'Instance')then
  739. Msh = MeshData:Clone()
  740. Msh.Parent = Prt
  741. end
  742. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  743. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  744. end
  745. if(Snd)then
  746. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  747. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  748. end
  749. local MoveSpeed = nil;
  750. if(MoveDir)then
  751. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  752. end
  753. local Inc = M.RNG()-M.RNG()
  754. local Thingie = 0
  755. local Thingie2 = M.RNG(50,100)/100
  756.  
  757. coroutine.wrap(function()
  758. if(FX ~= 'Arc')then
  759. for i = 1, Frames do
  760. if(FX == 'Resize-AndFade')then
  761. if(not Settings.EndSize)then
  762. Settings.EndSize = V3.N(0,0,0)
  763. end
  764. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  765. if(Settings.EndIsIncrement)then
  766. Prt.Size = Prt.Size - Settings.EndSize
  767. else
  768. Prt.Size = Prt.Size - grow/Frames
  769. end
  770. Prt.Transparency = (i/Frames)
  771. elseif(FX == 'Resize+AndFade')then
  772. if(not Settings.EndSize)then
  773. Settings.EndSize = Size*2
  774. end
  775. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  776. if(Settings.EndIsIncrement)then
  777. Prt.Size = Prt.Size + Settings.EndSize
  778. else
  779. Prt.Size = Prt.Size + grow/Frames
  780. end
  781. Prt.Transparency = (i/Frames)
  782. elseif(FX == 'Fade')then
  783. Prt.Transparency = (i/Frames)
  784. end
  785. if(Settings.RandomizeCFrame)then
  786. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  787. end
  788. if(MoveDir and MoveSpeed)then
  789. local Orientation = Prt.Orientation
  790. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  791. Prt.Orientation = Orientation
  792. end
  793. if(swait and typeof(swait) == 'function')then
  794. swait()
  795. else
  796. wait()
  797. end
  798. end
  799. Prt:destroy()
  800. else
  801. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  802. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  803. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  804. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  805. assert(start ~= nil,"You need to specify a start point!")
  806. assert(endP ~= nil,"You need to specify an end point!")
  807. for i = 0, 1, Settings.Speed or 0.01 do
  808. if(Settings.Home)then
  809. endP = Settings.Home.CFrame
  810. end
  811. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  812. if(swait and typeof(swait) == 'function')then
  813. swait()
  814. else
  815. wait()
  816. end
  817. end
  818. if(Settings.RemoveOnGoal)then
  819. Prt:destroy()
  820. end
  821. end
  822. end)()
  823. return Prt,Msh,Snd
  824. end
  825.  
  826.  
  827. function SoulSteal(character)
  828. local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart')
  829. print(torso)
  830. if(torso and torso:IsA'BasePart')then
  831. local Model = Instance.new("Model",Effects)
  832. Model.Name = character.Name.."'s Soul"
  833. character:BreakJoints()
  834. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  835. Soul.Name = 'Head'
  836. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  837. Effect{
  838. Effect="Arc",
  839. Manual = Soul,
  840. FXSettings={
  841. Start=torso.CFrame,
  842. Home = Torso,
  843. RemoveOnGoal = true,
  844. }
  845. }
  846. local lastPoint = Soul.CFrame.p
  847.  
  848. for i = 0, 1, 0.01 do
  849. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  850. local mag = (lastPoint - Soul.Position).magnitude
  851. Effect{
  852. Effect = "Fade",
  853. CFrame = point * CF.N(0, mag/2, 0),
  854. Size = V3.N(.5,mag+.5,.5),
  855. Color = Soul.BrickColor
  856. }
  857. lastPoint = Soul.CFrame.p
  858. swait()
  859. end
  860. for i = 1, 5 do
  861. Effect{
  862. Effect="Fade",
  863. Color = BrickColor.new'Really red',
  864. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  865. }
  866. end
  867. end
  868. end
  869.  
  870. --// Other Functions \\ --
  871.  
  872. function getRegion(point,range,ignore)
  873. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  874. end
  875.  
  876. function clerp(startCF,endCF,alpha)
  877. return startCF:lerp(endCF, alpha)
  878. end
  879.  
  880. function GetTorso(char)
  881. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  882. end
  883.  
  884.  
  885.  
  886. function ShowDamage(Pos, Text, Time, Color)
  887. coroutine.wrap(function()
  888. local Rate = (1 / 30)
  889. local Pos = (Pos or Vector3.new(0, 0, 0))
  890. local Text = (Text or "")
  891. local Time = (Time or 2)
  892. local Color = (Color or Color3.new(1, 0, 1))
  893. local EffectPart = NewInstance("Part",Effects,{
  894. Material=Enum.Material.SmoothPlastic,
  895. RArmlectance = 0,
  896. Transparency = 1,
  897. BrickColor = BrickColor.new(Color),
  898. Name = "Effect",
  899. Size = Vector3.new(0,0,0),
  900. Anchored = true
  901. })
  902. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  903. Size = UDim2.new(1.25, 0, 1.25, 0),
  904. Adornee = EffectPart,
  905. })
  906. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  907. BackgroundTransparency = 1,
  908. Size = UDim2.new(1, 0, 1, 0),
  909. Text = Text,
  910. Font = "Arial",
  911. TextColor3 = Color,
  912. TextStrokeColor3 = Color3.new(0,0,0),
  913. TextStrokeTransparency=0,
  914. TextScaled = true,
  915. })
  916. game.Debris:AddItem(EffectPart, (Time))
  917. EffectPart.Parent = game:GetService("Workspace")
  918. delay(0, function()
  919. local Frames = (Time / Rate)
  920. for Frame = 1, Frames do
  921. wait(Rate)
  922. local Percent = (Frame / Frames)
  923. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  924. TextLabel.TextTransparency = Percent
  925. TextLabel.TextStrokeTransparency = Percent
  926. end
  927. if EffectPart and EffectPart.Parent then
  928. EffectPart:Destroy()
  929. end
  930. end) end)()
  931. end
  932.  
  933.  
  934. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  935. if(who)then
  936. local hum = who:FindFirstChildOfClass'Humanoid'
  937. local Damage = M.RNG(minDam,maxDam)
  938. local canHit = true
  939. if(hum)then
  940. for _, p in pairs(Hit) do
  941. if p[1] == hum then
  942. if(time() - p[2] < 0.1) then
  943. canHit = false
  944. else
  945. Hit[_] = nil
  946. end
  947. end
  948. end
  949. if(canHit)then
  950. if(hum.Health >= math.huge)then
  951. who:BreakJoints()
  952. if(who:FindFirstChild'Head' and hum.Health > 0)then
  953. 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))
  954. end
  955. else
  956. local player = S.Players:GetPlayerFromCharacter(who)
  957. if(Type == "Fire")then
  958. --idk..
  959. else
  960. local c = Instance.new("ObjectValue",hum)
  961. c.Name = "creator"
  962. c.Value = Plr
  963. game:service'Debris':AddItem(c,0.35)
  964. if(M.RNG(1,100) <= (critChance or 0))then
  965. if(who:FindFirstChild'Head' and hum.Health > 0)then
  966. 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)
  967. end
  968. hum.Health = hum.Health - Damage*(critMult or 2)
  969. else
  970. if(who:FindFirstChild'Head' and hum.Health > 0)then
  971. 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)
  972. end
  973. hum.Health = hum.Health - Damage
  974. end
  975. if(Type == 'Knockback' and GetTorso(who))then
  976. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  977. local body = NewInstance('BodyVelocity',GetTorso(who),{
  978. P = 500,
  979. maxForce = V3.N(math.huge,0,math.huge),
  980. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  981. })
  982. game:service'Debris':AddItem(body,.5)
  983. elseif(Type == 'Knockdown' and GetTorso(who))then
  984. local rek = GetTorso(who)
  985. print(rek)
  986. hum.PlatformStand = true
  987. delay(1,function()
  988. hum.PlatformStand = false
  989. end)
  990. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  991. local bodvol = NewInstance("BodyVelocity",rek,{
  992. velocity = angle * Knock,
  993. P = 5000,
  994. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  995. })
  996. local rl = NewInstance("BodyAngularVelocity",rek,{
  997. P = 3000,
  998. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  999. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1000. })
  1001. game:GetService("Debris"):AddItem(bodvol, .5)
  1002. game:GetService("Debris"):AddItem(rl, .5)
  1003. end
  1004. end
  1005. end
  1006. end
  1007. table.insert(Hit,{hum,time()})
  1008. end
  1009. end
  1010. end
  1011.  
  1012. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  1013. for _,v in next, getRegion(where,range,{Char}) do
  1014. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1015. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  1016. end
  1017. end
  1018. end
  1019.  
  1020. function AOEFunction(where,range,callback)
  1021. for _,v in next, getRegion(where,range,{Char}) do
  1022. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1023. callback(v.Parent)
  1024. end
  1025. end
  1026. end
  1027.  
  1028. function ClosestHumanoid(pos,range)
  1029. local mag,closest = math.huge;
  1030. for _,v in next, getRegion(pos,range or 10,{Char}) do
  1031. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1032. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  1033. mag = (v.CFrame.p-pos).magnitude
  1034. closest = hum
  1035. end
  1036. end
  1037. return closest,(closest and GetTorso(closest.Parent) or nil)
  1038. end
  1039.  
  1040. function AOEHeal(where,range,amount)
  1041. local healed = {}
  1042. for _,v in next, getRegion(where,range,{Char}) do
  1043. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1044. if(hum and not healed[hum])then
  1045. hum.Health = hum.Health + amount
  1046. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1047. 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)
  1048. end
  1049. end
  1050. end
  1051. end
  1052. --// Attack Function \\--
  1053.  
  1054. function Equip_Sawblade()
  1055. for i = 1, 5 do
  1056. Effect{
  1057. Effect='Resize+AndFade',
  1058. Color = BrickColor.new'Really red',
  1059. Material = Enum.Material.Neon,
  1060. Size=V3.N(3.5,3.5,3.5),
  1061. CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1062. FXSettings={
  1063. EndSize=V3.N(.05,.05,.05),
  1064. EndIsIncrement=true,
  1065.  
  1066. }
  1067. }
  1068. end
  1069. local prt = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(),false,false)
  1070. prt.Transparency = .5
  1071. local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,3),V3.N())
  1072. local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)})
  1073. return prt,weld
  1074. end
  1075.  
  1076. function The_Necc()
  1077. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1078. if(torso)then
  1079. local who = torso.Parent
  1080. Attack = true
  1081. NeutralAnims = false
  1082. who.Parent = Char
  1083. local oRoot
  1084. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1085. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1086. for i = 0, 4, 0.1 do
  1087. swait()
  1088. humanoid.PlatformStand = true
  1089. local Alpha = .15
  1090. 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)
  1091. 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)
  1092. 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)
  1093. 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)
  1094. 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)
  1095. 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)
  1096. end
  1097. gWeld:destroy()
  1098. if(who:FindFirstChild'Head')then
  1099. local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false)
  1100. s:Play()
  1101. s.Ended:connect(function() s:Destroy() end)
  1102. end
  1103. who.Parent = workspace
  1104. humanoid.Health = 0
  1105. Ragdoll(who,false,true)
  1106. for i = 0, 1.5, 0.1 do
  1107. swait()
  1108. humanoid.PlatformStand = true
  1109. local Alpha = .3
  1110. 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)
  1111. 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)
  1112. 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)
  1113. 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)
  1114. 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)
  1115. 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)
  1116. end
  1117. Attack = false
  1118. NeutralAnims = true
  1119. end
  1120. end
  1121.  
  1122. function Hands_Off()
  1123. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1124.  
  1125. if(torso)then
  1126. local who = torso.Parent
  1127. local doAttack = false
  1128. Instance.AllChildren(who,function(v)
  1129. if(v.Name:lower():find"arm")then
  1130. doAttack = true
  1131. end
  1132. end, true)
  1133. if(not doAttack)then return end
  1134. Hum.WalkSpeed = 0
  1135. Hum.JumpPower = 0
  1136. Attack = true
  1137. NeutralAnims = false
  1138. who.Parent = Char
  1139. local oRoot
  1140. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1141. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1142. for i = 0, 4, 0.1 do
  1143. swait()
  1144. humanoid.PlatformStand = true
  1145. local Alpha = .15
  1146. 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)
  1147. 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)
  1148. 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)
  1149. 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)
  1150. 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)
  1151. 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)
  1152. end
  1153. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor
  1154. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor
  1155. Sound(torso,1093102664,.85,5,false,true,true)
  1156. Sound(torso,429400881,1,1,false,true,true)
  1157. FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1158. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  1159. FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1160. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  1161. FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1162. FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1163. Instance.AllChildren(who,function(v)
  1164. if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then
  1165. v:destroy()
  1166. end
  1167. end, true)
  1168. if(not VoidSB)then
  1169. coroutine.wrap(function()
  1170. repeat swait()
  1171. BloodDrop(torso.CFrame * CF.N(-.5,.5,0).p,torso.CFrame * CF.N(-1,.5,0).p,15)
  1172. BloodDrop(torso.CFrame * CF.N(.5,.5,0).p,torso.CFrame * CF.N(1,.5,0).p,15)
  1173. humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1174. humanoid.Health = 0
  1175. end)()
  1176. else
  1177. coroutine.wrap(function()
  1178. repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1179. humanoid.Health = 0
  1180. end)()
  1181.  
  1182. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1183. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1184. prt1.Parent = torso;
  1185. prt2.Parent = torso;
  1186. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)})
  1187. local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)})
  1188. end
  1189.  
  1190. humanoid.Died:connect(function()
  1191. Ragdoll(who)
  1192. end)
  1193. who.Parent = workspace
  1194.  
  1195. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1196. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1197. prt1.Parent = FRArm;
  1198. prt2.Parent = FLArm;
  1199. local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)})
  1200. local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)})
  1201. gWeld:destroy()
  1202. humanoid.PlatformStand = false
  1203. if(oRoot)then
  1204. oRoot.Parent = who
  1205. if(who:FindFirstChild('RootJoint',true))then
  1206. oRoot.RootJoint.Part0 = oRoot
  1207. oRoot.RootJoint.Part1 = torso
  1208. else
  1209. humanoid:BuildRigFromAttachments()
  1210. end
  1211. end
  1212.  
  1213.  
  1214. for i = 0, 3, 0.1 do
  1215. swait()
  1216. local Alpha = .15
  1217. 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)
  1218. 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)
  1219. 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)
  1220. 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)
  1221. 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)
  1222. 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)
  1223. end
  1224. Hum.WalkSpeed = 16
  1225. Hum.JumpPower = 50
  1226. Attack = false
  1227. NeutralAnims = true
  1228. end
  1229. end
  1230. function ScrewMe()
  1231. Attack = true
  1232. NeutralAnims = false
  1233. for i = 0, 2, 0.1 do
  1234. swait()
  1235. local Alpha = .15
  1236. 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)
  1237. 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)
  1238. 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)
  1239. 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)
  1240. 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)
  1241. 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)
  1242. end
  1243. local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false)
  1244. local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N())
  1245. local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)})
  1246. for i = 1, 3 do
  1247. for i = 0, 2, 0.1 do
  1248. swait()
  1249. local Alpha = .15
  1250. 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)
  1251. 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)
  1252. 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)
  1253. 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)
  1254. 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)
  1255. 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)
  1256. 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)
  1257. end
  1258. for i = 0, 2, 0.1 do
  1259. swait()
  1260. local Alpha = .15
  1261. 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)
  1262. 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)
  1263. 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)
  1264. 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)
  1265. 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)
  1266. 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)
  1267. 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)
  1268. end
  1269. end
  1270. for i = 0, 2, 0.1 do
  1271. swait()
  1272. local Alpha = .15
  1273. 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)
  1274. 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)
  1275. 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)
  1276. 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)
  1277. 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)
  1278. 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)
  1279. end
  1280. screwdriver:destroy()
  1281. Attack = false
  1282. NeutralAnims = true
  1283. end
  1284. function SliceYou()
  1285. Attack = true
  1286. NeutralAnims = false
  1287. local saw,weld = Equip_Sawblade()
  1288. for i = 0, 2, 0.1 do
  1289. swait()
  1290. local Alpha = .15
  1291. 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)
  1292. 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)
  1293. 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)
  1294. 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)
  1295. 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)
  1296. 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)
  1297. end
  1298. for i = 0, 3, 0.1 do
  1299. swait()
  1300. local Alpha = .3
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. 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)
  1307. end
  1308. local sound = Sound(Torso,367720620,false,false,false)
  1309. sound:Play()
  1310. for i = 0, 6, .1 do
  1311. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1312. swait()
  1313. end
  1314. for i = 0, 2, .1 do
  1315. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1316. swait()
  1317. end
  1318. sound:Play()
  1319. for i = 0, 1, .1 do
  1320. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1321. swait()
  1322. end
  1323. sound:Play()
  1324. for i = 0, 5, .1 do
  1325. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3)
  1326. swait()
  1327. end
  1328. for i = 1, 5 do
  1329. Effect{
  1330. Effect='Resize+AndFade',
  1331. Color = BrickColor.new'Really red',
  1332. Material = Enum.Material.Neon,
  1333. Size=V3.N(3.5,3.5,3.5),
  1334. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1335. FXSettings={
  1336. EndSize=V3.N(.05,.05,.05),
  1337. EndIsIncrement=true,
  1338.  
  1339. }
  1340. }
  1341. end
  1342. saw:destroy()
  1343. Attack = false
  1344. NeutralAnims = true
  1345. end
  1346. function Taunt()
  1347. local tauntFuncs = {SliceYou,ScrewMe}
  1348. local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)]
  1349. taunt()
  1350. end
  1351. function Aids()
  1352. Music.Playing = false
  1353. local DabSounds = {420701444,420701460,420701487}
  1354. local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false)
  1355. repeat swait() until DabSnd.IsLoaded
  1356. DabSnd:Play()
  1357. DabSnd.Ended:connect(function()DabSnd:destroy()end)
  1358. Attack = true
  1359. NeutralAnims = false
  1360. local a = 0
  1361. for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do
  1362. a = a + 1
  1363. swait()
  1364. local Alpha = .3
  1365. 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)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. 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)
  1370. 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)
  1371. end
  1372. Music.Playing = true
  1373. Attack = false
  1374. NeutralAnims = true
  1375. end
  1376.  
  1377. function OnceWas(who)
  1378. for _,v in next, who:children() do
  1379. if(v:IsA'BasePart')then
  1380. Effect{
  1381. Parent=Effects,
  1382. Effect='Fade',
  1383. Color = BrickColor.new'Crimson',
  1384. Material = Enum.Material.Glass,
  1385. Size = v.Size,
  1386. CFrame=v.CFrame,
  1387. Frames = 90,
  1388. }
  1389. end
  1390. end
  1391. end
  1392.  
  1393. function Teleport(where)
  1394. OnceWas(Char)
  1395. Sound(Root,235097614,3,1,false,true,true)
  1396. Sound(Root,75356820,2,1,false,true,true)
  1397. Root.CFrame = CF.N(where.p)
  1398. OnceWas(Char)
  1399. end
  1400.  
  1401. function Dash()
  1402. Attack = true
  1403. Sound(Root,78488588,3,1,false,true,true)
  1404. Sound(Root,1212249239,2,1,false,true,true)
  1405. for i = 1, 5 do
  1406. Root.CFrame = Root.CFrame*CF.N(0,0,-5)
  1407. swait()
  1408. end
  1409. Attack = false
  1410. end
  1411.  
  1412. function Shriek()
  1413. Attack = true
  1414. NeutralAnims = false
  1415. local scream = Sound(Head,198165368,.5,10,false,false,false)
  1416. local i = 0
  1417. scream:Play()
  1418. while scream.Playing do
  1419. i = i + 1
  1420. swait()
  1421. coroutine.wrap(function()
  1422. AOEFunction(Head.Position,30,function(who)
  1423. local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head'
  1424. if(h and hd and h.Health > 0)then
  1425. h.Health = 0
  1426. Sound(hd,429400881,1,1,false,true,true)
  1427. Ragdoll(who)
  1428. swait()
  1429. local frags = Fragment(hd)
  1430. for _,v in next, frags:children() do
  1431. v.BrickColor = BloodColor
  1432. v.Material = BloodMaterial
  1433. v.CanCollide = true
  1434. v.Anchored = false
  1435. end
  1436. hd:destroy()
  1437. end
  1438. end)
  1439. end)()
  1440. local Alpha = .15
  1441. 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)
  1442. 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)
  1443. 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)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. end
  1448. Attack = false
  1449. NeutralAnims = true
  1450. end
  1451.  
  1452. function SawMeDaddy()
  1453. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1454. if(torso)then
  1455. Attack = true
  1456. NeutralAnims = false
  1457. local who = torso.Parent
  1458. who.Parent = Char
  1459. Hum.WalkSpeed = 0
  1460. Hum.JumpPower = 0
  1461. humanoid.WalkSpeed = 0
  1462. humanoid.JumpPower = 0
  1463. local saw,weld = Equip_Sawblade()
  1464. pcall(function() who.HumanoidRootPart:destroy() end)
  1465. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)})
  1466. for i = 0, 6, 0.1 do
  1467. swait()
  1468. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1469. local Alpha = .15
  1470. 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)
  1471. 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)
  1472. 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)
  1473. 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)
  1474. 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)
  1475. 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)
  1476. end
  1477. Sound(Torso,367720620,1,1,false,true,true)
  1478. coroutine.wrap(function()
  1479. repeat swait()
  1480. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3)
  1481. until not saw.Parent
  1482. end)()
  1483. swait(60)
  1484. local slicing = Sound(saw,1013673726,1,1,true,false,true)
  1485. Sound(torso,429400881,1,1,false,true,true)
  1486. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1487. prt1.Parent = torso;
  1488. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)})
  1489. for i = 0, .3, 0.001 do
  1490. swait()
  1491.  
  1492. humanoid.Health = humanoid.Health - .5
  1493. if(humanoid.Health <= 0)then
  1494. gWeld:destroy()
  1495. Sound(torso,429400881,1,1,false,true,true)
  1496. break
  1497. end
  1498. local Alpha = i
  1499. 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)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. end
  1506. humanoid.Health = 0
  1507. who.Parent = workspace
  1508. Ragdoll(who)
  1509. slicing:destroy()
  1510. for i = 1, 5 do
  1511. Effect{
  1512. Effect='Resize+AndFade',
  1513. Color = BrickColor.new'Really red',
  1514. Material = Enum.Material.Neon,
  1515. Size=V3.N(3.5,3.5,3.5),
  1516. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1517. FXSettings={
  1518. EndSize=V3.N(.05,.05,.05),
  1519. EndIsIncrement=true,
  1520.  
  1521. }
  1522. }
  1523. end
  1524. Hum.WalkSpeed = 16
  1525. Hum.JumpPower = 50
  1526. saw:destroy()
  1527. Attack = false
  1528. NeutralAnims = true
  1529. end
  1530. end
  1531. function The_End()
  1532. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1533.  
  1534. if(torso)then
  1535. Attack = true
  1536. NeutralAnims = false
  1537. local who = torso.Parent
  1538. Hum.WalkSpeed = 0
  1539. Hum.JumpPower = 0
  1540. humanoid.WalkSpeed = 0
  1541. humanoid.JumpPower = 0
  1542. who.Parent = Char
  1543. pcall(function() who.HumanoidRootPart:destroy() end)
  1544. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
  1545. for i = 0, 2, 0.1 do
  1546. swait()
  1547. local Alpha = .3
  1548. 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)
  1549. 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)
  1550. 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)
  1551. 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)
  1552. 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)
  1553. 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)
  1554. end
  1555. Sound(Torso,200065377,1.3,4,false,true,true)
  1556. for i = 0, 1, 0.1 do
  1557. swait()
  1558. local Alpha = .2
  1559. 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)
  1560. 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)
  1561. 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)
  1562. 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)
  1563. 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)
  1564. 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)
  1565. end
  1566. gWeld:destroy()
  1567. 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))})
  1568. for i = 0, 1, 0.1 do
  1569. swait()
  1570. local Alpha = .3
  1571. humanoid.PlatformStand = true
  1572. 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)
  1573. 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)
  1574. 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)
  1575. 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)
  1576. 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)
  1577. 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)
  1578. end
  1579. gWeld:destroy()
  1580. 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))})
  1581. for i = 0, 6, 0.1 do
  1582. swait()
  1583. local Alpha = .3
  1584. humanoid.PlatformStand = true
  1585. 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)
  1586. 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)
  1587. 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)
  1588. 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)
  1589. 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)
  1590. 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)
  1591. end
  1592. Sound(torso,1093102664,.85,5,false,true,true)
  1593. Sound(torso,429400881,1,1,false,true,true)
  1594. gWeld:destroy()
  1595. Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
  1596. humanoid.Health = 0
  1597. for _,v in next, who:children() do
  1598. if(v:IsA'LocalScript' or v:IsA'Script')then
  1599. v.Disabled = true
  1600. v:destroy()
  1601. end
  1602. end
  1603. Ragdoll(who,true)
  1604.  
  1605.  
  1606. if(not VoidSB)then
  1607. coroutine.wrap(function()
  1608. repeat swait()
  1609. BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
  1610. until not who or not who.Parent
  1611. end)()
  1612. coroutine.wrap(function()
  1613. local LT = who:FindFirstChild'LowerTorso'
  1614. if(LT)then
  1615. repeat swait()
  1616. BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
  1617. until not who or not who.Parent
  1618. end
  1619. end)()
  1620. end
  1621.  
  1622. for i = 0, 1, 0.1 do
  1623. swait()
  1624. local Alpha = .3
  1625. humanoid.PlatformStand = true
  1626. 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)
  1627. 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)
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. end
  1633. for i = 0, 4, 0.1 do
  1634. swait()
  1635. local Alpha = .3
  1636. 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)
  1637. 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)
  1638. 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)
  1639. 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)
  1640. 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)
  1641. 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)
  1642. end
  1643. who.Parent = workspace
  1644. Attack = false
  1645. NeutralAnims = true
  1646. Hum.WalkSpeed = 16
  1647. Hum.JumpPower = 50
  1648. end
  1649. end
  1650.  
  1651. function ThrowArms()
  1652. Attack = true
  1653. NeutralAnims = false
  1654. for i = 0, 3, 0.1 do
  1655. swait()
  1656. local Alpha = .15
  1657. 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)
  1658. 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)
  1659. 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)
  1660. 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)
  1661. 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)
  1662. 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)
  1663. end
  1664. Sound()
  1665. FLArmW:destroy()
  1666. FRArmW:destroy()
  1667. local BV1 = NewInstance("BodyVelocity", FRArm, {
  1668. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1669. P = 5000,
  1670. maxForce = Vector3.new(8000, 8000, 8000),
  1671. })
  1672. local BV2 = NewInstance("BodyVelocity", FLArm, {
  1673. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1674. P = 5000,
  1675. maxForce = Vector3.new(8000, 8000, 8000),
  1676. })
  1677. Sound(Torso,541909763,.8,5,false,true,true)
  1678. S.Debris:AddItem(BV1, 0.05)
  1679. S.Debris:AddItem(BV2, 0.05)
  1680. FRArm.CanCollide = true
  1681. FLArm.CanCollide = true
  1682. S.Debris:AddItem(FRArm, 5)
  1683. S.Debris:AddItem(FLArm, 5)
  1684. FRArm = nil
  1685. FLArm = nil
  1686. for i = 0, 1, 0.1 do
  1687. swait()
  1688. local Alpha = .3
  1689. 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)
  1690. 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)
  1691. 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)
  1692. 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)
  1693. 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)
  1694. 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)
  1695. end
  1696. Attack = false
  1697. NeutralAnims = true
  1698. end
  1699. Mouse.KeyDown:connect(function(k)
  1700. if(Attack)then return end
  1701. if(k == 'e')then Dash() end
  1702. if(not FLArm and not FRArm)then
  1703. if(k == 'z')then The_Necc() end
  1704. if(k == 'x')then The_End() end
  1705. if(k == 'c')then Hands_Off() end
  1706. end
  1707. end)
  1708.  
  1709. Mouse.Button1Down:connect(function()
  1710. if(Attack)then return end
  1711. if(FLArm and FRArm)then
  1712. ThrowArms()
  1713. end
  1714. end)
  1715. Plr.Chatted:connect(function(m)
  1716. if(m == '/e aeiou')then Sound(Torso,221792881,1,5,false,true,true) end
  1717. if(m == '/e earthquake')then Sound(Torso,1205111204,1,5,false,true,true) end
  1718. if(Attack)then return end
  1719. if(m == '/e dab')then Aids() end
  1720. end)
  1721.  
  1722. --// Wrap it all up \\--
  1723.  
  1724. while true do
  1725. swait()
  1726. if(not Music or not Music.Parent)then
  1727. local a = Music.TimePosition
  1728. Music = Sound(Char,MusicID,MusicPitch,2,true,false,true)
  1729. Music.Name = 'Music'
  1730. Music.TimePosition = a
  1731. end
  1732. if(Music.Volume ~= 2)then Music.Volume = 2 end
  1733. RArm.Transparency = 1
  1734. Sine = Sine + Change
  1735. 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)
  1736. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1737. 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")
  1738. if(State == 'Walk')then
  1739. local wsVal = 7 / (Hum.WalkSpeed/16)
  1740. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1741. --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)
  1742. --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)--
  1743. 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)
  1744. 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)
  1745. else
  1746. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
  1747. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
  1748. end
  1749. if(Idle > Frame_Speed*10)then
  1750. --idk i'll do something
  1751. end
  1752. if(NeutralAnims and not Attack and State == 'Idle')then
  1753. Idle = Idle + 1
  1754. else
  1755. Idle = 0
  1756. end
  1757. for v,_ in next, Stunned do
  1758. if(v.Parent)then
  1759. local h = v:FindFirstChildOfClass'Humanoid'
  1760. for _,c in next, v:children() do
  1761. if(c:IsA'Script' or c:IsA'LocalScript')then
  1762. c.Disabled = false
  1763. end
  1764. end
  1765. if(h)then
  1766. h.Name = 'no escape lol'
  1767. h.PlatformStand = true
  1768. else
  1769. Stunned[v] = nil
  1770. end
  1771. else
  1772. Stunned[v] = nil
  1773. end
  1774. end
  1775. if(NeutralAnims)then
  1776. if(State == 'Idle')then
  1777. Change = 1
  1778. local Alpha = .3
  1779. 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)
  1780. 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)
  1781. 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)
  1782. 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)
  1783. 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)
  1784. 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)
  1785. elseif(State == 'Walk')then
  1786. local wsVal = 7 / (Hum.WalkSpeed/16)
  1787. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1788. 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)
  1789. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  1790. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  1791. 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)
  1792. 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)
  1793. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1794. elseif(State == 'Jump' or State == 'Fall')then
  1795. if(Walking)then
  1796. local Alpha = .2
  1797. 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)
  1798. 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)
  1799. 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)
  1800. 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)
  1801. 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)
  1802. 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)
  1803. else
  1804. local Alpha = .2
  1805. 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)
  1806. 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)
  1807. 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)
  1808. 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)
  1809. 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)
  1810. 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)
  1811. end
  1812. elseif(State == 'Paralyzed')then
  1813. local Alpha = .3
  1814. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1815. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1816. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1817. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha)
  1818. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha)
  1819. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1820. elseif(State == 'Sit')then
  1821. local Alpha = .3
  1822. 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)
  1823. 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)
  1824. 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)
  1825. 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)
  1826. 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)
  1827. 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)
  1828. end
  1829. end
  1830. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement