Advertisement
RblxVoidScriptBuild

Banish.

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