Advertisement
Robloxian_Scripter

Banisher

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