Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.99 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. PlayerGui = Player.PlayerGui
  3. Cam = workspace.CurrentCamera
  4. Backpack = Player.Backpack
  5. Character = Player.Character
  6. Humanoid = Character.Humanoid
  7. Mouse = Player:GetMouse()
  8. RootPart = Character["HumanoidRootPart"]
  9. Torso = Character["Torso"]
  10. Head = Character["Head"]
  11. RightArm = Character["Right Arm"]
  12. LeftArm = Character["Left Arm"]
  13. RightLeg = Character["Right Leg"]
  14. LeftLeg = Character["Left Leg"]
  15. RootJoint = RootPart["RootJoint"]
  16. Neck = Torso["Neck"]
  17. RightShoulder = Torso["Right Shoulder"]
  18. LeftShoulder = Torso["Left Shoulder"]
  19. RightHip = Torso["Right Hip"]
  20. LeftHip = Torso["Left Hip"]
  21. local TIME = 0
  22. local sick = Instance.new("Sound",Torso)
  23.  
  24. IT = Instance.new
  25. CF = CFrame.new
  26. VT = Vector3.new
  27. RAD = math.rad
  28. C3 = Color3.new
  29. UD2 = UDim2.new
  30. BRICKC = BrickColor.new
  31. ANGLES = CFrame.Angles
  32. EULER = CFrame.fromEulerAnglesXYZ
  33. COS = math.cos
  34. ACOS = math.acos
  35. SIN = math.sin
  36. ASIN = math.asin
  37. ABS = math.abs
  38. MRANDOM = math.random
  39. FLOOR = math.floor
  40.  
  41. --//=================================\\
  42. --|| USEFUL VALUES
  43. --\\=================================//
  44.  
  45. Animation_Speed = 3
  46. local FORCERESET = false
  47. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  48. local Speed = 16
  49. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  50. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  51. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  52. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  53. local DAMAGEMULTIPLIER = 1
  54. local ANIM = "Idle"
  55. local ATTACK = false
  56. local EQUIPPED = false
  57. local HOLD = false
  58. local COMBO = 1
  59. local Rooted = false
  60. local SINE = 0
  61. local KEYHOLD = false
  62. local CHANGE = 2 / Animation_Speed
  63. local WALKINGANIM = false
  64. local VALUE1 = false
  65. local VALUE2 = false
  66. local ROBLOXIDLEANIMATION = IT("Animation")
  67. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  68. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  69. --ROBLOXIDLEANIMATION.Parent = Humanoid
  70. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  71. WEAPONGUI.Name = "BanishV3Gui"
  72. local Weapon = IT("Model")
  73. Weapon.Name = "Adds"
  74. local Effects = IT("Folder", Weapon)
  75. Effects.Name = "Effects"
  76. local ANIMATOR = Humanoid.Animator
  77. local ANIMATE = Character:FindFirstChild("Animate")
  78. local UNANCHOR = true
  79. local TOBANISH = {}
  80. script.Parent = PlayerGui
  81.  
  82. --//=================================\\
  83. --\\=================================//
  84.  
  85.  
  86. --//=================================\\
  87. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  88. --\\=================================//
  89.  
  90. ArtificialHB = Instance.new("BindableEvent", script)
  91. ArtificialHB.Name = "ArtificialHB"
  92.  
  93. script:WaitForChild("ArtificialHB")
  94.  
  95. frame = Frame_Speed
  96. tf = 0
  97. allowframeloss = false
  98. tossremainder = false
  99. lastframe = tick()
  100. script.ArtificialHB:Fire()
  101.  
  102. game:GetService("RunService").Heartbeat:connect(function(s, p)
  103. tf = tf + s
  104. if tf >= frame then
  105. if allowframeloss then
  106. script.ArtificialHB:Fire()
  107. lastframe = tick()
  108. else
  109. for i = 1, math.floor(tf / frame) do
  110. script.ArtificialHB:Fire()
  111. end
  112. lastframe = tick()
  113. end
  114. if tossremainder then
  115. tf = 0
  116. else
  117. tf = tf - frame * math.floor(tf / frame)
  118. end
  119. end
  120. end)
  121.  
  122. --//=================================\\
  123. --\\=================================//
  124.  
  125. --//=================================\\
  126. --|| SOME FUNCTIONS
  127. --\\=================================//
  128.  
  129. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  130. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  131. end
  132.  
  133. function PositiveAngle(NUMBER)
  134. if NUMBER >= 0 then
  135. NUMBER = 0
  136. end
  137. return NUMBER
  138. end
  139.  
  140. function NegativeAngle(NUMBER)
  141. if NUMBER <= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function Swait(NUMBER)
  148. if NUMBER == 0 or NUMBER == nil then
  149. ArtificialHB.Event:wait()
  150. else
  151. for i = 1, NUMBER do
  152. ArtificialHB.Event:wait()
  153. end
  154. end
  155. end
  156.  
  157. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  158. local NEWMESH = IT(MESH)
  159. if MESH == "SpecialMesh" then
  160. NEWMESH.MeshType = MESHTYPE
  161. if MESHID ~= "nil" and MESHID ~= "" then
  162. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  163. end
  164. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  165. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  166. end
  167. end
  168. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  169. NEWMESH.Scale = SCALE
  170. NEWMESH.Parent = PARENT
  171. return NEWMESH
  172. end
  173.  
  174. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  175. local NEWPART = IT("Part")
  176. NEWPART.formFactor = FORMFACTOR
  177. NEWPART.Reflectance = REFLECTANCE
  178. NEWPART.Transparency = TRANSPARENCY
  179. NEWPART.CanCollide = false
  180. NEWPART.Locked = true
  181. NEWPART.Anchored = true
  182. if ANCHOR == false then
  183. NEWPART.Anchored = false
  184. end
  185. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  186. NEWPART.Name = NAME
  187. NEWPART.Size = SIZE
  188. NEWPART.Position = Torso.Position
  189. NEWPART.Material = MATERIAL
  190. NEWPART:BreakJoints()
  191. NEWPART.Parent = PARENT
  192. return NEWPART
  193. end
  194.  
  195. local function weldBetween(a, b)
  196. local weldd = Instance.new("ManualWeld")
  197. weldd.Part0 = a
  198. weldd.Part1 = b
  199. weldd.C0 = CFrame.new()
  200. weldd.C1 = b.CFrame:inverse() * a.CFrame
  201. weldd.Parent = a
  202. return weldd
  203. end
  204.  
  205.  
  206. function QuaternionFromCFrame(cf)
  207. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  208. local trace = m00 + m11 + m22
  209. if trace > 0 then
  210. local s = math.sqrt(1 + trace)
  211. local recip = 0.5 / s
  212. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  213. else
  214. local i = 0
  215. if m11 > m00 then
  216. i = 1
  217. end
  218. if m22 > (i == 0 and m00 or m11) then
  219. i = 2
  220. end
  221. if i == 0 then
  222. local s = math.sqrt(m00 - m11 - m22 + 1)
  223. local recip = 0.5 / s
  224. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  225. elseif i == 1 then
  226. local s = math.sqrt(m11 - m22 - m00 + 1)
  227. local recip = 0.5 / s
  228. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  229. elseif i == 2 then
  230. local s = math.sqrt(m22 - m00 - m11 + 1)
  231. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  232. end
  233. end
  234. end
  235.  
  236. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  237. local xs, ys, zs = x + x, y + y, z + z
  238. local wx, wy, wz = w * xs, w * ys, w * zs
  239. local xx = x * xs
  240. local xy = x * ys
  241. local xz = x * zs
  242. local yy = y * ys
  243. local yz = y * zs
  244. local zz = z * zs
  245. 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))
  246. end
  247.  
  248. function QuaternionSlerp(a, b, t)
  249. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  250. local startInterp, finishInterp;
  251. if cosTheta >= 0.0001 then
  252. if (1 - cosTheta) > 0.0001 then
  253. local theta = ACOS(cosTheta)
  254. local invSinTheta = 1 / SIN(theta)
  255. startInterp = SIN((1 - t) * theta) * invSinTheta
  256. finishInterp = SIN(t * theta) * invSinTheta
  257. else
  258. startInterp = 1 - t
  259. finishInterp = t
  260. end
  261. else
  262. if (1 + cosTheta) > 0.0001 then
  263. local theta = ACOS(-cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((t - 1) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = t - 1
  269. finishInterp = t
  270. end
  271. end
  272. 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
  273. end
  274.  
  275. function Clerp(a, b, t)
  276. local qa = {QuaternionFromCFrame(a)}
  277. local qb = {QuaternionFromCFrame(b)}
  278. local ax, ay, az = a.x, a.y, a.z
  279. local bx, by, bz = b.x, b.y, b.z
  280. local _t = 1 - t
  281. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  282. end
  283.  
  284. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  285. local frame = IT("Frame")
  286. frame.BackgroundTransparency = TRANSPARENCY
  287. frame.BorderSizePixel = BORDERSIZEPIXEL
  288. frame.Position = POSITION
  289. frame.Size = SIZE
  290. frame.BackgroundColor3 = COLOR
  291. frame.BorderColor3 = BORDERCOLOR
  292. frame.Name = NAME
  293. frame.Parent = PARENT
  294. return frame
  295. end
  296.  
  297. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  298. local label = IT("TextLabel")
  299. label.BackgroundTransparency = 1
  300. label.Size = UD2(1, 0, 1, 0)
  301. label.Position = UD2(0, 0, 0, 0)
  302. label.TextColor3 = TEXTCOLOR
  303. label.TextStrokeTransparency = STROKETRANSPARENCY
  304. label.TextTransparency = TRANSPARENCY
  305. label.FontSize = TEXTFONTSIZE
  306. label.Font = TEXTFONT
  307. label.BorderSizePixel = BORDERSIZEPIXEL
  308. label.TextScaled = false
  309. label.Text = TEXT
  310. label.Name = NAME
  311. label.Parent = PARENT
  312. return label
  313. end
  314.  
  315. function NoOutlines(PART)
  316. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  317. end
  318.  
  319. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  320. local NEWWELD = IT(TYPE)
  321. NEWWELD.Part0 = PART0
  322. NEWWELD.Part1 = PART1
  323. NEWWELD.C0 = C0
  324. NEWWELD.C1 = C1
  325. NEWWELD.Parent = PARENT
  326. return NEWWELD
  327. end
  328.  
  329. local S = IT("Sound")
  330. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  331. local NEWSOUND = nil
  332. coroutine.resume(coroutine.create(function()
  333. NEWSOUND = S:Clone()
  334. NEWSOUND.Parent = PARENT
  335. NEWSOUND.Volume = VOLUME
  336. NEWSOUND.Pitch = PITCH
  337. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  338. NEWSOUND:play()
  339. if DOESLOOP == true then
  340. NEWSOUND.Looped = true
  341. else
  342. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  343. NEWSOUND:remove()
  344. end
  345. end))
  346. return NEWSOUND
  347. end
  348.  
  349. function CFrameFromTopBack(at, top, back)
  350. local right = top:Cross(back)
  351. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  352. end
  353.  
  354. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  355. function WACKYEFFECT(Table)
  356. local TYPE = (Table.EffectType or "Sphere")
  357. local SIZE = (Table.Size or VT(1,1,1))
  358. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  359. local TRANSPARENCY = (Table.Transparency or 0)
  360. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  361. local CFRAME = (Table.CFrame or Torso.CFrame)
  362. local MOVEDIRECTION = (Table.MoveToPos or nil)
  363. local ROTATION1 = (Table.RotationX or 0)
  364. local ROTATION2 = (Table.RotationY or 0)
  365. local ROTATION3 = (Table.RotationZ or 0)
  366. local MATERIAL = (Table.Material or "Neon")
  367. local COLOR = (Table.Color or C3(0,0,1))
  368. local TIME = (Table.Time or 45)
  369. local SOUNDID = (Table.SoundID or nil)
  370. local SOUNDPITCH = (Table.SoundPitch or nil)
  371. local SOUNDVOLUME = (Table.SoundVolume or nil)
  372. coroutine.resume(coroutine.create(function()
  373. local PLAYSSOUND = false
  374. local SOUND = nil
  375. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  376. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  377. PLAYSSOUND = true
  378. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  379. end
  380. EFFECT.Color = COLOR
  381. local MSH = nil
  382. if TYPE == "Sphere" then
  383. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  384. elseif TYPE == "Block" then
  385. MSH = IT("BlockMesh",EFFECT)
  386. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  387. elseif TYPE == "Wave" then
  388. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  389. elseif TYPE == "Ring" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  391. elseif TYPE == "Slash" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  393. elseif TYPE == "Round Slash" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  395. elseif TYPE == "Swirl" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  397. elseif TYPE == "Skull" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  399. elseif TYPE == "Crystal" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  401. end
  402. if MSH ~= nil then
  403. local MOVESPEED = nil
  404. if MOVEDIRECTION ~= nil then
  405. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  406. end
  407. local GROWTH = SIZE - ENDSIZE
  408. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  409. if TYPE == "Block" then
  410. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  411. else
  412. EFFECT.CFrame = CFRAME
  413. end
  414. for LOOP = 1, TIME+1 do
  415. Swait()
  416. MSH.Scale = MSH.Scale - GROWTH/TIME
  417. if TYPE == "Wave" then
  418. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  419. end
  420. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  421. if TYPE == "Block" then
  422. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  423. else
  424. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  425. end
  426. if MOVEDIRECTION ~= nil then
  427. local ORI = EFFECT.Orientation
  428. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  429. EFFECT.Orientation = ORI
  430. end
  431. end
  432. if PLAYSSOUND == false then
  433. EFFECT:remove()
  434. else
  435. SOUND.Stopped:Connect(function()
  436. EFFECT:remove()
  437. end)
  438. end
  439. else
  440. if PLAYSSOUND == false then
  441. EFFECT:remove()
  442. else
  443. repeat Swait() until SOUND.Playing == false
  444. EFFECT:remove()
  445. end
  446. end
  447. end))
  448. end
  449.  
  450. function MakeForm(PART,TYPE)
  451. if TYPE == "Cyl" then
  452. local MSH = IT("CylinderMesh",PART)
  453. elseif TYPE == "Ball" then
  454. local MSH = IT("SpecialMesh",PART)
  455. MSH.MeshType = "Sphere"
  456. elseif TYPE == "Wedge" then
  457. local MSH = IT("SpecialMesh",PART)
  458. MSH.MeshType = "Wedge"
  459. end
  460. end
  461.  
  462. function SpawnTrail(FROM,TO,BIG)
  463. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Blue", "Trail", VT(0,0,0))
  464. MakeForm(TRAIL,"Cyl")
  465. local DIST = (FROM - TO).Magnitude
  466. if BIG == true then
  467. TRAIL.Size = VT(5,DIST,5)
  468. else
  469. TRAIL.Size = VT(5,DIST,5)
  470. end
  471. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  472. coroutine.resume(coroutine.create(function()
  473. for i = 1, 5 do
  474. Swait()
  475. TRAIL.Transparency = TRAIL.Transparency + 0.1
  476. end
  477. TRAIL:remove()
  478. end))
  479. end
  480.  
  481. Debris = game:GetService("Debris")
  482.  
  483. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  484. local DIRECTION = CF(StartPos,EndPos).lookVector
  485. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  486. end
  487.  
  488. function turnto(position)
  489. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  490. end
  491. local asd = Instance.new("ParticleEmitter")
  492. asd.Color = ColorSequence.new(Color3.new(0.0, 0, 5), Color3.new(.0, 0, 3))
  493. asd.LightEmission = .1
  494. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  495. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  496. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  497. asd.Transparency = bbb
  498. asd.Size = aaa
  499. asd.ZOffset = .9
  500. asd.Acceleration = Vector3.new(0, -15, 0)
  501. asd.LockedToPart = false
  502. asd.EmissionDirection = "Back"
  503. asd.Lifetime = NumberRange.new(1, 2)
  504. asd.Rotation = NumberRange.new(-100, 100)
  505. asd.RotSpeed = NumberRange.new(-100, 100)
  506. asd.Speed = NumberRange.new(10)
  507. asd.Enabled = false
  508. asd.VelocitySpread = 999
  509.  
  510. function getbloody(victim,amount)
  511. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  512. PART.CFrame = victim.CFrame
  513. local HITPLAYERSOUNDS = {"356551938","264486467"}
  514. Debris:AddItem(PART,5)
  515. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  516. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  517. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  518. local prtcl = asd:Clone()
  519. prtcl.Parent = PART
  520. prtcl:Emit(amount*10)
  521. end
  522.  
  523. local Particle = IT("ParticleEmitter",nil)
  524. Particle.Enabled = false
  525. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  526. Particle.LightEmission = 0.5
  527. Particle.Rate = 150
  528. Particle.ZOffset = 1
  529. Particle.Rotation = NumberRange.new(-180, 180)
  530. Particle.RotSpeed = NumberRange.new(-180, 180)
  531. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  532. Particle.Color = ColorSequence.new(C3(0,0,1),C3(0.0,0,1))
  533.  
  534. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  535. function ParticleEmitter(Table)
  536. local PRTCL = Particle:Clone()
  537. local Speed = Table.Speed or 5
  538. local Drag = Table.Drag or 0
  539. local Size1 = Table.Size1 or 1
  540. local Size2 = Table.Size2 or 5
  541. local Lifetime1 = Table.Lifetime1 or 1
  542. local Lifetime2 = Table.Lifetime2 or 1.5
  543. local Parent = Table.Parent or Torso
  544. local Emit = Table.Emit or 100
  545. local Offset = Table.Offset or 360
  546. local Acel = Table.Acel or VT(0,0,0)
  547. local Enabled = Table.Enabled or false
  548. PRTCL.Parent = Parent
  549. PRTCL.Size = NumberSequence.new(Size1,Size2)
  550. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  551. PRTCL.Speed = NumberRange.new(Speed)
  552. PRTCL.VelocitySpread = Offset
  553. PRTCL.Drag = Drag
  554. PRTCL.Acceleration = Acel
  555. if Enabled == false then
  556. PRTCL:Emit(Emit)
  557. Debris:AddItem(PRTCL,Lifetime2)
  558. else
  559. PRTCL.Enabled = true
  560. end
  561. return PRTCL
  562. end
  563.  
  564. function R_RANDOM(CFRAME,DIST)
  565. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  566. end
  567.  
  568. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  569. coroutine.resume(coroutine.create(function()
  570. local FADE = IT("Model",Effects)
  571. if PARENT ~= nil then
  572. FADE.Parent = PARENT
  573. end
  574. FADE.Name = "FadingEffect"
  575. for _, c in pairs(Character:GetChildren()) do
  576. if c.ClassName == "Part" then
  577. c.CanCollide = false
  578. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Dark Blue"), c.Name, c.Size, true)
  579. FADER.CFrame = c.CFrame
  580. FADER.Color = COLOR
  581. if FADER.Name == "Head" then
  582. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  583. elseif FADER.Name == "HumanoidRootPart" then
  584. FADE.PrimaryPart = FADER
  585. FADER.Transparency = 1
  586. end
  587. end
  588. end
  589. local TRANS = 0.25/TIMER
  590. local DIST = nil
  591. if MOVEDIRECTION ~= nil then
  592. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  593. end
  594. for i = 1, TIMER do
  595. Swait()
  596. for _, c in pairs(FADE:GetChildren()) do
  597. if c.ClassName == "Part" then
  598. c.Transparency = c.Transparency + TRANS
  599. end
  600. end
  601. if MOVEDIRECTION ~= nil then
  602. local ORI = FADE.PrimaryPart.Orientation
  603. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  604. end
  605. end
  606. FADE:remove()
  607. end))
  608. end
  609.  
  610.  
  611. --//=================================\\
  612. --|| WEAPON CREATION
  613. --\\=================================//
  614.  
  615. local SIZE = 1.25
  616.  
  617. local Particle = IT("ParticleEmitter",nil)
  618. Particle.Enabled = false
  619. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  620. Particle.LightEmission = 0.5
  621. Particle.Rate = 150
  622. Particle.ZOffset = 0.2
  623. Particle.Rotation = NumberRange.new(-180, 180)
  624. Particle.RotSpeed = NumberRange.new(-180, 180)
  625. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  626. Particle.Color = ColorSequence.new(C3(0,0,3),C3(0.0,0,4))
  627.  
  628. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  629. function ParticleEmitter(Table)
  630. local PRTCL = Particle:Clone()
  631. local Speed = Table.Speed or 5
  632. local Drag = Table.Drag or 0
  633. local Size1 = Table.Size1 or 1
  634. local Size2 = Table.Size2 or 5
  635. local Lifetime1 = Table.Lifetime1 or 1
  636. local Lifetime2 = Table.Lifetime2 or 1.5
  637. local Parent = Table.Parent or Torso
  638. local Emit = Table.Emit or 100
  639. local Offset = Table.Offset or 360
  640. local Acel = Table.Acel or VT(0,0,0)
  641. local Enabled = Table.Enabled or false
  642. PRTCL.Parent = Parent
  643. PRTCL.Size = NumberSequence.new(Size1,Size2)
  644. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  645. PRTCL.Speed = NumberRange.new(Speed)
  646. PRTCL.VelocitySpread = Offset
  647. PRTCL.Drag = Drag
  648. PRTCL.Acceleration = Acel
  649. if Enabled == false then
  650. PRTCL:Emit(Emit)
  651. Debris:AddItem(PRTCL,Lifetime2)
  652. else
  653. PRTCL.Enabled = true
  654. end
  655. return PRTCL
  656. end
  657.  
  658. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  659. PRT.Color = C3(0,0,1)
  660. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  661. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  662. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  663. PRT.Color = C3(0, 0, 111)
  664. MakeForm(PRT,"Ball")
  665. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  666. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  667. PRT.Color = C3(0, 0, 111)
  668. MakeForm(PRT,"Ball")
  669. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  670. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  671. PRT.Color = C3(0, 0, 111)
  672. MakeForm(PRT,"Ball")
  673. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  674. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  675. PRT.Color = C3(0, 0, 111)
  676. MakeForm(PRT,"Ball")
  677. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  678. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  679. PRT.Color = C3(0, 0, 111)
  680. MakeForm(PRT,"Ball")
  681. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  682. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  683. PRT.Color = C3(0, 0, 111)
  684. MakeForm(PRT,"Ball")
  685. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  686.  
  687.  
  688.  
  689.  
  690. local LASTPART = Head
  691. for i = 1, 20 do
  692. local MATH = (1-(i/25))
  693. if LASTPART == Head then
  694. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  695. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  696. LASTPART = Horn
  697. Horn.Color = C3((i*3-3)/0,0,4)
  698. else
  699. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  700. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  701. LASTPART = Horn
  702. Horn.Color = C3((i*3-3)/0,0,3)
  703. end
  704. end
  705. local LASTPART = Head
  706. for i = 1, 20 do
  707. local MATH = (1-(i/25))
  708. if LASTPART == Head then
  709. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  710. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  711. LASTPART = Horn
  712. Horn.Color = C3((i*3-3)/0,0,3)
  713. else
  714. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  715. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  716. LASTPART = Horn
  717. Horn.Color = C3((i*3-3)/0,0,3)
  718. end
  719. end
  720.  
  721. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  722. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  723. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  724. MakeForm(Part,"Wedge")
  725. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  726. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  727. MakeForm(Part,"Wedge")
  728. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  729. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  730. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  731. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  732. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  733. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  734. MakeForm(Part,"Cyl")
  735. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  736. for i = 1, 8 do
  737. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  739. end
  740. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  741. MakeForm(Part,"Cyl")
  742. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  743. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  744. MakeForm(Part,"Ball")
  745. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  746. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  747. MakeForm(Part,"Wedge")
  748. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  749. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  750. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  751. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  752. MakeForm(Part,"Cyl")
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  754. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  755. MakeForm(Part,"Cyl")
  756. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  757. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  758. MakeForm(Part,"Cyl")
  759. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  760. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  761. MakeForm(Part,"Wedge")
  762. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  763. local LASTPART = Handle
  764. for i = 1, 10 do
  765. if LASTPART == Handle then
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  767. LASTPART = Part
  768. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  769. else
  770. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  771. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  772. LASTPART = Part
  773. end
  774. end
  775.  
  776. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  777. MakeForm(Barrel,"Cyl")
  778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  780. MakeForm(Part,"Cyl")
  781. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  783. MakeForm(Part,"Wedge")
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  785. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  786. MakeForm(Hole2,"Cyl")
  787. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  788. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  789. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  790. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  791. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  792. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  793. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  794. coroutine.resume(coroutine.create(function()
  795. while wait() do
  796. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  797. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  798. end
  799. end))
  800.  
  801. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  802. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  803.  
  804. for _, c in pairs(Weapon:GetDescendants()) do
  805. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  806. c.Material = "Glass"
  807. c.Color = C3(0,0,1)
  808. elseif c.ClassName == "Part" and c.Name == "Eye" then
  809. c.Color = C3(0,0,1)
  810. c.Material = "Neon"
  811. end
  812. end
  813.  
  814. Weapon.Parent = Character
  815. for _, c in pairs(Weapon:GetChildren()) do
  816. if c.ClassName == "Part" then
  817. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  818. end
  819. end
  820.  
  821. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  822. PRT.Color = C3(0,0,1)
  823. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  824. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  825.  
  826. if Character:FindFirstChildOfClass("Accessory") then
  827. Character:FindFirstChildOfClass("Accessory"):remove()
  828. elseif Character:FindFirstChildOfClass("Hat") then
  829. Character:FindFirstChildOfClass("Hat"):remove()
  830. end
  831. if Head:FindFirstChild("face") then
  832. Head.face.Texture = "rbxassetid://403870689"
  833. if Character:FindFirstChildOfClass("Accessory") then
  834. Character:FindFirstChildOfClass("Accessory"):remove()
  835. elseif Character:FindFirstChildOfClass("Hat") then
  836. Character:FindFirstChildOfClass("Hat"):remove()
  837. end
  838. if Character:FindFirstChildOfClass("Accessory") then
  839. Character:FindFirstChildOfClass("Accessory"):remove()
  840. elseif Character:FindFirstChildOfClass("Hat") then
  841. Character:FindFirstChildOfClass("Hat"):remove()
  842. end
  843. if Character:FindFirstChildOfClass("Accessory") then
  844. Character:FindFirstChildOfClass("Accessory"):remove()
  845. elseif Character:FindFirstChildOfClass("Hat") then
  846. Character:FindFirstChildOfClass("Hat"):remove()
  847. end
  848. if Character:FindFirstChildOfClass("Accessory") then
  849. Character:FindFirstChildOfClass("Accessory"):remove()
  850. elseif Character:FindFirstChildOfClass("Hat") then
  851. Character:FindFirstChildOfClass("Hat"):remove()
  852. end
  853. if Character:FindFirstChildOfClass("Accessory") then
  854. Character:FindFirstChildOfClass("Accessory"):remove()
  855. elseif Character:FindFirstChildOfClass("Hat") then
  856. Character:FindFirstChildOfClass("Hat"):remove()
  857. end
  858. end
  859.  
  860. function ParticleEmitter(Table)
  861. local PRTCL = Particle:Clone()
  862. local Speed = Table.Speed or 5
  863. local Drag = Table.Drag or 0
  864. local Size1 = Table.Size1 or 1
  865. local Size2 = Table.Size2 or 5
  866. local Lifetime1 = Table.Lifetime1 or 1
  867. local Lifetime2 = Table.Lifetime2 or 1.5
  868. local Parent = Table.Parent or Torso
  869. local Emit = Table.Emit or 100
  870. local Offset = Table.Offset or 360
  871. local Acel = Table.Acel or VT(0,0,0)
  872. local Enabled = Table.Enabled or false
  873. PRTCL.Parent = Parent
  874. PRTCL.Size = NumberSequence.new(Size1,Size2)
  875. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  876. PRTCL.Speed = NumberRange.new(Speed)
  877. PRTCL.VelocitySpread = Offset
  878. PRTCL.Drag = Drag
  879. PRTCL.Acceleration = Acel
  880. if Enabled == false then
  881. PRTCL:Emit(Emit)
  882. Debris:AddItem(PRTCL,Lifetime2)
  883. else
  884. PRTCL.Enabled = true
  885. end
  886. return PRTCL
  887. end
  888.  
  889. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  890. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  891. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  892. MakeForm(Part,"Wedge")
  893. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  894. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  895. MakeForm(Part,"Wedge")
  896. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  897. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  898. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  899. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  900. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  901. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  902. MakeForm(Part,"Cyl")
  903. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  904. for i = 1, 8 do
  905. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  906. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  907. end
  908. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  909. MakeForm(Part,"Cyl")
  910. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  911. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  912. MakeForm(Part,"Ball")
  913. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  914. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  915. MakeForm(Part,"Wedge")
  916. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  917. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  918. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  919. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  920. MakeForm(Part,"Cyl")
  921. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  922. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  923. MakeForm(Part,"Cyl")
  924. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  925. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  926. MakeForm(Part,"Cyl")
  927. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  928. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  929. MakeForm(Part,"Wedge")
  930. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  931. local LASTPART = Handle
  932. for i = 1, 10 do
  933. if LASTPART == Handle then
  934. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  935. LASTPART = Part
  936. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  937. else
  938. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  939. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  940. LASTPART = Part
  941. end
  942. end
  943.  
  944. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  945. MakeForm(Barrel,"Cyl")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  948. MakeForm(Part,"Cyl")
  949. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  950. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  951. MakeForm(Part,"Wedge")
  952. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  953. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  954. MakeForm(Hole,"Cyl")
  955. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  956. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  957. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  958. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  959. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  960. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  961. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  962. coroutine.resume(coroutine.create(function()
  963. while wait() do
  964. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  965. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  966. end
  967. end))
  968.  
  969. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  970. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  971.  
  972. for _, c in pairs(Weapon:GetDescendants()) do
  973. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  974. c.Material = "Glass"
  975. c.Color = C3(0.05,0.05,0.05)
  976. elseif c.ClassName == "Part" and c.Name == "Eye" then
  977. c.Color = C3(0,0,1)
  978. c.Material = "Neon"
  979. end
  980. end
  981.  
  982. Weapon.Parent = Character
  983. for _, c in pairs(Weapon:GetChildren()) do
  984. if c.ClassName == "Part" then
  985. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  986. end
  987. end
  988.  
  989. local SKILLTEXTCOLOR = C3(0,0,1)
  990. local SKILLFONT = "Antique"
  991. local SKILLTEXTSIZE = 7
  992.  
  993. Humanoid.Died:connect(function()
  994. ATTACK = true
  995. end)
  996.  
  997.  
  998. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  999. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1000. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1001. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1002. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1003. ]]
  1004. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1005. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1006. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1007. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1008. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1009. ]]
  1010. function printbye(Name)
  1011. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1012. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1013. end
  1014.  
  1015. workspace.ChildAdded:connect(function(instance)
  1016. for BANISH = 1, #TOBANISH do
  1017. if TOBANISH[BANISH] ~= nil then
  1018. if instance.Name == TOBANISH[BANISH] then
  1019. coroutine.resume(coroutine.create(function()
  1020. printbye(instance.Name)
  1021. instance:ClearAllChildren()
  1022. Debris:AddItem(instance,0.0005)
  1023. end))
  1024. end
  1025. end
  1026. end
  1027. end)
  1028.  
  1029. --//=================================\\
  1030. --|| DAMAGING
  1031. --\\=================================//
  1032.  
  1033. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1034. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1035. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1036. wave.CFrame = CFRAME
  1037. coroutine.resume(coroutine.create(function(PART)
  1038. for i = 1, WAIT do
  1039. Swait()
  1040. mesh.Scale = mesh.Scale + GROW
  1041. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1042. if DOESROT == true then
  1043. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1044. end
  1045. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1046. if wave.Transparency > 0.99 then
  1047. wave:remove()
  1048. end
  1049. end
  1050. end))
  1051. end
  1052.  
  1053. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1054. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1055. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1056. wave.CFrame = CFRAME
  1057. coroutine.resume(coroutine.create(function(PART)
  1058. for i = 1, WAIT do
  1059. Swait()
  1060. mesh.Scale = mesh.Scale + GROW
  1061. if DOESROT == true then
  1062. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1063. end
  1064. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1065. if wave.Transparency > 0.99 then
  1066. wave:remove()
  1067. end
  1068. end
  1069. end))
  1070. end
  1071.  
  1072. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1073. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1074. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1075. wave.CFrame = CFRAME
  1076. coroutine.resume(coroutine.create(function(PART)
  1077. for i = 1, WAIT do
  1078. Swait()
  1079. mesh.Scale = mesh.Scale + GROW
  1080. wave.Transparency = wave.Transparency + (1/WAIT)
  1081. if wave.Transparency > 0.99 then
  1082. wave:remove()
  1083. end
  1084. end
  1085. end))
  1086. end
  1087.  
  1088. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1089. local mesh = nil
  1090. if KIND == "Base" then
  1091. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1092. elseif KIND == "Thin" then
  1093. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1094. elseif KIND == "Round" then
  1095. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1096. end
  1097. wave.CFrame = CFRAME
  1098. coroutine.resume(coroutine.create(function(PART)
  1099. for i = 1, WAIT do
  1100. Swait()
  1101. mesh.Scale = mesh.Scale + GROW/10
  1102. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1103. if wave.Transparency > 0.99 then
  1104. wave:remove()
  1105. end
  1106. end
  1107. end))
  1108. end
  1109.  
  1110. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1111. local svch = Character2
  1112. Character2:BreakJoints()
  1113. local hum = Character2:findFirstChild("Humanoid")
  1114. local q = Character2:GetChildren()
  1115. local CLONE = IT("Model", Effects)
  1116. for i = 1, #q do
  1117. if q[i].ClassName == "Accessory" and Headless == true then
  1118. q[i]:remove()
  1119. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1120. q[i].Parent = CLONE
  1121. elseif q[i].ClassName ~= "Humanoid" then
  1122. q[i]:remove()
  1123. end
  1124. end
  1125. local chrclone = CLONE
  1126. local ch = chrclone:GetChildren()
  1127. local i
  1128. for i = 1, #ch do
  1129. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1130. ch[i]:remove()
  1131. end
  1132. end
  1133. local function Scan(ch)
  1134. local e
  1135. for e = 1, #ch do
  1136. Scan(ch[e]:GetChildren())
  1137. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1138. ch[e]:remove()
  1139. end
  1140. end
  1141. end
  1142. Character2:remove()
  1143. local NEWHUM = IT("Humanoid")
  1144. NEWHUM.Name = "Corpse"
  1145. NEWHUM.Health = 0
  1146. NEWHUM.MaxHealth = 0
  1147. NEWHUM.PlatformStand = true
  1148. NEWHUM.Parent = CLONE
  1149. NEWHUM.DisplayDistanceType = "None"
  1150. Scan(chrclone:GetChildren())
  1151. local ch = Character2:GetChildren()
  1152. local i
  1153. for i = 1, #ch do
  1154. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1155. ch[i]:remove()
  1156. end
  1157. end
  1158. local ch = Character2:GetChildren()
  1159. local i
  1160. for i = 1, #ch do
  1161. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1162. ch[i]:remove()
  1163. end
  1164. end
  1165. Character2 = chrclone
  1166. local Torso2 = Character2.Torso
  1167. local movevector = Vector3.new()
  1168. if Torso2 then
  1169. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1170. local Head = Character2:FindFirstChild("Head")
  1171. if Head then
  1172. local Neck = Instance.new("Weld")
  1173. Neck.Name = "Neck"
  1174. Neck.Part0 = Torso2
  1175. Neck.Part1 = Head
  1176. Neck.C0 = CFrame.new(0, 1.5, 0)
  1177. Neck.C1 = CFrame.new()
  1178. Neck.Parent = Torso2
  1179. if Headless == true then
  1180. Head.Transparency = 1
  1181. Head:ClearAllChildren()
  1182. end
  1183. end
  1184. local Limb = Character2:FindFirstChild("Right Arm")
  1185. if Limb then
  1186. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1187. local Joint = Instance.new("Glue")
  1188. Joint.Name = "RightShoulder"
  1189. Joint.Part0 = Torso2
  1190. Joint.Part1 = Limb
  1191. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1192. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1193. Joint.Parent = Torso2
  1194. local B = Instance.new("Part")
  1195. B.TopSurface = 0
  1196. B.BottomSurface = 0
  1197. B.formFactor = "Symmetric"
  1198. B.Size = Vector3.new(1, 1, 1)
  1199. B.Transparency = 1
  1200. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1201. B.Parent = Character2
  1202. local W = Instance.new("Weld")
  1203. W.Part0 = Limb
  1204. W.Part1 = B
  1205. W.C0 = CFrame.new(0, -0.5, 0)
  1206. W.Parent = Limb
  1207. end
  1208. local Limb = Character2:FindFirstChild("Left Arm")
  1209. if Limb then
  1210. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1211. local Joint = Instance.new("Glue")
  1212. Joint.Name = "LeftShoulder"
  1213. Joint.Part0 = Torso2
  1214. Joint.Part1 = Limb
  1215. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1216. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1217. Joint.Parent = Torso2
  1218. local B = Instance.new("Part")
  1219. B.TopSurface = 0
  1220. B.BottomSurface = 0
  1221. B.formFactor = "Symmetric"
  1222. B.Size = Vector3.new(1, 1, 1)
  1223. B.Transparency = 1
  1224. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1225. B.Parent = Character2
  1226. local W = Instance.new("Weld")
  1227. W.Part0 = Limb
  1228. W.Part1 = B
  1229. W.C0 = CFrame.new(0, -0.5, 0)
  1230. W.Parent = Limb
  1231. end
  1232. local Limb = Character2:FindFirstChild("Right Leg")
  1233. if Limb then
  1234. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1235. local Joint = Instance.new("Glue")
  1236. Joint.Name = "RightHip"
  1237. Joint.Part0 = Torso2
  1238. Joint.Part1 = Limb
  1239. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1240. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1241. Joint.Parent = Torso2
  1242. local B = Instance.new("Part")
  1243. B.TopSurface = 0
  1244. B.BottomSurface = 0
  1245. B.formFactor = "Symmetric"
  1246. B.Size = Vector3.new(1, 1, 1)
  1247. B.Transparency = 1
  1248. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1249. B.Parent = Character2
  1250. local W = Instance.new("Weld")
  1251. W.Part0 = Limb
  1252. W.Part1 = B
  1253. W.C0 = CFrame.new(0, -0.5, 0)
  1254. W.Parent = Limb
  1255. end
  1256. local Limb = Character2:FindFirstChild("Left Leg")
  1257. if Limb then
  1258. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1259. local Joint = Instance.new("Glue")
  1260. Joint.Name = "LeftHip"
  1261. Joint.Part0 = Torso2
  1262. Joint.Part1 = Limb
  1263. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1264. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1265. Joint.Parent = Torso2
  1266. local B = Instance.new("Part")
  1267. B.TopSurface = 0
  1268. B.BottomSurface = 0
  1269. B.formFactor = "Symmetric"
  1270. B.Size = Vector3.new(1, 1, 1)
  1271. B.Transparency = 1
  1272. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1273. B.Parent = Character2
  1274. local W = Instance.new("Weld")
  1275. W.Part0 = Limb
  1276. W.Part1 = B
  1277. W.C0 = CFrame.new(0, -0.5, 0)
  1278. W.Parent = Limb
  1279. end
  1280. local Bar = Instance.new("Part")
  1281. Bar.TopSurface = 0
  1282. Bar.BottomSurface = 0
  1283. Bar.formFactor = "Symmetric"
  1284. Bar.Size = Vector3.new(1, 1, 1)
  1285. Bar.Transparency = 1
  1286. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1287. Bar.Parent = Character2
  1288. local Weld = Instance.new("Weld")
  1289. Weld.Part0 = Torso2
  1290. Weld.Part1 = Bar
  1291. Weld.C0 = CFrame.new(0, 0.5, 0)
  1292. Weld.Parent = Torso2
  1293. end
  1294. Character2.Parent = Weapon
  1295. if movevector ~= Vector3.new() then
  1296. for i = 1, 10 do
  1297. Torso2.Velocity = movevector * Velocity
  1298. end
  1299. end
  1300. Character2.Name = "Corpse"
  1301. return Character2, Torso2
  1302. end
  1303.  
  1304. function Banish(Foe)
  1305. if Foe then
  1306. coroutine.resume(coroutine.create(function()
  1307. --if game.Players:FindFirstChild(Foe.Name) then
  1308. table.insert(TOBANISH,Foe.Name)
  1309. printbye(Foe.Name)
  1310. --end
  1311. Foe.Archivable = true
  1312. local CLONE = Foe:Clone()
  1313. Foe:Destroy()
  1314. CLONE.Parent = Effects
  1315. CLONE:BreakJoints()
  1316. local MATERIALS = {"Glass","Neon"}
  1317. for _, c in pairs(CLONE:GetDescendants()) do
  1318. if c:IsA("BasePart") then
  1319. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1320. CreateSound(340722848, c, 10, 1, false)
  1321. end
  1322. c.Anchored = true
  1323. c.Transparency = c.Transparency + 0.2
  1324. c.Material = MATERIALS[MRANDOM(1,2)]
  1325. c.Color = C3(0,0,1)
  1326. if c.ClassName == "MeshPart" then
  1327. c.TextureID = ""
  1328. end
  1329. if c:FindFirstChildOfClass("SpecialMesh") then
  1330. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1331. end
  1332. if c:FindFirstChildOfClass("Decal") then
  1333. c:FindFirstChildOfClass("Decal"):remove()
  1334. end
  1335. c.Name = "Banished"
  1336. c.CanCollide = false
  1337. else
  1338. c:remove()
  1339. end
  1340. end
  1341. local A = false
  1342. for i = 1, 35 do
  1343. if A == false then
  1344. A = true
  1345. elseif A == true then
  1346. A = false
  1347. end
  1348. for _, c in pairs(CLONE:GetDescendants()) do
  1349. if c:IsA("BasePart") then
  1350. c.Anchored = true
  1351. c.Material = MATERIALS[MRANDOM(1,2)]
  1352. c.Transparency = c.Transparency + 0.8/35
  1353. if A == false then
  1354. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1355. elseif A == true then
  1356. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1357. end
  1358. end
  1359. end
  1360. Swait()
  1361. end
  1362. CLONE:remove()
  1363. end))
  1364. end
  1365. end
  1366.  
  1367. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1368. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1369. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1370. if HITFLOOR.Name == "BloodPuddle" then
  1371. local DIST = (Position - HITFLOOR.Position).Magnitude
  1372. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1373. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1374. end
  1375. elseif HITFLOOR.Anchored == true then
  1376. do
  1377. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  1378. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1379. MakeForm(BLOOD, "Cyl")
  1380. coroutine.resume(coroutine.create(function()
  1381. Swait(75)
  1382. while true do
  1383. Swait()
  1384. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1385. if BLOOD.Size.Z < 0.051 then
  1386. BLOOD:remove()
  1387. break
  1388. end
  1389. end
  1390. end))
  1391. end
  1392. end
  1393. end
  1394. end
  1395.  
  1396. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1397. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  1398. BLOOD.CFrame = CF(POSITION)
  1399. MakeForm(BLOOD, "Ball")
  1400. local bv = Instance.new("BodyVelocity", BLOOD)
  1401. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1402. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1403. bv.Name = "MOVE"
  1404. Debris:AddItem(bv, 0.05)
  1405. coroutine.resume(coroutine.create(function()
  1406. local HASTOUCHEDGROUND = false
  1407. local HIT = BLOOD.Touched:Connect(function(hit)
  1408. if hit.Anchored == true then
  1409. HASTOUCHEDGROUND = true
  1410. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1411. end
  1412. end)
  1413. wait(5)
  1414. if HASTOUCHEDGROUND == false then
  1415. BLOOD:remove()
  1416. end
  1417. end))
  1418. end
  1419. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1420. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1421. defence.Name = "HitBy" .. Player.Name
  1422. game:GetService("Debris"):AddItem(defence, 0.001)
  1423. Damage = Damage * DAMAGEMULTIPLIER
  1424. if Humanoid.Health ~= 0 then
  1425. local CritChance = MRANDOM(1, 100)
  1426. if Damage > Humanoid.Health then
  1427. Damage = math.ceil(Humanoid.Health)
  1428. if Damage == 0 then
  1429. Damage = 0.1
  1430. end
  1431. end
  1432. Humanoid.Health = Humanoid.Health - Damage
  1433. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1434. end
  1435. end
  1436.  
  1437. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1438. local CHILDREN = workspace:GetDescendants()
  1439. for index, CHILD in pairs(CHILDREN) do
  1440. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1441. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1442. if HUM then
  1443. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1444. if TORSO then
  1445. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1446. if ISBANISH == true then
  1447. Banish(CHILD)
  1448. else
  1449. if ISBANISH == "Gravity" then
  1450. HUM.PlatformStand = true
  1451. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1452. local grav = Instance.new("BodyPosition",TORSO)
  1453. grav.D = 15
  1454. grav.P = 20000
  1455. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1456. grav.position = TORSO.Position
  1457. grav.Name = "V3BanishForce"..Player.Name
  1458. else
  1459. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1460. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1461. end
  1462. else
  1463. HUM.PlatformStand = false
  1464. end
  1465. end
  1466. elseif ISBANISH == "Gravity" then
  1467. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1468. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1469. HUM.PlatformStand = false
  1470. end
  1471. end
  1472. end
  1473. end
  1474. end
  1475. end
  1476. end
  1477.  
  1478. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1479. local dmg = math.random(min,max)
  1480. for i,v in ipairs(workspace:GetChildren()) do
  1481. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1482. local body = v:GetChildren()
  1483. for part = 1, #body do
  1484. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1485. if(body[part].Position - position).Magnitude < radius then
  1486. if v.ClassName == "Model" then
  1487. if v:FindFirstChildOfClass("Humanoid") then
  1488. if CanBeDodgedByJumping == true then
  1489. if body[part].Position.Y < position.Y+5 then
  1490. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1491. end
  1492. else
  1493. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1494. end
  1495. local bv = Instance.new("BodyVelocity")
  1496. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1497. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1498. bv.Parent = body[part]
  1499. Debris:AddItem(bv,0.2)
  1500. end
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506. if v:FindFirstChild("HitBy"..Player.Name) then
  1507. v:FindFirstChild("HitBy"..Player.Name):remove()
  1508. end
  1509. end
  1510. end
  1511.  
  1512.  
  1513. --//=================================\\
  1514. --|| ATTACK FUNCTIONS AND STUFF
  1515. --\\=================================//
  1516.  
  1517. function ShadowCloak()
  1518. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1519. ATTACK = true
  1520. Rooted = false
  1521. UNANCHOR = false
  1522. FADERS = false
  1523. coroutine.resume(coroutine.create(function()
  1524. coroutine.resume(coroutine.create(function()
  1525. for i=1, 25 do
  1526. Swait()
  1527. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1528. end
  1529. end))
  1530. repeat
  1531. Swait()
  1532. BLADE.Transparency = Torso.Transparency
  1533. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1535. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1536. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1537. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1538. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1539. until ATTACK == false
  1540. end))
  1541. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1542. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1543. for i = 1, 50 do
  1544. Swait()
  1545. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1546. for index, CHILD in pairs(Character:GetChildren()) do
  1547. if CHILD:IsA("BasePart") then
  1548. CHILD.Transparency = CHILD.Transparency + 1/50
  1549. elseif CHILD:IsA("Accessory") then
  1550. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1551. end
  1552. end
  1553. end
  1554. for i = 1, 25 do
  1555. Swait()
  1556. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1557. end
  1558. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1559. for i = 1, 5 do
  1560. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,3), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1561. end
  1562. ApplyAoE(Torso.Position,15,12,22,150,false)
  1563. CreateSound(331666014,Torso,5,1,false)
  1564. for i = 1, 12 do
  1565. Swait()
  1566. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1567. end
  1568. for i = 1, 50 do
  1569. Swait()
  1570. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1571. for index, CHILD in pairs(Character:GetChildren()) do
  1572. if CHILD:IsA("BasePart") then
  1573. CHILD.Transparency = CHILD.Transparency - 1/50
  1574. elseif CHILD:IsA("Accessory") then
  1575. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1576. end
  1577. end
  1578. end
  1579. UNANCHOR = true
  1580. ATTACK = false
  1581. Rooted = false
  1582. FADERS = true
  1583. end
  1584. end
  1585.  
  1586. function Neck_Snap()
  1587. ATTACK = true
  1588. Rooted = false
  1589. local TARGET, HUM, WLD
  1590. local HIT = RightArm.Touched:Connect(function(hit)
  1591. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1592. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1593. if H.Health > 0 then
  1594. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1595. if TORSO then
  1596. HUM = H
  1597. TARGET = TORSO
  1598. H.PlatformStand = true
  1599. CreateSound("260411131", TORSO, 10, 1)
  1600. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1601. end
  1602. end
  1603. end
  1604. end)
  1605. for i = 0, 1, 0.1 / Animation_Speed do
  1606. Swait()
  1607. if TARGET ~= nil then
  1608. break
  1609. end
  1610. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1614. if ANIM == "Idle" then
  1615. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1616. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1617. elseif ANIM == "Walk" then
  1618. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1619. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1620. elseif ANIM == "Jump" or ANIM == "Fall" then
  1621. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1622. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1623. end
  1624. end
  1625. HIT:disconnect()
  1626. if TARGET ~= nil then
  1627. if TARGET.Name == "Torso" then
  1628. for i = 0, 2, 0.1 / Animation_Speed do
  1629. Swait()
  1630. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1634. if ANIM == "Idle" then
  1635. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1637. elseif ANIM == "Walk" then
  1638. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1639. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1640. elseif ANIM == "Jump" or ANIM == "Fall" then
  1641. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1642. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1643. end
  1644. end
  1645. WLD:remove()
  1646. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1647. if HEAD then
  1648. UNANCHOR = false
  1649. RootPart.Anchored = true
  1650. local HD = HEAD:Clone()
  1651. HD.Name = "FakeHead"
  1652. for i = 1, 7 do
  1653. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1654. end
  1655. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1656. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1657. HD.Parent = RAGDOLL
  1658. CreateSound("264486467", RAGTORSO, 10, 1)
  1659. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1660. for i = 0, 2, 0.1 / Animation_Speed do
  1661. Swait()
  1662. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1663. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1664. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1665. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1666. if ANIM == "Idle" then
  1667. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1668. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1669. elseif ANIM == "Walk" then
  1670. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1671. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1672. elseif ANIM == "Jump" or ANIM == "Fall" then
  1673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1675. end
  1676. end
  1677. HEADWELD:remove()
  1678. for i = 0, 0.5, 0.1 / Animation_Speed do
  1679. Swait()
  1680. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1681. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1682. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1683. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1684. if ANIM == "Idle" then
  1685. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1686. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1687. elseif ANIM == "Walk" then
  1688. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1689. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1690. elseif ANIM == "Jump" or ANIM == "Fall" then
  1691. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1692. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1693. end
  1694. end
  1695. CreateSound("907333406", Torso, 10, 1)
  1696. for i = 0, 0.25, 0.1 / Animation_Speed do
  1697. Swait()
  1698. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1699. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1700. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1701. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1702. if ANIM == "Idle" then
  1703. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1704. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1705. elseif ANIM == "Walk" then
  1706. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1708. elseif ANIM == "Jump" or ANIM == "Fall" then
  1709. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1710. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1711. end
  1712. end
  1713. RAGWELD:remove()
  1714. local bv = Instance.new("BodyVelocity")
  1715. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1716. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1717. bv.Parent = RAGTORSO
  1718. Debris:AddItem(bv, 0.05)
  1719. Debris:AddItem(RAGDOLL, 5)
  1720. for i = 0, 0.15, 0.1 / Animation_Speed do
  1721. Swait()
  1722. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1723. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1724. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1725. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1726. if ANIM == "Idle" then
  1727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1729. elseif ANIM == "Walk" then
  1730. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1731. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1732. elseif ANIM == "Jump" or ANIM == "Fall" then
  1733. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1734. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1735. end
  1736. end
  1737. UNANCHOR = true
  1738. RootPart.Anchored = false
  1739. end
  1740. else
  1741. UNANCHOR = false
  1742. RootPart.Anchored = true
  1743. for i = 0, 0.5, 0.1 / Animation_Speed do
  1744. Swait()
  1745. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1749. if ANIM == "Idle" then
  1750. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1751. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1752. elseif ANIM == "Walk" then
  1753. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1754. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1755. elseif ANIM == "Jump" or ANIM == "Fall" then
  1756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1758. end
  1759. end
  1760. for i = 0, 0.25, 0.1 / Animation_Speed do
  1761. Swait()
  1762. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1763. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1766. if ANIM == "Idle" then
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1769. elseif ANIM == "Walk" then
  1770. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1771. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1772. elseif ANIM == "Jump" or ANIM == "Fall" then
  1773. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1774. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1775. end
  1776. end
  1777. WLD:remove()
  1778. TARGET.Parent:BreakJoints()
  1779. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1780. if c:IsA("BasePart") then
  1781. local bv = Instance.new("BodyVelocity")
  1782. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1783. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1784. bv.Parent = c
  1785. Debris:AddItem(bv, 0.05)
  1786. end
  1787. end
  1788. for i = 0, 0.15, 0.1 / Animation_Speed do
  1789. Swait()
  1790. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1794. if ANIM == "Idle" then
  1795. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1797. elseif ANIM == "Walk" then
  1798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1800. elseif ANIM == "Jump" or ANIM == "Fall" then
  1801. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1802. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1803. end
  1804. end
  1805. UNANCHOR = true
  1806. RootPart.Anchored = false
  1807. end
  1808. end
  1809. ATTACK = false
  1810. Rooted = false
  1811. end
  1812.  
  1813. function Banisher_Bullet()
  1814. ATTACK = true
  1815. Rooted = false
  1816. for i=0, 0.4, 0.1 / Animation_Speed do
  1817. Swait()
  1818. turnto(Mouse.Hit.p)
  1819. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1820. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1823. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1825. end
  1826. repeat
  1827. for i=0, 0.2, 0.1 / Animation_Speed do
  1828. Swait()
  1829. turnto(Mouse.Hit.p)
  1830. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1831. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1834. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1836. end
  1837. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1838. SpawnTrail(Hole2.Position,POS)
  1839. if HIT ~= nil then
  1840. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1841. Banish(HIT.Parent)
  1842. end
  1843. end
  1844. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1845. SpawnTrail(Hole.Position,POS)
  1846. if HIT ~= nil then
  1847. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1848. Banish(HIT.Parent)
  1849. end
  1850. end
  1851. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1852. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 2520058062, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1853. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1854. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1855. for i=0, 0.3, 0.1 / Animation_Speed do
  1856. Swait()
  1857. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1858. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1861. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1863. end
  1864. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1865. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 2520058062, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1866. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1867. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1868. until KEYHOLD == false
  1869. ATTACK = false
  1870. Rooted = false
  1871. end
  1872.  
  1873. function AttackTemplate()
  1874. ATTACK = true
  1875. Rooted = false
  1876. for i=0, 1, 0.1 / Animation_Speed do
  1877. Swait()
  1878. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1882. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1884. end
  1885. ATTACK = false
  1886. Rooted = false
  1887. end
  1888.  
  1889. --//=================================\\
  1890. --|| ASSIGN THINGS TO KEYS
  1891. --\\=================================//
  1892.  
  1893. function MouseDown(Mouse)
  1894. if ATTACK == false then
  1895. end
  1896. end
  1897.  
  1898. function MouseUp(Mouse)
  1899. HOLD = false
  1900. end
  1901.  
  1902. function KeyDown(Key)
  1903. KEYHOLD = true
  1904. if Key == "z" and ATTACK == false then
  1905. Banisher_Bullet()
  1906. end
  1907.  
  1908. if Key == "b" and ATTACK == false then
  1909. Neck_Snap()
  1910. end
  1911.  
  1912. if Key == "c" and ATTACK == false then
  1913. ShadowCloak()
  1914. end
  1915.  
  1916. if Key == "v" and ATTACK == false then
  1917. end
  1918.  
  1919. if Key == "x" and ATTACK == false then
  1920. end
  1921. end
  1922.  
  1923. function KeyUp(Key)
  1924. KEYHOLD = false
  1925. end
  1926.  
  1927. Mouse.Button1Down:connect(function(NEWKEY)
  1928. MouseDown(NEWKEY)
  1929. end)
  1930. Mouse.Button1Up:connect(function(NEWKEY)
  1931. MouseUp(NEWKEY)
  1932. end)
  1933. Mouse.KeyDown:connect(function(NEWKEY)
  1934. KeyDown(NEWKEY)
  1935. end)
  1936. Mouse.KeyUp:connect(function(NEWKEY)
  1937. KeyUp(NEWKEY)
  1938. end)
  1939.  
  1940. --//=================================\\
  1941. --\\=================================//
  1942.  
  1943.  
  1944. function unanchor()
  1945. if UNANCHOR == true then
  1946. g = Character:GetChildren()
  1947. for i = 1, #g do
  1948. if g[i].ClassName == "Part" then
  1949. g[i].Anchored = false
  1950. end
  1951. end
  1952. end
  1953. end
  1954.  
  1955.  
  1956. --//=================================\\
  1957. --|| WRAP THE WHOLE SCRIPT UP
  1958. --\\=================================//
  1959.  
  1960. Humanoid.Changed:connect(function(Jump)
  1961. if Jump == "Jump" and (Disable_Jump == true) then
  1962. Humanoid.Jump = false
  1963. end
  1964. end)
  1965.  
  1966. local CONNECT = nil
  1967.  
  1968. while true do
  1969. Swait()
  1970. ANIMATE.Parent = nil
  1971. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1972. Humanoid = IT("Humanoid",Character)
  1973. end
  1974. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1975. v:Stop();
  1976. end
  1977. SINE = SINE + CHANGE
  1978. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1979. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1980. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1981. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1982. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1983. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1984. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1985. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1986. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1987. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1988. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1989. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1990. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1991. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1992. end
  1993. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1994. ANIM = "Jump"
  1995. if ATTACK == false then
  1996. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1997. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2002. end
  2003. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2004. ANIM = "Fall"
  2005. if ATTACK == false then
  2006. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2007. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2008. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2009. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2010. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2011. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2012. end
  2013. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2014. ANIM = "Idle"
  2015. if ATTACK == false then
  2016. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2017. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2020. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2021. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2022. end
  2023. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2024. ANIM = "Walk"
  2025. if ATTACK == false then
  2026. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2027. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2030. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2032. end
  2033. end
  2034. unanchor()
  2035. Humanoid.MaxHealth = "inf"
  2036. Humanoid.Health = "inf"
  2037. if Rooted == false then
  2038. Disable_Jump = false
  2039. Humanoid.WalkSpeed = Speed
  2040. elseif Rooted == true then
  2041. Disable_Jump = true
  2042. Humanoid.WalkSpeed = 0
  2043. end
  2044. sick.Parent = Torso
  2045. sick:resume()
  2046. sick.Volume = 5
  2047. sick.Pitch = 1
  2048. sick.SoundId = "rbxassetid://1470848774"
  2049. sick.Name = "BanishV3Music"
  2050. end
  2051.  
  2052. --//=================================\\
  2053. --\\=================================//
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059. --//====================================================\\--
  2060. --|| END OF SCRIPT
  2061. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement