Advertisement
UltimatePaster5677

PandoOrange Banisher local

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