Advertisement
Zebula_The_Scripter

Untitled

May 8th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 156.92 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Inked Monster ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. -------------------------------------------------------
  9.  
  10. local FavIDs = {
  11. 340106355, --Nefl Crystals
  12. 927529620, --Dimension
  13. 876981900, --Fantasy
  14. 398987889, --Ordinary Days
  15. 1117396305, --Oh wait, it's you.
  16. 885996042, --Action Winter Journey
  17. 919231299, --Sprawling Idiot Effigy
  18. 743466274, --Good Day Sunshine
  19. 727411183, --Knife Fight
  20. 1402748531, --The Earth Is Counting On You!
  21. 595230126 --Robot Language
  22. }
  23.  
  24.  
  25.  
  26. --The reality of my life isn't real but a Universe -makhail07
  27. wait(0.2)
  28. local plr = game:service'Players'.LocalPlayer
  29. print('Local User is '..plr.Name)
  30. print('Inked Monster Loaded')
  31. print('Wat')
  32. local char = plr.Character
  33. local hum = char.Humanoid
  34. local hed = char.Head
  35. local root = char.HumanoidRootPart
  36. local rootj = root.RootJoint
  37. local tors = char.Torso
  38. local ra = char["Right Arm"]
  39. local la = char["Left Arm"]
  40. local rl = char["Right Leg"]
  41. local ll = char["Left Leg"]
  42. local neck = tors["Neck"]
  43. local mouse = plr:GetMouse()
  44. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  45. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  46. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  47. local maincolor = BrickColor.new("Institutional white")
  48. -------------------------------------------------------
  49. --Start Whitelist and Invincibility--
  50. -------------------------------------------------------
  51. ff = Instance.new("ForceField",char)
  52. ff.Visible = false
  53. hum.Name = "Base"
  54. hum.MaxHealth = 1.0E298
  55. hum.Health = 1.0E298
  56. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  57. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  58. hum.MaxHealth = 1.0E298
  59. hum.Health = 1.0E298
  60. end
  61. end)
  62. -------------------------------------------------------
  63. --End Whitelist and Invincibility--
  64. -------------------------------------------------------
  65.  
  66. -------------------------------------------------------
  67. --Start Good Stuff--
  68. -------------------------------------------------------
  69. cam = game.Workspace.CurrentCamera
  70. CF = CFrame.new
  71. angles = CFrame.Angles
  72. attack = false
  73. Euler = CFrame.fromEulerAnglesXYZ
  74. Rad = math.rad
  75. IT = Instance.new
  76. BrickC = BrickColor.new
  77. Cos = math.cos
  78. Acos = math.acos
  79. Sin = math.sin
  80. Asin = math.asin
  81. Abs = math.abs
  82. Mrandom = math.random
  83. Floor = math.floor
  84. -------------------------------------------------------
  85. --End Good Stuff--
  86. -------------------------------------------------------
  87. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  88. RSH, LSH = nil, nil
  89. RW = Instance.new("Weld")
  90. LW = Instance.new("Weld")
  91. RH = tors["Right Hip"]
  92. LH = tors["Left Hip"]
  93. RSH = tors["Right Shoulder"]
  94. LSH = tors["Left Shoulder"]
  95. RSH.Parent = nil
  96. LSH.Parent = nil
  97. RW.Name = "RW"
  98. RW.Part0 = tors
  99. RW.C0 = CF(1.5, 0.5, 0)
  100. RW.C1 = CF(0, 0.5, 0)
  101. RW.Part1 = ra
  102. RW.Parent = tors
  103. LW.Name = "LW"
  104. LW.Part0 = tors
  105. LW.C0 = CF(-1.5, 0.5, 0)
  106. LW.C1 = CF(0, 0.5, 0)
  107. LW.Part1 = la
  108. LW.Parent = tors
  109. Effects = {}
  110. -------------------------------------------------------
  111. --Start HeartBeat--
  112. -------------------------------------------------------
  113. ArtificialHB = Instance.new("BindableEvent", script)
  114. ArtificialHB.Name = "Heartbeat"
  115. script:WaitForChild("Heartbeat")
  116.  
  117. frame = 1 / 60
  118. tf = 0
  119. allowframeloss = false
  120. tossremainder = false
  121.  
  122.  
  123. lastframe = tick()
  124. script.Heartbeat:Fire()
  125.  
  126.  
  127. game:GetService("RunService").Heartbeat:connect(function(s, p)
  128. tf = tf + s
  129. if tf >= frame then
  130. if allowframeloss then
  131. script.Heartbeat:Fire()
  132. lastframe = tick()
  133. else
  134. for i = 1, math.floor(tf / frame) do
  135. script.Heartbeat:Fire()
  136. end
  137. lastframe = tick()
  138. end
  139. if tossremainder then
  140. tf = 0
  141. else
  142. tf = tf - frame * math.floor(tf / frame)
  143. end
  144. end
  145. end)
  146. -------------------------------------------------------
  147. --End HeartBeat--
  148. -------------------------------------------------------
  149.  
  150. -------------------------------------------------------
  151. --Start Important Functions--
  152. -------------------------------------------------------
  153. function swait(num)
  154. if num == 0 or num == nil then
  155. game:service("RunService").Stepped:wait(0)
  156. else
  157. for i = 0, num do
  158. game:service("RunService").Stepped:wait(0)
  159. end
  160. end
  161. end
  162. function thread(f)
  163. coroutine.resume(coroutine.create(f))
  164. end
  165. function clerp(a, b, t)
  166. local qa = {
  167. QuaternionFromCFrame(a)
  168. }
  169. local qb = {
  170. QuaternionFromCFrame(b)
  171. }
  172. local ax, ay, az = a.x, a.y, a.z
  173. local bx, by, bz = b.x, b.y, b.z
  174. local _t = 1 - t
  175. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  176. end
  177. function QuaternionFromCFrame(cf)
  178. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  179. local trace = m00 + m11 + m22
  180. if trace > 0 then
  181. local s = math.sqrt(1 + trace)
  182. local recip = 0.5 / s
  183. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  184. else
  185. local i = 0
  186. if m00 < m11 then
  187. i = 1
  188. end
  189. if m22 > (i == 0 and m00 or m11) then
  190. i = 2
  191. end
  192. if i == 0 then
  193. local s = math.sqrt(m00 - m11 - m22 + 1)
  194. local recip = 0.5 / s
  195. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  196. elseif i == 1 then
  197. local s = math.sqrt(m11 - m22 - m00 + 1)
  198. local recip = 0.5 / s
  199. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  200. elseif i == 2 then
  201. local s = math.sqrt(m22 - m00 - m11 + 1)
  202. local recip = 0.5 / s
  203. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  204. end
  205. end
  206. end
  207. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  208. local xs, ys, zs = x + x, y + y, z + z
  209. local wx, wy, wz = w * xs, w * ys, w * zs
  210. local xx = x * xs
  211. local xy = x * ys
  212. local xz = x * zs
  213. local yy = y * ys
  214. local yz = y * zs
  215. local zz = z * zs
  216. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  217. end
  218. function QuaternionSlerp(a, b, t)
  219. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  220. local startInterp, finishInterp
  221. if cosTheta >= 1.0E-4 then
  222. if 1 - cosTheta > 1.0E-4 then
  223. local theta = math.acos(cosTheta)
  224. local invSinTheta = 1 / Sin(theta)
  225. startInterp = Sin((1 - t) * theta) * invSinTheta
  226. finishInterp = Sin(t * theta) * invSinTheta
  227. else
  228. startInterp = 1 - t
  229. finishInterp = t
  230. end
  231. elseif 1 + cosTheta > 1.0E-4 then
  232. local theta = math.acos(-cosTheta)
  233. local invSinTheta = 1 / Sin(theta)
  234. startInterp = Sin((t - 1) * theta) * invSinTheta
  235. finishInterp = Sin(t * theta) * invSinTheta
  236. else
  237. startInterp = t - 1
  238. finishInterp = t
  239. end
  240. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  241. end
  242. function rayCast(Position, Direction, Range, Ignore)
  243. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  244. end
  245. local RbxUtility = LoadLibrary("RbxUtility")
  246. local Create = RbxUtility.Create
  247.  
  248. -------------------------------------------------------
  249. --Start Damage Function--
  250. -------------------------------------------------------
  251. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  252. if hit.Parent == nil then
  253. return
  254. end
  255. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  256. for _, v in pairs(hit.Parent:children()) do
  257. if v:IsA("Humanoid") then
  258. h = v
  259. end
  260. end
  261. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  262.  
  263. hit.Parent:FindFirstChild("Head"):BreakJoints()
  264. end
  265.  
  266. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  267. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  268. if hit.Parent.DebounceHit.Value == true then
  269. return
  270. end
  271. end
  272. if insta == true then
  273. hit.Parent:FindFirstChild("Head"):BreakJoints()
  274. end
  275. local c = Create("ObjectValue"){
  276. Name = "creator",
  277. Value = game:service("Players").LocalPlayer,
  278. Parent = h,
  279. }
  280. game:GetService("Debris"):AddItem(c, .5)
  281. if HitSound ~= nil and HitPitch ~= nil then
  282. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  283. end
  284. local Damage = math.random(minim, maxim)
  285. local blocked = false
  286. local block = hit.Parent:findFirstChild("Block")
  287. if block ~= nil then
  288. if block.className == "IntValue" then
  289. if block.Value > 0 then
  290. blocked = true
  291. block.Value = block.Value - 1
  292. print(block.Value)
  293. end
  294. end
  295. end
  296. if blocked == false then
  297. h.Health = h.Health - Damage
  298. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  299. else
  300. h.Health = h.Health - (Damage / 2)
  301. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  302. end
  303. if Type == "Knockdown" then
  304. local hum = hit.Parent.Humanoid
  305. hum.PlatformStand = true
  306. coroutine.resume(coroutine.create(function(HHumanoid)
  307. swait(1)
  308. HHumanoid.PlatformStand = false
  309. end), hum)
  310. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  311. local bodvol = Create("BodyVelocity"){
  312. velocity = angle * knockback,
  313. P = 5000,
  314. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  315. Parent = hit,
  316. }
  317. local rl = Create("BodyAngularVelocity"){
  318. P = 3000,
  319. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  320. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  321. Parent = hit,
  322. }
  323. game:GetService("Debris"):AddItem(bodvol, .5)
  324. game:GetService("Debris"):AddItem(rl, .5)
  325. elseif Type == "Normal" then
  326. local vp = Create("BodyVelocity"){
  327. P = 500,
  328. maxForce = Vector3.new(math.huge, 0, math.huge),
  329. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  330. }
  331. if knockback > 0 then
  332. vp.Parent = hit.Parent.Torso
  333. end
  334. game:GetService("Debris"):AddItem(vp, .5)
  335. elseif Type == "Up" then
  336. local bodyVelocity = Create("BodyVelocity"){
  337. velocity = Vector3.new(0, 20, 0),
  338. P = 5000,
  339. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  340. Parent = hit,
  341. }
  342. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  343. elseif Type == "DarkUp" then
  344. coroutine.resume(coroutine.create(function()
  345. for i = 0, 1, 0.1 do
  346. swait()
  347. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  348. end
  349. end))
  350. local bodyVelocity = Create("BodyVelocity"){
  351. velocity = Vector3.new(0, 20, 0),
  352. P = 5000,
  353. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  354. Parent = hit,
  355. }
  356. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  357. elseif Type == "Snare" then
  358. local bp = Create("BodyPosition"){
  359. P = 2000,
  360. D = 100,
  361. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  362. position = hit.Parent.Torso.Position,
  363. Parent = hit.Parent.Torso,
  364. }
  365. game:GetService("Debris"):AddItem(bp, 1)
  366. elseif Type == "Freeze" then
  367. local BodPos = Create("BodyPosition"){
  368. P = 50000,
  369. D = 1000,
  370. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  371. position = hit.Parent.Torso.Position,
  372. Parent = hit.Parent.Torso,
  373. }
  374. local BodGy = Create("BodyGyro") {
  375. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  376. P = 20e+003,
  377. Parent = hit.Parent.Torso,
  378. cframe = hit.Parent.Torso.CFrame,
  379. }
  380. hit.Parent.Torso.Anchored = true
  381. coroutine.resume(coroutine.create(function(Part)
  382. swait(1.5)
  383. Part.Anchored = false
  384. end), hit.Parent.Torso)
  385. game:GetService("Debris"):AddItem(BodPos, 3)
  386. game:GetService("Debris"):AddItem(BodGy, 3)
  387. end
  388. local debounce = Create("BoolValue"){
  389. Name = "DebounceHit",
  390. Parent = hit.Parent,
  391. Value = true,
  392. }
  393. game:GetService("Debris"):AddItem(debounce, Delay)
  394. c = Create("ObjectValue"){
  395. Name = "creator",
  396. Value = Player,
  397. Parent = h,
  398. }
  399. game:GetService("Debris"):AddItem(c, .5)
  400. end
  401. end
  402. -------------------------------------------------------
  403. --End Damage Function--
  404. -------------------------------------------------------
  405.  
  406. -------------------------------------------------------
  407. --Start Damage Function Customization--
  408. -------------------------------------------------------
  409. function ShowDamage(Pos, Text, Time, Color)
  410. local Rate = (1 / 30)
  411. local Pos = (Pos or Vector3.new(0, 0, 0))
  412. local Text = (Text or "")
  413. local Time = (Time or 2)
  414. local Color = (Color or Color3.new(1, 0, 1))
  415. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  416. EffectPart.Anchored = true
  417. local BillboardGui = Create("BillboardGui"){
  418. Size = UDim2.new(3, 0, 3, 0),
  419. Adornee = EffectPart,
  420. Parent = EffectPart,
  421. }
  422. local TextLabel = Create("TextLabel"){
  423. BackgroundTransparency = 1,
  424. Size = UDim2.new(1, 0, 1, 0),
  425. Text = Text,
  426. Font = "Bodoni",
  427. TextColor3 = Color,
  428. TextScaled = true,
  429. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  430. Parent = BillboardGui,
  431. }
  432. game.Debris:AddItem(EffectPart, (Time))
  433. EffectPart.Parent = game:GetService("Workspace")
  434. delay(0, function()
  435. local Frames = (Time / Rate)
  436. for Frame = 1, Frames do
  437. wait(Rate)
  438. local Percent = (Frame / Frames)
  439. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  440. TextLabel.TextTransparency = Percent
  441. end
  442. if EffectPart and EffectPart.Parent then
  443. EffectPart:Destroy()
  444. end
  445. end)
  446. end
  447. -------------------------------------------------------
  448. --End Damage Function Customization--
  449. -------------------------------------------------------
  450.  
  451. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  452. for _, c in pairs(workspace:children()) do
  453. local hum = c:findFirstChild("Humanoid")
  454. if hum ~= nil then
  455. local head = c:findFirstChild("Head")
  456. if head ~= nil then
  457. local targ = head.Position - Part.Position
  458. local mag = targ.magnitude
  459. if magni >= mag and c.Name ~= plr.Name then
  460. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  461. end
  462. end
  463. end
  464. end
  465. end
  466.  
  467.  
  468. CFuncs = {
  469. Part = {
  470. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  471. local Part = Create("Part")({
  472. Parent = Parent,
  473. Reflectance = Reflectance,
  474. Transparency = Transparency,
  475. CanCollide = false,
  476. Locked = true,
  477. BrickColor = BrickColor.new(tostring(BColor)),
  478. Name = Name,
  479. Size = Size,
  480. Material = Material
  481. })
  482. RemoveOutlines(Part)
  483. return Part
  484. end
  485. },
  486. Mesh = {
  487. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  488. local Msh = Create(Mesh)({
  489. Parent = Part,
  490. Offset = OffSet,
  491. Scale = Scale
  492. })
  493. if Mesh == "SpecialMesh" then
  494. Msh.MeshType = MeshType
  495. Msh.MeshId = MeshId
  496. end
  497. return Msh
  498. end
  499. },
  500. Mesh = {
  501. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  502. local Msh = Create(Mesh)({
  503. Parent = Part,
  504. Offset = OffSet,
  505. Scale = Scale
  506. })
  507. if Mesh == "SpecialMesh" then
  508. Msh.MeshType = MeshType
  509. Msh.MeshId = MeshId
  510. end
  511. return Msh
  512. end
  513. },
  514. Weld = {
  515. Create = function(Parent, Part0, Part1, C0, C1)
  516. local Weld = Create("Weld")({
  517. Parent = Parent,
  518. Part0 = Part0,
  519. Part1 = Part1,
  520. C0 = C0,
  521. C1 = C1
  522. })
  523. return Weld
  524. end
  525. },
  526. Sound = {
  527. Create = function(id, par, vol, pit)
  528. coroutine.resume(coroutine.create(function()
  529. local S = Create("Sound")({
  530. Volume = vol,
  531. Pitch = pit or 1,
  532. SoundId = id,
  533. Parent = par or workspace
  534. })
  535. wait()
  536. S:play()
  537. game:GetService("Debris"):AddItem(S, 6)
  538. end))
  539. end
  540. },
  541. ParticleEmitter = {
  542. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  543. local fp = Create("ParticleEmitter")({
  544. Parent = Parent,
  545. Color = ColorSequence.new(Color1, Color2),
  546. LightEmission = LightEmission,
  547. Size = Size,
  548. Texture = Texture,
  549. Transparency = Transparency,
  550. ZOffset = ZOffset,
  551. Acceleration = Accel,
  552. Drag = Drag,
  553. LockedToPart = LockedToPart,
  554. VelocityInheritance = VelocityInheritance,
  555. EmissionDirection = EmissionDirection,
  556. Enabled = Enabled,
  557. Lifetime = LifeTime,
  558. Rate = Rate,
  559. Rotation = Rotation,
  560. RotSpeed = RotSpeed,
  561. Speed = Speed,
  562. VelocitySpread = VelocitySpread
  563. })
  564. return fp
  565. end
  566. }
  567. }
  568. function RemoveOutlines(part)
  569. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  570. end
  571. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  572. local Part = Create("Part")({
  573. formFactor = FormFactor,
  574. Parent = Parent,
  575. Reflectance = Reflectance,
  576. Transparency = Transparency,
  577. CanCollide = false,
  578. Locked = true,
  579. BrickColor = BrickColor.new(tostring(BColor)),
  580. Name = Name,
  581. Size = Size,
  582. Material = Material
  583. })
  584. RemoveOutlines(Part)
  585. return Part
  586. end
  587. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  588. local NEWPART = IT("Part")
  589. NEWPART.formFactor = FORMFACTOR
  590. NEWPART.Reflectance = REFLECTANCE
  591. NEWPART.Transparency = TRANSPARENCY
  592. NEWPART.CanCollide = false
  593. NEWPART.Locked = true
  594. NEWPART.Anchored = true
  595. if ANCHOR == false then
  596. NEWPART.Anchored = false
  597. end
  598. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  599. NEWPART.Name = NAME
  600. NEWPART.Size = SIZE
  601. NEWPART.Position = tors.Position
  602. NEWPART.Material = MATERIAL
  603. NEWPART:BreakJoints()
  604. NEWPART.Parent = PARENT
  605. return NEWPART
  606. end
  607. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  608. local Msh = Create(Mesh)({
  609. Parent = Part,
  610. Offset = OffSet,
  611. Scale = Scale
  612. })
  613. if Mesh == "SpecialMesh" then
  614. Msh.MeshType = MeshType
  615. Msh.MeshId = MeshId
  616. end
  617. return Msh
  618. end
  619. function CreateWeld(Parent, Part0, Part1, C0, C1)
  620. local Weld = Create("Weld")({
  621. Parent = Parent,
  622. Part0 = Part0,
  623. Part1 = Part1,
  624. C0 = C0,
  625. C1 = C1
  626. })
  627. return Weld
  628. end
  629.  
  630.  
  631. -------------------------------------------------------
  632. --Start Effect Function--
  633. -------------------------------------------------------
  634. EffectModel = Instance.new("Model", char)
  635. Effects = {
  636. Block = {
  637. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  638. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  639. prt.Anchored = true
  640. prt.CFrame = cframe
  641. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  642. game:GetService("Debris"):AddItem(prt, 10)
  643. if Type == 1 or Type == nil then
  644. table.insert(Effects, {
  645. prt,
  646. "Block1",
  647. delay,
  648. x3,
  649. y3,
  650. z3,
  651. msh
  652. })
  653. elseif Type == 2 then
  654. table.insert(Effects, {
  655. prt,
  656. "Block2",
  657. delay,
  658. x3,
  659. y3,
  660. z3,
  661. msh
  662. })
  663. else
  664. table.insert(Effects, {
  665. prt,
  666. "Block3",
  667. delay,
  668. x3,
  669. y3,
  670. z3,
  671. msh
  672. })
  673. end
  674. end
  675. },
  676. Sphere = {
  677. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  678. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  679. prt.Anchored = true
  680. prt.CFrame = cframe
  681. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  682. game:GetService("Debris"):AddItem(prt, 10)
  683. table.insert(Effects, {
  684. prt,
  685. "Cylinder",
  686. delay,
  687. x3,
  688. y3,
  689. z3,
  690. msh
  691. })
  692. end
  693. },
  694. Cylinder = {
  695. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  696. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  697. prt.Anchored = true
  698. prt.CFrame = cframe
  699. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {
  702. prt,
  703. "Cylinder",
  704. delay,
  705. x3,
  706. y3,
  707. z3,
  708. msh
  709. })
  710. end
  711. },
  712. Wave = {
  713. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  714. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  715. prt.Anchored = true
  716. prt.CFrame = cframe
  717. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  718. game:GetService("Debris"):AddItem(prt, 10)
  719. table.insert(Effects, {
  720. prt,
  721. "Cylinder",
  722. delay,
  723. x3 / 60,
  724. y3 / 60,
  725. z3 / 60,
  726. msh
  727. })
  728. end
  729. },
  730. Ring = {
  731. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  732. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  733. prt.Anchored = true
  734. prt.CFrame = cframe
  735. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  736. game:GetService("Debris"):AddItem(prt, 10)
  737. table.insert(Effects, {
  738. prt,
  739. "Cylinder",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. end
  747. },
  748. Break = {
  749. Create = function(brickcolor, cframe, x1, y1, z1)
  750. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  751. prt.Anchored = true
  752. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  753. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  754. local num = math.random(10, 50) / 1000
  755. game:GetService("Debris"):AddItem(prt, 10)
  756. table.insert(Effects, {
  757. prt,
  758. "Shatter",
  759. num,
  760. prt.CFrame,
  761. math.random() - math.random(),
  762. 0,
  763. math.random(50, 100) / 100
  764. })
  765. end
  766. },
  767. Spiral = {
  768. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  769. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  770. prt.Anchored = true
  771. prt.CFrame = cframe
  772. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  773. game:GetService("Debris"):AddItem(prt, 10)
  774. table.insert(Effects, {
  775. prt,
  776. "Cylinder",
  777. delay,
  778. x3,
  779. y3,
  780. z3,
  781. msh
  782. })
  783. end
  784. },
  785. Push = {
  786. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  787. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  788. prt.Anchored = true
  789. prt.CFrame = cframe
  790. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  791. game:GetService("Debris"):AddItem(prt, 10)
  792. table.insert(Effects, {
  793. prt,
  794. "Cylinder",
  795. delay,
  796. x3,
  797. y3,
  798. z3,
  799. msh
  800. })
  801. end
  802. }
  803. }
  804. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  805. local fp = IT("Part")
  806. fp.formFactor = formfactor
  807. fp.Parent = parent
  808. fp.Reflectance = reflectance
  809. fp.Transparency = transparency
  810. fp.CanCollide = false
  811. fp.Locked = true
  812. fp.BrickColor = brickcolor
  813. fp.Name = name
  814. fp.Size = size
  815. fp.Position = tors.Position
  816. RemoveOutlines(fp)
  817. fp.Material = "SmoothPlastic"
  818. fp:BreakJoints()
  819. return fp
  820. end
  821.  
  822. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  823. local mesh = IT(Mesh)
  824. mesh.Parent = part
  825. if Mesh == "SpecialMesh" then
  826. mesh.MeshType = meshtype
  827. if meshid ~= "nil" then
  828. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  829. end
  830. end
  831. mesh.Offset = offset
  832. mesh.Scale = scale
  833. return mesh
  834. end
  835.  
  836. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  837. local type = type
  838. local rng = Instance.new("Part", char)
  839. rng.Anchored = true
  840. rng.BrickColor = color
  841. rng.CanCollide = false
  842. rng.FormFactor = 3
  843. rng.Name = "Ring"
  844. rng.Material = "Neon"
  845. rng.Size = Vector3.new(1, 1, 1)
  846. rng.Transparency = 0
  847. rng.TopSurface = 0
  848. rng.BottomSurface = 0
  849. rng.CFrame = pos
  850. local rngm = Instance.new("SpecialMesh", rng)
  851. rngm.MeshType = MType
  852. rngm.Scale = scale
  853. local scaler2 = 1
  854. if type == "Add" then
  855. scaler2 = 1 * value
  856. elseif type == "Divide" then
  857. scaler2 = 1 / value
  858. end
  859. coroutine.resume(coroutine.create(function()
  860. for i = 0, 10 / bonuspeed, 0.1 do
  861. swait()
  862. if type == "Add" then
  863. scaler2 = scaler2 - 0.01 * value / bonuspeed
  864. elseif type == "Divide" then
  865. scaler2 = scaler2 - 0.01 / value * bonuspeed
  866. end
  867. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  868. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  869. end
  870. rng:Destroy()
  871. end))
  872. end
  873.  
  874. function Eviscerate(dude)
  875. if dude.Name ~= char then
  876. local bgf = IT("BodyGyro", dude.Head)
  877. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  878. local val = IT("BoolValue", dude)
  879. val.Name = "IsHit"
  880. local ds = coroutine.wrap(function()
  881. dude:WaitForChild("Head"):BreakJoints()
  882. wait(0.5)
  883. target = nil
  884. coroutine.resume(coroutine.create(function()
  885. for i, v in pairs(dude:GetChildren()) do
  886. if v:IsA("Accessory") then
  887. v:Destroy()
  888. end
  889. if v:IsA("Humanoid") then
  890. v:Destroy()
  891. end
  892. if v:IsA("CharacterMesh") then
  893. v:Destroy()
  894. end
  895. if v:IsA("Model") then
  896. v:Destroy()
  897. end
  898. if v:IsA("Part") or v:IsA("MeshPart") then
  899. for x, o in pairs(v:GetChildren()) do
  900. if o:IsA("Decal") then
  901. o:Destroy()
  902. end
  903. end
  904. coroutine.resume(coroutine.create(function()
  905. v.Material = "Neon"
  906. v.CanCollide = false
  907. local PartEmmit1 = IT("ParticleEmitter", v)
  908. PartEmmit1.LightEmission = 1
  909. PartEmmit1.Texture = "rbxassetid://284205403"
  910. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  911. PartEmmit1.Rate = 150
  912. PartEmmit1.Lifetime = NumberRange.new(1)
  913. PartEmmit1.Size = NumberSequence.new({
  914. NumberSequenceKeypoint.new(0, 0.75, 0),
  915. NumberSequenceKeypoint.new(1, 0, 0)
  916. })
  917. PartEmmit1.Transparency = NumberSequence.new({
  918. NumberSequenceKeypoint.new(0, 0, 0),
  919. NumberSequenceKeypoint.new(1, 1, 0)
  920. })
  921. PartEmmit1.Speed = NumberRange.new(0, 0)
  922. PartEmmit1.VelocitySpread = 30000
  923. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  924. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  925. local BodPoss = IT("BodyPosition", v)
  926. BodPoss.P = 3000
  927. BodPoss.D = 1000
  928. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  929. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  930. v.Color = maincolor.Color
  931. coroutine.resume(coroutine.create(function()
  932. for i = 0, 49 do
  933. swait(1)
  934. v.Transparency = v.Transparency + 0.08
  935. end
  936. wait(0.5)
  937. PartEmmit1.Enabled = false
  938. wait(3)
  939. v:Destroy()
  940. dude:Destroy()
  941. end))
  942. end))
  943. end
  944. end
  945. end))
  946. end)
  947. ds()
  948. end
  949. end
  950.  
  951. function FindNearestHead(Position, Distance, SinglePlayer)
  952. if SinglePlayer then
  953. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  954. end
  955. local List = {}
  956. for i, v in pairs(workspace:GetChildren()) do
  957. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  958. table.insert(List, v)
  959. end
  960. end
  961. return List
  962. end
  963.  
  964. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  965. local type = type
  966. local rng = Instance.new("Part", char)
  967. rng.Anchored = true
  968. rng.BrickColor = color
  969. rng.CanCollide = false
  970. rng.FormFactor = 3
  971. rng.Name = "Ring"
  972. rng.Material = "Neon"
  973. rng.Size = Vector3.new(1, 1, 1)
  974. rng.Transparency = 0
  975. rng.TopSurface = 0
  976. rng.BottomSurface = 0
  977. rng.CFrame = pos
  978. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  979. local rngm = Instance.new("SpecialMesh", rng)
  980. rngm.MeshType = MType
  981. rngm.Scale = Vector3.new(x1, y1, z1)
  982. local scaler2 = 1
  983. local speeder = FastSpeed
  984. if type == "Add" then
  985. scaler2 = 1 * value
  986. elseif type == "Divide" then
  987. scaler2 = 1 / value
  988. end
  989. coroutine.resume(coroutine.create(function()
  990. for i = 0, 10 / bonuspeed, 0.1 do
  991. swait()
  992. if type == "Add" then
  993. scaler2 = scaler2 - 0.01 * value / bonuspeed
  994. elseif type == "Divide" then
  995. scaler2 = scaler2 - 0.01 / value * bonuspeed
  996. end
  997. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  998. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  999. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1000. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1001. end
  1002. rng:Destroy()
  1003. end))
  1004. end
  1005.  
  1006. function SoulSteal(dude)
  1007. if dude.Name ~= char then
  1008. local bgf = IT("BodyGyro", dude.Head)
  1009. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1010. local val = IT("BoolValue", dude)
  1011. val.Name = "IsHit"
  1012. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1013. local soulst = coroutine.wrap(function()
  1014. local soul = Instance.new("Part",dude)
  1015. soul.Size = Vector3.new(1,1,1)
  1016. soul.CanCollide = false
  1017. soul.Anchored = false
  1018. soul.Position = torso.Position
  1019. soul.Transparency = 1
  1020. local PartEmmit1 = IT("ParticleEmitter", soul)
  1021. PartEmmit1.LightEmission = 1
  1022. PartEmmit1.Texture = "rbxassetid://569507414"
  1023. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1024. PartEmmit1.Rate = 250
  1025. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1026. PartEmmit1.Size = NumberSequence.new({
  1027. NumberSequenceKeypoint.new(0, 1, 0),
  1028. NumberSequenceKeypoint.new(1, 0, 0)
  1029. })
  1030. PartEmmit1.Transparency = NumberSequence.new({
  1031. NumberSequenceKeypoint.new(0, 0, 0),
  1032. NumberSequenceKeypoint.new(1, 1, 0)
  1033. })
  1034. PartEmmit1.Speed = NumberRange.new(0, 0)
  1035. PartEmmit1.VelocitySpread = 30000
  1036. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1037. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1038. local BodPoss = IT("BodyPosition", soul)
  1039. BodPoss.P = 3000
  1040. BodPoss.D = 1000
  1041. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1042. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1043. wait(1.6)
  1044. soul.Touched:connect(function(hit)
  1045. if hit.Parent == char then
  1046. soul:Destroy()
  1047. end
  1048. end)
  1049. wait(1.2)
  1050. while soul do
  1051. swait()
  1052. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1053. BodPoss.Position = tors.Position
  1054. end
  1055. end)
  1056. soulst()
  1057. end
  1058. end
  1059. function FaceMouse()
  1060. local Cam = workspace.CurrentCamera
  1061. return {
  1062. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1063. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1064. }
  1065. end
  1066. -------------------------------------------------------
  1067. --End Effect Function--
  1068. -------------------------------------------------------
  1069. function Cso(ID, PARENT, VOLUME, PITCH)
  1070. local NSound = nil
  1071. coroutine.resume(coroutine.create(function()
  1072. NSound = IT("Sound", PARENT)
  1073. NSound.Volume = VOLUME
  1074. NSound.Pitch = PITCH
  1075. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1076. swait()
  1077. NSound:play()
  1078. game:GetService("Debris"):AddItem(NSound, 10)
  1079. end))
  1080. return NSound
  1081. end
  1082. function CameraEnshaking(Length, Intensity)
  1083. coroutine.resume(coroutine.create(function()
  1084. local intensity = 1 * Intensity
  1085. local rotM = 0.01 * Intensity
  1086. for i = 0, Length, 0.1 do
  1087. swait()
  1088. intensity = intensity - 0.05 * Intensity / Length
  1089. rotM = rotM - 5.0E-4 * Intensity / Length
  1090. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1091. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1092. end
  1093. hum.CameraOffset = Vector3.new(0, 0, 0)
  1094. end))
  1095. end
  1096.  
  1097. local Particle = IT("ParticleEmitter",nil)
  1098. Particle.Enabled = false
  1099. --Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1100. Particle.LightEmission = 0.5
  1101. Particle.Rate = 150
  1102. Particle.ZOffset = 1
  1103. Particle.Rotation = NumberRange.new(-180, 180)
  1104. Particle.RotSpeed = NumberRange.new(-180, 180)
  1105. Particle.Texture = "http://www.roblox.com/asset/?id=284205403"
  1106. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  1107.  
  1108. function ParticleEmitter(Table)
  1109. local PRTCL = Particle:Clone()
  1110. local Speed = Table.Speed or 5
  1111. local Drag = Table.Drag or 0
  1112. local Size1 = Table.Size1 or 1
  1113. local Size2 = Table.Size2 or 5
  1114. local Lifetime1 = Table.Lifetime1 or 1
  1115. local Lifetime2 = Table.Lifetime2 or 1.5
  1116. local Parent = Table.Parent or tors
  1117. local Emit = Table.Emit or 100
  1118. local Offset = Table.Offset or 360
  1119. local Acel = Table.Acel or Vector3.new(0,-50,0)
  1120. local Enabled = Table.Enabled or false
  1121. PRTCL.Parent = Parent
  1122. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1123. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1124. PRTCL.Speed = NumberRange.new(Speed)
  1125. PRTCL.VelocitySpread = Offset
  1126. PRTCL.Drag = Drag
  1127. PRTCL.Acceleration = Acel
  1128. if Enabled == false then
  1129. PRTCL:Emit(Emit)
  1130. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  1131. else
  1132. PRTCL.Enabled = true
  1133. end
  1134. return PRTCL
  1135. end
  1136. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = rl, Emit = 900, Offset = 360, Enabled = true})
  1137. --PRT.LockedToPart = true
  1138. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ll, Emit = 900, Offset = 360, Enabled = true})
  1139. --PRT.LockedToPart = true
  1140. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = tors, Emit = 900, Offset = 360, Enabled = true})
  1141. --PRT.LockedToPart = true
  1142. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ra, Emit = 900, Offset = 360, Enabled = true})
  1143. --PRT.LockedToPart = true
  1144. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = la, Emit = 900, Offset = 360, Enabled = true})
  1145. --PRT.LockedToPart = true
  1146. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1147. local NEWWELD = IT(TYPE)
  1148. NEWWELD.Part0 = PART0
  1149. NEWWELD.Part1 = PART1
  1150. NEWWELD.C0 = C0
  1151. NEWWELD.C1 = C1
  1152. NEWWELD.Parent = PARENT
  1153. return NEWWELD
  1154. end
  1155.  
  1156. function MakeForm(PART,TYPE)
  1157. local MSH = nil
  1158. if TYPE == "Cyl" then
  1159. MSH = IT("CylinderMesh",PART)
  1160. elseif TYPE == "Ball" then
  1161. MSH = IT("SpecialMesh",PART)
  1162. MSH.MeshType = "Sphere"
  1163. elseif TYPE == "Wedge" then
  1164. MSH = IT("SpecialMesh",PART)
  1165. MSH.MeshType = "Wedge"
  1166. elseif TYPE == "Block" then
  1167. MSH = IT("SpecialMesh",PART)
  1168. MSH.MeshType = "Brick"
  1169. end
  1170. return MSH
  1171. end
  1172.  
  1173. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1174. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1175. end
  1176.  
  1177. function Sink(position,radius)
  1178. for i,v in ipairs(workspace:GetChildren()) do
  1179. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1180. local body = v:GetChildren()
  1181. for part = 1, #body do
  1182. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1183. if(body[part].Position - position).Magnitude < radius then
  1184. if v.ClassName == "Model" then
  1185. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1186. if v:FindFirstChild("Humanoid") then
  1187. local defence = Instance.new("BoolValue",v)
  1188. defence.Name = ("Hit2By"..plr.Name)
  1189. if v.Humanoid.Health ~= 0 then
  1190. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1191. if TORS ~= nil then
  1192. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1193. coroutine.resume(coroutine.create(function()
  1194. if HITFLOOR2 ~= nil then
  1195. TORS.Anchored = true
  1196. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1197. Hole2.Color = Color3.new(0,0,0)
  1198. local MESH = MakeForm(Hole2,"Cyl")
  1199. MESH.Scale = Vector3.new(0,1,0)
  1200. Hole2.CFrame = CF(HITPOS2)
  1201. for i = 1, 10 do
  1202. swait()
  1203. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1204. end
  1205. --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1206. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1207. repeat
  1208. swait()
  1209. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1210. --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1211. until TORS.Position.Y<position.Y-4
  1212. v:remove()
  1213. for i = 1, 10 do
  1214. swait()
  1215. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1216. end
  1217. Hole2:remove()
  1218. end
  1219. end))
  1220. end
  1221. end
  1222. end
  1223. end
  1224. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230. end
  1231. function Trail(Part)
  1232. local TRAIL = Part:Clone()
  1233. TRAIL.CanCollide = false
  1234. TRAIL.Anchored = true
  1235. TRAIL.Parent = EffectModel
  1236. TRAIL.Name = "Trail"
  1237. local TRANS = Part.Transparency
  1238. coroutine.resume(coroutine.create(function()
  1239. for i = 1, 20 do
  1240. swait()
  1241. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1242. end
  1243. TRAIL:remove()
  1244. end))
  1245. end
  1246. function getRegion(point,range,ignore)
  1247. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1248. end
  1249.  
  1250. function GetTorso(char)
  1251. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1252. end
  1253.  
  1254. 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}
  1255.  
  1256. NewInstance = function(instance,parent,properties)
  1257. local inst = Instance.new(instance)
  1258. inst.Parent = parent
  1259. if(properties)then
  1260. for i,v in next, properties do
  1261. pcall(function() inst[i] = v end)
  1262. end
  1263. end
  1264. return inst;
  1265. end
  1266.  
  1267. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1268. local part = Instance.new("Part")
  1269. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1270. part.Material = material or Enum.Material.SmoothPlastic
  1271. part.TopSurface,part.BottomSurface=10,10
  1272. part.Size = size or Vector3.new(1,1,1)
  1273. part.CFrame = cframe or CF(0,0,0)
  1274. part.Anchored = anchored or true
  1275. part.CanCollide = cancollide or false
  1276. part.Parent = parent or char
  1277. return part
  1278. end
  1279. -------------------------------------------------------
  1280. --End Important Functions--
  1281. -------------------------------------------------------
  1282.  
  1283.  
  1284. -------------------------------------------------------
  1285. --Start Customization--
  1286. -------------------------------------------------------
  1287. local Player_Size = 1
  1288. if Player_Size ~= 1 then
  1289. root.Size = root.Size * Player_Size
  1290. tors.Size = tors.Size * Player_Size
  1291. hed.Size = hed.Size * Player_Size
  1292. ra.Size = ra.Size * Player_Size
  1293. la.Size = la.Size * Player_Size
  1294. rl.Size = rl.Size * Player_Size
  1295. ll.Size = ll.Size * Player_Size
  1296. ----------------------------------------------------------------------------------
  1297. rootj.Parent = root
  1298. neck.Parent = tors
  1299. RW.Parent = tors
  1300. LW.Parent = tors
  1301. RH.Parent = tors
  1302. LH.Parent = tors
  1303. ----------------------------------------------------------------------------------
  1304. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1305. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1306. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1307. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1308. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1309. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1310. ----------------------------------------------------------------------------------
  1311. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1312. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1313. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1314. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1315. --hat.Parent = Character
  1316. end
  1317. ----------------------------------------------------------------------------------
  1318. local SONG = 660140936
  1319. local SONG2 = 0
  1320. local Music = Instance.new("Sound",tors)
  1321. Music.Volume = 2.5
  1322. Music.Looped = true
  1323. Music.Pitch = 1 --Pitcher
  1324. ----------------------------------------------------------------------------------
  1325. local equipped = false
  1326. local idle = 0
  1327. local change = 1
  1328. local val = 0
  1329. local toim = 0
  1330. local idleanim = 0.4
  1331. local sine = 0
  1332. local Sit = 1
  1333. local Mode = "Normal"
  1334. ----------------------------------------------------------------------------------
  1335. hum.WalkSpeed = 16
  1336. hum.JumpPower = 57
  1337. --hum.Animator.Parent = nil
  1338. ----------------------------------------------------------------------------------
  1339. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5))
  1340. local MESH = MakeForm(Hole,"Cyl")
  1341. local ROBLOXIDLEANIMATION = IT("Animation")
  1342. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1343. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1344. local ANIMATOR = hum.Animator
  1345. local ANIMATE = char.Animate
  1346. -------------------------------------------------------
  1347. --End Customization--
  1348. -------------------------------------------------------
  1349.  
  1350.  
  1351. -------------------------------------------------------
  1352. --Start Attacks N Stuff--
  1353. -------------------------------------------------------
  1354. function InkyWarp()
  1355. attack = true
  1356. attack = true
  1357. hum.WalkSpeed = 0
  1358. root.Anchored = true
  1359. for i = 0, 4, 0.1 do
  1360. swait()
  1361. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1362. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1363. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1364. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1365. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1366. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1367. end
  1368. for i = 0, 2, 0.1 do
  1369. swait()
  1370. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -15 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1371. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1372. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1373. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1374. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1375. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1376. end
  1377. for i = 1, 50 do
  1378. swait()
  1379. Trail(Hole)
  1380. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1381. end
  1382. local ORIGINPOS = root.Position
  1383. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1384. Cso("154955269", tors, 10, .8)
  1385. for i = 1, 50 do
  1386. swait()
  1387. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1388. end
  1389. for i = 0, 4, 0.1 do
  1390. swait()
  1391. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1392. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1393. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1394. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1395. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1396. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1397. end
  1398. attack = false
  1399. hum.WalkSpeed = 16
  1400. root.Anchored = false
  1401. end
  1402.  
  1403. -------------------------------------------------------
  1404. --End Attacks N Stuff--
  1405. -------------------------------------------------------
  1406. mouse.KeyDown:connect(function(key)
  1407. if attack == false then
  1408. if key == 'z' then
  1409. InkyWarp()
  1410. elseif key == 'p' and Mode == "Normal" then
  1411. Mode = "Chase"
  1412. SONG = 1634663187
  1413. hum.WalkSpeed = 28
  1414. elseif key == 'p' and Mode == "Chase" then
  1415. Mode = "Normal"
  1416. SONG = 660140936
  1417. hum.WalkSpeed = 16
  1418. end
  1419. end
  1420. end)
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429. -------------------------------------------------------
  1430. --Start Animations--
  1431. -------------------------------------------------------
  1432. print("By Makhail07")
  1433. coroutine.resume(coroutine.create(function()
  1434. while wait() do
  1435. if hitfloor ~= nil then
  1436. Hole.CFrame = CF(posfloor)
  1437. end
  1438. Sink(Hole.Position, Hole.Size.X/2.2 * MESH.Scale.X)
  1439. Hole.Color = Color3.new(0,0,0)
  1440. Trail(Hole)
  1441. end
  1442. end))
  1443. while true do
  1444. swait()
  1445. sine = sine + change
  1446. ANIMATE.Parent = nil
  1447. local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1448. IDLEANIMATION:Play()
  1449. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1450. local velderp = root.Velocity.y
  1451. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4 * Player_Size, char)
  1452. if equipped == true or equipped == false then
  1453. if attack == false then
  1454. idle = idle + 1
  1455. else
  1456. idle = 0
  1457. end
  1458. if 1 < root.Velocity.y and hitfloor == nil then
  1459. Anim = "Jump"
  1460. if attack == false then
  1461. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1462. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1463. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1464. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1465. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1466. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1467. end
  1468. elseif -1 > root.Velocity.y and hitfloor == nil then
  1469. Anim = "Fall"
  1470. if attack == false then
  1471. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  1472. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1473. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1474. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.4 - 0.1 * Cos(sine / 20)* Player_Size, -.5* Player_Size) * LHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1475. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(75 + 4.5 * Sin(sine / 20))), 0.1)
  1476. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-75 - 4.5 * Sin(sine / 20))), 0.1)
  1477. end
  1478. elseif torvel < 1 and hitfloor ~= nil then
  1479. Anim = "Idle"
  1480. change = 1
  1481. if attack == false then
  1482. if Mode == "Normal" then
  1483. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1484. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1485. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1486. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1487. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1488. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1489. elseif Mode == "Chase" then
  1490. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1491. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Cos(sine / 12)), Rad(10), Rad(0)), 0.3)
  1492. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1493. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1494. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(5)), 0.1)
  1495. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-5)), 0.1)
  1496. end
  1497. end
  1498. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1499. Anim = "Walk"
  1500. change = 1.1
  1501. if attack == false then
  1502. if Mode == "Normal" then
  1503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  1504. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1505. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1506. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1507. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  1508. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1509. elseif Mode == "Chase" then
  1510. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(17 + 8 * Cos(sine / 7))), 0.15)
  1511. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(-17) - hed.RotVelocity.Y / 15), 0.3)
  1512. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1513. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1514. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(90) , Rad(10 * Cos(sine / 7)), Rad(28) - ra.RotVelocity.Y / 75), 0.1)
  1515. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1516. end
  1517. end
  1518. end
  1519. end
  1520. for _, c in pairs(char:GetDescendants()) do
  1521. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1522. c.Material = "Neon"
  1523. c.Color = Color3.new(0,0,0)
  1524. if c:FindFirstChildOfClass("SpecialMesh") then
  1525. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1526. end
  1527. if c == hed then
  1528. if c:FindFirstChild("face") then
  1529. c.face:remove()
  1530. end
  1531. end
  1532. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1533. c.Color = Color3.new(1,0,0)
  1534. c.Material = "Neon"
  1535. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1536. c:remove()
  1537. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1538. c:remove()
  1539. end
  1540. end
  1541. Music.SoundId = "rbxassetid://"..SONG
  1542. Music.Looped = true
  1543. Music.Pitch = 1
  1544. Music.Volume = 5
  1545. Music.Parent = tors
  1546. Music:Resume()
  1547. if 0 < #Effects then
  1548. for e = 1, #Effects do
  1549. if Effects[e] ~= nil then
  1550. local Thing = Effects[e]
  1551. if Thing ~= nil then
  1552. local Part = Thing[1]
  1553. local Mode = Thing[2]
  1554. local Delay = Thing[3]
  1555. local IncX = Thing[4]
  1556. local IncY = Thing[5]
  1557. local IncZ = Thing[6]
  1558. if 1 >= Thing[1].Transparency then
  1559. if Thing[2] == "Block1" then
  1560. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1561. local Mesh = Thing[1].Mesh
  1562. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1563. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1564. elseif Thing[2] == "Block2" then
  1565. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1566. local Mesh = Thing[7]
  1567. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1568. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1569. elseif Thing[2] == "Block3" then
  1570. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1571. local Mesh = Thing[7]
  1572. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1573. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1574. elseif Thing[2] == "Cylinder" then
  1575. local Mesh = Thing[1].Mesh
  1576. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1577. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1578. elseif Thing[2] == "Blood" then
  1579. local Mesh = Thing[7]
  1580. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1581. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1582. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1583. elseif Thing[2] == "Elec" then
  1584. local Mesh = Thing[1].Mesh
  1585. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1586. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1587. elseif Thing[2] == "Disappear" then
  1588. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1589. elseif Thing[2] == "Shatter" then
  1590. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1591. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1592. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1593. Thing[6] = Thing[6] + Thing[5]
  1594. end
  1595. else
  1596. Part.Parent = nil
  1597. table.remove(Effects, e)
  1598. end
  1599. end
  1600. end
  1601. end
  1602. end
  1603. end
  1604.  
  1605. wait(1/60)
  1606. -- Created by Nebula_Zorua --
  1607. -- Killbot --
  1608. -- A cyborg that got taken over by a virus --
  1609. -- Discord: Nebula the Zorua#6969
  1610. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  1611.  
  1612.  
  1613. --// Initializing \\--
  1614. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  1615. local Plrs = S.Players
  1616. local Plr = Plrs.LocalPlayer
  1617. local Char = Plr.Character
  1618. local Hum = Char:FindFirstChildOfClass'Humanoid'
  1619. local RArm = Char["Right Arm"]
  1620. local LArm = Char["Left Arm"]
  1621. local RLeg = Char["Right Leg"]
  1622. local LLeg = Char["Left Leg"]
  1623. local Root = Char:FindFirstChild'HumanoidRootPart'
  1624. local Torso = Char.Torso
  1625. local Head = Char.Head
  1626. local NeutralAnims = true
  1627. local Attack = false
  1628. local BloodPuddles = {}
  1629. local Effects = {}
  1630. local Debounces = {Debounces={}}
  1631. local Mouse = Plr:GetMouse()
  1632. local Hit = {}
  1633. local Sine = 0
  1634. local Idle = 0
  1635. local Change = 1
  1636. local FLArm,FRArm,FRArmW,FLArmW
  1637. local Stunned = {}
  1638. local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB
  1639. --// Debounce System \\--
  1640.  
  1641.  
  1642. function Debounces:New(name,cooldown)
  1643. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  1644. setmetatable(aaaaa,{__index = Debounces})
  1645. Debounces.Debounces[name] = aaaaa
  1646. return aaaaa
  1647. end
  1648.  
  1649. function Debounces:Use(overrideUsable)
  1650. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1651. if(self.Usable or overrideUsable)then
  1652. self.Usable = false
  1653. self.CoolingDown = true
  1654. local LastUse = time()
  1655. self.LastUse = LastUse
  1656. delay(self.Cooldown or 2,function()
  1657. if(self.LastUse == LastUse)then
  1658. self.CoolingDown = false
  1659. self.Usable = true
  1660. end
  1661. end)
  1662. end
  1663. end
  1664.  
  1665. function Debounces:Get(name)
  1666. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  1667. for i,v in next, Debounces.Debounces do
  1668. if(i == name)then
  1669. return v;
  1670. end
  1671. end
  1672. end
  1673.  
  1674. function Debounces:GetProgressPercentage()
  1675. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1676. if(self.CoolingDown and not self.Usable)then
  1677. return math.max(
  1678. math.floor(
  1679. (
  1680. (time()-self.LastUse)/self.Cooldown or 2
  1681. )*100
  1682. )
  1683. )
  1684. else
  1685. return 100
  1686. end
  1687. end
  1688.  
  1689. --// Shortcut Variables \\--
  1690. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1691. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1692. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1693. 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}
  1694. local R3 = {N=Region3.new}
  1695. local De = S.Debris
  1696. local WS = workspace
  1697. local Lght = S.Lighting
  1698. local RepS = S.ReplicatedStorage
  1699. local IN = Instance.new
  1700.  
  1701. --// Extended ROBLOX tables \\--
  1702. 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})
  1703. --// Customization \\--
  1704.  
  1705. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  1706. local Remove_Hats = false
  1707. local Remove_Clothing = false
  1708. local PlayerSize = 1
  1709. local DamageColor = BrickColor.new'Really red'
  1710. local MusicID = 1030796589
  1711. local MusicPitch = 1
  1712. local BloodID = "rbxassetid://284205403"
  1713. local BloodColor = BrickColor.new'Crimson'
  1714. local BloodMaterial = Enum.Material.SmoothPlastic
  1715.  
  1716. --// Weapon and GUI creation, and Character Customization \\--
  1717.  
  1718. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1719. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1720. local Effects = IN("Folder",Char)
  1721. Effects.Name = "Effects"
  1722.  
  1723. New = function(Object, Parent, Name, Data)
  1724. local Object = Instance.new(Object)
  1725. for Index, Value in pairs(Data or {}) do
  1726. Object[Index] = Value
  1727. end
  1728. Object.Parent = Parent
  1729. Object.Name = Name
  1730. return Object
  1731. end
  1732.  
  1733.  
  1734.  
  1735. CyborgArm = New("Model",Char,"CyborgArm",{})
  1736. Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  1737. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1738. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1739. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1740. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1741. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1742. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1743. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1744. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1745. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1746. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1747. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.16000044, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  1748. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1749. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1750. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1751. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1752. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1753. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1754. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1755. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1756. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1757. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1758. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  1759.  
  1760. for _,v in next, CyborgArm:children() do
  1761. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1762. end
  1763.  
  1764. pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye1.Material = 'Glass' end)
  1765. pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end)
  1766. pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end)
  1767.  
  1768.  
  1769. if(PlayerSize ~= 1)then
  1770. for _,v in next, Char:GetDescendats() do
  1771. if(v:IsA'BasePart')then
  1772. v.Size = v.Size * PlayerSize
  1773. end
  1774. end
  1775. end
  1776.  
  1777. --// Instance Creation Functions \\--
  1778.  
  1779. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  1780. local Sound = IN("Sound")
  1781. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  1782. Sound.Pitch = pitch or 1
  1783. Sound.Volume = volume or 1
  1784. Sound.Looped = looped or false
  1785. if(autoPlay)then
  1786. coroutine.wrap(function()
  1787. repeat wait() until Sound.IsLoaded
  1788. Sound.Playing = autoPlay or false
  1789. end)()
  1790. end
  1791. if(not looped and effect)then
  1792. Sound.Ended:connect(function()
  1793. Sound.Volume = 0
  1794. Sound:destroy()
  1795. end)
  1796. elseif(effect)then
  1797. warn("Sound can't be looped and a sound effect!")
  1798. end
  1799. Sound.Parent =parent or Torso
  1800. return Sound
  1801. end
  1802. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1803. local part = IN("Part")
  1804. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1805. part.Material = material or Enum.Material.SmoothPlastic
  1806. part.TopSurface,part.BottomSurface=10,10
  1807. part.Size = size or V3.N(1,1,1)
  1808. part.CFrame = cframe or CF.N(0,0,0)
  1809. part.CanCollide = cancollide or false
  1810. part.Anchored = anchored or false
  1811. part.Parent = parent or Char
  1812. return part
  1813. end
  1814.  
  1815. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1816. local part = IN("SpecialMesh")
  1817. part.MeshId = meshid or ""
  1818. part.TextureId = textid or ""
  1819. part.Scale = scale or V3.N(1,1,1)
  1820. part.Offset = offset or V3.N(0,0,0)
  1821. part.MeshType = meshtype or Enum.MeshType.Sphere
  1822. part.Parent = parent
  1823. return part
  1824. end
  1825.  
  1826. NewInstance = function(instance,parent,properties)
  1827. local inst = Instance.new(instance,parent)
  1828. if(properties)then
  1829. for i,v in next, properties do
  1830. pcall(function() inst[i] = v end)
  1831. end
  1832. end
  1833. return inst;
  1834. end
  1835.  
  1836. --// Music Creation \\--
  1837. local Music = Sound(Char,MusicID,MusicPitch,3,true,false,true)
  1838. Music.Name = 'Music'
  1839.  
  1840. --// Stop animations \\--
  1841. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1842. v:Stop();
  1843. end
  1844.  
  1845. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1846. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1847.  
  1848. --// Joints \\--
  1849.  
  1850. 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)})
  1851. 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)})
  1852. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  1853. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1854. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1855. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1856. local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm})
  1857.  
  1858. local LSC0 = LS.C0
  1859. local RSC0 = RS.C0
  1860. local NKC0 = NK.C0
  1861. local LHC0 = LH.C0
  1862. local RHC0 = RH.C0
  1863. local RJC0 = RJ.C0
  1864.  
  1865. --// Artificial HB \\--
  1866.  
  1867. local ArtificialHB = IN("BindableEvent", script)
  1868. ArtificialHB.Name = "Heartbeat"
  1869.  
  1870. script:WaitForChild("Heartbeat")
  1871.  
  1872. local tf = 0
  1873. local allowframeloss = false
  1874. local tossremainder = false
  1875. local lastframe = tick()
  1876. local frame = 1/Frame_Speed
  1877. ArtificialHB:Fire()
  1878.  
  1879. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1880. tf = tf + s
  1881. if tf >= frame then
  1882. if allowframeloss then
  1883. script.Heartbeat:Fire()
  1884. lastframe = tick()
  1885. else
  1886. for i = 1, math.floor(tf / frame) do
  1887. ArtificialHB:Fire()
  1888. end
  1889. lastframe = tick()
  1890. end
  1891. if tossremainder then
  1892. tf = 0
  1893. else
  1894. tf = tf - frame * math.floor(tf / frame)
  1895. end
  1896. end
  1897. end)
  1898.  
  1899. function swait(num)
  1900. if num == 0 or num == nil then
  1901. ArtificialHB.Event:wait()
  1902. else
  1903. for i = 0, num do
  1904. ArtificialHB.Event:wait()
  1905. end
  1906. end
  1907. end
  1908.  
  1909.  
  1910. --// Effect Function(s) \\--
  1911.  
  1912. function FakeWeld(p0,p1)
  1913. local attachment0 = Instance.new('Attachment',p0)
  1914. local attachment1 = Instance.new('Attachment',p1)
  1915. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  1916. end
  1917.  
  1918. function Fragment(v)
  1919. v:ClearAllChildren()
  1920. local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
  1921. v.Archivable = true
  1922. -- X
  1923. v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
  1924. v.Name = v.Name.."Fragment"
  1925.  
  1926. local a = v:Clone()
  1927. a.Parent = Fragments
  1928. a.CFrame = CF.N(-.5,1,1) * a.CFrame
  1929. v.CFrame = CF.N(.5,1,1) * v.CFrame
  1930. -- Y
  1931. v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
  1932.  
  1933. local a = v:Clone()
  1934. a.Parent = Fragments
  1935. a.CFrame = CF.N(1,-.5,1) * a.CFrame
  1936. v.CFrame = CF.N(1,.5,1) * v.CFrame
  1937. -- Z
  1938. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  1939.  
  1940. local a = v:Clone()
  1941. a.Parent = Fragments
  1942. a.CFrame = CF.N(1,1,-.5) * a.CFrame
  1943. v.CFrame = CF.N(1,1,.5) * v.CFrame
  1944.  
  1945. v.Parent = Fragments
  1946. return Fragments
  1947. end
  1948.  
  1949. local blood = NewInstance("ParticleEmitter",nil,{
  1950. Color = ColorSequence.new(BloodColor.Color),
  1951. LightEmission=.1,
  1952. LightInfluence=1,
  1953. ZOffset=.9,
  1954. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  1955. Texture="rbxassetid://284205403",
  1956. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1957. Acceleration = V3.N(0,-15,0),
  1958. Lifetime = NumberRange.new(1,2),
  1959. Rate=50,
  1960. Speed = NumberRange.new(5,15),
  1961. SpreadAngle = Vector2.new(15,15),
  1962. Enabled = false,
  1963. EmissionDirection = 'Back',
  1964. })
  1965.  
  1966. local blood2 = NewInstance("ParticleEmitter",nil,{
  1967. Color = ColorSequence.new(BloodColor.Color),
  1968. LightEmission=.1,
  1969. LightInfluence=1,
  1970. ZOffset=.9,
  1971. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  1972. Texture=BloodID,
  1973. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1974. Acceleration = V3.N(0,-125,0),
  1975. Lifetime = NumberRange.new(1,2),
  1976. Rate=50,
  1977. Speed = NumberRange.new(5,15),
  1978. SpreadAngle = Vector2.new(15,15),
  1979. Enabled = false,
  1980. EmissionDirection = 'Back',
  1981. })
  1982.  
  1983. local blood3 = NewInstance("ParticleEmitter",nil,{
  1984. Color = ColorSequence.new(BloodColor.Color),
  1985. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)},
  1986. Texture=BloodID,
  1987. Lifetime = NumberRange.new(.4),
  1988. Rate=50,
  1989. LockedToPart=true,
  1990. Speed = NumberRange.new(0,2),
  1991. Enabled = false,
  1992. })
  1993.  
  1994. function Blood(size,cframe,amount)
  1995. local part = Instance.new("Part",Effects)
  1996. part.Transparency = 1
  1997. part.Size = size
  1998. part.Anchored = true
  1999. part.CanCollide = false
  2000. part.CFrame = cframe
  2001. S.Debris:AddItem(part,6)
  2002. local prtcl = blood:Clone()
  2003. prtcl.Parent = part
  2004. prtcl:Emit(amount)
  2005. return part, prtcl
  2006. end
  2007.  
  2008. function Blood2(size,cframe)
  2009. local part = Instance.new("Part",Effects)
  2010. part.Transparency = 1
  2011. part.Size = size
  2012. part.Anchored = false
  2013. part.CanCollide = false
  2014. part.CFrame = cframe
  2015. local prtcl = blood:Clone()
  2016. prtcl.Enabled = true
  2017. prtcl.Parent = part
  2018. return part, prtcl
  2019. end
  2020.  
  2021. function Blood3(size,cframe,amount)
  2022. local part = Instance.new("Part",Effects)
  2023. part.Transparency = 1
  2024. part.Size = size
  2025. part.Anchored = true
  2026. part.CanCollide = false
  2027. part.CFrame = cframe
  2028. S.Debris:AddItem(part,6)
  2029. local prtcl = blood2:Clone()
  2030. prtcl.Parent = part
  2031. prtcl:Emit(amount)
  2032. return part, prtcl
  2033. end
  2034.  
  2035. function Blood4(size,cframe)
  2036. local part = Instance.new("Part",Effects)
  2037. part.Transparency = 1
  2038. part.Size = size
  2039. part.Anchored = false
  2040. part.CanCollide = false
  2041. part.CFrame = cframe
  2042. local prtcl = blood2:Clone()
  2043. prtcl.Enabled = true
  2044. prtcl.Parent = part
  2045. return part, prtcl
  2046. end
  2047.  
  2048.  
  2049. function BloodDrop(pos,dir,maxsize)
  2050. if(game.PlaceId ~= 843468296)then
  2051. local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false})
  2052. owo.CFrame=CF.N(pos,dir)
  2053. local bv = Instance.new("BodyVelocity",owo)
  2054. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2055. 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
  2056. bv.Name = "MOVE"
  2057. --[[local prt = blood3:Clone()
  2058. prt.Parent = owo
  2059. prt.Enabled = true]]
  2060. delay(.01, function() bv:destroy() end)
  2061. local touch;
  2062. touch = owo.Touched:connect(function(hit)
  2063. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  2064. touch:disconnect()
  2065. BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo)
  2066. owo:destroy()
  2067. end
  2068. end)
  2069. end
  2070. end
  2071.  
  2072. function BloodPuddle(position,range,maxSize,where)
  2073. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  2074. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  2075. ),{where,Char},false,true)
  2076. if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  2077. if(hit.Name == 'BloodPuddle')then
  2078. local dist = (position - hit.Position).magnitude
  2079. 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
  2080. --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  2081. hit.Size = hit.Size + V3.N(.1,0,.1)
  2082. end
  2083. if(hit.Size.Z < 2)then
  2084. pcall(function() hit.Sound:Play() end)
  2085. end
  2086. else
  2087. 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'})
  2088. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  2089. Sound(Puddle,685857471,1,2,false,false,true)
  2090. coroutine.wrap(function()
  2091. swait(75)
  2092. repeat
  2093. swait()
  2094. Puddle.Size = Puddle.Size - V3.N(.02,0,.02)
  2095. until Puddle.Size.Z < 0.51
  2096. Puddle:destroy()
  2097. end)()
  2098. end
  2099. end
  2100. end
  2101.  
  2102. function recurse(root,callback,i)
  2103. i= i or 0
  2104. for _,v in pairs(root:GetChildren()) do
  2105. i = i + 1
  2106. callback(i,v)
  2107.  
  2108. if #v:GetChildren() > 0 then
  2109. i = recurse(v,callback,i)
  2110. end
  2111. end
  2112.  
  2113. return i
  2114. end
  2115.  
  2116. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  2117. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  2118. for i,v in pairs(character:GetChildren()) do
  2119. 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
  2120. v.Size = Vector3.new(1,1,1)
  2121. end
  2122. end
  2123. if part1:FindFirstChildOfClass('Motor6D') then
  2124. part1:FindFirstChildOfClass('Motor6D'):Remove()
  2125. end
  2126. if attachmentName ~= "NeckAttachment" then
  2127. attachmentName = attachmentName.."RigAttachment"
  2128. end
  2129. local constraint = Instance.new(className.."Constraint")
  2130. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2131. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2132. constraint.Name = "RagdollConstraint"..part1.Name
  2133. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  2134. local collidepart = Instance.new('Part',part1)
  2135. collidepart.Size = part1.Size/2
  2136. if string.find(string.lower(part1.Name),"upper") then
  2137. if string.find(string.lower(part1.Name),"leg") then
  2138. collidepart.Size = part1.Size/3
  2139. else
  2140. collidepart.Size = part1.Size/2.5
  2141. end
  2142. end
  2143. collidepart.CanCollide = true
  2144. collidepart.Name = "RagdollJoint"
  2145. collidepart.Anchored = false
  2146. collidepart.Transparency = 1
  2147. collidepart.CFrame = part1.CFrame
  2148. collidepart:BreakJoints()
  2149. local attachment0 = Instance.new('Attachment',part1)
  2150. local attachment1 = Instance.new('Attachment',collidepart)
  2151. if attachment0 and attachment1 then
  2152. local constraint = Instance.new("HingeConstraint")
  2153. constraint.Attachment0 = attachment0
  2154. constraint.Attachment1 = attachment1
  2155. constraint.LimitsEnabled = true
  2156. constraint.UpperAngle = 0
  2157. constraint.LowerAngle = 0
  2158. constraint.Parent = character
  2159. end
  2160. if string.find(string.lower(part1.Name),"upper") then
  2161. if string.find(string.lower(part1.Name),"leg") then
  2162. attachment0.Position = Vector3.new(0,0.01,0)
  2163. else
  2164. attachment0.Position = Vector3.new(0,0.25,0)
  2165. end
  2166. else
  2167. attachment0.Position = Vector3.new(0,-0.1,0)
  2168. end
  2169. end
  2170. for _,propertyData in next,properties or {} do
  2171. constraint[propertyData[1]] = propertyData[2]
  2172. end
  2173. constraint.Parent = character
  2174. return constraint
  2175. end
  2176. end
  2177.  
  2178.  
  2179. function getAttachment0(character,attachmentName)
  2180. for _,child in next,character:children() do
  2181. local attachment = child:FindFirstChild(attachmentName)
  2182. if attachment then
  2183. return attachment
  2184. end
  2185. end
  2186. end
  2187.  
  2188.  
  2189. function Ragdoll(who,half,snapped)
  2190. pcall(function()
  2191. who:breakJoints()
  2192. local who = who
  2193. local hhh = who:FindFirstChildOfClass'Humanoid'
  2194. local t = GetTorso(who)
  2195. pcall(function()
  2196. who.HumanoidRootPart:destroy()
  2197. end)
  2198. hhh.Health = 0
  2199. Stunned[who] = true
  2200. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  2201. 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'
  2202. pcall(function()
  2203. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2204. FakeWeld(RA,CollideRA) end
  2205. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  2206. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2207. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  2208. end)
  2209. pcall(function()
  2210. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  2211. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2212.  
  2213. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  2214.  
  2215. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2216. FakeWeld(LA,CollideLA) end
  2217. end)
  2218. pcall(function()
  2219. if(HD)then
  2220. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2221. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  2222. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2223. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  2224.  
  2225. if(snapped)then
  2226. NJ.Orientation = V3.N(0,90,0)
  2227. end
  2228. if(hhh.Health > 0)then
  2229. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2230. FakeWeld(HD,CollideHD)
  2231. end
  2232. end
  2233. end)
  2234. if(not half)then
  2235. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  2236. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2237. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  2238. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2239. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  2240. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  2241. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2242. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2243.  
  2244. FakeWeld(RL,CollideRL)
  2245. FakeWeld(LL,CollideLL) end
  2246. end
  2247. for _,v in next, who:children() do
  2248. if(v:IsA'BasePart')then
  2249. v.CanCollide = true
  2250. end
  2251. end
  2252. else
  2253. local character = who
  2254.  
  2255. if(half)then
  2256. pcall(function()
  2257. character.UpperTorso.WaistRigAttachment:Destroy()
  2258. end)
  2259. end
  2260.  
  2261. local handProperties = {
  2262. {"LimitsEnabled", true};
  2263. {"UpperAngle",0};
  2264. {"LowerAngle",0};
  2265. }
  2266. local footProperties = {
  2267. {"LimitsEnabled", true};
  2268. {"UpperAngle", 15};
  2269. {"LowerAngle", -45};
  2270. }
  2271. local shinProperties = {
  2272. {"LimitsEnabled", true};
  2273. {"UpperAngle", 0};
  2274. {"LowerAngle", -75};
  2275. }
  2276. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  2277. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2278. end
  2279. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  2280. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  2281. end
  2282. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  2283. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2284. end
  2285. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  2286. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2287. end
  2288. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  2289. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  2290. end
  2291. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  2292. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2293. end
  2294. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  2295. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2296. end
  2297. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  2298. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2299. end
  2300. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  2301. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2302. end
  2303. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  2304. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2305. end
  2306. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  2307. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2308. end
  2309. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  2310. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2311. end
  2312. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  2313. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2314. {"LimitsEnabled",true};
  2315. {"UpperAngle",5};
  2316. {"Radius",5};
  2317. })
  2318. end
  2319. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  2320. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  2321. {"LimitsEnabled",true};
  2322. {"UpperAngle",50};
  2323. {"LowerAngle",-50};
  2324. })
  2325. end
  2326. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  2327. {"LimitsEnabled",true};
  2328. {"UpperAngle",50};
  2329. {"LowerAngle",-50};
  2330. })
  2331.  
  2332. recurse(character, function(_,v)
  2333. if v:IsA("Attachment") then
  2334. v.Axis = Vector3.new(0, 1, 0)
  2335. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2336. v.Rotation = Vector3.new(0, 0, 0)
  2337. if(v.Parent == character.Head and snapped)then
  2338. v.Orientation = V3.N(0,-90,0)
  2339. end
  2340. end
  2341. end)
  2342. end
  2343. end)
  2344. end
  2345.  
  2346.  
  2347. function Bezier(startpos, pos2, pos3, endpos, t)
  2348. local A = startpos:lerp(pos2, t)
  2349. local B = pos2:lerp(pos3, t)
  2350. local C = pos3:lerp(endpos, t)
  2351. local lerp1 = A:lerp(B, t)
  2352. local lerp2 = B:lerp(C, t)
  2353. local cubic = lerp1:lerp(lerp2, t)
  2354. return cubic
  2355. end
  2356.  
  2357. function Effect(data)
  2358. local FX = data.Effect or 'Resize-AndFade'
  2359. local Parent = data.Parent or Effects
  2360. local Color = data.Color or C3.N(0,0,0)
  2361. local Size = data.Size or V3.N(1,1,1)
  2362. local MoveDir = data.MoveDirection or nil
  2363. local MeshData = data.Mesh or nil
  2364. local SndData = data.Sound or nil
  2365. local Frames = data.Frames or 45
  2366. local Manual = data.Manual or nil
  2367. local Material = data.Material or nil
  2368. local CFra = data.CFrame or Torso.CFrame
  2369. local Settings = data.FXSettings or {}
  2370. local Snd,Prt,Msh;
  2371. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  2372. Prt = Manual
  2373. else
  2374. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  2375. end
  2376. if(typeof(MeshData) == 'table')then
  2377. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  2378. elseif(typeof(MeshData) == 'Instance')then
  2379. Msh = MeshData:Clone()
  2380. Msh.Parent = Prt
  2381. end
  2382. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  2383. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  2384. end
  2385. if(Snd)then
  2386. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  2387. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  2388. end
  2389. local MoveSpeed = nil;
  2390. if(MoveDir)then
  2391. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  2392. end
  2393. local Inc = M.RNG()-M.RNG()
  2394. local Thingie = 0
  2395. local Thingie2 = M.RNG(50,100)/100
  2396.  
  2397. coroutine.wrap(function()
  2398. if(FX ~= 'Arc')then
  2399. for i = 1, Frames do
  2400. if(FX == 'Resize-AndFade')then
  2401. if(not Settings.EndSize)then
  2402. Settings.EndSize = V3.N(0,0,0)
  2403. end
  2404. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  2405. if(Settings.EndIsIncrement)then
  2406. Prt.Size = Prt.Size - Settings.EndSize
  2407. else
  2408. Prt.Size = Prt.Size - grow/Frames
  2409. end
  2410. Prt.Transparency = (i/Frames)
  2411. elseif(FX == 'Resize+AndFade')then
  2412. if(not Settings.EndSize)then
  2413. Settings.EndSize = Size*2
  2414. end
  2415. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  2416. if(Settings.EndIsIncrement)then
  2417. Prt.Size = Prt.Size + Settings.EndSize
  2418. else
  2419. Prt.Size = Prt.Size + grow/Frames
  2420. end
  2421. Prt.Transparency = (i/Frames)
  2422. elseif(FX == 'Fade')then
  2423. Prt.Transparency = (i/Frames)
  2424. end
  2425. if(Settings.RandomizeCFrame)then
  2426. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  2427. end
  2428. if(MoveDir and MoveSpeed)then
  2429. local Orientation = Prt.Orientation
  2430. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  2431. Prt.Orientation = Orientation
  2432. end
  2433. if(swait and typeof(swait) == 'function')then
  2434. swait()
  2435. else
  2436. wait()
  2437. end
  2438. end
  2439. Prt:destroy()
  2440. else
  2441. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  2442. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  2443. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2444. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2445. assert(start ~= nil,"You need to specify a start point!")
  2446. assert(endP ~= nil,"You need to specify an end point!")
  2447. for i = 0, 1, Settings.Speed or 0.01 do
  2448. if(Settings.Home)then
  2449. endP = Settings.Home.CFrame
  2450. end
  2451. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  2452. if(swait and typeof(swait) == 'function')then
  2453. swait()
  2454. else
  2455. wait()
  2456. end
  2457. end
  2458. if(Settings.RemoveOnGoal)then
  2459. Prt:destroy()
  2460. end
  2461. end
  2462. end)()
  2463. return Prt,Msh,Snd
  2464. end
  2465.  
  2466.  
  2467. function SoulSteal(character)
  2468. local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart')
  2469. print(torso)
  2470. if(torso and torso:IsA'BasePart')then
  2471. local Model = Instance.new("Model",Effects)
  2472. Model.Name = character.Name.."'s Soul"
  2473. character:BreakJoints()
  2474. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  2475. Soul.Name = 'Head'
  2476. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  2477. Effect{
  2478. Effect="Arc",
  2479. Manual = Soul,
  2480. FXSettings={
  2481. Start=torso.CFrame,
  2482. Home = Torso,
  2483. RemoveOnGoal = true,
  2484. }
  2485. }
  2486. local lastPoint = Soul.CFrame.p
  2487.  
  2488. for i = 0, 1, 0.01 do
  2489. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  2490. local mag = (lastPoint - Soul.Position).magnitude
  2491. Effect{
  2492. Effect = "Fade",
  2493. CFrame = point * CF.N(0, mag/2, 0),
  2494. Size = V3.N(.5,mag+.5,.5),
  2495. Color = Soul.BrickColor
  2496. }
  2497. lastPoint = Soul.CFrame.p
  2498. swait()
  2499. end
  2500. for i = 1, 5 do
  2501. Effect{
  2502. Effect="Fade",
  2503. Color = BrickColor.new'Really red',
  2504. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  2505. }
  2506. end
  2507. end
  2508. end
  2509.  
  2510. --// Other Functions \\ --
  2511.  
  2512. function getRegion(point,range,ignore)
  2513. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  2514. end
  2515.  
  2516. function clerp(startCF,endCF,alpha)
  2517. return startCF:lerp(endCF, alpha)
  2518. end
  2519.  
  2520. function GetTorso(char)
  2521. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  2522. end
  2523.  
  2524.  
  2525.  
  2526. function ShowDamage(Pos, Text, Time, Color)
  2527. coroutine.wrap(function()
  2528. local Rate = (1 / 30)
  2529. local Pos = (Pos or Vector3.new(0, 0, 0))
  2530. local Text = (Text or "")
  2531. local Time = (Time or 2)
  2532. local Color = (Color or Color3.new(1, 0, 1))
  2533. local EffectPart = NewInstance("Part",Effects,{
  2534. Material=Enum.Material.SmoothPlastic,
  2535. RArmlectance = 0,
  2536. Transparency = 1,
  2537. BrickColor = BrickColor.new(Color),
  2538. Name = "Effect",
  2539. Size = Vector3.new(0,0,0),
  2540. Anchored = true
  2541. })
  2542. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  2543. Size = UDim2.new(1.25, 0, 1.25, 0),
  2544. Adornee = EffectPart,
  2545. })
  2546. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  2547. BackgroundTransparency = 1,
  2548. Size = UDim2.new(1, 0, 1, 0),
  2549. Text = Text,
  2550. Font = "Arial",
  2551. TextColor3 = Color,
  2552. TextStrokeColor3 = Color3.new(0,0,0),
  2553. TextStrokeTransparency=0,
  2554. TextScaled = true,
  2555. })
  2556. game.Debris:AddItem(EffectPart, (Time))
  2557. EffectPart.Parent = game:GetService("Workspace")
  2558. delay(0, function()
  2559. local Frames = (Time / Rate)
  2560. for Frame = 1, Frames do
  2561. wait(Rate)
  2562. local Percent = (Frame / Frames)
  2563. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2564. TextLabel.TextTransparency = Percent
  2565. TextLabel.TextStrokeTransparency = Percent
  2566. end
  2567. if EffectPart and EffectPart.Parent then
  2568. EffectPart:Destroy()
  2569. end
  2570. end) end)()
  2571. end
  2572.  
  2573.  
  2574. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  2575. if(who)then
  2576. local hum = who:FindFirstChildOfClass'Humanoid'
  2577. local Damage = M.RNG(minDam,maxDam)
  2578. local canHit = true
  2579. if(hum)then
  2580. for _, p in pairs(Hit) do
  2581. if p[1] == hum then
  2582. if(time() - p[2] < 0.1) then
  2583. canHit = false
  2584. else
  2585. Hit[_] = nil
  2586. end
  2587. end
  2588. end
  2589. if(canHit)then
  2590. if(hum.Health >= math.huge)then
  2591. who:BreakJoints()
  2592. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2593. 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))
  2594. end
  2595. else
  2596. local player = S.Players:GetPlayerFromCharacter(who)
  2597. if(Type == "Fire")then
  2598. --idk..
  2599. else
  2600. local c = Instance.new("ObjectValue",hum)
  2601. c.Name = "creator"
  2602. c.Value = Plr
  2603. game:service'Debris':AddItem(c,0.35)
  2604. if(M.RNG(1,100) <= (critChance or 0))then
  2605. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2606. 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)
  2607. end
  2608. hum.Health = hum.Health - Damage*(critMult or 2)
  2609. else
  2610. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2611. 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)
  2612. end
  2613. hum.Health = hum.Health - Damage
  2614. end
  2615. if(Type == 'Knockback' and GetTorso(who))then
  2616. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  2617. local body = NewInstance('BodyVelocity',GetTorso(who),{
  2618. P = 500,
  2619. maxForce = V3.N(math.huge,0,math.huge),
  2620. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  2621. })
  2622. game:service'Debris':AddItem(body,.5)
  2623. elseif(Type == 'Knockdown' and GetTorso(who))then
  2624. local rek = GetTorso(who)
  2625. print(rek)
  2626. hum.PlatformStand = true
  2627. delay(1,function()
  2628. hum.PlatformStand = false
  2629. end)
  2630. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  2631. local bodvol = NewInstance("BodyVelocity",rek,{
  2632. velocity = angle * Knock,
  2633. P = 5000,
  2634. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2635. })
  2636. local rl = NewInstance("BodyAngularVelocity",rek,{
  2637. P = 3000,
  2638. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2639. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2640. })
  2641. game:GetService("Debris"):AddItem(bodvol, .5)
  2642. game:GetService("Debris"):AddItem(rl, .5)
  2643. end
  2644. end
  2645. end
  2646. end
  2647. table.insert(Hit,{hum,time()})
  2648. end
  2649. end
  2650. end
  2651.  
  2652. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  2653. for _,v in next, getRegion(where,range,{Char}) do
  2654. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  2655. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  2656. end
  2657. end
  2658. end
  2659.  
  2660. function AOEFunction(where,range,callback)
  2661. for _,v in next, getRegion(where,range,{Char}) do
  2662. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  2663. callback(v.Parent)
  2664. end
  2665. end
  2666. end
  2667.  
  2668. function ClosestHumanoid(pos,range)
  2669. local mag,closest = math.huge;
  2670. for _,v in next, getRegion(pos,range or 10,{Char}) do
  2671. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  2672. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  2673. mag = (v.CFrame.p-pos).magnitude
  2674. closest = hum
  2675. end
  2676. end
  2677. return closest,(closest and GetTorso(closest.Parent) or nil)
  2678. end
  2679.  
  2680. function AOEHeal(where,range,amount)
  2681. local healed = {}
  2682. for _,v in next, getRegion(where,range,{Char}) do
  2683. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  2684. if(hum and not healed[hum])then
  2685. hum.Health = hum.Health + amount
  2686. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  2687. 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)
  2688. end
  2689. end
  2690. end
  2691. end
  2692. --// Attack Function \\--
  2693.  
  2694. function Equip_Sawblade()
  2695. for i = 1, 5 do
  2696. Effect{
  2697. Effect='Resize+AndFade',
  2698. Color = BrickColor.new'Really red',
  2699. Material = Enum.Material.Neon,
  2700. Size=V3.N(3.5,3.5,3.5),
  2701. CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  2702. FXSettings={
  2703. EndSize=V3.N(.05,.05,.05),
  2704. EndIsIncrement=true,
  2705.  
  2706. }
  2707. }
  2708. end
  2709. local prt = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(),false,false)
  2710. prt.Transparency = .5
  2711. local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,3),V3.N())
  2712. local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)})
  2713. return prt,weld
  2714. end
  2715.  
  2716. function The_Necc()
  2717. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2718. if(torso)then
  2719. local who = torso.Parent
  2720. Attack = true
  2721. NeutralAnims = false
  2722. who.Parent = Char
  2723. local oRoot
  2724. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  2725. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  2726. for i = 0, 4, 0.1 do
  2727. swait()
  2728. humanoid.PlatformStand = true
  2729. local Alpha = .15
  2730. 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)
  2731. 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)
  2732. 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)
  2733. 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)
  2734. 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)
  2735. 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)
  2736. end
  2737. gWeld:destroy()
  2738. if(who:FindFirstChild'Head')then
  2739. local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false)
  2740. s:Play()
  2741. s.Ended:connect(function() s:Destroy() end)
  2742. end
  2743. who.Parent = workspace
  2744. humanoid.Health = 0
  2745. Ragdoll(who,false,true)
  2746. for i = 0, 1.5, 0.1 do
  2747. swait()
  2748. humanoid.PlatformStand = true
  2749. local Alpha = .3
  2750. 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)
  2751. 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)
  2752. 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)
  2753. 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)
  2754. 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)
  2755. 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)
  2756. end
  2757. Attack = false
  2758. NeutralAnims = true
  2759. end
  2760. end
  2761.  
  2762. function Hands_Off()
  2763. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  2764.  
  2765. if(torso)then
  2766. local who = torso.Parent
  2767. local doAttack = false
  2768. Instance.AllChildren(who,function(v)
  2769. if(v.Name:lower():find"arm")then
  2770. doAttack = true
  2771. end
  2772. end, true)
  2773. if(not doAttack)then return end
  2774. Hum.WalkSpeed = 0
  2775. Hum.JumpPower = 0
  2776. Attack = true
  2777. NeutralAnims = false
  2778. who.Parent = Char
  2779. local oRoot
  2780. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  2781. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  2782. for i = 0, 4, 0.1 do
  2783. swait()
  2784. humanoid.PlatformStand = true
  2785. local Alpha = .15
  2786. 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)
  2787. 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)
  2788. 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)
  2789. 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)
  2790. 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)
  2791. 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)
  2792. end
  2793. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor
  2794. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor
  2795. Sound(torso,1093102664,.85,5,false,true,true)
  2796. Sound(torso,429400881,1,1,false,true,true)
  2797. FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2798. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  2799. FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  2800. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  2801. FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  2802. FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  2803. Instance.AllChildren(who,function(v)
  2804. if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then
  2805. v:destroy()
  2806. end
  2807. end, true)
  2808. if(not VoidSB)then
  2809. coroutine.wrap(function()
  2810. repeat swait()
  2811. BloodDrop(torso.CFrame * CF.N(-.5,.5,0).p,torso.CFrame * CF.N(-1,.5,0).p,15)
  2812. BloodDrop(torso.CFrame * CF.N(.5,.5,0).p,torso.CFrame * CF.N(1,.5,0).p,15)
  2813. humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  2814. humanoid.Health = 0
  2815. end)()
  2816. else
  2817. coroutine.wrap(function()
  2818. repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  2819. humanoid.Health = 0
  2820. end)()
  2821.  
  2822. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  2823. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  2824. prt1.Parent = torso;
  2825. prt2.Parent = torso;
  2826. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)})
  2827. local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)})
  2828. end
  2829.  
  2830. humanoid.Died:connect(function()
  2831. Ragdoll(who)
  2832. end)
  2833. who.Parent = workspace
  2834.  
  2835. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  2836. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  2837. prt1.Parent = FRArm;
  2838. prt2.Parent = FLArm;
  2839. local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)})
  2840. local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)})
  2841. gWeld:destroy()
  2842. humanoid.PlatformStand = false
  2843. if(oRoot)then
  2844. oRoot.Parent = who
  2845. if(who:FindFirstChild('RootJoint',true))then
  2846. oRoot.RootJoint.Part0 = oRoot
  2847. oRoot.RootJoint.Part1 = torso
  2848. else
  2849. humanoid:BuildRigFromAttachments()
  2850. end
  2851. end
  2852.  
  2853.  
  2854. for i = 0, 3, 0.1 do
  2855. swait()
  2856. local Alpha = .15
  2857. 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)
  2858. 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)
  2859. 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)
  2860. 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)
  2861. 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)
  2862. 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)
  2863. end
  2864. Hum.WalkSpeed = 16
  2865. Hum.JumpPower = 50
  2866. Attack = false
  2867. NeutralAnims = true
  2868. end
  2869. end
  2870. function ScrewMe()
  2871. Attack = true
  2872. NeutralAnims = false
  2873. for i = 0, 2, 0.1 do
  2874. swait()
  2875. local Alpha = .15
  2876. 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)
  2877. 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)
  2878. 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)
  2879. 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)
  2880. 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)
  2881. 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)
  2882. end
  2883. local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false)
  2884. local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N())
  2885. local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)})
  2886. for i = 1, 3 do
  2887. for i = 0, 2, 0.1 do
  2888. swait()
  2889. local Alpha = .15
  2890. 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)
  2891. 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)
  2892. 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)
  2893. 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)
  2894. 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)
  2895. 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)
  2896. 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)
  2897. end
  2898. for i = 0, 2, 0.1 do
  2899. swait()
  2900. local Alpha = .15
  2901. 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)
  2902. 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)
  2903. 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)
  2904. 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)
  2905. 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)
  2906. 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)
  2907. 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)
  2908. end
  2909. end
  2910. for i = 0, 2, 0.1 do
  2911. swait()
  2912. local Alpha = .15
  2913. 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)
  2914. 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)
  2915. 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)
  2916. 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)
  2917. 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)
  2918. 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)
  2919. end
  2920. screwdriver:destroy()
  2921. Attack = false
  2922. NeutralAnims = true
  2923. end
  2924. function SliceYou()
  2925. Attack = true
  2926. NeutralAnims = false
  2927. local saw,weld = Equip_Sawblade()
  2928. for i = 0, 2, 0.1 do
  2929. swait()
  2930. local Alpha = .15
  2931. 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)
  2932. 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)
  2933. 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)
  2934. 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)
  2935. 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)
  2936. 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)
  2937. end
  2938. for i = 0, 3, 0.1 do
  2939. swait()
  2940. local Alpha = .3
  2941. 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)
  2942. 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)
  2943. 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)
  2944. 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)
  2945. 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)
  2946. 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)
  2947. end
  2948. local sound = Sound(Torso,367720620,false,false,false)
  2949. sound:Play()
  2950. for i = 0, 6, .1 do
  2951. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  2952. swait()
  2953. end
  2954. for i = 0, 2, .1 do
  2955. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  2956. swait()
  2957. end
  2958. sound:Play()
  2959. for i = 0, 1, .1 do
  2960. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  2961. swait()
  2962. end
  2963. sound:Play()
  2964. for i = 0, 5, .1 do
  2965. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3)
  2966. swait()
  2967. end
  2968. for i = 1, 5 do
  2969. Effect{
  2970. Effect='Resize+AndFade',
  2971. Color = BrickColor.new'Really red',
  2972. Material = Enum.Material.Neon,
  2973. Size=V3.N(3.5,3.5,3.5),
  2974. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  2975. FXSettings={
  2976. EndSize=V3.N(.05,.05,.05),
  2977. EndIsIncrement=true,
  2978.  
  2979. }
  2980. }
  2981. end
  2982. saw:destroy()
  2983. Attack = false
  2984. NeutralAnims = true
  2985. end
  2986. function Taunt()
  2987. local tauntFuncs = {SliceYou,ScrewMe}
  2988. local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)]
  2989. taunt()
  2990. end
  2991. function Aids()
  2992. Music.Playing = false
  2993. local DabSounds = {420701444,420701460,420701487}
  2994. local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false)
  2995. repeat swait() until DabSnd.IsLoaded
  2996. DabSnd:Play()
  2997. DabSnd.Ended:connect(function()DabSnd:destroy()end)
  2998. Attack = true
  2999. NeutralAnims = false
  3000. local a = 0
  3001. for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do
  3002. a = a + 1
  3003. swait()
  3004. local Alpha = .3
  3005. 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)
  3006. 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)
  3007. 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)
  3008. 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)
  3009. 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)
  3010. 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)
  3011. end
  3012. Music.Playing = true
  3013. Attack = false
  3014. NeutralAnims = true
  3015. end
  3016.  
  3017. function OnceWas(who)
  3018. for _,v in next, who:children() do
  3019. if(v:IsA'BasePart')then
  3020. Effect{
  3021. Parent=Effects,
  3022. Effect='Fade',
  3023. Color = BrickColor.new'Crimson',
  3024. Material = Enum.Material.Glass,
  3025. Size = v.Size,
  3026. CFrame=v.CFrame,
  3027. Frames = 90,
  3028. }
  3029. end
  3030. end
  3031. end
  3032.  
  3033. function Teleport(where)
  3034. OnceWas(Char)
  3035. Sound(Root,235097614,3,1,false,true,true)
  3036. Sound(Root,75356820,2,1,false,true,true)
  3037. Root.CFrame = CF.N(where.p)
  3038. OnceWas(Char)
  3039. end
  3040.  
  3041. function Dash()
  3042. Attack = true
  3043. Sound(Root,235097614,3,1,false,true,true)
  3044. Sound(Root,75356820,2,1,false,true,true)
  3045. for i = 1, 5 do
  3046. OnceWas(Char)
  3047. Root.CFrame = Root.CFrame*CF.N(0,0,-5)
  3048. swait()
  3049. end
  3050. Attack = false
  3051. end
  3052.  
  3053. function Shriek()
  3054. Attack = true
  3055. NeutralAnims = false
  3056. local scream = Sound(Head,198165368,.5,10,false,false,false)
  3057. local i = 0
  3058. scream:Play()
  3059. while scream.Playing do
  3060. i = i + 1
  3061. swait()
  3062. coroutine.wrap(function()
  3063. AOEFunction(Head.Position,30,function(who)
  3064. local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head'
  3065. if(h and hd and h.Health > 0)then
  3066. h.Health = 0
  3067. Sound(hd,429400881,1,1,false,true,true)
  3068. Ragdoll(who)
  3069. swait()
  3070. local frags = Fragment(hd)
  3071. for _,v in next, frags:children() do
  3072. v.BrickColor = BloodColor
  3073. v.Material = BloodMaterial
  3074. v.CanCollide = true
  3075. v.Anchored = false
  3076. end
  3077. hd:destroy()
  3078. end
  3079. end)
  3080. end)()
  3081. local Alpha = .15
  3082. 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)
  3083. 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)
  3084. 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)
  3085. 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)
  3086. 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)
  3087. 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)
  3088. end
  3089. Attack = false
  3090. NeutralAnims = true
  3091. end
  3092.  
  3093. function SawMeDaddy()
  3094. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  3095. if(torso)then
  3096. Attack = true
  3097. NeutralAnims = false
  3098. local who = torso.Parent
  3099. who.Parent = Char
  3100. Hum.WalkSpeed = 0
  3101. Hum.JumpPower = 0
  3102. humanoid.WalkSpeed = 0
  3103. humanoid.JumpPower = 0
  3104. local saw,weld = Equip_Sawblade()
  3105. pcall(function() who.HumanoidRootPart:destroy() end)
  3106. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)})
  3107. for i = 0, 6, 0.1 do
  3108. swait()
  3109. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  3110. local Alpha = .15
  3111. 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)
  3112. 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)
  3113. 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)
  3114. 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)
  3115. 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)
  3116. 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)
  3117. end
  3118. Sound(Torso,367720620,1,1,false,true,true)
  3119. coroutine.wrap(function()
  3120. repeat swait()
  3121. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3)
  3122. until not saw.Parent
  3123. end)()
  3124. swait(60)
  3125. local slicing = Sound(saw,1013673726,1,1,true,false,true)
  3126. Sound(torso,429400881,1,1,false,true,true)
  3127. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  3128. prt1.Parent = torso;
  3129. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)})
  3130. for i = 0, .3, 0.001 do
  3131. swait()
  3132.  
  3133. humanoid.Health = humanoid.Health - .5
  3134. if(humanoid.Health <= 0)then
  3135. gWeld:destroy()
  3136. Sound(torso,429400881,1,1,false,true,true)
  3137. break
  3138. end
  3139. local Alpha = i
  3140. 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)
  3141. 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)
  3142. 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)
  3143. 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)
  3144. 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)
  3145. 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)
  3146. end
  3147. humanoid.Health = 0
  3148. who.Parent = workspace
  3149. Ragdoll(who)
  3150. slicing:destroy()
  3151. for i = 1, 5 do
  3152. Effect{
  3153. Effect='Resize+AndFade',
  3154. Color = BrickColor.new'Really red',
  3155. Material = Enum.Material.Neon,
  3156. Size=V3.N(3.5,3.5,3.5),
  3157. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  3158. FXSettings={
  3159. EndSize=V3.N(.05,.05,.05),
  3160. EndIsIncrement=true,
  3161.  
  3162. }
  3163. }
  3164. end
  3165. Hum.WalkSpeed = 16
  3166. Hum.JumpPower = 50
  3167. saw:destroy()
  3168. Attack = false
  3169. NeutralAnims = true
  3170. end
  3171. end
  3172. function The_End()
  3173. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  3174.  
  3175. if(torso)then
  3176. Attack = true
  3177. NeutralAnims = false
  3178. local who = torso.Parent
  3179. Hum.WalkSpeed = 0
  3180. Hum.JumpPower = 0
  3181. humanoid.WalkSpeed = 0
  3182. humanoid.JumpPower = 0
  3183. who.Parent = Char
  3184. pcall(function() who.HumanoidRootPart:destroy() end)
  3185. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
  3186. for i = 0, 2, 0.1 do
  3187. swait()
  3188. local Alpha = .3
  3189. 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)
  3190. 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)
  3191. 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)
  3192. 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)
  3193. 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)
  3194. 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)
  3195. end
  3196. Sound(Torso,200065377,1.3,4,false,true,true)
  3197. for i = 0, 1, 0.1 do
  3198. swait()
  3199. local Alpha = .2
  3200. 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)
  3201. 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)
  3202. 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)
  3203. 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)
  3204. 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)
  3205. 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)
  3206. end
  3207. gWeld:destroy()
  3208. 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))})
  3209. for i = 0, 1, 0.1 do
  3210. swait()
  3211. local Alpha = .3
  3212. humanoid.PlatformStand = true
  3213. 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)
  3214. 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)
  3215. 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)
  3216. 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)
  3217. 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)
  3218. 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)
  3219. end
  3220. gWeld:destroy()
  3221. 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))})
  3222. for i = 0, 6, 0.1 do
  3223. swait()
  3224. local Alpha = .3
  3225. humanoid.PlatformStand = true
  3226. 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)
  3227. 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)
  3228. 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)
  3229. 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)
  3230. 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)
  3231. 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)
  3232. end
  3233. Sound(torso,1093102664,.85,5,false,true,true)
  3234. Sound(torso,429400881,1,1,false,true,true)
  3235. gWeld:destroy()
  3236. Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
  3237. humanoid.Health = 0
  3238. for _,v in next, who:children() do
  3239. if(v:IsA'LocalScript' or v:IsA'Script')then
  3240. v.Disabled = true
  3241. v:destroy()
  3242. end
  3243. end
  3244. Ragdoll(who,true)
  3245.  
  3246.  
  3247. if(not VoidSB)then
  3248. coroutine.wrap(function()
  3249. repeat swait()
  3250. BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
  3251. until not who or not who.Parent
  3252. end)()
  3253. coroutine.wrap(function()
  3254. local LT = who:FindFirstChild'LowerTorso'
  3255. if(LT)then
  3256. repeat swait()
  3257. BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
  3258. until not who or not who.Parent
  3259. end
  3260. end)()
  3261. end
  3262.  
  3263. for i = 0, 1, 0.1 do
  3264. swait()
  3265. local Alpha = .3
  3266. humanoid.PlatformStand = true
  3267. 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)
  3268. 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)
  3269. 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)
  3270. 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)
  3271. 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)
  3272. 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)
  3273. end
  3274. for i = 0, 4, 0.1 do
  3275. swait()
  3276. local Alpha = .3
  3277. 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)
  3278. 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)
  3279. 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)
  3280. 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)
  3281. 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)
  3282. 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)
  3283. end
  3284. who.Parent = workspace
  3285. Attack = false
  3286. NeutralAnims = true
  3287. Hum.WalkSpeed = 16
  3288. Hum.JumpPower = 50
  3289. end
  3290. end
  3291.  
  3292. function ThrowArms()
  3293. Attack = true
  3294. NeutralAnims = false
  3295. for i = 0, 3, 0.1 do
  3296. swait()
  3297. local Alpha = .15
  3298. 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)
  3299. 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)
  3300. 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)
  3301. 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)
  3302. 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)
  3303. 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)
  3304. end
  3305. Sound()
  3306. FLArmW:destroy()
  3307. FRArmW:destroy()
  3308. local BV1 = NewInstance("BodyVelocity", FRArm, {
  3309. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  3310. P = 5000,
  3311. maxForce = Vector3.new(8000, 8000, 8000),
  3312. })
  3313. local BV2 = NewInstance("BodyVelocity", FLArm, {
  3314. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  3315. P = 5000,
  3316. maxForce = Vector3.new(8000, 8000, 8000),
  3317. })
  3318. Sound(Torso,541909763,.8,5,false,true,true)
  3319. S.Debris:AddItem(BV1, 0.05)
  3320. S.Debris:AddItem(BV2, 0.05)
  3321. FRArm.CanCollide = true
  3322. FLArm.CanCollide = true
  3323. S.Debris:AddItem(FRArm, 5)
  3324. S.Debris:AddItem(FLArm, 5)
  3325. FRArm = nil
  3326. FLArm = nil
  3327. for i = 0, 1, 0.1 do
  3328. swait()
  3329. local Alpha = .3
  3330. 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)
  3331. 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)
  3332. 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)
  3333. 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)
  3334. 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)
  3335. 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)
  3336. end
  3337. Attack = false
  3338. NeutralAnims = true
  3339. end
  3340. Mouse.KeyDown:connect(function(k)
  3341. if(Attack)then return end
  3342. if(k == 'q')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end
  3343. if(k == 'e')then Dash() end
  3344. if(not FLArm and not FRArm)then
  3345. if(k == 'z')then The_Necc() end
  3346. if(k == 'x')then The_End() end
  3347. if(k == 'c')then Hands_Off() end
  3348. if(k == 'v')then SawMeDaddy() end
  3349. if(k == 'b')then Shriek() end
  3350. if(k == 't')then Taunt() end
  3351. end
  3352. end)
  3353.  
  3354. Mouse.Button1Down:connect(function()
  3355. if(Attack)then return end
  3356. if(FLArm and FRArm)then
  3357. ThrowArms()
  3358. end
  3359. end)
  3360. Plr.Chatted:connect(function(m)
  3361. if(m == '/e aeiou')then Sound(Torso,221792881,1,5,false,true,true) end
  3362. if(m == '/e earthquake')then Sound(Torso,1205111204,1,5,false,true,true) end
  3363. if(Attack)then return end
  3364. if(m == '/e dab')then Aids() end
  3365. end)
  3366.  
  3367. --// Wrap it all up \\--
  3368.  
  3369. while true do
  3370. swait()
  3371. if(not Music or not Music.Parent)then
  3372. local a = Music.TimePosition
  3373. Music = Sound(Char,MusicID,MusicPitch,2,true,false,true)
  3374. Music.Name = 'Music'
  3375. Music.TimePosition = a
  3376. end
  3377. if(Music.Volume ~= 2)then Music.Volume = 2 end
  3378. RArm.Transparency = 1
  3379. Sine = Sine + Change
  3380. 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)
  3381. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  3382. 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")
  3383. if(State == 'Walk')then
  3384. local wsVal = 7 / (Hum.WalkSpeed/16)
  3385. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  3386. --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)
  3387. --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)--
  3388. 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)
  3389. 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)
  3390. else
  3391. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
  3392. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
  3393. end
  3394. if(Idle > Frame_Speed*10)then
  3395. --idk i'll do something
  3396. end
  3397. if(NeutralAnims and not Attack and State == 'Idle')then
  3398. Idle = Idle + 1
  3399. else
  3400. Idle = 0
  3401. end
  3402. for v,_ in next, Stunned do
  3403. if(v.Parent)then
  3404. local h = v:FindFirstChildOfClass'Humanoid'
  3405. for _,c in next, v:children() do
  3406. if(c:IsA'Script' or c:IsA'LocalScript')then
  3407. c.Disabled = false
  3408. end
  3409. end
  3410. if(h)then
  3411. h.Name = 'no escape lol'
  3412. h.PlatformStand = true
  3413. else
  3414. Stunned[v] = nil
  3415. end
  3416. else
  3417. Stunned[v] = nil
  3418. end
  3419. end
  3420. if(NeutralAnims)then
  3421. if(State == 'Idle')then
  3422. Change = 1
  3423. local Alpha = .3
  3424. 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)
  3425. 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)
  3426. 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)
  3427. 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)
  3428. 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)
  3429. 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)
  3430. elseif(State == 'Walk')then
  3431. local wsVal = 7 / (Hum.WalkSpeed/16)
  3432. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  3433. 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)
  3434. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  3435. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  3436. 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)
  3437. 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)
  3438. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  3439. elseif(State == 'Jump' or State == 'Fall')then
  3440. if(Walking)then
  3441. local Alpha = .2
  3442. 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)
  3443. 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)
  3444. 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)
  3445. 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)
  3446. 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)
  3447. 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)
  3448. else
  3449. local Alpha = .2
  3450. 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)
  3451. 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)
  3452. 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)
  3453. 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)
  3454. 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)
  3455. 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)
  3456. end
  3457. elseif(State == 'Paralyzed')then
  3458. local Alpha = .3
  3459. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  3460. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  3461. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  3462. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha)
  3463. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha)
  3464. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  3465. elseif(State == 'Sit')then
  3466. local Alpha = .3
  3467. 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)
  3468. 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)
  3469. 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)
  3470. 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)
  3471. 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)
  3472. 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)
  3473. end
  3474. end
  3475. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement