Advertisement
Zebula_The_Scripter

EDGY DOCTOR

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