Advertisement
masterofdesires1

Untitled

Jul 5th, 2018
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 171.40 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8. local p = game.Players.LocalPlayer
  9. local char = p.Character
  10. local mouse = p:GetMouse()
  11. local larm = char["Left Arm"]
  12. local rarm = char["Right Arm"]
  13. local lleg = char["Left Leg"]
  14. local rleg = char["Right Leg"]
  15. local hed = char.Head
  16. local torso = char.Torso
  17.  
  18.  
  19. Player = game:GetService("Players").LocalPlayer
  20. PlayerGui = Player.PlayerGui
  21. Cam = workspace.CurrentCamera
  22. Backpack = Player.Backpack
  23. Character = Player.Character
  24. Humanoid = Character.Humanoid
  25. Mouse = Player:GetMouse()
  26. RootPart = Character["HumanoidRootPart"]
  27. Torso = Character["Torso"]
  28. Head = Character["Head"]
  29. RightArm = Character["Right Arm"]
  30. LeftArm = Character["Left Arm"]
  31. RightLeg = Character["Right Leg"]
  32. LeftLeg = Character["Left Leg"]
  33. RootJoint = RootPart["RootJoint"]
  34. Neck = Torso["Neck"]
  35. RightShoulder = Torso["Right Shoulder"]
  36. LeftShoulder = Torso["Left Shoulder"]
  37. RightHip = Torso["Right Hip"]
  38. LeftHip = Torso["Left Hip"]
  39. local sick = Instance.new("Sound",Character)
  40. sick.SoundId = "rbxassetid://633243126"
  41. sick.Looped = true
  42. sick.Pitch = 1
  43. sick.Volume = 2
  44. Player:ClearCharacterAppearance()
  45. local HANDS = {}
  46. Character.Archivable = true
  47. Humanoid.DisplayDistanceType = "None"
  48.  
  49. local naeeym2 = Instance.new("BillboardGui",Character)
  50. naeeym2.AlwaysOnTop = true
  51. naeeym2.Size = UDim2.new(5,35,2,35)
  52. naeeym2.StudsOffset = Vector3.new(0,3,0)
  53. naeeym2.Adornee = Character.Head
  54. naeeym2.Name = "Name"
  55. naeeym2.PlayerToHideFrom = Player
  56. local tecks2 = Instance.new("TextLabel",naeeym2)
  57. tecks2.BackgroundTransparency = 1
  58. tecks2.TextScaled = true
  59. tecks2.BorderSizePixel = 0
  60. tecks2.Text = "1x1x1x1IAMbck"
  61. tecks2.Font = "Antique"
  62. tecks2.TextSize = 30
  63. tecks2.TextTransparency = 1
  64. tecks2.TextStrokeTransparency = 1
  65. tecks2.TextColor3 = Color3.new(1,0,0)
  66. tecks2.Size = UDim2.new(1,0,0.5,0)
  67. tecks2.Parent = naeeym2
  68.  
  69. IT = Instance.new
  70. CF = CFrame.new
  71. VT = Vector3.new
  72. RAD = math.rad
  73. C3 = Color3.new
  74. UD2 = UDim2.new
  75. BRICKC = BrickColor.new
  76. ANGLES = CFrame.Angles
  77. EULER = CFrame.fromEulerAnglesXYZ
  78. COS = math.cos
  79. ACOS = math.acos
  80. SIN = math.sin
  81. ASIN = math.asin
  82. ABS = math.abs
  83. MRANDOM = math.random
  84. FLOOR = math.floor
  85.  
  86. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  87. local NEWMESH = IT(MESH)
  88. if MESH == "SpecialMesh" then
  89. NEWMESH.MeshType = MESHTYPE
  90. if MESHID ~= "nil" and MESHID ~= "" then
  91. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  92. end
  93. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  94. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  95. end
  96. end
  97. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  98. NEWMESH.Scale = SCALE
  99. NEWMESH.Parent = PARENT
  100. return NEWMESH
  101. end
  102.  
  103. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  104. local NEWPART = IT("Part")
  105. NEWPART.formFactor = FORMFACTOR
  106. NEWPART.Reflectance = REFLECTANCE
  107. NEWPART.Transparency = TRANSPARENCY
  108. NEWPART.CanCollide = false
  109. NEWPART.Locked = true
  110. NEWPART.Anchored = true
  111. if ANCHOR == false then
  112. NEWPART.Anchored = false
  113. end
  114. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  115. NEWPART.Name = NAME
  116. NEWPART.Size = SIZE
  117. NEWPART.Position = Torso.Position
  118. NEWPART.Material = MATERIAL
  119. NEWPART:BreakJoints()
  120. NEWPART.Parent = PARENT
  121. return NEWPART
  122. end
  123.  
  124. --//=================================\\
  125. --|| CUSTOMIZATION
  126. --\\=================================//
  127.  
  128. Player_Size = 1 --Size of the player.
  129. Animation_Speed = 3
  130. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  131.  
  132. local Speed = 16
  133. local Effects2 = {}
  134.  
  135. --//=================================\\
  136. --|| END OF CUSTOMIZATION
  137. --\\=================================//
  138.  
  139. local function weldBetween(a, b)
  140. local weldd = Instance.new("ManualWeld")
  141. weldd.Part0 = a
  142. weldd.Part1 = b
  143. weldd.C0 = CFrame.new()
  144. weldd.C1 = b.CFrame:inverse() * a.CFrame
  145. weldd.Parent = a
  146. return weldd
  147. end
  148.  
  149. --//=================================\\
  150. --|| USEFUL VALUES
  151. --\\=================================//
  152.  
  153. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  154. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  155. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  156. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  157. local CHANGEDEFENSE = 0
  158. local CHANGEDAMAGE = 0
  159. local CHANGEMOVEMENT = 0
  160. local ANIM = "Idle"
  161. local ATTACK = false
  162. local EQUIPPED = false
  163. local HOLD = false
  164. local COMBO = 1
  165. local Rooted = false
  166. local SINE = 0
  167. local KEYHOLD = false
  168. local CHANGE = 2 / Animation_Speed
  169. local WALKINGANIM = false
  170. local WALK = 0
  171. local VALUE1 = false
  172. local VALUE2 = false
  173. local ROBLOXIDLEANIMATION = IT("Animation")
  174. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  175. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  176. --ROBLOXIDLEANIMATION.Parent = Humanoid
  177. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  178. WEAPONGUI.Name = "Weapon GUI"
  179. local Weapon = IT("Model")
  180. Weapon.Name = "Weapon"
  181. local Effects = IT("Folder", Weapon)
  182. Effects.Name = "Effects"
  183. local ANIMATOR = Humanoid.Animator
  184. local ANIMATE = Character.Animate
  185. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  186. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  187. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  188. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  189. local UNANCHOR = true
  190. local INTRO = false
  191. local TRANSFORMED = false
  192. local INSTANT = false
  193.  
  194. local SKILLTEXTCOLOR = BRICKC("Black").Color
  195.  
  196. --//=================================\\
  197. --\\=================================//
  198.  
  199.  
  200. --//=================================\\
  201. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  202. --\\=================================//
  203.  
  204. ArtificialHB = Instance.new("BindableEvent", script)
  205. ArtificialHB.Name = "ArtificialHB"
  206.  
  207. script:WaitForChild("ArtificialHB")
  208.  
  209. frame = Frame_Speed
  210. tf = 0
  211. allowframeloss = false
  212. tossremainder = false
  213. lastframe = tick()
  214. script.ArtificialHB:Fire()
  215.  
  216. game:GetService("RunService").Heartbeat:connect(function(s, p)
  217. tf = tf + s
  218. if tf >= frame then
  219. if allowframeloss then
  220. script.ArtificialHB:Fire()
  221. lastframe = tick()
  222. else
  223. for i = 1, math.floor(tf / frame) do
  224. script.ArtificialHB:Fire()
  225. end
  226. lastframe = tick()
  227. end
  228. if tossremainder then
  229. tf = 0
  230. else
  231. tf = tf - frame * math.floor(tf / frame)
  232. end
  233. end
  234. end)
  235.  
  236. --//=================================\\
  237. --\\=================================//
  238.  
  239.  
  240.  
  241.  
  242.  
  243. --//=================================\\
  244. --|| SOME FUNCTIONS
  245. --\\=================================//
  246.  
  247. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  248. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  249. end
  250.  
  251. function PositiveAngle(NUMBER)
  252. if NUMBER >= 0 then
  253. NUMBER = 0
  254. end
  255. return NUMBER
  256. end
  257.  
  258. function NegativeAngle(NUMBER)
  259. if NUMBER <= 0 then
  260. NUMBER = 0
  261. end
  262. return NUMBER
  263. end
  264.  
  265. function Swait(NUMBER)
  266. if NUMBER == 0 or NUMBER == nil then
  267. ArtificialHB.Event:wait()
  268. else
  269. for i = 1, NUMBER do
  270. ArtificialHB.Event:wait()
  271. end
  272. end
  273. end
  274.  
  275. function QuaternionFromCFrame(cf)
  276. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  277. local trace = m00 + m11 + m22
  278. if trace > 0 then
  279. local s = math.sqrt(1 + trace)
  280. local recip = 0.5 / s
  281. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  282. else
  283. local i = 0
  284. if m11 > m00 then
  285. i = 1
  286. end
  287. if m22 > (i == 0 and m00 or m11) then
  288. i = 2
  289. end
  290. if i == 0 then
  291. local s = math.sqrt(m00 - m11 - m22 + 1)
  292. local recip = 0.5 / s
  293. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  294. elseif i == 1 then
  295. local s = math.sqrt(m11 - m22 - m00 + 1)
  296. local recip = 0.5 / s
  297. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  298. elseif i == 2 then
  299. local s = math.sqrt(m22 - m00 - m11 + 1)
  300. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  301. end
  302. end
  303. end
  304.  
  305. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  306. local xs, ys, zs = x + x, y + y, z + z
  307. local wx, wy, wz = w * xs, w * ys, w * zs
  308. local xx = x * xs
  309. local xy = x * ys
  310. local xz = x * zs
  311. local yy = y * ys
  312. local yz = y * zs
  313. local zz = z * zs
  314. 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))
  315. end
  316.  
  317. function QuaternionSlerp(a, b, t)
  318. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  319. local startInterp, finishInterp;
  320. if cosTheta >= 0.0001 then
  321. if (1 - cosTheta) > 0.0001 then
  322. local theta = ACOS(cosTheta)
  323. local invSinTheta = 1 / SIN(theta)
  324. startInterp = SIN((1 - t) * theta) * invSinTheta
  325. finishInterp = SIN(t * theta) * invSinTheta
  326. else
  327. startInterp = 1 - t
  328. finishInterp = t
  329. end
  330. else
  331. if (1 + cosTheta) > 0.0001 then
  332. local theta = ACOS(-cosTheta)
  333. local invSinTheta = 1 / SIN(theta)
  334. startInterp = SIN((t - 1) * theta) * invSinTheta
  335. finishInterp = SIN(t * theta) * invSinTheta
  336. else
  337. startInterp = t - 1
  338. finishInterp = t
  339. end
  340. end
  341. 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
  342. end
  343.  
  344. function Clerp(a, b, t)
  345. local qa = {QuaternionFromCFrame(a)}
  346. local qb = {QuaternionFromCFrame(b)}
  347. local ax, ay, az = a.x, a.y, a.z
  348. local bx, by, bz = b.x, b.y, b.z
  349. local _t = 1 - t
  350. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  351. end
  352.  
  353. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  354. local frame = IT("Frame")
  355. frame.BackgroundTransparency = TRANSPARENCY
  356. frame.BorderSizePixel = BORDERSIZEPIXEL
  357. frame.Position = POSITION
  358. frame.Size = SIZE
  359. frame.BackgroundColor3 = COLOR
  360. frame.BorderColor3 = BORDERCOLOR
  361. frame.Name = NAME
  362. frame.Parent = PARENT
  363. return frame
  364. end
  365.  
  366. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  367. local label = IT("TextLabel")
  368. label.BackgroundTransparency = 1
  369. label.Size = UD2(1, 0, 1, 0)
  370. label.Position = UD2(0, 0, 0, 0)
  371. label.TextColor3 = TEXTCOLOR
  372. label.TextStrokeTransparency = STROKETRANSPARENCY
  373. label.TextTransparency = TRANSPARENCY
  374. label.FontSize = TEXTFONTSIZE
  375. label.Font = TEXTFONT
  376. label.BorderSizePixel = BORDERSIZEPIXEL
  377. label.TextScaled = false
  378. label.Text = TEXT
  379. label.Name = NAME
  380. label.Parent = PARENT
  381. return label
  382. end
  383.  
  384. function NoOutlines(PART)
  385. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  386. end
  387.  
  388.  
  389. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  390. local NEWWELD = IT(TYPE)
  391. NEWWELD.Part0 = PART0
  392. NEWWELD.Part1 = PART1
  393. NEWWELD.C0 = C0
  394. NEWWELD.C1 = C1
  395. NEWWELD.Parent = PARENT
  396. return NEWWELD
  397. end
  398.  
  399. function CreateSound(ID, PARENT, VOLUME, PITCH)
  400. local NEWSOUND = nil
  401. coroutine.resume(coroutine.create(function()
  402. NEWSOUND = IT("Sound", PARENT)
  403. NEWSOUND.Volume = VOLUME
  404. NEWSOUND.Pitch = PITCH
  405. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  406. Swait()
  407. NEWSOUND:play()
  408. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  409. end))
  410. return NEWSOUND
  411. end
  412.  
  413. function CFrameFromTopBack(at, top, back)
  414. local right = top:Cross(back)
  415. 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)
  416. end
  417.  
  418. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  419. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  420. local mesh = IT("SpecialMesh",wave)
  421. mesh.MeshType = "FileMesh"
  422. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  423. mesh.Scale = SIZE
  424. mesh.Offset = VT(0,0,0)
  425. wave.CFrame = CFRAME
  426. coroutine.resume(coroutine.create(function(PART)
  427. for i = 1, WAIT do
  428. Swait()
  429. mesh.Scale = mesh.Scale + GROW
  430. if DOESROT == true then
  431. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  432. end
  433. wave.Transparency = wave.Transparency + (0.5/WAIT)
  434. if wave.Transparency > 0.99 then
  435. wave:remove()
  436. end
  437. end
  438. end))
  439. end
  440.  
  441. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  442. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  443. local mesh = IT("SpecialMesh",wave)
  444. mesh.MeshType = "Sphere"
  445. mesh.Scale = SIZE
  446. mesh.Offset = VT(0,0,0)
  447. wave.CFrame = CFRAME
  448. coroutine.resume(coroutine.create(function(PART)
  449. for i = 1, WAIT do
  450. Swait()
  451. mesh.Scale = mesh.Scale + GROW
  452. wave.Transparency = wave.Transparency + (1/WAIT)
  453. if wave.Transparency > 0.99 then
  454. wave:remove()
  455. end
  456. end
  457. end))
  458. end
  459.  
  460. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  461. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  462. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  463. wave.CFrame = CFRAME
  464. coroutine.resume(coroutine.create(function(PART)
  465. for i = 1, WAIT do
  466. Swait()
  467. mesh.Scale = mesh.Scale * GROW
  468. wave.Transparency = wave.Transparency + (0.5/WAIT)
  469. if wave.Transparency > 0.99 then
  470. wave:remove()
  471. end
  472. end
  473. end))
  474. end
  475.  
  476. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  477. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  478. local mesh = IT("BlockMesh",wave)
  479. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  480. coroutine.resume(coroutine.create(function(PART)
  481. for i = 1, WAIT do
  482. Swait()
  483. mesh.Scale = mesh.Scale + GROW
  484. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  485. wave.Transparency = wave.Transparency + (1/WAIT)
  486. if wave.Transparency > 0.99 then
  487. wave:remove()
  488. end
  489. end
  490. end))
  491. end
  492.  
  493. function MakeForm(PART,TYPE)
  494. if TYPE == "Cyl" then
  495. local MSH = IT("CylinderMesh",PART)
  496. elseif TYPE == "Ball" then
  497. local MSH = IT("SpecialMesh",PART)
  498. MSH.MeshType = "Sphere"
  499. elseif TYPE == "Wedge" then
  500. local MSH = IT("SpecialMesh",PART)
  501. MSH.MeshType = "Wedge"
  502. end
  503. end
  504.  
  505. function CheckTableForString(Table, String)
  506. for i, v in pairs(Table) do
  507. if string.find(string.lower(String), string.lower(v)) then
  508. return true
  509. end
  510. end
  511. return false
  512. end
  513.  
  514. function CheckIntangible(Hit)
  515. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  516. if Hit and Hit.Parent then
  517. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  518. return true
  519. end
  520. end
  521. return false
  522. end
  523.  
  524. Debris = game:GetService("Debris")
  525.  
  526. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  527. local Direction = CFrame.new(StartPos, Vec).lookVector
  528. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  529. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  530. if RayHit and CheckIntangible(RayHit) then
  531. if DelayIfHit then
  532. wait()
  533. end
  534. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  535. end
  536. return RayHit, RayPos, RayNormal
  537. end
  538.  
  539. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  540. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  541. end
  542.  
  543. function turnto(position)
  544. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  545. end
  546.  
  547. --//=================================\\
  548. --|| SPEECH
  549. --\\=================================//
  550.  
  551. function chatfunc(text,waitt)
  552. local chat = coroutine.wrap(function()
  553. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  554. Character:FindFirstChild("TalkingBillBoard"):destroy()
  555. end
  556. local naeeym2 = Instance.new("BillboardGui",Character)
  557. naeeym2.Size = UDim2.new(0,100,0,40)
  558. naeeym2.StudsOffset = Vector3.new(0,5,0)
  559. naeeym2.Adornee = Character.Head
  560. naeeym2.Name = "TalkingBillBoard"
  561. naeeym2.AlwaysOnTop = true
  562. local tecks2 = Instance.new("TextLabel",naeeym2)
  563. tecks2.BackgroundTransparency = 1
  564. tecks2.BorderSizePixel = 0
  565. tecks2.Text = ""
  566. tecks2.Font = "SciFi"
  567. tecks2.TextSize = 30
  568. tecks2.TextStrokeTransparency = 1
  569. tecks2.TextColor3 = SKILLTEXTCOLOR
  570. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  571. tecks2.Size = UDim2.new(1,0,0.5,0)
  572. for i = 1,string.len(text),1 do
  573. tecks2.Text = string.sub(text,1,i)
  574. Swait()
  575. end
  576. wait(waitt)
  577. coroutine.resume(coroutine.create(function()
  578. for i = 1, 10 do
  579. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  580. Swait()
  581. end
  582. naeeym2:Destroy()
  583. end))
  584. end)
  585. chat()
  586. end
  587.  
  588. --//=================================\\
  589. --|| WEAPON CREATION
  590. --\\=================================//
  591.  
  592. local EyeSizes={
  593. NumberSequenceKeypoint.new(0,1,0),
  594. NumberSequenceKeypoint.new(1,0,0)
  595. }
  596. local EyeTrans={
  597. NumberSequenceKeypoint.new(0,0.8,0),
  598. NumberSequenceKeypoint.new(1,1,0)
  599. }
  600. local PE=Instance.new("ParticleEmitter",art)
  601. PE.LightEmission=.8
  602. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  603. PE.Size=NumberSequence.new(EyeSizes)
  604. PE.Transparency=NumberSequence.new(EyeTrans)
  605. PE.Lifetime=NumberRange.new(0.35,1.5)
  606. PE.Rotation=NumberRange.new(0,360)
  607. PE.Rate=999
  608. PE.VelocitySpread = 10000
  609. PE.Acceleration = Vector3.new(0,0,0)
  610. PE.Drag = 5
  611. PE.Speed = NumberRange.new(0,0,0)
  612. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  613. PE.ZOffset = -1.5
  614. PE.Name = "PE"
  615. PE.Enabled = false
  616.  
  617. function particles(art)
  618. local PARTICLES = PE:Clone()
  619. PARTICLES.Parent = art
  620. end
  621.  
  622. local HANDFOLDER = IT("Folder",Weapon)
  623. HANDFOLDER.Name = "Hands"
  624.  
  625. for i = 1, 3 do
  626. local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really red", "HandPart", VT(1,1,1),false)
  627. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Palm, Torso, Palm, CF(-1,3,2) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0, 0))
  628. CreateMesh("SpecialMesh", Palm, "FileMesh", "1920463816", "", VT(5,5,5), VT(0,0,0))
  629. local Palm2 = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really red", "HandPart", VT(1,1,1)*1.2,false)
  630. local HandleWeld2 = CreateWeldOrSnapOrMotor("Weld", Palm2, Palm, Palm2, CF(0.2,1.25,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  631. MakeForm(Palm2,"Ball")
  632. particles(Palm2)
  633.  
  634. local EN = IT("BoolValue",Palm)
  635. EN.Name = "IsEnabled"
  636. EN.Value = true
  637. table.insert(HANDS,{Palm,HandleWeld})
  638. end
  639.  
  640.  
  641. Player=game:GetService('Players').LocalPlayer
  642. Character=Player.Character
  643. Mouse=Player:GetMouse()
  644. m=Instance.new('Model',Character)
  645. local function weldBetween(a, b)
  646. local weldd = Instance.new("ManualWeld")
  647. weldd.Part0 = a
  648. weldd.Part1 = b
  649. weldd.C0 = CFrame.new()
  650. weldd.C1 = b.CFrame:inverse() * a.CFrame
  651. weldd.Parent = a
  652. return weldd
  653. end
  654.  
  655. it=Instance.new
  656.  
  657. function nooutline(part)
  658. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  659. end
  660.  
  661. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  662. local fp=it("Part")
  663. fp.formFactor=formfactor
  664. fp.Parent=parent
  665. fp.Reflectance=reflectance
  666. fp.Transparency=transparency
  667. fp.CanCollide=false
  668. fp.Locked=true
  669. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  670. fp.Name=name
  671. fp.Size=size
  672. fp.Position=Character.Torso.Position
  673. nooutline(fp)
  674. fp.Material=material
  675. fp:BreakJoints()
  676. return fp
  677. end
  678.  
  679. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  680. local mesh=it(Mesh)
  681. mesh.Parent=part
  682. if Mesh=="SpecialMesh" then
  683. mesh.MeshType=meshtype
  684. mesh.MeshId=meshid
  685. end
  686. mesh.Offset=offset
  687. mesh.Scale=scale
  688. return mesh
  689. end
  690.  
  691. function weld(parent,part0,part1,c0,c1)
  692. local weld=it("Weld")
  693. weld.Parent=parent
  694. weld.Part0=part0
  695. weld.Part1=part1
  696. weld.C0=c0
  697. weld.C1=c1
  698. return weld
  699. end
  700.  
  701. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
  702. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
  703. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  704.  
  705. Player=game:GetService('Players').LocalPlayer
  706. Character=Player.Character
  707. Mouse=Player:GetMouse()
  708. m=Instance.new('Model',Character)
  709. local function weldBetween(a, b)
  710. local weldd = Instance.new("ManualWeld")
  711. weldd.Part0 = a
  712. weldd.Part1 = b
  713. weldd.C0 = CFrame.new()
  714. weldd.C1 = b.CFrame:inverse() * a.CFrame
  715. weldd.Parent = a
  716. return weldd
  717. end
  718.  
  719. it=Instance.new
  720.  
  721. function nooutline(part)
  722. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  723. end
  724.  
  725. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  726. local fp=it("Part")
  727. fp.formFactor=formfactor
  728. fp.Parent=parent
  729. fp.Reflectance=reflectance
  730. fp.Transparency=transparency
  731. fp.CanCollide=false
  732. fp.Locked=true
  733. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  734. fp.Name=name
  735. fp.Size=size
  736. fp.Position=Character.Torso.Position
  737. nooutline(fp)
  738. fp.Material=material
  739. fp:BreakJoints()
  740. return fp
  741. end
  742.  
  743. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  744. local mesh=it(Mesh)
  745. mesh.Parent=part
  746. if Mesh=="SpecialMesh" then
  747. mesh.MeshType=meshtype
  748. mesh.MeshId=meshid
  749. end
  750. mesh.Offset=offset
  751. mesh.Scale=scale
  752. return mesh
  753. end
  754.  
  755. function weld(parent,part0,part1,c0,c1)
  756. local weld=it("Weld")
  757. weld.Parent=parent
  758. weld.Part0=part0
  759. weld.Part1=part1
  760. weld.C0=c0
  761. weld.C1=c1
  762. return weld
  763. end
  764.  
  765. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
  766. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
  767. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  768. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.6,0.1,1)/2,false)
  769. MakeForm(HandlePart,"Ball")
  770. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  771. local HandlePart = CreatePart(3,Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.6,0.1,1)/2,false)
  772. MakeForm(HandlePart,"Ball")
  773. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  774. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.1,1,1)/2,false)
  775. MakeForm(HandlePart,"Ball")
  776. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  777. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.1,1,1)/2,false)
  778. MakeForm(HandlePart,"Ball")
  779. CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  780.  
  781. local LASTPART = Head
  782. for i = 1, 20 do
  783. local MATH = (1-(i/25))
  784. if LASTPART == Head then
  785. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  786. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  787. LASTPART = Horn
  788. Horn.Color = C3((i*3-3)/255,0,0)
  789. else
  790. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  791. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  792. LASTPART = Horn
  793. Horn.Color = C3((i*3-3)/255,0,0)
  794. end
  795. end
  796. local LASTPART = Head
  797. for i = 1, 20 do
  798. local MATH = (1-(i/25))
  799. if LASTPART == Head then
  800. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  801. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  802. LASTPART = Horn
  803. Horn.Color = C3((i*3-3)/255,0,0)
  804. else
  805. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  806. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  807. LASTPART = Horn
  808. Horn.Color = C3((i*3-3)/255,0,0)
  809. end
  810. end
  811.  
  812.  
  813. local SCYTHE = IT("Model",Character)
  814. SCYTHE.Name = "SCYTHE"
  815.  
  816. local B = SCYTHE
  817. local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really red", "HandPart", VT(0.3,0.3,0.3),false)
  818. particles(HandlePart)
  819. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  820. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,3.5,0.2),false)
  821. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  822. MakeForm(part,"Ball")
  823. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1,0.3),false)
  824. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  825. MakeForm(part,"Ball")
  826. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.25,1,0.25),false)
  827. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  828. MakeForm(part,"Ball")
  829. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,2,0.15),false)
  830. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  831. MakeForm(part,"Ball")
  832. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.55,0.15),false)
  833. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  834. MakeForm(part,"Ball")
  835. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.5,0.15),false)
  836. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  837. MakeForm(part,"Ball")
  838. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.45,0.15),false)
  839. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  840. MakeForm(part,"Ball")
  841. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,2,0.3),false)
  842. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  843. MakeForm(part,"Ball")
  844. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.8,0.3),false)
  845. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  846. MakeForm(part,"Ball")
  847. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.3,0.3),false)
  848. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  849. MakeForm(part,"Ball")
  850. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.8,0.15),false)
  851. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
  852. MakeForm(part,"Ball")
  853. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,0.8,0.2),false)
  854. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  855. MakeForm(part,"Ball")
  856. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.4,1.3,0.8),false)
  857. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  858. MakeForm(part,"Ball")
  859. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
  860. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  861. MakeForm(part,"Ball")
  862. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,2,0.4),false)
  863. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  864. MakeForm(part,"Ball")
  865. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,2,0.4),false)
  866. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
  867. MakeForm(part,"Ball")
  868. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.05,2,0.2),false)
  869. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  870. MakeForm(part,"Ball")
  871. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
  872. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  873. MakeForm(part,"Ball")
  874. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,1,0.4),false)
  875. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
  876. MakeForm(part,"Ball")
  877. local part = CreatePart(3, B, "Granite", 0, 1, "Really red", "ScythePart", VT(0.15,1,0.2),false)
  878. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
  879. MakeForm(part,"Ball")
  880. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,0.5,0.1),false)
  881. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
  882. MakeForm(part,"Ball")
  883. local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
  884. local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  885.  
  886. for _, c in pairs(SCYTHE:GetChildren()) do
  887. if c.ClassName == "Part" then
  888. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  889. end
  890. end
  891.  
  892. Weapon.Parent = Character
  893.  
  894. Humanoid.Died:connect(function()
  895. KillChildren(Character)
  896. HANDS = {}
  897. HANDFOLDER:ClearAllChildren()
  898. SCYTHE:ClearAllChildren()
  899. for i = 1, 100 do
  900. Swait()
  901. sick.Volume = sick.Volume - 0.02
  902. end
  903. end)
  904.  
  905. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  906. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  907. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  908. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  909. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  910.  
  911. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1")
  912. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Absoluteum?", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2")
  913. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Hell Pillar(Warning Brutal burn)", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3")
  914. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] NECK SNAP(BRUTAL)", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4")
  915. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap(Rape also try f and g for more moves)", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5")
  916.  
  917. --//=================================\\
  918. --|| DAMAGING
  919. --\\=================================//
  920.  
  921. function KillChildren(v)
  922. v:BreakJoints()
  923. for _, c in pairs(v:GetChildren()) do
  924. if c.ClassName == "Part" or c.ClassName == "MesPart" then
  925. if c.Transparency < 1 then
  926. if c:FindFirstChildOfClass("Decal") then
  927. c:FindFirstChildOfClass("Decal"):remove()
  928. end
  929. particles(c)
  930. c.PE.Enabled = true
  931. c.Parent = Effects
  932. c.CanCollide = false
  933. c.Material = "Neon"
  934. c.Color = C3(1,0,0)
  935. c.Transparency = 0.5
  936. local grav = Instance.new("BodyPosition",c)
  937. grav.P = 20000
  938. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  939. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  940. grav.Name = "GravityForce"
  941. coroutine.resume(coroutine.create(function()
  942. for i = 1, 50 do
  943. Swait()
  944. c.Transparency = c.Transparency + 0.01
  945. end
  946. c.PE.Enabled = false
  947. Debris:AddItem(c,2)
  948. end))
  949. end
  950. end
  951. end
  952. end
  953.  
  954. function killnearest(position,range)
  955. for i,v in ipairs(workspace:GetChildren()) do
  956. local body = v:GetChildren()
  957. for part = 1, #body do
  958. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  959. if(body[part].Position - position).Magnitude < range then
  960. if v.ClassName == "Model" then
  961. KillChildren(v)
  962. end
  963. end
  964. end
  965. end
  966. end
  967. end
  968.  
  969. --//=================================\\
  970. --|| ATTACK FUNCTIONS AND STUFF
  971. --\\=================================//
  972.  
  973. function Intro()
  974. ATTACK = true
  975. Rooted = true
  976. local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 500, Character)
  977. RootPart.CFrame = CF(HITPOS+VT(0,3,0))
  978. local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Really red", "Seal", VT(1,1,1))
  979. MakeForm(ORB,"Ball")
  980. local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Really red", "Seal", VT(1,1,1)*1.1)
  981. MakeForm(ORB2,"Ball")
  982. ORB.CFrame = CF(HITPOS+VT(0,3,0))
  983. ORB2.CFrame = CF(HITPOS+VT(0,3,0))
  984. for _, c in pairs(Character:GetChildren()) do
  985. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  986. c.Transparency = 1
  987. end
  988. end
  989. wait(2.5)
  990. chatfunc(" As my wings form and my eyes form out of my orb.",5)
  991. wait(2.5)
  992. chatfunc("I was so lonely for the past years but now i have hope.",5)
  993. wait(2.5)
  994. chatfunc("I am the fallen reaper.",5)
  995. wait(7)
  996. chatfunc("You will feel my pain.",5)
  997. for i=0, 1, 0.1 / Animation_Speed do
  998. Swait()
  999. ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
  1000. ORB2.CFrame = ORB.CFrame
  1001. for _, c in pairs(Character:GetChildren()) do
  1002. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1003. c.Transparency = 1
  1004. elseif c.ClassName == "Accessory" then
  1005. c:remove()
  1006. end
  1007. end
  1008. for _, c in pairs(SCYTHE:GetChildren()) do
  1009. if c.ClassName == "Part" then
  1010. c.Transparency = 1
  1011. c.Color = C3(0,0,0)
  1012. end
  1013. end
  1014. Player:ClearCharacterAppearance()
  1015. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1016. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1017. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1018. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.75, 0.25, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1019. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1020. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1021. end
  1022. repeat
  1023. Swait()
  1024. ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
  1025. ORB2.CFrame = ORB.CFrame
  1026. until sick.TimePosition > 12
  1027. CreateSound("134978657", Effects, 5, 1)
  1028. repeat
  1029. Swait()
  1030. if MRANDOM(1,5) == 1 then
  1031. local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
  1032. SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
  1033. MakeForm(SPHERE,"Ball")
  1034. coroutine.resume(coroutine.create(function()
  1035. for i = 1, 100 do
  1036. Swait()
  1037. SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
  1038. SPHERE.Transparency = (i/100)
  1039. end
  1040. SPHERE:remove()
  1041. end))
  1042. end
  1043. ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
  1044. ORB2.CFrame = ORB.CFrame
  1045. CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
  1046. until sick.TimePosition > 24
  1047. CreateSound("135017578", Effects, 5, 1)
  1048. repeat
  1049. Swait()
  1050. if MRANDOM(1,5) == 1 then
  1051. local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
  1052. SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
  1053. MakeForm(SPHERE,"Ball")
  1054. coroutine.resume(coroutine.create(function()
  1055. for i = 1, 100 do
  1056. Swait()
  1057. SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
  1058. SPHERE.Transparency = (i/100)
  1059. end
  1060. SPHERE:remove()
  1061. end))
  1062. end
  1063. ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
  1064. ORB2.CFrame = ORB.CFrame
  1065. if MRANDOM(1,5) == 1 then
  1066. CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
  1067. end
  1068. if MRANDOM(1,5) == 1 then
  1069. CreateRing(VT(0,0,0),false,0,MRANDOM(15,25),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(3,3,0))
  1070. end
  1071. CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
  1072. until sick.TimePosition > 34.5
  1073. repeat
  1074. Swait()
  1075. ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
  1076. ORB2.CFrame = ORB.CFrame
  1077. MagicSphere(VT(0,0,0),15,ORB.CFrame,"Really red",VT(1,15,1))
  1078. if MRANDOM(1,5) == 1 then
  1079. CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
  1080. end
  1081. CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
  1082. until sick.TimePosition > 36
  1083. MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(5,5,5))
  1084. MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(2.5,2.5,2.5))
  1085. MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(0.5,0.5,0.5))
  1086. CreateSound("2691586", Effects, 5, 1)
  1087. CreateSound("181384451", Effects, 10, 0.6)
  1088. ORB:remove()
  1089. ORB2:remove()
  1090. tecks2.TextTransparency = 0
  1091. repeat
  1092. Swait()
  1093. for _, c in pairs(Character:GetChildren()) do
  1094. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1095. c.Transparency = 0
  1096. c.Color = C3(0,0,0)
  1097. elseif c.ClassName == "Accessory" then
  1098. c:remove()
  1099. end
  1100. end
  1101. for _, c in pairs(Weapon:GetChildren()) do
  1102. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1103. c.Transparency = 0
  1104. end
  1105. end
  1106. for _, c in pairs(HANDFOLDER:GetChildren()) do
  1107. if c.ClassName == "Part" then
  1108. c.Transparency = 0
  1109. c.Color = C3(0,0,0)
  1110. end
  1111. end
  1112. CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
  1113. --CreateRing(VT(0,0,0),false,0,150,CF(HITPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
  1114. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1118. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1119. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1120. until sick.TimePosition > 42
  1121. HandleWeld.Part0 = RightArm
  1122. for i=0, 1, 0.1 / Animation_Speed do
  1123. Swait()
  1124. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1125. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1129. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1130. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1131. end
  1132. for i = 1, 100 do
  1133. Swait()
  1134. CreateRing(VT(0,0,0),false,0,150,HitBox.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
  1135. for _, c in pairs(SCYTHE:GetChildren()) do
  1136. if c.ClassName == "Part" then
  1137. if c.Material ~= Enum.Material.Neon then
  1138. c.Transparency = c.Transparency - 0.01
  1139. end
  1140. c.Color = C3(0,0,0)
  1141. end
  1142. end
  1143. end
  1144. HandleWeld.Part0 = Torso
  1145. TRANSFORMED = true
  1146. ATTACK = false
  1147. Rooted = false
  1148. end
  1149.  
  1150. function AttackTemplate()
  1151. ATTACK = true
  1152. Rooted = false
  1153. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1154. HandleWeld.Part0 = RightArm
  1155. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1156. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1157. for i=0, 1, 0.1 / Animation_Speed do
  1158. Swait()
  1159. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1160. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1163. 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)
  1164. 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)
  1165. end
  1166. HandleWeld.Part0 = Torso
  1167. ATTACK = false
  1168. Rooted = false
  1169. end
  1170.  
  1171. function Hit()
  1172. local HAND = HANDS[MRANDOM(1,#HANDS)]
  1173. if HAND[1].IsEnabled.Value == true then
  1174. HAND[1].IsEnabled.Value = false
  1175. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
  1176. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1177. for i = 1, 4 do
  1178. Swait()
  1179. killnearest(HAND[1].Position,5)
  1180. HAND[2].C0 = Clerp(HAND[2].C0, CF(0,0,-6) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed)
  1181. end
  1182. HAND[1].IsEnabled.Value = true
  1183. end
  1184. end
  1185.  
  1186. function Warp()
  1187. ATTACK = true
  1188. Rooted = true
  1189. UNANCHOR = false
  1190. RootPart.Anchored = true
  1191. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1192. HandleWeld.Part0 = RightArm
  1193. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1194. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1195. for i=0, 0.5, 0.1 / Animation_Speed do
  1196. Swait()
  1197. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1198. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1199. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1200. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1201. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1204. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1205. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1206. end
  1207. for i = 1, 10 do
  1208. Swait()
  1209. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1210. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1211. for _, c in pairs(HANDFOLDER:GetChildren()) do
  1212. if c.ClassName == "Part" then
  1213. c.Transparency = c.Transparency + 0.1
  1214. end
  1215. end
  1216. end
  1217. for i=0, 1, 0.1 / Animation_Speed do
  1218. Swait()
  1219. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1220. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1221. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1228. end
  1229. local ORIGIN = RootPart.Position
  1230. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
  1231. for i=0, 1, 0.1 / Animation_Speed do
  1232. Swait()
  1233. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1234. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1235. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1242. end
  1243. UNANCHOR = true
  1244. RootPart.Anchored = false
  1245. for i = 1, 10 do
  1246. Swait()
  1247. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1248. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1249. for _, c in pairs(HANDFOLDER:GetChildren()) do
  1250. if c.ClassName == "Part" then
  1251. c.Transparency = c.Transparency - 0.1
  1252. end
  1253. end
  1254. end
  1255. HandleWeld.Part0 = Torso
  1256. ATTACK = false
  1257. Rooted = false
  1258. end
  1259.  
  1260. function DeathlyDash()
  1261. ATTACK = true
  1262. Rooted = false
  1263. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1264. HandleWeld.Part0 = RightArm
  1265. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1266. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1267. for i=0, 1, 0.1 / Animation_Speed do
  1268. Swait()
  1269. turnto(Mouse.Hit.p)
  1270. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
  1271. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  1272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  1273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1277. end
  1278. local TRAILS = {}
  1279. local FOUND = false
  1280. for i = 1, 75 do
  1281. Swait()
  1282. local TRAIL = Character:Clone()
  1283. for _, c in pairs(TRAIL:GetChildren()) do
  1284. if c.ClassName == "Part" then
  1285. c.Anchored = true
  1286. c.Color = C3(1,0,0)
  1287. c.Transparency = 0.5
  1288. c.Material = "Neon"
  1289. c.CanCollide = false
  1290. else
  1291. c:remove()
  1292. end
  1293. end
  1294. TRAIL.Parent = Effects
  1295. table.insert(TRAILS,TRAIL)
  1296. Debris:AddItem(TRAIL,0.08)
  1297. for _, c in pairs(workspace:GetChildren()) do
  1298. if c.ClassName == "Model" then
  1299. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1300. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1301. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  1302. if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then
  1303. killnearest(TORSO.Position,25)
  1304. FOUND = true
  1305. end
  1306. end
  1307. end
  1308. end
  1309. if FOUND == true then
  1310. for i = 1, 65 do
  1311. killnearest(Torso.CFrame*CF(0,0,-8).p,25)
  1312. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  1313. end
  1314. local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
  1315. Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
  1316. for i=0, 1, 0.1 / Animation_Speed do
  1317. Swait()
  1318. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1)
  1319. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed)
  1320. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed)
  1321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1322. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1323. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1324. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1325. end
  1326. break
  1327. end
  1328. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5)
  1329. end
  1330. HandleWeld.Part0 = Torso
  1331. ATTACK = false
  1332. Rooted = false
  1333. end
  1334.  
  1335. function FatalGrab()
  1336. Rooted = true
  1337. local HAND = HANDS[MRANDOM(1,#HANDS)]
  1338. if HAND[1].IsEnabled.Value == true then
  1339. HAND[1].IsEnabled.Value = false
  1340. HAND[1].CanCollide = true
  1341. local GRABBED = false
  1342. local GRABTARGET = nil
  1343. local HUMAN = nil
  1344. local HIT = HAND[1].Touched:Connect(function(hit)
  1345. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1346. local TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1347. if TORS ~= nil then
  1348. GRABTARGET = TORS
  1349. GRABBED = true
  1350. HUMAN = hit.Parent:FindFirstChildOfClass("Humanoid")
  1351. end
  1352. end
  1353. end)
  1354. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
  1355. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1356. for i = 1, 4 do
  1357. Swait()
  1358. turnto(Mouse.Hit.p)
  1359. if GRABBED == true then
  1360. break
  1361. end
  1362. HAND[2].C0 = Clerp(HAND[2].C0, CF(0,5,-20) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed)
  1363. end
  1364. if GRABBED == true then
  1365. UNANCHOR = false
  1366. RootPart.Anchored = true
  1367. HUMAN.PlatformStand = true
  1368. GRABTARGET.CFrame = HAND[1].CFrame*ANGLES(RAD(-90),RAD(0),RAD(0))
  1369. local WELD = weldBetween(HAND[1],GRABTARGET)
  1370. VALUE2 = true
  1371. for i = 1, 30 do
  1372. Swait()
  1373. HUMAN.PlatformStand = true
  1374. HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1375. end
  1376. for i = 1, 50 do
  1377. Swait()
  1378. HUMAN.PlatformStand = true
  1379. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.2 / Animation_Speed)
  1380. HAND[2].C0 = Clerp(HAND[2].C0, CF(0+MRANDOM(-2,2)/5,7+MRANDOM(-2,2)/5,-20+MRANDOM(-2,2)/5) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed)
  1381. end
  1382. local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
  1383. MagicSphere(VT(0.5,0,0.5),25,CF(GRABTARGET.Position),"Really red",VT(0,5,0))
  1384. CreateSound("289315275", GRABTARGET, 10, 2.5)
  1385. MagicBlock(0,25,HAND[1].CFrame,"Really red",VT(5,5,5))
  1386. WELD:remove()
  1387. KillChildren(GRABTARGET.Parent)
  1388. killnearest(GRABTARGET.Position,10)
  1389. UNANCHOR = true
  1390. RootPart.Anchored = false
  1391. for i = 1, 10 do
  1392. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1393. Swait()
  1394. HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed)
  1395. end
  1396. VALUE2 = false
  1397. end
  1398. HAND[1].CanCollide = false
  1399. HAND[1].IsEnabled.Value = true
  1400. end
  1401. Rooted = false
  1402. end
  1403.  
  1404. function FatalWave()
  1405. ATTACK = true
  1406. Rooted = true
  1407. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1408. HandleWeld.Part0 = RightArm
  1409. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1410. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1411. for i=0, 1, 0.1 / Animation_Speed do
  1412. Swait()
  1413. CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(1,1,0))
  1414. turnto(Mouse.Hit.p)
  1415. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
  1416. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1420. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1421. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1422. end
  1423. for i=0,0.1, 0.1 / Animation_Speed do
  1424. Swait()
  1425. turnto(Mouse.Hit.p)
  1426. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
  1427. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
  1428. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
  1429. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  1430. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
  1431. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1432. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1433. end
  1434. local angle = - 30
  1435. for i = 1, 5 do
  1436. coroutine.resume(coroutine.create(function()
  1437. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1438. local SpawnPosition = RayPos
  1439. local floor = RayHit
  1440. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1441. local LastPosition = RayPos
  1442. local Delay = 1
  1443. for i = 1, 15 do
  1444. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1445. local End = RayPos
  1446. LastPosition = End
  1447. if SpawnPosition then
  1448. killnearest(End,25)
  1449. CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.4,0.4,0)*i)
  1450. Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
  1451. end
  1452. Swait()
  1453. end
  1454. end))
  1455. angle = angle + 15
  1456. end
  1457. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
  1458. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1459. CreateSound("62339698", HitBox, 10, 0.4)
  1460. for i=0, 1, 0.1 / Animation_Speed do
  1461. Swait()
  1462. turnto(Mouse.Hit.p)
  1463. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
  1464. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
  1465. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
  1466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
  1467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
  1468. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1469. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1470. end
  1471. HandleWeld.Part0 = Torso
  1472. ATTACK = false
  1473. Rooted = false
  1474. end
  1475.  
  1476. function Reap()
  1477. ATTACK = true
  1478. Rooted = true
  1479. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1480. HandleWeld.Part0 = RightArm
  1481. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1482. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1483. for i=0, 3, 0.1 / Animation_Speed do
  1484. Swait()
  1485. for e=1,#HANDS do
  1486. if HANDS[e]~=nil then
  1487. local Thing=HANDS[e]
  1488. if Thing~=nil then
  1489. local MainPart=Thing[1]
  1490. local F=Thing[2]
  1491. MainPart.IsEnabled.Value = false
  1492. F.C0 = Clerp(F.C0, CF(0,15,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed)
  1493. end
  1494. end
  1495. end
  1496. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2)
  1497. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1501. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1502. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1503. end
  1504. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
  1505. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1506. local SOUND = CreateSound("135017578", Effects, 5, 1)
  1507. Swait()
  1508. repeat
  1509. Swait()
  1510. for e=1,#HANDS do
  1511. if HANDS[e]~=nil then
  1512. local Thing=HANDS[e]
  1513. if Thing~=nil then
  1514. local MainPart=Thing[1]
  1515. local F=Thing[2]
  1516. MainPart.IsEnabled.Value = false
  1517. F.C0 = Clerp(F.C0, CF(0,-2.5,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed)
  1518. end
  1519. end
  1520. end
  1521. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2)
  1522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1528. until SOUND.playing == false
  1529. local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Really red", VT(800,0,800))
  1530. MakeForm(FLOOR,"Cyl")
  1531. FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0))
  1532. CreateSound("289315275", Effects, 5, 0.3)
  1533. for i = 1, 400 do
  1534. Swait()
  1535. FLOOR.Transparency = FLOOR.Transparency - (1/400)
  1536. if i > 100 then
  1537. if MRANDOM(1,2) == 1 then
  1538. local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
  1539. SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285))
  1540. MakeForm(SPHERE,"Ball")
  1541. coroutine.resume(coroutine.create(function()
  1542. for i = 1, 100 do
  1543. Swait()
  1544. SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
  1545. SPHERE.Transparency = (i/100)
  1546. end
  1547. SPHERE:remove()
  1548. end))
  1549. end
  1550. end
  1551. end
  1552. CreateSound("62339698", Effects, 10, 0.3)
  1553. killnearest(FLOOR.Position,FLOOR.Size.Z/2)
  1554. FLOOR:ClearAllChildren()
  1555. MakeForm(FLOOR,"Ball")
  1556. for i = 1, 50 do
  1557. Swait()
  1558. FLOOR.Size = FLOOR.Size + VT(-16,1,-16)
  1559. FLOOR.Transparency = FLOOR.Transparency + (1/50)
  1560. end
  1561. FLOOR:remove()
  1562. HandleWeld.Part0 = Torso
  1563. ATTACK = false
  1564. Rooted = false
  1565. for e=1,#HANDS do
  1566. if HANDS[e]~=nil then
  1567. local Thing=HANDS[e]
  1568. if Thing~=nil then
  1569. local MainPart=Thing[1]
  1570. local F=Thing[2]
  1571. MainPart.IsEnabled.Value = true
  1572. end
  1573. end
  1574. end
  1575. end
  1576.  
  1577. function Taunt()
  1578. ATTACK = true
  1579. Rooted = true
  1580. local SOUND = CreateSound("134978657", Head, 10, 1)
  1581. Swait()
  1582. repeat
  1583. Swait()
  1584. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1590. until SOUND.Playing == false
  1591. ATTACK = false
  1592. Rooted = false
  1593. end
  1594. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1595. local svch = Character2
  1596. Character2:BreakJoints()
  1597. local hum = Character2:findFirstChild("Humanoid")
  1598. local q = Character2:GetChildren()
  1599. local CLONE = IT("Model", Effects)
  1600. for i = 1, #q do
  1601. if q[i].ClassName == "Accessory" and Headless == true then
  1602. q[i]:remove()
  1603. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1604. q[i].Parent = CLONE
  1605. elseif q[i].ClassName ~= "Humanoid" then
  1606. q[i]:remove()
  1607. end
  1608. end
  1609. local chrclone = CLONE
  1610. local ch = chrclone:GetChildren()
  1611. local i
  1612. for i = 1, #ch do
  1613. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1614. ch[i]:remove()
  1615. end
  1616. end
  1617. local function Scan(ch)
  1618. local e
  1619. for e = 1, #ch do
  1620. Scan(ch[e]:GetChildren())
  1621. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1622. ch[e]:remove()
  1623. end
  1624. end
  1625. end
  1626. Character2:remove()
  1627. local NEWHUM = IT("Humanoid")
  1628. NEWHUM.Name = "Corpse"
  1629. NEWHUM.Health = 0
  1630. NEWHUM.MaxHealth = 0
  1631. NEWHUM.PlatformStand = true
  1632. NEWHUM.Parent = CLONE
  1633. NEWHUM.DisplayDistanceType = "None"
  1634. Scan(chrclone:GetChildren())
  1635. local ch = Character2:GetChildren()
  1636. local i
  1637. for i = 1, #ch do
  1638. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1639. ch[i]:remove()
  1640. end
  1641. end
  1642. local ch = Character2:GetChildren()
  1643. local i
  1644. for i = 1, #ch do
  1645. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1646. ch[i]:remove()
  1647. end
  1648. end
  1649. Character2 = chrclone
  1650. local Torso2 = Character2.Torso
  1651. local movevector = Vector3.new()
  1652. if Torso2 then
  1653. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1654. local Head = Character2:FindFirstChild("Head")
  1655. if Head then
  1656. local Neck = Instance.new("Weld")
  1657. Neck.Name = "Neck"
  1658. Neck.Part0 = Torso2
  1659. Neck.Part1 = Head
  1660. Neck.C0 = CFrame.new(0, 1.5, 0)
  1661. Neck.C1 = CFrame.new()
  1662. Neck.Parent = Torso2
  1663. if Headless == true then
  1664. Head.Transparency = 1
  1665. Head:ClearAllChildren()
  1666. end
  1667. end
  1668. local Limb = Character2:FindFirstChild("Right Arm")
  1669. if Limb then
  1670. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1671. local Joint = Instance.new("Glue")
  1672. Joint.Name = "RightShoulder"
  1673. Joint.Part0 = Torso2
  1674. Joint.Part1 = Limb
  1675. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1676. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1677. Joint.Parent = Torso2
  1678. local B = Instance.new("Part")
  1679. B.TopSurface = 0
  1680. B.BottomSurface = 0
  1681. B.formFactor = "Symmetric"
  1682. B.Size = Vector3.new(1, 1, 1)
  1683. B.Transparency = 1
  1684. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1685. B.Parent = Character2
  1686. local W = Instance.new("Weld")
  1687. W.Part0 = Limb
  1688. W.Part1 = B
  1689. W.C0 = CFrame.new(0, -0.5, 0)
  1690. W.Parent = Limb
  1691. end
  1692. local Limb = Character2:FindFirstChild("Left Arm")
  1693. if Limb then
  1694. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1695. local Joint = Instance.new("Glue")
  1696. Joint.Name = "LeftShoulder"
  1697. Joint.Part0 = Torso2
  1698. Joint.Part1 = Limb
  1699. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1700. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1701. Joint.Parent = Torso2
  1702. local B = Instance.new("Part")
  1703. B.TopSurface = 0
  1704. B.BottomSurface = 0
  1705. B.formFactor = "Symmetric"
  1706. B.Size = Vector3.new(1, 1, 1)
  1707. B.Transparency = 1
  1708. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1709. B.Parent = Character2
  1710. local W = Instance.new("Weld")
  1711. W.Part0 = Limb
  1712. W.Part1 = B
  1713. W.C0 = CFrame.new(0, -0.5, 0)
  1714. W.Parent = Limb
  1715. end
  1716. local Limb = Character2:FindFirstChild("Right Leg")
  1717. if Limb then
  1718. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1719. local Joint = Instance.new("Glue")
  1720. Joint.Name = "RightHip"
  1721. Joint.Part0 = Torso2
  1722. Joint.Part1 = Limb
  1723. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1724. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1725. Joint.Parent = Torso2
  1726. local B = Instance.new("Part")
  1727. B.TopSurface = 0
  1728. B.BottomSurface = 0
  1729. B.formFactor = "Symmetric"
  1730. B.Size = Vector3.new(1, 1, 1)
  1731. B.Transparency = 1
  1732. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1733. B.Parent = Character2
  1734. local W = Instance.new("Weld")
  1735. W.Part0 = Limb
  1736. W.Part1 = B
  1737. W.C0 = CFrame.new(0, -0.5, 0)
  1738. W.Parent = Limb
  1739. end
  1740. local Limb = Character2:FindFirstChild("Left Leg")
  1741. if Limb then
  1742. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1743. local Joint = Instance.new("Glue")
  1744. Joint.Name = "LeftHip"
  1745. Joint.Part0 = Torso2
  1746. Joint.Part1 = Limb
  1747. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1748. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1749. Joint.Parent = Torso2
  1750. local B = Instance.new("Part")
  1751. B.TopSurface = 0
  1752. B.BottomSurface = 0
  1753. B.formFactor = "Symmetric"
  1754. B.Size = Vector3.new(1, 1, 1)
  1755. B.Transparency = 1
  1756. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1757. B.Parent = Character2
  1758. local W = Instance.new("Weld")
  1759. W.Part0 = Limb
  1760. W.Part1 = B
  1761. W.C0 = CFrame.new(0, -0.5, 0)
  1762. W.Parent = Limb
  1763. end
  1764. local Bar = Instance.new("Part")
  1765. Bar.TopSurface = 0
  1766. Bar.BottomSurface = 0
  1767. Bar.formFactor = "Symmetric"
  1768. Bar.Size = Vector3.new(1, 1, 1)
  1769. Bar.Transparency = 1
  1770. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1771. Bar.Parent = Character2
  1772. local Weld = Instance.new("Weld")
  1773. Weld.Part0 = Torso2
  1774. Weld.Part1 = Bar
  1775. Weld.C0 = CFrame.new(0, 0.5, 0)
  1776. Weld.Parent = Torso2
  1777. end
  1778. Character2.Parent = Weapon
  1779. if movevector ~= Vector3.new() then
  1780. for i = 1, 10 do
  1781. Torso2.Velocity = movevector * Velocity
  1782. end
  1783. end
  1784. Character2.Name = "Corpse"
  1785. return Character2, Torso2
  1786. end
  1787. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1788. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1789. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1790. if HITFLOOR.Name == "BloodPuddle" then
  1791. local DIST = (Position - HITFLOOR.Position).Magnitude
  1792. 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
  1793. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1794. end
  1795. elseif HITFLOOR.Anchored == true then
  1796. do
  1797. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  1798. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1799. MakeForm(BLOOD, "Cyl")
  1800. coroutine.resume(coroutine.create(function()
  1801. Swait(75)
  1802. while true do
  1803. Swait()
  1804. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1805. if BLOOD.Size.Z < 0.051 then
  1806. BLOOD:remove()
  1807. break
  1808. end
  1809. end
  1810. end))
  1811. end
  1812. end
  1813. end
  1814. end
  1815.  
  1816. local ATTACKTAUNTS =
  1817. "907329893",
  1818. "907329532",
  1819. "907333294",
  1820. "907332856"
  1821.  
  1822. local ULTTAUNTS =
  1823. "907332997",
  1824. "907332670",
  1825. "907330103"
  1826.  
  1827. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1828. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  1829. BLOOD.CFrame = CF(POSITION)
  1830. MakeForm(BLOOD, "Ball")
  1831. local bv = Instance.new("BodyVelocity", BLOOD)
  1832. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1833. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1834. bv.Name = "MOVE"
  1835. Debris:AddItem(bv, 0.05)
  1836. coroutine.resume(coroutine.create(function()
  1837. local HASTOUCHEDGROUND = false
  1838. local HIT = BLOOD.Touched:Connect(function(hit)
  1839. if hit.Anchored == true then
  1840. HASTOUCHEDGROUND = true
  1841. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1842. end
  1843. end)
  1844. wait(5)
  1845. if HASTOUCHEDGROUND == false then
  1846. BLOOD:remove()
  1847. end
  1848. end))
  1849. end
  1850. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1851. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1852. defence.Name = "HitBy" .. Player.Name
  1853. game:GetService("Debris"):AddItem(defence, 0.001)
  1854. Damage = Damage * DAMAGEMULTIPLIER
  1855. if Humanoid.Health ~= 0 then
  1856. local CritChance = MRANDOM(1, 100)
  1857. if Damage > Humanoid.Health then
  1858. Damage = math.ceil(Humanoid.Health)
  1859. if Damage == 0 then
  1860. Damage = 0.1
  1861. end
  1862. end
  1863. Humanoid.Health = Humanoid.Health - Damage
  1864. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1865. end
  1866. end
  1867. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1868. local CHILDREN = workspace:GetDescendants()
  1869. for index, CHILD in pairs(CHILDREN) do
  1870. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1871. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1872. if HUM then
  1873. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1874. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1875. if INSTAKILL == true then
  1876. Petrify(CHILD)
  1877. else
  1878. local DMG = MRANDOM(MINDMG, MAXDMG)
  1879. ApplyDamage(HUM, DMG, TORSO)
  1880. end
  1881. if FLING > 0 then
  1882. for _, c in pairs(CHILD:GetChildren()) do
  1883. if c:IsA("BasePart") then
  1884. local bv = Instance.new("BodyVelocity")
  1885. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1886. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1887. bv.Parent = c
  1888. Debris:AddItem(bv, 0.05)
  1889. end
  1890. end
  1891. end
  1892. end
  1893. end
  1894. end
  1895. end
  1896. end
  1897. function Neck_Snap()
  1898. ATTACK = true
  1899. Rooted = false
  1900. local TARGET, HUM, WLD
  1901. local HIT = RightArm.Touched:Connect(function(hit)
  1902. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1903. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1904. if H.Health > 0 then
  1905. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1906. if TORSO then
  1907. HUM = H
  1908. TARGET = TORSO
  1909. H.PlatformStand = true
  1910. CreateSound("260411131", TORSO, 10, 1)
  1911. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1912. end
  1913. end
  1914. end
  1915. end)
  1916. for i = 0, 1, 0.1 / Animation_Speed do
  1917. Swait()
  1918. if TARGET ~= nil then
  1919. break
  1920. end
  1921. 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)
  1922. 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)
  1923. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1924. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1925. if ANIM == "Idle" then
  1926. 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)
  1927. 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)
  1928. elseif ANIM == "Walk" then
  1929. 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)
  1930. 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)
  1931. elseif ANIM == "Jump" or ANIM == "Fall" then
  1932. 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)
  1933. 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)
  1934. end
  1935. end
  1936. HIT:disconnect()
  1937. if TARGET ~= nil then
  1938. if TARGET.Name == "Torso" then
  1939. for i = 0, 2, 0.1 / Animation_Speed do
  1940. Swait()
  1941. 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)
  1942. 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)
  1943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1945. if ANIM == "Idle" then
  1946. 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)
  1947. 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)
  1948. elseif ANIM == "Walk" then
  1949. 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)
  1950. 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)
  1951. elseif ANIM == "Jump" or ANIM == "Fall" then
  1952. 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)
  1953. 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)
  1954. end
  1955. end
  1956. WLD:remove()
  1957. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1958. if HEAD then
  1959. UNANCHOR = false
  1960. RootPart.Anchored = true
  1961. local HD = HEAD:Clone()
  1962. HD.Name = "FakeHead"
  1963. for i = 1, 7 do
  1964. 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)
  1965. end
  1966. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1967. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1968. HD.Parent = RAGDOLL
  1969. CreateSound("264486467", RAGTORSO, 10, 1)
  1970. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1971. for i = 0, 2, 0.1 / Animation_Speed do
  1972. Swait()
  1973. 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)
  1974. 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)
  1975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1977. if ANIM == "Idle" then
  1978. 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)
  1979. 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)
  1980. elseif ANIM == "Walk" then
  1981. 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)
  1982. 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)
  1983. elseif ANIM == "Jump" or ANIM == "Fall" then
  1984. 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)
  1985. 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)
  1986. end
  1987. end
  1988. HEADWELD:remove()
  1989. for i = 0, 0.5, 0.1 / Animation_Speed do
  1990. Swait()
  1991. 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)
  1992. 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)
  1993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1995. if ANIM == "Idle" then
  1996. 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)
  1997. 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)
  1998. elseif ANIM == "Walk" then
  1999. 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)
  2000. 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)
  2001. elseif ANIM == "Jump" or ANIM == "Fall" then
  2002. 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)
  2003. 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)
  2004. end
  2005. end
  2006. CreateSound("907333406", Torso, 10, 1)
  2007. for i = 0, 0.25, 0.1 / Animation_Speed do
  2008. Swait()
  2009. 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)
  2010. 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)
  2011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2012. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2013. if ANIM == "Idle" then
  2014. 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)
  2015. 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)
  2016. elseif ANIM == "Walk" then
  2017. 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)
  2018. 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)
  2019. elseif ANIM == "Jump" or ANIM == "Fall" then
  2020. 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)
  2021. 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)
  2022. end
  2023. end
  2024. RAGWELD:remove()
  2025. local bv = Instance.new("BodyVelocity")
  2026. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2027. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  2028. bv.Parent = RAGTORSO
  2029. Debris:AddItem(bv, 0.05)
  2030. Debris:AddItem(RAGDOLL, 5)
  2031. for i = 0, 0.15, 0.1 / Animation_Speed do
  2032. Swait()
  2033. 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)
  2034. 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)
  2035. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2036. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2037. if ANIM == "Idle" then
  2038. 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)
  2039. 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)
  2040. elseif ANIM == "Walk" then
  2041. 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)
  2042. 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)
  2043. elseif ANIM == "Jump" or ANIM == "Fall" then
  2044. 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)
  2045. 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)
  2046. end
  2047. end
  2048. UNANCHOR = true
  2049. RootPart.Anchored = false
  2050. end
  2051. else
  2052. UNANCHOR = false
  2053. RootPart.Anchored = true
  2054. for i = 0, 0.5, 0.1 / Animation_Speed do
  2055. Swait()
  2056. 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)
  2057. 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)
  2058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2060. if ANIM == "Idle" then
  2061. 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)
  2062. 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)
  2063. elseif ANIM == "Walk" then
  2064. 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)
  2065. 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)
  2066. elseif ANIM == "Jump" or ANIM == "Fall" then
  2067. 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)
  2068. 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)
  2069. end
  2070. end
  2071. for i = 0, 0.25, 0.1 / Animation_Speed do
  2072. Swait()
  2073. 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)
  2074. 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)
  2075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2077. if ANIM == "Idle" then
  2078. 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)
  2079. 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)
  2080. elseif ANIM == "Walk" then
  2081. 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)
  2082. 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)
  2083. elseif ANIM == "Jump" or ANIM == "Fall" then
  2084. 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)
  2085. 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)
  2086. end
  2087. end
  2088. WLD:remove()
  2089. TARGET.Parent:BreakJoints()
  2090. for _, c in pairs(TARGET.Parent:GetChildren()) do
  2091. if c:IsA("BasePart") then
  2092. local bv = Instance.new("BodyVelocity")
  2093. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2094. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  2095. bv.Parent = c
  2096. Debris:AddItem(bv, 0.05)
  2097. end
  2098. end
  2099. for i = 0, 0.15, 0.1 / Animation_Speed do
  2100. Swait()
  2101. 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)
  2102. 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)
  2103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2105. if ANIM == "Idle" then
  2106. 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)
  2107. 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)
  2108. elseif ANIM == "Walk" then
  2109. 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)
  2110. 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)
  2111. elseif ANIM == "Jump" or ANIM == "Fall" then
  2112. 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)
  2113. 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)
  2114. end
  2115. end
  2116. UNANCHOR = true
  2117. RootPart.Anchored = false
  2118. end
  2119. end
  2120. ATTACK = false
  2121. Rooted = false
  2122. end
  2123. function NoOutlines(PART)
  2124. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2125. end
  2126. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2127. local NEWWELD = IT(TYPE)
  2128. NEWWELD.Part0 = PART0
  2129. NEWWELD.Part1 = PART1
  2130. NEWWELD.C0 = C0
  2131. NEWWELD.C1 = C1
  2132. NEWWELD.Parent = PARENT
  2133. return NEWWELD
  2134. end
  2135. local S = IT("Sound")
  2136. function CreateSound(ID, PARENT, VOLUME, PITCH)
  2137. local NEWSOUND
  2138. coroutine.resume(coroutine.create(function()
  2139. NEWSOUND = S:Clone()
  2140. NEWSOUND.Parent = PARENT
  2141. NEWSOUND.Volume = VOLUME
  2142. NEWSOUND.Pitch = PITCH
  2143. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  2144. Swait()
  2145. NEWSOUND:play()
  2146. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  2147. end))
  2148. return NEWSOUND
  2149. end
  2150. function CFrameFromTopBack(at, top, back)
  2151. local right = top:Cross(back)
  2152. 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)
  2153. end
  2154. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2155. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2156. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  2157. wave.CFrame = CFRAME
  2158. coroutine.resume(coroutine.create(function(PART)
  2159. for i = 1, WAIT do
  2160. Swait()
  2161. mesh.Scale = mesh.Scale + GROW
  2162. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2163. if DOESROT == true then
  2164. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2165. end
  2166. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2167. if wave.Transparency > 0.99 then
  2168. wave:remove()
  2169. end
  2170. end
  2171. end))
  2172. end
  2173. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  2174. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2175. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  2176. wave.CFrame = CFRAME
  2177. coroutine.resume(coroutine.create(function(PART)
  2178. for i = 1, WAIT do
  2179. Swait()
  2180. mesh.Scale = mesh.Scale + GROW
  2181. if DOESROT == true then
  2182. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2183. end
  2184. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2185. if wave.Transparency > 0.99 then
  2186. wave:remove()
  2187. end
  2188. end
  2189. end))
  2190. end
  2191. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  2192. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  2193. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  2194. wave.CFrame = CFRAME
  2195. coroutine.resume(coroutine.create(function(PART)
  2196. for i = 1, WAIT do
  2197. Swait()
  2198. mesh.Scale = mesh.Scale + GROW
  2199. wave.Transparency = wave.Transparency + 1 / WAIT
  2200. if wave.Transparency > 0.99 then
  2201. wave:remove()
  2202. end
  2203. end
  2204. end))
  2205. end
  2206. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  2207. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  2208. local mesh
  2209. if KIND == "Base" then
  2210. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  2211. elseif KIND == "Thin" then
  2212. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  2213. elseif KIND == "Round" then
  2214. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  2215. end
  2216. wave.CFrame = CFRAME
  2217. coroutine.resume(coroutine.create(function(PART)
  2218. for i = 1, WAIT do
  2219. Swait()
  2220. mesh.Scale = mesh.Scale + GROW / 10
  2221. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2222. if wave.Transparency > 0.99 then
  2223. wave:remove()
  2224. end
  2225. end
  2226. end))
  2227. end
  2228. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  2229. for _, c in pairs(PARENT:GetChildren()) do
  2230. if c.ClassName == "Model" then
  2231. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  2232. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  2233. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  2234. if DIST > (TORSO.Position - FROM).Magnitude then
  2235. table.insert(TABLE, c)
  2236. end
  2237. AddChildrenToTable(FROM, c, DIST, TABLE)
  2238. elseif c.ClassName == "Folder" then
  2239. AddChildrenToTable(FROM, c, DIST, TABLE)
  2240. end
  2241. end
  2242. end
  2243. end
  2244. function MakeForm(PART, TYPE)
  2245. if TYPE == "Cyl" then
  2246. local MSH = IT("CylinderMesh", PART)
  2247. elseif TYPE == "Ball" then
  2248. local MSH = IT("SpecialMesh", PART)
  2249. MSH.MeshType = "Sphere"
  2250. elseif TYPE == "Wedge" then
  2251. local MSH = IT("SpecialMesh", PART)
  2252. MSH.MeshType = "Wedge"
  2253. end
  2254. end
  2255. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  2256. if DoesCourontine == false then
  2257. local Direction = CF(Part.Position, ToLocation)
  2258. local Distance = (Part.Position - ToLocation).magnitude
  2259. for i = 1, AmountOfTime do
  2260. Swait()
  2261. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2262. Direction = Part.CFrame
  2263. end
  2264. Part:remove()
  2265. elseif DoesCourontine == true then
  2266. coroutine.resume(coroutine.create(function()
  2267. local Direction = CF(Part.Position, ToLocation)
  2268. local Distance = (Part.Position - ToLocation).magnitude
  2269. for i = 1, AmountOfTime do
  2270. Swait()
  2271. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2272. Direction = Part.CFrame
  2273. end
  2274. Part:remove()
  2275. end))
  2276. end
  2277. end
  2278. function CheckTableForString(Table, String)
  2279. for i, v in pairs(Table) do
  2280. if string.find(string.lower(String), string.lower(v)) then
  2281. return true
  2282. end
  2283. end
  2284. return false
  2285. end
  2286. function CheckIntangible(Hit)
  2287. local ProjectileNames = {
  2288. "Water",
  2289. "Arrow",
  2290. "Projectile",
  2291. "Effect",
  2292. "Rail",
  2293. "Lightning",
  2294. "Bullet"
  2295. }
  2296. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  2297. return true
  2298. end
  2299. return false
  2300. end
  2301. Debris = game:GetService("Debris")
  2302. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2303. local Direction = CFrame.new(StartPos, Vec).lookVector
  2304. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  2305. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2306. if RayHit and CheckIntangible(RayHit) then
  2307. if DelayIfHit then
  2308. wait()
  2309. end
  2310. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  2311. end
  2312. return RayHit, RayPos, RayNormal
  2313. end
  2314. function Orbital_Devastor()
  2315. local HITBODIES = {}
  2316. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
  2317. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  2318. CENTER.CFrame = CF(ECH)
  2319. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(25, 99999, 25))
  2320. MakeForm(RAY, "Cyl")
  2321. local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(28, 99999, 28))
  2322. MakeForm(RAY2, "Cyl")
  2323. RAY.CFrame = CF(ECH)
  2324. RAY2.CFrame = CF(ECH)
  2325. CreateSound("1368573150", CENTER, 10, 0.8)
  2326. for i = 1, 100 do
  2327. Swait()
  2328. RAY.Transparency = RAY.Transparency - 0.01
  2329. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  2330. RAY2.Transparency = RAY2.Transparency - 0.012
  2331. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  2332. end
  2333. for i = 1, 5 do
  2334. CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0))
  2335. end
  2336. RAY:remove()
  2337. RAY2:remove()
  2338. CreateSound("1368637781", CENTER, 10, 0.8)
  2339. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really red", VT(8, 8, 8))
  2340. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
  2341. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  2342. Debris:AddItem(CENTER, 5)
  2343. CreateSound("414517163", CENTER, 10, 0.8)
  2344. for i = 1, 5 do
  2345. Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.5, 0, 0.5))
  2346. end
  2347. for e = 1, #HITBODIES do
  2348. if HITBODIES[e] ~= nil then
  2349. local BOD = HITBODIES[e]
  2350. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2351. if TORS then
  2352. BOD:BreakJoints()
  2353. for _, c in pairs(BOD:GetChildren()) do
  2354. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2355. local bv = Instance.new("BodyVelocity")
  2356. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2357. bv.velocity = CF(ECH, c.Position).lookVector * 250
  2358. bv.Parent = c
  2359. Debris:AddItem(bv, 0.2)
  2360. end
  2361. end
  2362. end
  2363. end
  2364. end
  2365. end
  2366. function Transparency(TRANS)
  2367. tecks2.TextTransparency = TRANS
  2368. tecks2.TextStrokeTransparency = TRANS
  2369. for _, c in pairs(Character:GetChildren()) do
  2370. if c.ClassName == "Part" and c ~= RootPart then
  2371. c.Transparency = TRANS
  2372. if c:FindFirstChildOfClass("Decal") then
  2373. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  2374. end
  2375. elseif c.ClassName == "Accessory" then
  2376. c.Handle.Transparency = TRANS
  2377. elseif c.ClassName == "Model" then
  2378. for _, q in pairs(c:GetChildren()) do
  2379. if q.ClassName == "Part" then
  2380. q.Transparency = TRANS
  2381. if q:FindFirstChildOfClass("Decal") then
  2382. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  2383. end
  2384. end
  2385. end
  2386. end
  2387. end
  2388. end
  2389. function Absoluteum()
  2390. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2391. if HITFLOOR ~= nil then
  2392. do
  2393. local HITBODIES = {}
  2394. ATTACK = true
  2395. Rooted = true
  2396. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "ABSOLUTEUM", VT(0, 0, 0))
  2397. MakeForm(ABSOLUTE, "Ball")
  2398. CreateSound("416200578", RootPart, 10, 1)
  2399. for i = 0, 8, 0.1 / Animation_Speed do
  2400. Swait()
  2401. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  2402. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  2403. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  2404. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  2405. MakeForm(CHARGE, "Ball")
  2406. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  2407. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  2408. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2409. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2410. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2411. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2412. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2413. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2414. end
  2415. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  2416. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  2417. for i = 1, 45 do
  2418. Swait()
  2419. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2420. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2421. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2422. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2423. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2424. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2425. end
  2426. coroutine.resume(coroutine.create(function()
  2427. local IMPACT = false
  2428. local BULLET = ABSOLUTE
  2429. MakeForm(BULLET, "Ball")
  2430. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  2431. for i = 1, 500 do
  2432. Swait()
  2433. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  2434. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  2435. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
  2436. if HIT ~= nil then
  2437. IMPACT = true
  2438. break
  2439. end
  2440. end
  2441. if IMPACT == false then
  2442. for i = 1, 40 do
  2443. Swait()
  2444. BULLET.Size = BULLET.Size * 0.9
  2445. end
  2446. BULLET:remove()
  2447. else
  2448. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  2449. for i = 1, 175 do
  2450. Swait()
  2451. BULLET.Size = BULLET.Size * 0.99
  2452. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
  2453. end
  2454. CreateSound("438666001", BULLET, 10, 3)
  2455. Swait(35)
  2456. BULLET.Transparency = 1
  2457. for i = 1, 20 do
  2458. for e = 1, 5 do
  2459. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  2460. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
  2461. end
  2462. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  2463. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  2464. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  2465. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  2466. Swait(5)
  2467. for e = 1, #HITBODIES do
  2468. if HITBODIES[e] ~= nil then
  2469. local BOD = HITBODIES[e]
  2470. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2471. if TORS then
  2472. BOD:BreakJoints()
  2473. for _, c in pairs(BOD:GetChildren()) do
  2474. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2475. local bv = Instance.new("BodyVelocity")
  2476. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2477. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  2478. bv.Parent = c
  2479. Debris:AddItem(bv, 0.2)
  2480. end
  2481. end
  2482. end
  2483. end
  2484. end
  2485. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really orange", VT(i, 0, i) * 2)
  2486. end
  2487. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  2488. Debris:AddItem(BULLET, 10)
  2489. end
  2490. end))
  2491. ATTACK = false
  2492. Rooted = false
  2493. end
  2494. end
  2495. end
  2496. local asd = Instance.new("ParticleEmitter")
  2497. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  2498. asd.LightEmission = .1
  2499. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2500. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2501. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2502. asd.Transparency = bbb
  2503. asd.Size = aaa
  2504. asd.ZOffset = .9
  2505. asd.Acceleration = Vector3.new(0, -15, 0)
  2506. asd.LockedToPart = false
  2507. asd.EmissionDirection = "Back"
  2508. asd.Lifetime = NumberRange.new(1, 2)
  2509. asd.Rotation = NumberRange.new(-100, 100)
  2510. asd.RotSpeed = NumberRange.new(-100, 100)
  2511. asd.Speed = NumberRange.new(10)
  2512. asd.Enabled = false
  2513. asd.VelocitySpread = 999
  2514.  
  2515. function getbloody(victim,amount)
  2516. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2517. PART.CFrame = victim.CFrame
  2518. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2519. Debris:AddItem(PART,5)
  2520. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2521. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2522. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2523. local prtcl = asd:Clone()
  2524. prtcl.Parent = PART
  2525. prtcl:Emit(amount*10)
  2526. end
  2527.  
  2528. local Decal = IT("Decal")
  2529. function Unwilling_Hop()
  2530. ATTACK = true
  2531. Rooted = false
  2532. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  2533. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  2534. local decal = Decal:Clone()
  2535. decal.Parent = O1
  2536. decal.Face = "Top"
  2537. decal.Texture = "http://www.roblox.com/asset/?id=1346259742"
  2538. local decal2 = Decal:Clone()
  2539. decal2.Parent = O1
  2540. decal2.Face = "Bottom"
  2541. decal2.Texture = "http://www.roblox.com/asset/?id=1346259742"
  2542. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  2543. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  2544. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2545. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  2546. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  2547. local decal = Decal:Clone()
  2548. decal.Parent = O2
  2549. decal.Face = "Top"
  2550. decal.Texture = "http://www.roblox.com/asset/?id=1346259742"
  2551. local decal2 = Decal:Clone()
  2552. decal2.Parent = O2
  2553. decal2.Face = "Bottom"
  2554. decal2.Texture = "http://www.roblox.com/asset/?id=1346259742"
  2555. CreateSound("1127492102", O1, 10, 0.7)
  2556. CreateSound("1127492102", O2, 10, 0.7)
  2557. for i = 1, 75 do
  2558. Swait()
  2559. O1.Size = O1.Size + VT(0.12, 0, 0.12)
  2560. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  2561. O2.Size = O2.Size + VT(0.12, 0, 0.12)
  2562. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  2563. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2564. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2565. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2566. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2567. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2568. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2569. end
  2570. Rooted = true
  2571. UNANCHOR = false
  2572. RootPart.Anchored = true
  2573. VALUE1 = true
  2574. for i = 1, 15 do
  2575. Transparency(i / 15)
  2576. Swait()
  2577. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  2578. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2582. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2583. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2584. end
  2585. RootPart.CFrame = ROOT.CFrame
  2586. ROOT:remove()
  2587. for i = 1, 15 do
  2588. Transparency(1 - i / 15)
  2589. Swait()
  2590. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  2591. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2592. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2593. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2594. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2595. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2596. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2597. end
  2598. VALUE1 = false
  2599. coroutine.resume(coroutine.create(function()
  2600. for i = 1, 75 do
  2601. Swait()
  2602. O1.Size = O1.Size - VT(0.12, 0, 0.12)
  2603. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  2604. O2.Size = O2.Size - VT(0.12, 0, 0.12)
  2605. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  2606. end
  2607. O1:remove()
  2608. O2:remove()
  2609. end))
  2610. UNANCHOR = true
  2611. RootPart.Anchored = false
  2612. ATTACK = false
  2613. Rooted = false
  2614. end
  2615. function Taunt()
  2616. ATTACK = true
  2617. Rooted = true
  2618. local ROAR = CreateSound("907329293", Head, 10, 0.9)
  2619. Swait()
  2620. repeat
  2621. Swait()
  2622. ROAR.Parent = Head
  2623. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2627. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2629. until ROAR.Playing == false
  2630. ATTACK = false
  2631. Rooted = false
  2632. end
  2633.  
  2634. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2635. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2636. end
  2637.  
  2638. function Kill(Char)
  2639. local NewCharacter = IT("Model",Effects)
  2640. NewCharacter.Name = "Ow im ded ;-;"
  2641. for _, c in pairs(Char:GetDescendants()) do
  2642. if c:IsA("BasePart") and c.Transparency == 0 then
  2643. if c.Parent == Char then
  2644. getbloody(c,5)
  2645. end
  2646. c:BreakJoints()
  2647. c.Material = "Glass"
  2648. c.Color = C3(0.5,0,0)
  2649. c.CanCollide = true
  2650. c.Transparency = 0.3
  2651. if c:FindFirstChildOfClass("SpecialMesh") then
  2652. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2653. end
  2654. if c.Name == "Head" then
  2655. c:ClearAllChildren()
  2656. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2657. end
  2658. if c.ClassName == "MeshPart" then
  2659. c.TextureID = ""
  2660. end
  2661. if c:FindFirstChildOfClass("BodyPosition") then
  2662. c:FindFirstChildOfClass("BodyPosition"):remove()
  2663. end
  2664. if c:FindFirstChildOfClass("ParticleEmitter") then
  2665. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2666. end
  2667. c.Parent = NewCharacter
  2668. c.Name = "DeadPart"
  2669. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2670. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2671. end
  2672. end
  2673. Char:remove()
  2674. Debris:AddItem(NewCharacter,5)
  2675. end
  2676. function refit()
  2677. Character.Parent = workspace
  2678. for e = 1, #BODY do
  2679. if BODY[e] ~= nil then
  2680. local STUFF = BODY[e]
  2681. local PART = STUFF[1]
  2682. local PARENT = STUFF[2]
  2683. local MATERIAL = STUFF[3]
  2684. local COLOR = STUFF[4]
  2685. local TRANSPARENCY = STUFF[5]
  2686. --local SIZE = STUFF[6]
  2687. local NAME = STUFF[7]
  2688. if PART.ClassName == "Part" and PART ~= RootPart then
  2689. PART.Material = MATERIAL
  2690. PART.Transparency = TRANSPARENCY
  2691. PART.Name = NAME
  2692. end
  2693. if PART.Parent ~= PARENT then
  2694. Humanoid:remove()
  2695. PART.Parent = PARENT
  2696. Humanoid = IT("Humanoid",Character)
  2697. end
  2698. end
  2699. end
  2700. end
  2701.  
  2702. local SKILLTEXTCOLOR = C3(1,0,0)
  2703. local SKILLFONT = "Fantasy"
  2704. local SKILLTEXTSIZE = 6
  2705.  
  2706. Humanoid.Died:connect(function()
  2707. refit()
  2708. end)
  2709.  
  2710. function ApplyAoE(POSITION,RANGE,BRUTAL)
  2711. local CHILDREN = workspace:GetDescendants()
  2712. for index, CHILD in pairs(CHILDREN) do
  2713. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2714. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2715. if HUM then
  2716. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2717. if TORSO then
  2718. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2719. if BRUTAL == true then
  2720. Kill(CHILD)
  2721. else
  2722. CHILD:BreakJoints()
  2723. end
  2724. end
  2725. end
  2726. end
  2727. end
  2728. end
  2729. end
  2730.  
  2731. function PositiveAngle(NUMBER)
  2732. if NUMBER >= 0 then
  2733. NUMBER = 0
  2734. end
  2735. return NUMBER
  2736. end
  2737.  
  2738. function NegativeAngle(NUMBER)
  2739. if NUMBER <= 0 then
  2740. NUMBER = 0
  2741. end
  2742. return NUMBER
  2743. end
  2744.  
  2745. function Swait(NUMBER)
  2746. if NUMBER == 0 or NUMBER == nil then
  2747. ArtificialHB.Event:wait()
  2748. else
  2749. for i = 1, NUMBER do
  2750. ArtificialHB.Event:wait()
  2751. end
  2752. end
  2753. end
  2754.  
  2755. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2756. local NEWMESH = IT(MESH)
  2757. if MESH == "SpecialMesh" then
  2758. NEWMESH.MeshType = MESHTYPE
  2759. if MESHID ~= "nil" and MESHID ~= "" then
  2760. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2761. end
  2762. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2763. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2764. end
  2765. end
  2766. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2767. NEWMESH.Scale = SCALE
  2768. NEWMESH.Parent = PARENT
  2769. return NEWMESH
  2770. end
  2771.  
  2772. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2773. local NEWPART = IT("Part")
  2774. NEWPART.formFactor = FORMFACTOR
  2775. NEWPART.Reflectance = REFLECTANCE
  2776. NEWPART.Transparency = TRANSPARENCY
  2777. NEWPART.CanCollide = false
  2778. NEWPART.Locked = true
  2779. NEWPART.Anchored = true
  2780. if ANCHOR == false then
  2781. NEWPART.Anchored = false
  2782. end
  2783. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2784. NEWPART.Name = NAME
  2785. NEWPART.Size = SIZE
  2786. NEWPART.Position = Torso.Position
  2787. NEWPART.Material = MATERIAL
  2788. NEWPART:BreakJoints()
  2789. NEWPART.Parent = PARENT
  2790. return NEWPART
  2791. end
  2792.  
  2793. local function weldBetween(a, b)
  2794. local weldd = IT("Weld")
  2795. weldd.Part0 = a
  2796. weldd.Part1 = b
  2797. weldd.C0 = CF()
  2798. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2799. weldd.Parent = a
  2800. return weldd
  2801. end
  2802.  
  2803.  
  2804. function QuaternionFromCFrame(cf)
  2805. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2806. local trace = m00 + m11 + m22
  2807. if trace > 0 then
  2808. local s = math.sqrt(1 + trace)
  2809. local recip = 0.5 / s
  2810. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2811. else
  2812. local i = 0
  2813. if m11 > m00 then
  2814. i = 1
  2815. end
  2816. if m22 > (i == 0 and m00 or m11) then
  2817. i = 2
  2818. end
  2819. if i == 0 then
  2820. local s = math.sqrt(m00 - m11 - m22 + 1)
  2821. local recip = 0.5 / s
  2822. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2823. elseif i == 1 then
  2824. local s = math.sqrt(m11 - m22 - m00 + 1)
  2825. local recip = 0.5 / s
  2826. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2827. elseif i == 2 then
  2828. local s = math.sqrt(m22 - m00 - m11 + 1)
  2829. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2830. end
  2831. end
  2832. end
  2833.  
  2834. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2835. local xs, ys, zs = x + x, y + y, z + z
  2836. local wx, wy, wz = w * xs, w * ys, w * zs
  2837. local xx = x * xs
  2838. local xy = x * ys
  2839. local xz = x * zs
  2840. local yy = y * ys
  2841. local yz = y * zs
  2842. local zz = z * zs
  2843. 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))
  2844. end
  2845.  
  2846. function QuaternionSlerp(a, b, t)
  2847. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2848. local startInterp, finishInterp;
  2849. if cosTheta >= 0.0001 then
  2850. if (1 - cosTheta) > 0.0001 then
  2851. local theta = ACOS(cosTheta)
  2852. local invSinTheta = 1 / SIN(theta)
  2853. startInterp = SIN((1 - t) * theta) * invSinTheta
  2854. finishInterp = SIN(t * theta) * invSinTheta
  2855. else
  2856. startInterp = 1 - t
  2857. finishInterp = t
  2858. end
  2859. else
  2860. if (1 + cosTheta) > 0.0001 then
  2861. local theta = ACOS(-cosTheta)
  2862. local invSinTheta = 1 / SIN(theta)
  2863. startInterp = SIN((t - 1) * theta) * invSinTheta
  2864. finishInterp = SIN(t * theta) * invSinTheta
  2865. else
  2866. startInterp = t - 1
  2867. finishInterp = t
  2868. end
  2869. end
  2870. 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
  2871. end
  2872.  
  2873. function Clerp(a, b, t)
  2874. local qa = {QuaternionFromCFrame(a)}
  2875. local qb = {QuaternionFromCFrame(b)}
  2876. local ax, ay, az = a.x, a.y, a.z
  2877. local bx, by, bz = b.x, b.y, b.z
  2878. local _t = 1 - t
  2879. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2880. end
  2881. function NoOutlines(PART)
  2882. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2883. end
  2884.  
  2885. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2886. local NEWWELD = IT(TYPE)
  2887. NEWWELD.Part0 = PART0
  2888. NEWWELD.Part1 = PART1
  2889. NEWWELD.C0 = C0
  2890. NEWWELD.C1 = C1
  2891. NEWWELD.Parent = PARENT
  2892. return NEWWELD
  2893. end
  2894.  
  2895. local S = IT("Sound")
  2896. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2897. local NEWSOUND = nil
  2898. coroutine.resume(coroutine.create(function()
  2899. NEWSOUND = S:Clone()
  2900. NEWSOUND.Parent = PARENT
  2901. NEWSOUND.Volume = VOLUME
  2902. NEWSOUND.Pitch = PITCH
  2903. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2904. NEWSOUND:play()
  2905. if DOESLOOP == true then
  2906. NEWSOUND.Looped = true
  2907. else
  2908. repeat wait(1) until NEWSOUND.Playing == false
  2909. NEWSOUND:remove()
  2910. end
  2911. end))
  2912. return NEWSOUND
  2913. end
  2914.  
  2915. function CFrameFromTopBack(at, top, back)
  2916. local right = top:Cross(back)
  2917. 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)
  2918. end
  2919.  
  2920.  
  2921. --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})
  2922. function WACKYEFFECT(Table)
  2923. local TYPE = (Table.EffectType or "Sphere")
  2924. local SIZE = (Table.Size or VT(1,1,1))
  2925. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2926. local TRANSPARENCY = (Table.Transparency or 0)
  2927. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2928. local CFRAME = (Table.CFrame or Torso.CFrame)
  2929. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2930. local ROTATION1 = (Table.RotationX or 0)
  2931. local ROTATION2 = (Table.RotationY or 0)
  2932. local ROTATION3 = (Table.RotationZ or 0)
  2933. local MATERIAL = (Table.Material or "Neon")
  2934. local COLOR = (Table.Color or C3(1,1,1))
  2935. local TIME = (Table.Time or 45)
  2936. local SOUNDID = (Table.SoundID or nil)
  2937. local SOUNDPITCH = (Table.SoundPitch or nil)
  2938. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2939. coroutine.resume(coroutine.create(function()
  2940. local PLAYSSOUND = false
  2941. local SOUND = nil
  2942. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2943. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2944. PLAYSSOUND = true
  2945. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2946. end
  2947. EFFECT.Color = COLOR
  2948. local MSH = nil
  2949. if TYPE == "Sphere" then
  2950. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2951. elseif TYPE == "Block" then
  2952. MSH = IT("BlockMesh",EFFECT)
  2953. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2954. elseif TYPE == "Wave" then
  2955. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2956. elseif TYPE == "Ring" then
  2957. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2958. elseif TYPE == "Slash" then
  2959. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2960. elseif TYPE == "Round Slash" then
  2961. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2962. elseif TYPE == "Swirl" then
  2963. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2964. elseif TYPE == "Skull" then
  2965. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2966. elseif TYPE == "Crystal" then
  2967. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2968. end
  2969. if MSH ~= nil then
  2970. local MOVESPEED = nil
  2971. if MOVEDIRECTION ~= nil then
  2972. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2973. end
  2974. local GROWTH = SIZE - ENDSIZE
  2975. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2976. if TYPE == "Block" then
  2977. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2978. else
  2979. EFFECT.CFrame = CFRAME
  2980. end
  2981. for LOOP = 1, TIME+1 do
  2982. Swait()
  2983. MSH.Scale = MSH.Scale - GROWTH/TIME
  2984. if TYPE == "Wave" then
  2985. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2986. end
  2987. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2988. if TYPE == "Block" then
  2989. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2990. else
  2991. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2992. end
  2993. if MOVEDIRECTION ~= nil then
  2994. local ORI = EFFECT.Orientation
  2995. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2996. EFFECT.Orientation = ORI
  2997. end
  2998. end
  2999. if PLAYSSOUND == false then
  3000. EFFECT:remove()
  3001. else
  3002. SOUND.Stopped:Connect(function()
  3003. EFFECT:remove()
  3004. end)
  3005. end
  3006. else
  3007. if PLAYSSOUND == false then
  3008. EFFECT:remove()
  3009. else
  3010. repeat Swait() until SOUND.Playing == false
  3011. EFFECT:remove()
  3012. end
  3013. end
  3014. end))
  3015. end
  3016. function WACKYEFFECT(Table)
  3017. local TYPE = Table.EffectType or "Sphere"
  3018. local SIZE = Table.Size or VT(1, 1, 1)
  3019. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  3020. local TRANSPARENCY = Table.Transparency or 0
  3021. local ENDTRANSPARENCY = Table.Transparency2 or 1
  3022. local CFRAME = Table.CFrame or Torso.CFrame
  3023. local MOVEDIRECTION = Table.MoveToPos or nil
  3024. local ROTATION1 = Table.RotationX or 0
  3025. local ROTATION2 = Table.RotationY or 0
  3026. local ROTATION3 = Table.RotationZ or 0
  3027. local MATERIAL = Table.Material or "Neon"
  3028. local COLOR = Table.Color or C3(1, 1, 1)
  3029. local TIME = Table.Time or 45
  3030. local SOUNDID = Table.SoundID or nil
  3031. local SOUNDPITCH = Table.SoundPitch or nil
  3032. local SOUNDVOLUME = Table.SoundVolume or nil
  3033. coroutine.resume(coroutine.create(function()
  3034. local PLAYSSOUND = false
  3035. local SOUND
  3036. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  3037. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3038. PLAYSSOUND = true
  3039. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3040. end
  3041. EFFECT.Color = COLOR
  3042. local MSH
  3043. if TYPE == "Sphere" then
  3044. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  3045. elseif TYPE == "Block" then
  3046. MSH = IT("BlockMesh", EFFECT)
  3047. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  3048. elseif TYPE == "Wave" then
  3049. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  3050. elseif TYPE == "Ring" then
  3051. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  3052. elseif TYPE == "Slash" then
  3053. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  3054. elseif TYPE == "Round Slash" then
  3055. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  3056. elseif TYPE == "Swirl" then
  3057. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  3058. elseif TYPE == "Skull" then
  3059. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  3060. elseif TYPE == "Crystal" then
  3061. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  3062. end
  3063. if MSH ~= nil then
  3064. local MOVESPEED
  3065. if MOVEDIRECTION ~= nil then
  3066. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  3067. end
  3068. local GROWTH = SIZE - ENDSIZE
  3069. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3070. if TYPE == "Block" then
  3071. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  3072. else
  3073. EFFECT.CFrame = CFRAME
  3074. end
  3075. for LOOP = 1, TIME do
  3076. Swait()
  3077. MSH.Scale = MSH.Scale - GROWTH / TIME
  3078. if TYPE == "Wave" then
  3079. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  3080. end
  3081. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  3082. if TYPE == "Block" then
  3083. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  3084. else
  3085. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  3086. end
  3087. if MOVEDIRECTION ~= nil then
  3088. local ORI = EFFECT.Orientation
  3089. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  3090. EFFECT.Orientation = ORI
  3091. end
  3092. end
  3093. if PLAYSSOUND == false then
  3094. EFFECT:remove()
  3095. else
  3096. repeat
  3097. Swait()
  3098. until SOUND.Playing == false
  3099. EFFECT:remove()
  3100. end
  3101. elseif PLAYSSOUND == false then
  3102. EFFECT:remove()
  3103. else
  3104. repeat
  3105. Swait()
  3106. until SOUND.Playing == false
  3107. EFFECT:remove()
  3108. end
  3109. end))
  3110. end
  3111. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  3112. if FLOOR ~= nil then
  3113. coroutine.resume(coroutine.create(function()
  3114. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  3115. PART.CFrame = CF(POSITION)
  3116. for i = 1, 45 do
  3117. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3118. RingPiece.Material = FLOOR.Material
  3119. RingPiece.Color = FLOOR.Color
  3120. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3121. Debris:AddItem(RingPiece, SWAIT)
  3122. end
  3123. PART:remove()
  3124. end))
  3125. end
  3126. end
  3127. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  3128. if FLOOR ~= nil then
  3129. for i = 1, AMOUNT do
  3130. do
  3131. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  3132. DEBREE.Material = FLOOR.Material
  3133. DEBREE.Color = FLOOR.Color
  3134. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3135. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  3136. coroutine.resume(coroutine.create(function()
  3137. Swait(15)
  3138. DEBREE.Parent = workspace
  3139. DEBREE.CanCollide = true
  3140. Debris:AddItem(DEBREE, SWAIT)
  3141. end))
  3142. end
  3143. end
  3144. end
  3145. end
  3146. function MakeForm(PART, TYPE)
  3147. if TYPE == "Cyl" then
  3148. local MSH = IT("CylinderMesh", PART)
  3149. elseif TYPE == "Ball" then
  3150. local MSH = IT("SpecialMesh", PART)
  3151. MSH.MeshType = "Sphere"
  3152. elseif TYPE == "Wedge" then
  3153. local MSH = IT("SpecialMesh", PART)
  3154. MSH.MeshType = "Wedge"
  3155. end
  3156. end
  3157. function CheckTableForString(Table, String)
  3158. for i, v in pairs(Table) do
  3159. if string.find(string.lower(String), string.lower(v)) then
  3160. return true
  3161. end
  3162. end
  3163. return false
  3164. end
  3165. function CheckIntangible(Hit)
  3166. local ProjectileNames = {
  3167. "Water",
  3168. "Arrow",
  3169. "Projectile",
  3170. "Effect",
  3171. "Rail",
  3172. "Lightning",
  3173. "Bullet"
  3174. }
  3175. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  3176. return true
  3177. end
  3178. return false
  3179. end
  3180. Debris = game:GetService("Debris")
  3181. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  3182. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  3183. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  3184. if RayHit and CheckIntangible(RayHit) then
  3185. if DelayIfHit then
  3186. wait()
  3187. end
  3188. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  3189. end
  3190. return RayHit, RayPos, RayNormal
  3191. end
  3192. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3193. local DIRECTION = CF(StartPos, EndPos).lookVector
  3194. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3195. end
  3196. function turnto(position)
  3197. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  3198. end
  3199. BaseLightning = IT("Part")
  3200. BaseLightning.Anchored = true
  3201. BaseLightning.CanCollide = false
  3202. BaseLightning.Material = "Neon"
  3203. local LightningBolts = {}
  3204. function Zap(Table)
  3205. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  3206. local Duration = Table.Duration or 2
  3207. local Offset = Table.Offset or 2
  3208. local Individualize = Table.Individualize or false
  3209. local MaxRange = Table.MaxRange or 200
  3210. local SegmentLength = Table.SegmentLength or 5
  3211. local Transparency = Table.Transparency or 0
  3212. local Ignore = Table.Ignore or {}
  3213. local SIZE = Table.SIZE or 0.3
  3214. if not (StartPos and TargetPos) or not Character then
  3215. return
  3216. end
  3217. local LightningModel = IT("Folder", Effects)
  3218. LightningModel.Name = "ZAPP"
  3219. for i, v in pairs({Character, LightningModel}) do
  3220. table.insert(Ignore, v)
  3221. end
  3222. local LastPos = StartPos
  3223. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  3224. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  3225. local RayLength = (StartPos - RayPos).Magnitude
  3226. local Struck = false
  3227. local TotalSegments = math.ceil(RayLength / SegmentLength)
  3228. Direction = CFrame.new(StartPos, RayPos).lookVector
  3229. local LightningBolt = IT("Model", Effects)
  3230. LightningBolt.Name = "Lightning"
  3231. LastBolt = LightningBolt
  3232. Debris:AddItem(LightningBolt, Duration)
  3233. LightningBolt.Parent = LightningModel
  3234. for i = 1, TotalSegments do
  3235. if not Struck then
  3236. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  3237. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  3238. local SegmentVec = NewPos - LastPos
  3239. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  3240. local RayVec = LastPos - RayPos
  3241. local LightningPart = BaseLightning:Clone()
  3242. LightningPart.BrickColor = BrickColor.new(Color)
  3243. LightningPart.Transparency = Transparency
  3244. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  3245. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  3246. local CylinderMesh = IT("CylinderMesh", LightningPart)
  3247. local OrigCF = LightningPart.CFrame
  3248. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  3249. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  3250. LightningPart.Parent = LightningBolt
  3251. LastPos = NewPos
  3252. end
  3253. end
  3254. return {
  3255. RayHit = RayHit,
  3256. RayPos = RayPos,
  3257. RayNormal = RayNormal,
  3258. LightningModel = LightningModel
  3259. }
  3260. end
  3261. function Petrify(Foe)
  3262. local STONEMODEL = IT("Model", Effects)
  3263. local CHILDREN = Foe:GetDescendants()
  3264. for index, CHILD in pairs(CHILDREN) do
  3265. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  3266. CHILD.Parent = STONEMODEL
  3267. CHILD.Material = "Slate"
  3268. CHILD.Color = C3(0.5, 0.5, 0.5)
  3269. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  3270. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  3271. mesh.TextureId = ""
  3272. end
  3273. if CHILD:FindFirstChildOfClass("Decal") then
  3274. local mesh = CHILD:FindFirstChildOfClass("Decal")
  3275. mesh:remove()
  3276. end
  3277. if CHILD.ClassName == "MeshPart" then
  3278. CHILD.TextureID = ""
  3279. end
  3280. if CHILD.ClassName == "UnionOperation" then
  3281. CHILD.UsePartColor = true
  3282. end
  3283. CHILD.CanCollide = true
  3284. end
  3285. end
  3286. Debris:AddItem(STONEMODEL, 5)
  3287. end
  3288. function MakeForm(PART,TYPE)
  3289. if TYPE == "Cyl" then
  3290. local MSH = IT("CylinderMesh",PART)
  3291. elseif TYPE == "Ball" then
  3292. local MSH = IT("SpecialMesh",PART)
  3293. MSH.MeshType = "Sphere"
  3294. elseif TYPE == "Wedge" then
  3295. local MSH = IT("SpecialMesh",PART)
  3296. MSH.MeshType = "Wedge"
  3297. end
  3298. end
  3299.  
  3300. Debris = game:GetService("Debris")
  3301.  
  3302. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3303. local DIRECTION = CF(StartPos,EndPos).lookVector
  3304. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3305. end
  3306.  
  3307. function Morning_Star()
  3308. ATTACK = true
  3309. Rooted = true
  3310.  
  3311. for i=0, 1, 0.1 / Animation_Speed do
  3312. Swait()
  3313. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3314. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3315. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3316. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3317. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3319. end
  3320. coroutine.resume(coroutine.create(function()
  3321. local POS = Mouse.Hit.p
  3322. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  3323. MakeForm(RAY,"Cyl")
  3324. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  3325. MakeForm(SPHERE,"Ball")
  3326. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3327. MakeForm(SHIELD,"Ball")
  3328. SHIELD.CFrame = CF(POS)
  3329. RAY.CFrame = CF(POS)
  3330. SPHERE.CFrame = CF(POS)
  3331. CreateSound(440145570, SPHERE, 10, 0.8, false)
  3332. CreateSound(415700134, SPHERE, 10, 0.8, false)
  3333. for i = 1, 200 do
  3334. Swait()
  3335. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3336. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3337. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  3338. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  3339. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  3340. end
  3341. for i = 1, 45 do
  3342. Swait()
  3343. RAY.Transparency = RAY.Transparency + 1/45
  3344. SPHERE.Transparency = RAY.Transparency
  3345. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3346. end
  3347. RAY:remove()
  3348. SHIELD:remove()
  3349. SPHERE:remove()
  3350. end))
  3351. for i=0, 1, 0.1 / Animation_Speed do
  3352. Swait()
  3353. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3357. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3359. end
  3360. ATTACK = false
  3361. Rooted = false
  3362. end
  3363. function Imperfect_Command()
  3364. ATTACK = true
  3365. Rooted = true
  3366. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3367. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3368. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3369. if TORSO then
  3370. local GYRO = IT("BodyGyro", RootPart)
  3371. GYRO.D = 750
  3372. GYRO.P = 2000
  3373. GYRO.MaxTorque = VT(0, 40000, 0)
  3374. CreateSound("907330103", Torso, 10, 1)
  3375. for i = 0, 1.6, 0.1 / Animation_Speed do
  3376. Swait()
  3377. WACKYEFFECT({
  3378. Time = 5,
  3379. EffectType = "Round Slash",
  3380. Size = VT(0, 0, 0),
  3381. Size2 = VT(0.01, 0, 0.01),
  3382. Transparency = 0.5,
  3383. Transparency2 = 1,
  3384. CFrame = CF(HandlePart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3385. MoveToPos = nil,
  3386. RotationX = MRANDOM(-50, 50) / 10,
  3387. RotationY = MRANDOM(-50, 50) / 10,
  3388. RotationZ = MRANDOM(-50, 50) / 10,
  3389. Material = "Neon",
  3390. Color = C3(1, 0, 0),
  3391. SoundID = nil,
  3392. SoundPitch = nil,
  3393. SoundVolume = nil
  3394. })
  3395. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3396. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  3397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  3398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3400. if ANIM == "Idle" then
  3401. 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)
  3402. 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)
  3403. elseif ANIM == "Walk" then
  3404. 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)
  3405. 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)
  3406. elseif ANIM == "Jump" or ANIM == "Fall" then
  3407. 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)
  3408. 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)
  3409. end
  3410. end
  3411. GYRO:remove()
  3412. for i = 1, 15 do
  3413. WACKYEFFECT({
  3414. Time = MRANDOM(15, 85),
  3415. EffectType = "Round Slash",
  3416. Size = VT(0, 0, 0),
  3417. Size2 = VT(0.3, 0, 0.3),
  3418. Transparency = 0.5,
  3419. Transparency2 = 1,
  3420. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3421. MoveToPos = nil,
  3422. RotationX = MRANDOM(-50, 50) / 10,
  3423. RotationY = MRANDOM(-50, 50) / 10,
  3424. RotationZ = MRANDOM(-50, 50) / 10,
  3425. Material = "Neon",
  3426. Color = C3(1, 0, 0),
  3427. SoundID = nil,
  3428. SoundPitch = nil,
  3429. SoundVolume = nil
  3430. })
  3431. end
  3432. local bv = Instance.new("BodyVelocity")
  3433. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3434. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  3435. bv.Parent = TORSO
  3436. Debris:AddItem(bv, 0.05)
  3437. CreateSound("1222405264", TORSO, 10, 1)
  3438. Petrify(HUM.Parent)
  3439. for i = 0, 0.5, 0.1 / Animation_Speed do
  3440. Swait()
  3441. WACKYEFFECT({
  3442. Time = 5,
  3443. EffectType = "Round Slash",
  3444. Size = VT(0, 0, 0),
  3445. Size2 = VT(0.01, 0, 0.01),
  3446. Transparency = 0.5,
  3447. Transparency2 = 1,
  3448. CFrame = CF(HandlePart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3449. MoveToPos = nil,
  3450. RotationX = MRANDOM(-50, 50) / 10,
  3451. RotationY = MRANDOM(-50, 50) / 10,
  3452. RotationZ = MRANDOM(-50, 50) / 10,
  3453. Material = "Neon",
  3454. Color = C3(1, 0, 0),
  3455. SoundID = nil,
  3456. SoundPitch = nil,
  3457. SoundVolume = nil
  3458. })
  3459. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3460. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  3461. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  3462. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3463. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3464. if ANIM == "Idle" then
  3465. 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)
  3466. 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)
  3467. elseif ANIM == "Walk" then
  3468. 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)
  3469. 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)
  3470. elseif ANIM == "Jump" or ANIM == "Fall" then
  3471. 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)
  3472. 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)
  3473. end
  3474. end
  3475. end
  3476. end
  3477. ATTACK = false
  3478. Rooted = false
  3479. end
  3480.  
  3481.  
  3482. function MouseDown(Mouse)
  3483. if ATTACK == false then
  3484. Hit()
  3485. end
  3486. end
  3487.  
  3488. function MouseUp(Mouse)
  3489. HOLD = false
  3490. end
  3491.  
  3492. function KeyDown(Key)
  3493. KEYHOLD = true
  3494. if TRANSFORMED == true and Rooted == false then
  3495. if Key == "t" and ATTACK == false then
  3496. Taunt()
  3497. end
  3498.  
  3499. if Key == "z" and ATTACK == false then
  3500. Warp()
  3501. end
  3502. if Key == "f" and ATTACK == false then
  3503. Imperfect_Command()
  3504. end
  3505. end
  3506.  
  3507. if Key == "g" and ATTACK == false then
  3508. Morning_Star()
  3509. end
  3510.  
  3511. if Key == "b" and ATTACK == false then
  3512. Absoluteum()
  3513. end
  3514.  
  3515. if Key == "c" and ATTACK == false then
  3516. Orbital_Devastor()
  3517. end
  3518.  
  3519. if Key == "v" and ATTACK == false then
  3520. Neck_Snap()
  3521. end
  3522.  
  3523. if Key == "x" and ATTACK == false then
  3524. Reap()
  3525. end
  3526. end
  3527.  
  3528.  
  3529.  
  3530.  
  3531. function KeyUp(Key)
  3532. KEYHOLD = false
  3533. end
  3534.  
  3535. Mouse.Button1Down:connect(function(NEWKEY)
  3536. MouseDown(NEWKEY)
  3537. end)
  3538. Mouse.Button1Up:connect(function(NEWKEY)
  3539. MouseUp(NEWKEY)
  3540. end)
  3541. Mouse.KeyDown:connect(function(NEWKEY)
  3542. KeyDown(NEWKEY)
  3543. end)
  3544. Mouse.KeyUp:connect(function(NEWKEY)
  3545. KeyUp(NEWKEY)
  3546. end)
  3547.  
  3548. --//=================================\\
  3549. --\\=================================//
  3550.  
  3551.  
  3552. function unanchor()
  3553. if UNANCHOR == true then
  3554. RootPart.Anchored = false
  3555. end
  3556. for _, c in pairs(SCYTHE:GetChildren()) do
  3557. if c.ClassName == "Part" then
  3558. c.Anchored = false
  3559. end
  3560. end
  3561. for _, c in pairs(HANDFOLDER:GetChildren()) do
  3562. if c.ClassName == "Part" then
  3563. c.Anchored = false
  3564. end
  3565. end
  3566. for _, c in pairs(Weapon:GetChildren()) do
  3567. if c.ClassName == "Part" then
  3568. c.Anchored = false
  3569. end
  3570. end
  3571. end
  3572.  
  3573.  
  3574. --//=================================\\
  3575. --|| WRAP THE WHOLE SCRIPT UP
  3576. --\\=================================//
  3577.  
  3578. Humanoid.Changed:connect(function(Jump)
  3579. if Jump == "Jump" and (Disable_Jump == true) then
  3580. Humanoid.Jump = false
  3581. end
  3582. end)
  3583.  
  3584. local FF = IT("ForceField",Character)
  3585. FF.Visible = false
  3586.  
  3587. INSTANT = false
  3588. Speed = 20
  3589.  
  3590. while true do
  3591. Swait()
  3592. SINE = SINE + CHANGE
  3593. --if DEAD == false then
  3594. if VALUE2 == false then
  3595. for e=1,#HANDS do
  3596. if HANDS[e]~=nil then
  3597. local Thing=HANDS[e]
  3598. if Thing~=nil then
  3599. local MainPart=Thing[1]
  3600. local F=Thing[2]
  3601. if MainPart.IsEnabled.Value == true then
  3602. F.C0 = Clerp(F.C0, CF(-e*2,5-((e-1)*2) + 0.5 * COS(SINE/(e*15)),2) * ANGLES(RAD(180), RAD(-90), RAD(25*e)) * ANGLES(RAD(0), RAD(45), RAD(0)), 0.2 / Animation_Speed)
  3603. end
  3604. end
  3605. end
  3606. end
  3607. end
  3608. ANIMATE.Parent = nil
  3609. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3610. IDLEANIMATION:Play()
  3611. if TRANSFORMED == true then
  3612. tecks2.TextTransparency = 0
  3613. for _, c in pairs(Character:GetChildren()) do
  3614. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3615. c.Anchored = false
  3616. c.Transparency = 0
  3617. c.Color = C3(0,0,0)
  3618. end
  3619. end
  3620. for _, c in pairs(Weapon:GetChildren()) do
  3621. if c.ClassName == "Part" then
  3622. c.Transparency = 0
  3623. end
  3624. end
  3625. for _, c in pairs(HANDFOLDER:GetChildren()) do
  3626. if c.ClassName == "Part" then
  3627. c.Color = C3(0,0,0)
  3628. if c:FindFirstChild("PE") then
  3629. c.PE.Enabled = true
  3630. end
  3631. end
  3632. end
  3633. for _, c in pairs(SCYTHE:GetChildren()) do
  3634. if c.ClassName == "Part" then
  3635. if c.Material ~= Enum.Material.Neon then
  3636. c.Transparency = 0
  3637. end
  3638. c.Color = C3(0,0,0)
  3639. if c:FindFirstChild("PE") then
  3640. c.PE.Enabled = true
  3641. end
  3642. end
  3643. end
  3644. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3645. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3646. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3647. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3648. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3649. if ATTACK == false and VALUE2 == false then
  3650. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45 + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed)
  3651. end
  3652. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3653. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3654. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  3655. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  3656. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  3657. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3658. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3659. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3660. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3661. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3662. end
  3663. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3664. ANIM = "Jump"
  3665. if ATTACK == false then
  3666. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3670. 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)
  3671. 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)
  3672. end
  3673. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3674. ANIM = "Fall"
  3675. if ATTACK == false then
  3676. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3679. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3680. 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)
  3681. 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)
  3682. end
  3683. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3684. ANIM = "Idle"
  3685. if ATTACK == false then
  3686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3692. end
  3693. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3694. ANIM = "Walk"
  3695. WALK = WALK + 1 / Animation_Speed
  3696. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3697. WALK = 0
  3698. if WALKINGANIM == true then
  3699. WALKINGANIM = false
  3700. elseif WALKINGANIM == false then
  3701. WALKINGANIM = true
  3702. end
  3703. end
  3704. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3705. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3706. if ATTACK == false then
  3707. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3708. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3711. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3712. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3713. end
  3714. end
  3715. end
  3716. --end
  3717. Humanoid.DisplayDistanceType = "None"
  3718. unanchor()
  3719. Humanoid.MaxHealth = "inf"
  3720. Humanoid.Health = "inf"
  3721. if Rooted == false then
  3722. Disable_Jump = false
  3723. Humanoid.WalkSpeed = Speed
  3724. elseif Rooted == true then
  3725. Disable_Jump = true
  3726. Humanoid.WalkSpeed = 0
  3727. end
  3728. if Head:FindFirstChild("face") then
  3729. Head.face:remove()
  3730. end
  3731. local MATHS = {"0","1"}
  3732. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  3733. Humanoid.PlatformStand = false
  3734. if INTRO == false and INSTANT == false then
  3735. INTRO = true
  3736. coroutine.resume(coroutine.create(function()
  3737. sick:Play()
  3738. Intro()
  3739. end))
  3740. end
  3741. if INSTANT == true then
  3742. if TRANSFORMED == false then
  3743. sick.TimePosition = 60
  3744. Player:ClearCharacterAppearance()
  3745. sick:Play()
  3746. for _, c in pairs(HANDFOLDER:GetChildren()) do
  3747. if c.ClassName == "Part" then
  3748. c.Transparency = 0
  3749. end
  3750. end
  3751. end
  3752. TRANSFORMED = true
  3753. end
  3754. script.Parent = PlayerGui
  3755. Character.Parent = workspace
  3756. Humanoid.Parent = Character
  3757. Player:ClearCharacterAppearance()
  3758. end
  3759. refit()
  3760.  
  3761. --//=================================\\
  3762. --\\=================================//
  3763.  
  3764.  
  3765.  
  3766.  
  3767. --//====================================================\\--
  3768. --|| END OF SCRIPT
  3769. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement