Advertisement
pasterultimate22

Nahid DRead

Jul 16th, 2018
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 129.70 KB | None | 0 0
  1. ---------------
  2. --Nahid hunter v2--
  3. ----------------------------------------------------------------
  4. print([[
  5. --edited by ozzak1003 --
  6. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  7. --Discord: ozzak1003ripagain#3275
  8. --------------------------------
  9. hello good sir
  10. Don't leak pls
  11. Enjoy ;)
  12. --------------------------------
  13. ]])
  14.  
  15. -----
  16. plr = game.Players.LocalPlayer
  17. chara = plr.Character
  18. mouse = plr:GetMouse()
  19. Create = Instance.new
  20. Huge = math.huge
  21.  
  22. local music = Create("Sound",chara.HumanoidRootPart)
  23. music.SoundId = "rbxassetid://0"
  24. music.Volume = 1
  25. music.Looped = true
  26. music:Play()
  27. local shadowhead = Create("Part",chara.Head)
  28. shadowhead.BrickColor = BrickColor.new("Really black")
  29. shadowhead.Size = Vector3.new(1.2, 0.6, 1)
  30. shadowhead.CanCollide = false
  31. local shadowheadmesh = Create("SpecialMesh",shadowhead)
  32. shadowheadmesh.MeshType = "Head"
  33. shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
  34. local weld2 = Create("Weld",shadowhead)
  35. weld2.Part0 = shadowhead
  36. weld2.Part1 = chara.Head
  37. weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  38.  
  39. Player = game:GetService("Players").LocalPlayer
  40. PlayerGui = Player.PlayerGui
  41. Cam = workspace.CurrentCamera
  42. Backpack = Player.Backpack
  43. Character = Player.Character
  44. char = Player.Character
  45. Humanoid = Character.Humanoid
  46. Mouse = Player:GetMouse()
  47. RootPart = Character["HumanoidRootPart"]
  48. Torso = Character["Torso"]
  49. Head = Character["Head"]
  50. RightArm = Character["Right Arm"]
  51. LeftArm = Character["Left Arm"]
  52. RightLeg = Character["Right Leg"]
  53. LeftLeg = Character["Left Leg"]
  54. RootJoint = RootPart["RootJoint"]
  55. Neck = Torso["Neck"]
  56. RightShoulder = Torso["Right Shoulder"]
  57. LeftShoulder = Torso["Left Shoulder"]
  58. RightHip = Torso["Right Hip"]
  59. LeftHip = Torso["Left Hip"]
  60.  
  61. local Orin = "http://www.roblox.com/asset/?id=7074786"
  62. Head.face.Texture = Orin
  63. function weld(a, b, acf)
  64. local w = Instance.new("Weld", a)
  65. w.Part0 = a
  66. w.Part1 = b
  67. w.C0 = acf
  68. end
  69.  
  70. local righteyebrickcolor = "Really red"
  71. local reye = Instance.new("Part", char)
  72. reye.CanCollide = false
  73. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  74. reye.Material = "Neon"
  75. reye.Size = Vector3.new(.25,.35,.25)
  76. weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0))
  77. m1 = Instance.new("SpecialMesh", reye)
  78. m1.MeshType = "Sphere"
  79. m1.Scale = Vector3.new(0.9,0.9,0.9)
  80. reye.Locked = true
  81. reye.Name = "re"
  82. --------------------------------
  83. char.Head.face.Texture = "http://www.roblox.com/asset/?id=596345665"
  84. --------------------------------
  85.  
  86. wait(0.2)
  87.  
  88. p = game.Players.LocalPlayer
  89. Player = game:GetService("Players").LocalPlayer
  90. PlayerGui = Player.PlayerGui
  91. Cam = workspace.CurrentCamera
  92. Backpack = Player.Backpack
  93. Character = Player.Character
  94. Humanoid = Character.Humanoid
  95. Mouse = Player:GetMouse()
  96. RootPart = Character["HumanoidRootPart"]
  97. Torso = Character["Torso"]
  98. Head = Character["Head"]
  99. RightArm = Character["Right Arm"]
  100. LeftArm = Character["Left Arm"]
  101. RightLeg = Character["Right Leg"]
  102. LeftLeg = Character["Left Leg"]
  103. RootJoint = RootPart["RootJoint"]
  104. Neck = Torso["Neck"]
  105. RightShoulder = Torso["Right Shoulder"]
  106. LeftShoulder = Torso["Left Shoulder"]
  107. RightHip = Torso["Right Hip"]
  108. LeftHip = Torso["Left Hip"]
  109. player=game:GetService('Players').LocalPlayer
  110. c=player.Character
  111. local POWERLEVEL = 1
  112. local sick = Instance.new("Sound",Torso)
  113. sick.SoundId = "rbxassetid://1118967006"
  114. sick.Looped = true
  115. sick.Pitch = 1
  116. sick.Volume = 5
  117. sick:Play()
  118.  
  119. IT = Instance.new
  120. CF = CFrame.new
  121. VT = Vector3.new
  122. RAD = math.rad
  123. C3 = Color3.new
  124. UD2 = UDim2.new
  125. BRICKC = BrickColor.new
  126. ANGLES = CFrame.Angles
  127. EULER = CFrame.fromEulerAnglesXYZ
  128. COS = math.cos
  129. ACOS = math.acos
  130. SIN = math.sin
  131. ASIN = math.asin
  132. ABS = math.abs
  133. MRANDOM = math.random
  134. FLOOR = math.floor
  135. local INNERKNIFES = {}
  136. local OUTERKNIFES = {}
  137.  
  138. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  139. local NEWMESH = Instance.new(MESH)
  140. if MESH == "SpecialMesh" then
  141. NEWMESH.MeshType = MESHTYPE
  142. if MESHID ~= "nil" and MESHID ~= "" then
  143. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  144. end
  145. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  146. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  147. end
  148. end
  149. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  150. NEWMESH.Scale = SCALE
  151. NEWMESH.Parent = PARENT
  152. return NEWMESH
  153. end
  154.  
  155. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  156. local NEWPART = Instance.new("Part")
  157. NEWPART.formFactor = FORMFACTOR
  158. NEWPART.Reflectance = REFLECTANCE
  159. NEWPART.Transparency = TRANSPARENCY
  160. NEWPART.CanCollide = false
  161. NEWPART.Locked = true
  162. NEWPART.Anchored = true
  163. if ANCHOR == false then
  164. NEWPART.Anchored = false
  165. end
  166. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  167. NEWPART.Name = NAME
  168. NEWPART.Size = SIZE
  169. NEWPART.Position = tors.Position
  170. NEWPART.Material = MATERIAL
  171. NEWPART:BreakJoints()
  172. NEWPART.Parent = PARENT
  173. return NEWPART
  174. end
  175.  
  176. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  177. local NEWMESH = IT(MESH)
  178. if MESH == "SpecialMesh" then
  179. NEWMESH.MeshType = MESHTYPE
  180. if MESHID ~= "nil" and MESHID ~= "" then
  181. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  182. end
  183. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  184. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  185. end
  186. end
  187. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  188. NEWMESH.Scale = SCALE
  189. NEWMESH.Parent = PARENT
  190. return NEWMESH
  191. end
  192.  
  193. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  194. local NEWPART = IT("Part")
  195. NEWPART.formFactor = FORMFACTOR
  196. NEWPART.Reflectance = REFLECTANCE
  197. NEWPART.Transparency = TRANSPARENCY
  198. NEWPART.CanCollide = false
  199. NEWPART.Locked = true
  200. NEWPART.Anchored = true
  201. if ANCHOR == false then
  202. NEWPART.Anchored = false
  203. end
  204. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  205. NEWPART.Name = NAME
  206. NEWPART.Size = SIZE
  207. NEWPART.Position = Torso.Position
  208. NEWPART.Material = MATERIAL
  209. NEWPART:BreakJoints()
  210. NEWPART.Parent = PARENT
  211. return NEWPART
  212. end
  213.  
  214. --//=================================\\
  215. --|| CUSTOMIZATION
  216. --\\=================================//
  217.  
  218. Player_Size = 1 --Size of the player.
  219. Animation_Speed = 3
  220. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  221.  
  222. local Speed = 16
  223. local Effects2 = {}
  224.  
  225. --//=================================\\
  226. --|| END OF CUSTOMIZATION
  227. --\\=================================//
  228.  
  229. local function weldBetween(a, b)
  230. local weldd = Instance.new("ManualWeld")
  231. weldd.Part0 = a
  232. weldd.Part1 = b
  233. weldd.C0 = CFrame.new()
  234. weldd.C1 = b.CFrame:inverse() * a.CFrame
  235. weldd.Parent = a
  236. return weldd
  237. end
  238.  
  239. --//=================================\\
  240. --|| USEFUL VALUES
  241. --\\=================================//
  242.  
  243. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  244. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  245. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  246. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  247. local CHANGEDEFENSE = 0
  248. local CHANGEDAMAGE = 0
  249. local CHANGEMOVEMENT = 0
  250. local DAMAGEMULTIPLIER = 1
  251. local ANIM = "Idle"
  252. local ATTACK = false
  253. local EQUIPPED = false
  254. local HOLD = false
  255. local COMBO = 1
  256. local Rooted = false
  257. local SINE = 0
  258. local KEYHOLD = false
  259. local CHANGE = 2 / Animation_Speed
  260. local WALKINGANIM = false
  261. local WALK = 0
  262. local VALUE1 = false
  263. local VALUE2 = false
  264. local ROBLOXIDLEANIMATION = IT("Animation")
  265. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  266. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  267. --ROBLOXIDLEANIMATION.Parent = Humanoid
  268. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  269. WEAPONGUI.Name = "Weapon GUI"
  270. local Effects = IT("Folder", Character)
  271. Effects.Name = "Effects"
  272. local ANIMATOR = Humanoid.Animator
  273. local ANIMATE = Character.Animate
  274. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  275. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  276. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  277. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  278. local UNANCHOR = true
  279.  
  280. local SKILLTEXTCOLOR = C3(1,0,0)
  281.  
  282.  
  283.  
  284. --//=================================\\
  285. --\\=================================//
  286.  
  287.  
  288. --//=================================\\
  289. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  290. --\\=================================//
  291.  
  292. ArtificialHB = Instance.new("BindableEvent", script)
  293. ArtificialHB.Name = "ArtificialHB"
  294.  
  295. script:WaitForChild("ArtificialHB")
  296.  
  297. frame = Frame_Speed
  298. tf = 0
  299. allowframeloss = false
  300. tossremainder = false
  301. lastframe = tick()
  302. script.ArtificialHB:Fire()
  303.  
  304. game:GetService("RunService").Heartbeat:connect(function(s, p)
  305. tf = tf + s
  306. if tf >= frame then
  307. if allowframeloss then
  308. script.ArtificialHB:Fire()
  309. lastframe = tick()
  310. else
  311. for i = 1, math.floor(tf / frame) do
  312. script.ArtificialHB:Fire()
  313. end
  314. lastframe = tick()
  315. end
  316. if tossremainder then
  317. tf = 0
  318. else
  319. tf = tf - frame * math.floor(tf / frame)
  320. end
  321. end
  322. end)
  323.  
  324. --//=================================\\
  325. --\\=================================//
  326.  
  327.  
  328.  
  329.  
  330.  
  331. --//=================================\\
  332. --|| SOME FUNCTIONS
  333. --\\=================================//
  334. -----
  335. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  336. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  337. end
  338.  
  339. function PositiveAngle(NUMBER)
  340. if NUMBER >= 0 then
  341. NUMBER = 0
  342. end
  343. return NUMBER
  344. end
  345.  
  346. function NegativeAngle(NUMBER)
  347. if NUMBER <= 0 then
  348. NUMBER = 0
  349. end
  350. return NUMBER
  351. end
  352.  
  353. function Swait(NUMBER)
  354. if NUMBER == 0 or NUMBER == nil then
  355. ArtificialHB.Event:wait()
  356. else
  357. for i = 1, NUMBER do
  358. ArtificialHB.Event:wait()
  359. end
  360. end
  361. end
  362.  
  363. function QuaternionFromCFrame(cf)
  364. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  365. local trace = m00 + m11 + m22
  366. if trace > 0 then
  367. local s = math.sqrt(1 + trace)
  368. local recip = 0.5 / s
  369. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  370. else
  371. local i = 0
  372. if m11 > m00 then
  373. i = 1
  374. end
  375. if m22 > (i == 0 and m00 or m11) then
  376. i = 2
  377. end
  378. if i == 0 then
  379. local s = math.sqrt(m00 - m11 - m22 + 1)
  380. local recip = 0.5 / s
  381. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  382. elseif i == 1 then
  383. local s = math.sqrt(m11 - m22 - m00 + 1)
  384. local recip = 0.5 / s
  385. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  386. elseif i == 2 then
  387. local s = math.sqrt(m22 - m00 - m11 + 1)
  388. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  389. end
  390. end
  391. end
  392.  
  393. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  394. local xs, ys, zs = x + x, y + y, z + z
  395. local wx, wy, wz = w * xs, w * ys, w * zs
  396. local xx = x * xs
  397. local xy = x * ys
  398. local xz = x * zs
  399. local yy = y * ys
  400. local yz = y * zs
  401. local zz = z * zs
  402. 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))
  403. end
  404.  
  405. function QuaternionSlerp(a, b, t)
  406. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  407. local startInterp, finishInterp;
  408. if cosTheta >= 0.0001 then
  409. if (1 - cosTheta) > 0.0001 then
  410. local theta = ACOS(cosTheta)
  411. local invSinTheta = 1 / SIN(theta)
  412. startInterp = SIN((1 - t) * theta) * invSinTheta
  413. finishInterp = SIN(t * theta) * invSinTheta
  414. else
  415. startInterp = 1 - t
  416. finishInterp = t
  417. end
  418. else
  419. if (1 + cosTheta) > 0.0001 then
  420. local theta = ACOS(-cosTheta)
  421. local invSinTheta = 1 / SIN(theta)
  422. startInterp = SIN((t - 1) * theta) * invSinTheta
  423. finishInterp = SIN(t * theta) * invSinTheta
  424. else
  425. startInterp = t - 1
  426. finishInterp = t
  427. end
  428. end
  429. 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
  430. end
  431.  
  432. function Clerp(a, b, t)
  433. local qa = {QuaternionFromCFrame(a)}
  434. local qb = {QuaternionFromCFrame(b)}
  435. local ax, ay, az = a.x, a.y, a.z
  436. local bx, by, bz = b.x, b.y, b.z
  437. local _t = 1 - t
  438. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  439. end
  440.  
  441. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  442. local frame = IT("Frame")
  443. frame.BackgroundTransparency = TRANSPARENCY
  444. frame.BorderSizePixel = BORDERSIZEPIXEL
  445. frame.Position = POSITION
  446. frame.Size = SIZE
  447. frame.BackgroundColor3 = COLOR
  448. frame.BorderColor3 = BORDERCOLOR
  449. frame.Name = NAME
  450. frame.Parent = PARENT
  451. return frame
  452. end
  453.  
  454. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  455. local label = IT("TextLabel")
  456. label.BackgroundTransparency = 1
  457. label.Size = UD2(1, 0, 1, 0)
  458. label.Position = UD2(0, 0, 0, 0)
  459. label.TextColor3 = TEXTCOLOR
  460. label.TextStrokeTransparency = STROKETRANSPARENCY
  461. label.TextTransparency = TRANSPARENCY
  462. label.FontSize = TEXTFONTSIZE
  463. label.Font = TEXTFONT
  464. label.BorderSizePixel = BORDERSIZEPIXEL
  465. label.TextScaled = false
  466. label.Text = TEXT
  467. label.Name = NAME
  468. label.Parent = PARENT
  469. return label
  470. end
  471.  
  472. function NoOutlines(PART)
  473. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  474. end
  475.  
  476.  
  477. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  478. local NEWWELD = IT(TYPE)
  479. NEWWELD.Part0 = PART0
  480. NEWWELD.Part1 = PART1
  481. NEWWELD.C0 = C0
  482. NEWWELD.C1 = C1
  483. NEWWELD.Parent = PARENT
  484. return NEWWELD
  485. end
  486.  
  487. local SOUND = IT("Sound")
  488.  
  489. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  490. local NEWSOUND = nil
  491. coroutine.resume(coroutine.create(function()
  492. NEWSOUND = SOUND:Clone()
  493. NEWSOUND.Parent = PARENT
  494. NEWSOUND.Volume = VOLUME
  495. NEWSOUND.Pitch = PITCH
  496. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  497. --Swait()
  498. NEWSOUND:play()
  499. if DOESLOOP == false then
  500. repeat Swait() until NEWSOUND.Playing == false
  501. NEWSOUND:remove()
  502. elseif DOESLOOP == true then
  503. NEWSOUND.Looped = true
  504. end
  505. end))
  506. return NEWSOUND
  507. end
  508.  
  509. function CFrameFromTopBack(at, top, back)
  510. local right = top:Cross(back)
  511. 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)
  512. end
  513.  
  514. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  515. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  516. local mesh = IT("SpecialMesh",wave)
  517. mesh.MeshType = "FileMesh"
  518. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  519. mesh.Scale = SIZE
  520. mesh.Offset = VT(0,0,-SIZE.X/8)
  521. wave.CFrame = CFRAME
  522. coroutine.resume(coroutine.create(function(PART)
  523. for i = 1, WAIT do
  524. Swait()
  525. mesh.Scale = mesh.Scale + GROW
  526. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  527. if DOESROT == true then
  528. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  529. end
  530. wave.Transparency = wave.Transparency + (0.5/WAIT)
  531. if wave.Transparency > 0.99 then
  532. wave:remove()
  533. end
  534. end
  535. end))
  536. end
  537.  
  538. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  539. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  540. local mesh = IT("SpecialMesh",wave)
  541. mesh.MeshType = "FileMesh"
  542. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  543. mesh.Scale = SIZE
  544. mesh.Offset = VT(0,0,0)
  545. wave.CFrame = CFRAME
  546. coroutine.resume(coroutine.create(function(PART)
  547. for i = 1, WAIT do
  548. Swait()
  549. mesh.Scale = mesh.Scale + GROW
  550. if DOESROT == true then
  551. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  552. end
  553. wave.Transparency = wave.Transparency + (0.5/WAIT)
  554. if wave.Transparency > 0.99 then
  555. wave:remove()
  556. end
  557. end
  558. end))
  559. end
  560.  
  561. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  562. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  563. local mesh = IT("SpecialMesh",wave)
  564. mesh.MeshType = "Sphere"
  565. mesh.Scale = SIZE
  566. mesh.Offset = VT(0,0,0)
  567. wave.CFrame = CFRAME
  568. coroutine.resume(coroutine.create(function(PART)
  569. for i = 1, WAIT do
  570. Swait()
  571. mesh.Scale = mesh.Scale + GROW
  572. wave.Transparency = wave.Transparency + (1/WAIT)
  573. if wave.Transparency > 0.99 then
  574. wave:remove()
  575. end
  576. end
  577. end))
  578. end
  579. function MagicSpheres(size,waitt,cframe,color)
  580. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  581. local mesh = IT("SpecialMesh",wave)
  582. mesh.MeshType = "Sphere"
  583. mesh.Scale = VT(size,size,size)
  584. mesh.Offset = VT(0,0,0)
  585. wave.CFrame = cframe
  586. coroutine.resume(coroutine.create(function(PART)
  587. for i = 1, waitt do
  588. Swait()
  589. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  590. wave.Transparency = wave.Transparency + (1/waitt)
  591. if wave.Transparency > 0.99 then
  592. wave:remove()
  593. end
  594. end
  595. end))
  596. end
  597. function MagicSpheres2(size,waitt,cframe,color)
  598. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  599. local mesh = IT("SpecialMesh",wave)
  600. mesh.MeshType = "Sphere"
  601. mesh.Scale = VT(size,size,size)
  602. mesh.Offset = VT(0,0,0)
  603. wave.CFrame = cframe
  604. coroutine.resume(coroutine.create(function(PART)
  605. for i = 1, waitt do
  606. Swait()
  607. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  608. wave.Transparency = wave.Transparency - (1/waitt)
  609. end
  610. wave:remove()
  611. end))
  612. end
  613. function MagicBlock(size,waitt,part,offset,color)
  614. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  615. local mesh = IT("BlockMesh",wave)
  616. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  617. coroutine.resume(coroutine.create(function(PART)
  618. for i = 1, waitt do
  619. Swait()
  620. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  621. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  622. wave.Transparency = wave.Transparency + (1/waitt)
  623. if wave.Transparency > 0.99 then
  624. wave:remove()
  625. end
  626. end
  627. end))
  628. end
  629. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  630. if FLOOR ~= nil then
  631. coroutine.resume(coroutine.create(function()
  632. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  633. PART.CFrame = CF(POSITION)
  634. for i = 1, 45 do
  635. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  636. RingPiece.Material = FLOOR.Material
  637. RingPiece.Color = FLOOR.Color
  638. 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)))
  639. Debris:AddItem(RingPiece,SWAIT)
  640. end
  641. PART:remove()
  642. end))
  643. end
  644. end
  645.  
  646. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  647. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  648. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  649. wave.CFrame = CFRAME
  650. coroutine.resume(coroutine.create(function(PART)
  651. for i = 1, WAIT do
  652. Swait()
  653. mesh.Scale = mesh.Scale * GROW
  654. wave.Transparency = wave.Transparency + (0.5/WAIT)
  655. if wave.Transparency > 0.99 then
  656. wave:remove()
  657. end
  658. end
  659. end))
  660. end
  661.  
  662. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  663. if FLOOR ~= nil then
  664. for i = 1, AMOUNT do
  665. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false)
  666. DEBREE.Material = FLOOR.Material
  667. DEBREE.Color = FLOOR.Color
  668. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  669. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  670. coroutine.resume(coroutine.create(function()
  671. Swait(15)
  672. DEBREE.Parent = workspace
  673. DEBREE.CanCollide = true
  674. Debris:AddItem(DEBREE,SWAIT)
  675. end))
  676. end
  677. end
  678. end
  679.  
  680. function MakeForm(PART,TYPE)
  681. if TYPE == "Cyl" then
  682. local MSH = IT("CylinderMesh",PART)
  683. elseif TYPE == "Ball" then
  684. local MSH = IT("SpecialMesh",PART)
  685. MSH.MeshType = "Sphere"
  686. elseif TYPE == "Wedge" then
  687. local MSH = IT("SpecialMesh",PART)
  688. MSH.MeshType = "Wedge"
  689. end
  690. end
  691.  
  692. function CheckTableForString(Table, String)
  693. for i, v in pairs(Table) do
  694. if string.find(string.lower(String), string.lower(v)) then
  695. return true
  696. end
  697. end
  698. return false
  699. end
  700.  
  701. function CheckIntangible(Hit)
  702. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  703. if Hit and Hit.Parent then
  704. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  705. return true
  706. end
  707. end
  708. return false
  709. end
  710.  
  711. Debris = game:GetService("Debris")
  712.  
  713. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  714. local Direction = CFrame.new(StartPos, Vec).lookVector
  715. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  716. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  717. if RayHit and CheckIntangible(RayHit) then
  718. if DelayIfHit then
  719. wait()
  720. end
  721. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  722. end
  723. return RayHit, RayPos, RayNormal
  724. end
  725.  
  726. function turnto(position)
  727. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  728. end
  729. --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})
  730. function WACKYEFFECT(Table)
  731. local TYPE = (Table.EffectType or "Sphere")
  732. local SIZE = (Table.Size or VT(1,1,1))
  733. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  734. local TRANSPARENCY = (Table.Transparency or 0)
  735. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  736. local CFRAME = (Table.CFrame or Torso.CFrame)
  737. local MOVEDIRECTION = (Table.MoveToPos or nil)
  738. local ROTATION1 = (Table.RotationX or 0)
  739. local ROTATION2 = (Table.RotationY or 0)
  740. local ROTATION3 = (Table.RotationZ or 0)
  741. local MATERIAL = (Table.Material or "Neon")
  742. local COLOR = (Table.Color or C3(1,1,1))
  743. local TIME = (Table.Time or 45)
  744. local SOUNDID = (Table.SoundID or nil)
  745. local SOUNDPITCH = (Table.SoundPitch or nil)
  746. local SOUNDVOLUME = (Table.SoundVolume or nil)
  747. coroutine.resume(coroutine.create(function()
  748. local PLAYSSOUND = false
  749. local SOUND = nil
  750. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  751. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  752. PLAYSSOUND = true
  753. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  754. end
  755. EFFECT.Color = COLOR
  756. local MSH = nil
  757. if TYPE == "Sphere" then
  758. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  759. elseif TYPE == "Block" then
  760. MSH = IT("BlockMesh",EFFECT)
  761. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  762. elseif TYPE == "Box" then
  763. MSH = IT("BlockMesh",EFFECT)
  764. MSH.Scale = SIZE
  765. elseif TYPE == "Wave" then
  766. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  767. elseif TYPE == "Ring" then
  768. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  769. elseif TYPE == "Slash" then
  770. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  771. elseif TYPE == "Round Slash" then
  772. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  773. elseif TYPE == "Swirl" then
  774. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  775. elseif TYPE == "Skull" then
  776. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  777. elseif TYPE == "Crystal" then
  778. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  779. end
  780. if MSH ~= nil then
  781. local MOVESPEED = nil
  782. if MOVEDIRECTION ~= nil then
  783. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  784. end
  785. local GROWTH = SIZE - ENDSIZE
  786. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  787. if TYPE == "Block" then
  788. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  789. else
  790. EFFECT.CFrame = CFRAME
  791. end
  792. for LOOP = 1, TIME+1 do
  793. Swait()
  794. MSH.Scale = MSH.Scale - GROWTH/TIME
  795. if TYPE == "Wave" then
  796. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  797. end
  798. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  799. if TYPE == "Block" then
  800. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  801. else
  802. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  803. end
  804. if MOVEDIRECTION ~= nil then
  805. local ORI = EFFECT.Orientation
  806. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  807. EFFECT.Orientation = ORI
  808. end
  809. end
  810. if PLAYSSOUND == false then
  811. EFFECT:remove()
  812. else
  813. SOUND.Stopped:Connect(function()
  814. EFFECT:remove()
  815. end)
  816. end
  817. else
  818. if PLAYSSOUND == false then
  819. EFFECT:remove()
  820. else
  821. repeat Swait() until SOUND.Playing == false
  822. EFFECT:remove()
  823. end
  824. end
  825. end))
  826. end
  827. function SpawnTrail(FROM,TO,BIG)
  828. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  829. MakeForm(TRAIL,"Cyl")
  830. local DIST = (FROM - TO).Magnitude
  831. if BIG == true then
  832. TRAIL.Size = VT(0.5,DIST,0.5)
  833. else
  834. TRAIL.Size = VT(0.25,DIST,0.25)
  835. end
  836. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  837. coroutine.resume(coroutine.create(function()
  838. for i = 1, 5 do
  839. Swait()
  840. TRAIL.Transparency = TRAIL.Transparency + 0.1
  841. end
  842. TRAIL:remove()
  843. end))
  844. end
  845. local asd = Instance.new("ParticleEmitter")
  846. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  847. asd.LightEmission = .1
  848. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  849. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  850. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  851. asd.Transparency = bbb
  852. asd.Size = aaa
  853. asd.ZOffset = .9
  854. asd.Acceleration = Vector3.new(0, -15, 0)
  855. asd.LockedToPart = false
  856. asd.EmissionDirection = "Back"
  857. asd.Lifetime = NumberRange.new(1, 2)
  858. asd.Rotation = NumberRange.new(-100, 100)
  859. asd.RotSpeed = NumberRange.new(-100, 100)
  860. asd.Speed = NumberRange.new(10)
  861. asd.Enabled = false
  862. asd.VelocitySpread = 999
  863.  
  864. function getbloody(victim,amount)
  865. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  866. PART.CFrame = victim.CFrame
  867. local HITPLAYERSOUNDS = {"356551938","264486467"}
  868. Debris:AddItem(PART,5)
  869. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  870. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  871. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  872. local prtcl = asd:Clone()
  873. prtcl.Parent = PART
  874. prtcl:Emit(amount*10)
  875. end
  876. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  877. for _, c in pairs(PARENT:GetDescendants()) do
  878. if c.ClassName == "Model" then
  879. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  880. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  881. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  882. if (TORSO.Position - FROM).Magnitude < DIST then
  883. table.insert(TABLE,c)
  884. end
  885. end
  886. end
  887. end
  888. end
  889. -----
  890. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  891. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  892. end
  893.  
  894. function PositiveAngle(NUMBER)
  895. if NUMBER >= 0 then
  896. NUMBER = 0
  897. end
  898. return NUMBER
  899. end
  900.  
  901. function NegativeAngle(NUMBER)
  902. if NUMBER <= 0 then
  903. NUMBER = 0
  904. end
  905. return NUMBER
  906. end
  907.  
  908. function Swait(NUMBER)
  909. if NUMBER == 0 or NUMBER == nil then
  910. ArtificialHB.Event:wait()
  911. else
  912. for i = 1, NUMBER do
  913. ArtificialHB.Event:wait()
  914. end
  915. end
  916. end
  917.  
  918. function QuaternionFromCFrame(cf)
  919. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  920. local trace = m00 + m11 + m22
  921. if trace > 0 then
  922. local s = math.sqrt(1 + trace)
  923. local recip = 0.5 / s
  924. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  925. else
  926. local i = 0
  927. if m11 > m00 then
  928. i = 1
  929. end
  930. if m22 > (i == 0 and m00 or m11) then
  931. i = 2
  932. end
  933. if i == 0 then
  934. local s = math.sqrt(m00 - m11 - m22 + 1)
  935. local recip = 0.5 / s
  936. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  937. elseif i == 1 then
  938. local s = math.sqrt(m11 - m22 - m00 + 1)
  939. local recip = 0.5 / s
  940. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  941. elseif i == 2 then
  942. local s = math.sqrt(m22 - m00 - m11 + 1)
  943. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  944. end
  945. end
  946. end
  947.  
  948. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  949. local xs, ys, zs = x + x, y + y, z + z
  950. local wx, wy, wz = w * xs, w * ys, w * zs
  951. local xx = x * xs
  952. local xy = x * ys
  953. local xz = x * zs
  954. local yy = y * ys
  955. local yz = y * zs
  956. local zz = z * zs
  957. 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))
  958. end
  959.  
  960. function QuaternionSlerp(a, b, t)
  961. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  962. local startInterp, finishInterp;
  963. if cosTheta >= 0.0001 then
  964. if (1 - cosTheta) > 0.0001 then
  965. local theta = ACOS(cosTheta)
  966. local invSinTheta = 1 / SIN(theta)
  967. startInterp = SIN((1 - t) * theta) * invSinTheta
  968. finishInterp = SIN(t * theta) * invSinTheta
  969. else
  970. startInterp = 1 - t
  971. finishInterp = t
  972. end
  973. else
  974. if (1 + cosTheta) > 0.0001 then
  975. local theta = ACOS(-cosTheta)
  976. local invSinTheta = 1 / SIN(theta)
  977. startInterp = SIN((t - 1) * theta) * invSinTheta
  978. finishInterp = SIN(t * theta) * invSinTheta
  979. else
  980. startInterp = t - 1
  981. finishInterp = t
  982. end
  983. end
  984. 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
  985. end
  986. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  987. local NEWMESH = IT(MESH)
  988. if MESH == "SpecialMesh" then
  989. NEWMESH.MeshType = MESHTYPE
  990. if MESHID ~= "nil" and MESHID ~= "" then
  991. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  992. end
  993. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  994. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  995. end
  996. end
  997. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  998. NEWMESH.Scale = SCALE
  999. NEWMESH.Parent = PARENT
  1000. return NEWMESH
  1001. end
  1002.  
  1003. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1004. local NEWPART = IT("Part")
  1005. NEWPART.formFactor = FORMFACTOR
  1006. NEWPART.Reflectance = REFLECTANCE
  1007. NEWPART.Transparency = TRANSPARENCY
  1008. NEWPART.CanCollide = false
  1009. NEWPART.Locked = true
  1010. NEWPART.Anchored = true
  1011. if ANCHOR == false then
  1012. NEWPART.Anchored = false
  1013. end
  1014. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1015. NEWPART.Name = NAME
  1016. NEWPART.Size = SIZE
  1017. NEWPART.Position = Torso.Position
  1018. NEWPART.Material = MATERIAL
  1019. NEWPART:BreakJoints()
  1020. NEWPART.Parent = PARENT
  1021. return NEWPART
  1022. end
  1023.  
  1024. local function weldBetween(a, b)
  1025. local weldd = IT("Weld")
  1026. weldd.Part0 = a
  1027. weldd.Part1 = b
  1028. weldd.C0 = CF()
  1029. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1030. weldd.Parent = a
  1031. return weldd
  1032. end
  1033.  
  1034. function Clerp(a, b, t)
  1035. local qa = {QuaternionFromCFrame(a)}
  1036. local qb = {QuaternionFromCFrame(b)}
  1037. local ax, ay, az = a.x, a.y, a.z
  1038. local bx, by, bz = b.x, b.y, b.z
  1039. local _t = 1 - t
  1040. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1041. end
  1042.  
  1043. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1044. local frame = IT("Frame")
  1045. frame.BackgroundTransparency = TRANSPARENCY
  1046. frame.BorderSizePixel = BORDERSIZEPIXEL
  1047. frame.Position = POSITION
  1048. frame.Size = SIZE
  1049. frame.BackgroundColor3 = COLOR
  1050. frame.BorderColor3 = BORDERCOLOR
  1051. frame.Name = NAME
  1052. frame.Parent = PARENT
  1053. return frame
  1054. end
  1055.  
  1056. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1057. local label = IT("TextLabel")
  1058. label.BackgroundTransparency = 1
  1059. label.Size = UD2(1, 0, 1, 0)
  1060. label.Position = UD2(0, 0, 0, 0)
  1061. label.TextColor3 = TEXTCOLOR
  1062. label.TextStrokeTransparency = STROKETRANSPARENCY
  1063. label.TextTransparency = TRANSPARENCY
  1064. label.FontSize = TEXTFONTSIZE
  1065. label.Font = TEXTFONT
  1066. label.BorderSizePixel = BORDERSIZEPIXEL
  1067. label.TextScaled = false
  1068. label.Text = TEXT
  1069. label.Name = NAME
  1070. label.Parent = PARENT
  1071. return label
  1072. end
  1073.  
  1074. function NoOutlines(PART)
  1075. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1076. end
  1077.  
  1078.  
  1079. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1080. local NEWWELD = IT(TYPE)
  1081. NEWWELD.Part0 = PART0
  1082. NEWWELD.Part1 = PART1
  1083. NEWWELD.C0 = C0
  1084. NEWWELD.C1 = C1
  1085. NEWWELD.Parent = PARENT
  1086. return NEWWELD
  1087. end
  1088.  
  1089. local S = IT("Sound")
  1090.  
  1091. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1092. local NEWSOUND = nil
  1093. coroutine.resume(coroutine.create(function()
  1094. NEWSOUND = S:Clone()
  1095. NEWSOUND.Parent = PARENT
  1096. NEWSOUND.Volume = VOLUME
  1097. NEWSOUND.Pitch = PITCH
  1098. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1099. Swait()
  1100. NEWSOUND:play()
  1101. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1102. end))
  1103. return NEWSOUND
  1104. end
  1105.  
  1106. local asd = Instance.new("ParticleEmitter")
  1107. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1108. asd.LightEmission = .1
  1109. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1110. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1111. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1112. asd.Transparency = bbb
  1113. asd.Size = aaa
  1114. asd.ZOffset = .9
  1115. asd.Acceleration = Vector3.new(0, -15, 0)
  1116. asd.LockedToPart = false
  1117. asd.EmissionDirection = "Back"
  1118. asd.Lifetime = NumberRange.new(1, 2)
  1119. asd.Rotation = NumberRange.new(-100, 100)
  1120. asd.RotSpeed = NumberRange.new(-100, 100)
  1121. asd.Speed = NumberRange.new(10)
  1122. asd.Enabled = false
  1123. asd.VelocitySpread = 999
  1124.  
  1125.  
  1126.  
  1127. function getbloody(victim,amount)
  1128. local PART = CreatePart(1, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1129. PART.CFrame = victim.CFrame
  1130. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1131. Debris:AddItem(PART,5)
  1132. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1133. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1134. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 0.3, (math.random(8,12)/10))
  1135. local prtcl = asd:Clone()
  1136. prtcl.Parent = PART
  1137. prtcl:Emit(amount*10)
  1138. end
  1139.  
  1140.  
  1141. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1142. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1143. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1144. wave.CFrame = CFRAME
  1145. coroutine.resume(coroutine.create(function(PART)
  1146. for i = 1, WAIT do
  1147. Swait()
  1148. mesh.Scale = mesh.Scale + GROW
  1149. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1150. if DOESROT == true then
  1151. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1152. end
  1153. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1154. if wave.Transparency > 0.99 then
  1155. wave:remove()
  1156. end
  1157. end
  1158. end))
  1159. end
  1160.  
  1161. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1162. local wave = CreatePart(1, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1163. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1164. wave.CFrame = CFRAME
  1165. coroutine.resume(coroutine.create(function(PART)
  1166. for i = 1, WAIT do
  1167. Swait()
  1168. mesh.Scale = mesh.Scale + GROW
  1169. if DOESROT == true then
  1170. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1171. end
  1172. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1173. if wave.Transparency > 0.99 then
  1174. wave:remove()
  1175. end
  1176. end
  1177. end))
  1178. end
  1179.  
  1180.  
  1181. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1182. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1183. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1184. wave.CFrame = CFRAME
  1185. coroutine.resume(coroutine.create(function(PART)
  1186. for i = 1, WAIT do
  1187. Swait()
  1188. mesh.Scale = mesh.Scale + GROW
  1189. wave.Transparency = wave.Transparency + (1/WAIT)
  1190. if wave.Transparency > 0.99 then
  1191. wave:remove()
  1192. end
  1193. end
  1194. end))
  1195. end
  1196.  
  1197. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1198. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1199. local mesh = nil
  1200. if KIND == "Base" then
  1201. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1202. elseif KIND == "Thin" then
  1203. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1204. elseif KIND == "Round" then
  1205. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1206. end
  1207. wave.CFrame = CFRAME
  1208. coroutine.resume(coroutine.create(function(PART)
  1209. for i = 1, WAIT do
  1210. Swait()
  1211. mesh.Scale = mesh.Scale + GROW/10
  1212. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1213. if wave.Transparency > 0.99 then
  1214. wave:remove()
  1215. end
  1216. end
  1217. end))
  1218. end
  1219.  
  1220. function MakeForm(PART,TYPE)
  1221. if TYPE == "Cyl" then
  1222. local MSH = IT("CylinderMesh",PART)
  1223. elseif TYPE == "Ball" then
  1224. local MSH = IT("SpecialMesh",PART)
  1225. MSH.MeshType = "Sphere"
  1226. elseif TYPE == "Wedge" then
  1227. local MSH = IT("SpecialMesh",PART)
  1228. MSH.MeshType = "Wedge"
  1229. end
  1230. end
  1231.  
  1232. function SpawnKnife(SIZE,ISGRABBED,LIMB,ROT,ROT2,DOESDODAMAGE,DAMAGE)
  1233. SIZE = SIZE / 2
  1234. local WELD = nil
  1235. local KNIFEMODEL = IT("Model",Effects)
  1236. KNIFEMODEL.Name = "Knife"
  1237. local HandlePart = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Handle", VT(0.2,1.5,0.2)*SIZE,false)
  1238. MakeForm(HandlePart,"Cyl")
  1239. if ISGRABBED == true then
  1240. WELD = CreateWeldOrSnapOrMotor("Weld", HandlePart, LIMB, HandlePart, CF(0, -1, 0) * ANGLES(RAD(ROT), RAD(ROT2), RAD(0)), CF(0, 0, 0))
  1241. end
  1242. local BladePart = CreatePart(3, KNIFEMODEL, "Neon", 0,1, "Really red", "BladeHolder", VT(0.2,2.8+(3.25/1.5),0.2)*SIZE,false)
  1243. BladePart.CFrame = HandlePart.CFrame*CF(0,-2.8*SIZE,-0.05*SIZE)
  1244. weldBetween(HandlePart,BladePart)
  1245. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,2.8,1)*SIZE,false)
  1246. MakeForm(Part,"Wedge")
  1247. Part.CFrame = BladePart.CFrame*CF(0,-1.475*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1248. weldBetween(BladePart,Part)
  1249. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,0.5)*SIZE,false)
  1250. MakeForm(Part,"Wedge")
  1251. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,1.2*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1252. weldBetween(BladePart,Part)
  1253. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,1)*SIZE,false)
  1254. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  1255. weldBetween(BladePart,Part)
  1256. local A = IT("Attachment",BladePart)
  1257. A.Position = VT(0,BladePart.Size.Y/2,0)
  1258. local B = IT("Attachment",BladePart)
  1259. B.Position = VT(0,-BladePart.Size.Y/2,0)
  1260. local Trail = IT("Trail",BladePart)
  1261. Trail.Attachment0 = A
  1262. Trail.Attachment1 = B
  1263. Trail.Lifetime = 0.2
  1264. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1265. Trail.Transparency = NumberSequence.new(0, 1)
  1266. for _, c in pairs(KNIFEMODEL:GetChildren()) do
  1267. if c.ClassName == "Part" then
  1268. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1269. end
  1270. end
  1271. if DOESDODAMAGE == true then
  1272. local HIT = false
  1273. BladePart.CanCollide = true
  1274. local TOUCHED = BladePart.Touched:Connect(function(hit)
  1275. if HIT == false then
  1276. if hit ~= nil then
  1277. if hit.Parent ~= nil then
  1278. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1279. HIT = true
  1280. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),DAMAGE,2,2)
  1281. wait(0.1)
  1282. HIT = false
  1283. end
  1284. end
  1285. end
  1286. end
  1287. end)
  1288. end
  1289. return KNIFEMODEL,WELD,BladePart
  1290. end
  1291.  
  1292. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  1293. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  1294. if HITFLOOR ~= nil then
  1295. if HITFLOOR.Parent ~= Effects and HITFLOOR.Parent ~= Character then
  1296. if HITFLOOR.Name == "BloodPuddle" then
  1297. local DIST = (Position - HITFLOOR.Position).Magnitude
  1298. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  1299. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  1300. end
  1301. else
  1302. if HITFLOOR.Anchored == true then
  1303. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2,0,2))
  1304. BLOOD.CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))
  1305. MakeForm(BLOOD,"Cyl")
  1306. coroutine.resume(coroutine.create(function()
  1307. Swait(75)
  1308. while true do
  1309. Swait()
  1310. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  1311. if BLOOD.Size.Z < 0.051 then
  1312. BLOOD:remove()
  1313. break
  1314. end
  1315. end
  1316. end))
  1317. end
  1318. end
  1319. end
  1320. end
  1321. end
  1322.  
  1323. function SprayBlood(POSITION,DIRECTION,BloodSize,DoesTable,Table)
  1324. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  1325. BLOOD.CFrame = CF(POSITION)
  1326. MakeForm(BLOOD,"Ball")
  1327. local bv = Instance.new("BodyVelocity",BLOOD)
  1328. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1329. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3),MRANDOM(-3,3)/30,MRANDOM(-3,3))).lookVector*65
  1330. bv.Name = "MOVE"
  1331. Debris:AddItem(bv,0.05)
  1332. coroutine.resume(coroutine.create(function()
  1333. local HASTOUCHEDGROUND = false
  1334. local HIT = BLOOD.Touched:Connect(function(hit)
  1335. if hit.Anchored == true then
  1336. HASTOUCHEDGROUND = true
  1337. if DoesTable == true then
  1338. AddChildrenToTable(BLOOD.Position,workspace,15,Table)
  1339. end
  1340. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  1341. end
  1342. end)
  1343. for i = 1, 75 do
  1344. Swait()
  1345. if i > 5 then
  1346. BLOOD.CanCollide = true
  1347. end
  1348. if HASTOUCHEDGROUND == true then
  1349. break
  1350. end
  1351. end
  1352. BLOOD:remove()
  1353. end))
  1354. end
  1355.  
  1356. function CheckTableForString(Table, String)
  1357. for i, v in pairs(Table) do
  1358. if string.find(string.lower(String), string.lower(v)) then
  1359. return true
  1360. end
  1361. end
  1362. return false
  1363. end
  1364.  
  1365. function CheckIntangible(Hit)
  1366. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1367. if Hit and Hit.Parent then
  1368. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1369. return true
  1370. end
  1371. end
  1372. return false
  1373. end
  1374.  
  1375. Debris = game:GetService("Debris")
  1376.  
  1377. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1378. local Direction = CFrame.new(StartPos, Vec).lookVector
  1379. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1380. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1381. if RayHit and CheckIntangible(RayHit) then
  1382. if DelayIfHit then
  1383. wait()
  1384. end
  1385. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1386. end
  1387. return RayHit, RayPos, RayNormal
  1388. end
  1389.  
  1390. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1391. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1392. end
  1393.  
  1394. function turnto(position)
  1395. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1396. end
  1397.  
  1398. --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})
  1399. function WACKYEFFECT(Table)
  1400. local TYPE = (Table.EffectType or "Sphere")
  1401. local SIZE = (Table.Size or VT(1,1,1))
  1402. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1403. local TRANSPARENCY = (Table.Transparency or 0)
  1404. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1405. local CFRAME = (Table.CFrame or Torso.CFrame)
  1406. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1407. local ROTATION1 = (Table.RotationX or 0)
  1408. local ROTATION2 = (Table.RotationY or 0)
  1409. local ROTATION3 = (Table.RotationZ or 0)
  1410. local MATERIAL = (Table.Material or "Neon")
  1411. local COLOR = (Table.Color or C3(1,1,1))
  1412. local TIME = (Table.Time or 45)
  1413. local SOUNDID = (Table.SoundID or nil)
  1414. local SOUNDPITCH = (Table.SoundPitch or nil)
  1415. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1416. coroutine.resume(coroutine.create(function()
  1417. local PLAYSSOUND = false
  1418. local SOUND = nil
  1419. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1420. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1421. PLAYSSOUND = true
  1422. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1423. end
  1424. EFFECT.Color = COLOR
  1425. local MSH = nil
  1426. if TYPE == "Sphere" then
  1427. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1428. elseif TYPE == "Block" then
  1429. MSH = IT("BlockMesh",EFFECT)
  1430. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1431. elseif TYPE == "Wave" then
  1432. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1433. elseif TYPE == "Ring" then
  1434. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1435. elseif TYPE == "Slash" then
  1436. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1437. elseif TYPE == "Round Slash" then
  1438. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1439. elseif TYPE == "Swirl" then
  1440. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1441. elseif TYPE == "Skull" then
  1442. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1443. elseif TYPE == "Crystal" then
  1444. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1445. end
  1446. if MSH ~= nil then
  1447. local MOVESPEED = nil
  1448. if MOVEDIRECTION ~= nil then
  1449. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1450. end
  1451. local GROWTH = SIZE - ENDSIZE
  1452. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1453. if TYPE == "Block" then
  1454. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1455. else
  1456. EFFECT.CFrame = CFRAME
  1457. end
  1458. Swait()
  1459. for LOOP = 1, TIME+1 do
  1460. MSH.Scale = MSH.Scale - GROWTH/TIME
  1461. if TYPE == "Wave" then
  1462. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1463. end
  1464. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1465. if TYPE == "Block" then
  1466. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1467. else
  1468. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1469. end
  1470. if MOVEDIRECTION ~= nil then
  1471. local ORI = EFFECT.Orientation
  1472. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1473. EFFECT.Orientation = ORI
  1474. end
  1475. end
  1476. if PLAYSSOUND == false then
  1477. EFFECT:remove()
  1478. else
  1479. SOUND.Stopped:Connect(function()
  1480. EFFECT:remove()
  1481. end)
  1482. end
  1483. else
  1484. if PLAYSSOUND == false then
  1485. EFFECT:remove()
  1486. else
  1487. repeat Swait() until SOUND.Playing == false
  1488. EFFECT:remove()
  1489. end
  1490. end
  1491. end))
  1492. end
  1493.  
  1494. function Intro()
  1495. EQUIPPED = true
  1496. ATTACK = true
  1497. Rooted = true
  1498. if Rooted == false then
  1499. Disable_Jump = false
  1500. Humanoid.WalkSpeed = Speed
  1501. elseif Rooted == true then
  1502. Disable_Jump = true
  1503. Humanoid.WalkSpeed = 0
  1504. end
  1505. for i = 0, 3, 0.1 / Animation_Speed do
  1506. Swait()
  1507. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0,300 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1510. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1511. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  1512. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  1513. end
  1514. for i = 0, 4, 0.1 / Animation_Speed do
  1515. Swait()
  1516. CreateSound("1368583274", Torso, 1, 1)
  1517. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1518. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1521. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1522. 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)
  1523. CreateRing(VT(5,5,0)*3,false,0,25,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,0,0)*3)
  1524. MagicSphere(VT(0,0,0),10,Torso.CFrame,"Really red",VT(5,5,5))
  1525. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(3,3,3))
  1526. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(1,5,5))
  1527. end
  1528. ATTACK = false
  1529. Rooted = false
  1530. end
  1531.  
  1532. --//=================================\\
  1533. --|| WEAPON CREATION
  1534. --\\=================================//
  1535. ---------
  1536. local naeeym2 = IT("BillboardGui",Character)
  1537. naeeym2.AlwaysOnTop = true
  1538. naeeym2.Size = UDim2.new(5,35,2,15)
  1539. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1540. naeeym2.MaxDistance = 75
  1541. naeeym2.Adornee = Character.Head
  1542. naeeym2.Name = "Name"
  1543. local tecks2 = IT("TextLabel",naeeym2)
  1544. tecks2.BackgroundTransparency = 1
  1545. tecks2.TextScaled = true
  1546. tecks2.BorderSizePixel = 0
  1547. tecks2.Text = "Nahid hunter"
  1548. tecks2.Font = "Fantasy"
  1549. tecks2.TextSize = 30
  1550. tecks2.TextStrokeTransparency = 0
  1551. tecks2.TextColor3 = C3(0,0,0)
  1552. tecks2.TextStrokeColor3 = C3(255,0,0)
  1553. tecks2.Size = UDim2.new(1,0,0.5,0)
  1554. tecks2.Parent = naeeym2
  1555. ---------------------
  1556. local plr = game:service'Players'.LocalPlayer
  1557. local char = plr.Character
  1558. local hum = char.Humanoid
  1559. local ra = char["Right Arm"]
  1560. local la= char["Left Arm"]
  1561. local rl= char["Right Leg"]
  1562. local ll = char["Left Leg"]
  1563. local hed = char.Head
  1564. local root = char.HumanoidRootPart
  1565. local rootj = root.RootJoint
  1566. local tors = char.Torso
  1567. local mouse = plr:GetMouse()
  1568. New = function(Object, Parent, Name, Data)
  1569. local Object = Instance.new(Object)
  1570. for Index, Value in pairs(Data or {}) do
  1571. Object[Index] = Value
  1572. end
  1573. Object.Parent = Parent
  1574. Object.Name = Name
  1575. return Object
  1576. end
  1577.  
  1578. XBlade = New("Model",char,"XBlade",{})
  1579. Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(100, 0, 0),})
  1580. Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.4),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, 3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(100, 0, 0),})
  1581. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  1582.  
  1583. local color="Really red"
  1584. local transPoints = {
  1585. NumberSequenceKeypoint.new(0,.819,.0375),
  1586. NumberSequenceKeypoint.new(.207,.594,.0187),
  1587. NumberSequenceKeypoint.new(.4,.55,.031),
  1588. NumberSequenceKeypoint.new(.57,.619,.05),
  1589. NumberSequenceKeypoint.new(.76,.8,.0375),
  1590. NumberSequenceKeypoint.new(1,1,0),
  1591. }
  1592. local sizePoints = {
  1593. NumberSequenceKeypoint.new(0,0.505,0),
  1594. NumberSequenceKeypoint.new(1,0,0),
  1595. }
  1596. local Size = NumberSequence.new(sizePoints)
  1597. local Transparency = NumberSequence.new(transPoints)
  1598.  
  1599. efxBlock2 = Instance.new("Part",c)
  1600. efxBlock2.CanCollide=false
  1601. efxBlock2.BrickColor = BrickColor.new(color)
  1602. efxBlock2.Material = "Neon"
  1603. efxBlock2.FormFactor = "Custom"
  1604. efxBlock2.Transparency = 1
  1605. efxBlock2.Size = Vector3.new(.25,.25,.25)
  1606. local mesh2 = Instance.new("SpecialMesh",efxBlock2)
  1607. mesh2.MeshType = Enum.MeshType.Sphere
  1608. mesh2.Scale = Vector3.new(1,1,1)
  1609. local particles2 = Instance.new("ParticleEmitter",efxBlock2)
  1610. particles2.Color = ColorSequence.new(Color3.new(255/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255))
  1611. particles2.LightEmission = .2
  1612. particles2.Size = Size
  1613. particles2.Name = "Fire"
  1614. particles2.Transparency = Transparency
  1615. particles2.LockedToPart = false
  1616. particles2.VelocityInheritance = .5
  1617. particles2.LockedToPart = false
  1618. particles2.Rate = 15
  1619. particles2.Texture = "rbxassetid://41068173"
  1620. particles2.Lifetime = NumberRange.new(2,2)
  1621. particles2.RotSpeed = NumberRange.new(100,100)
  1622. particles2.Speed = NumberRange.new(1,1)
  1623. local offset = Vector3.new(0.11, .23, -0.5)
  1624. local weld2 = Instance.new("Weld",c.Head)
  1625. weld2.Part0 = c.Head
  1626. weld2.Part1 = efxBlock2
  1627. weld2.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(40),math.rad(50),math.rad(-60))
  1628. efxBlock2.Parent = c
  1629.  
  1630. for _, v in pairs(XBlade:GetChildren()) do
  1631. if v:IsA'BasePart' then
  1632. v.CanCollide = false
  1633. end
  1634. end
  1635.  
  1636.  
  1637.  
  1638. local NewInstance = function(instance,parent,properties)
  1639. local inst = Instance.new(instance,parent)
  1640. if(properties)then
  1641. for i,v in next, properties do
  1642. pcall(function() inst[i] = v end)
  1643. end
  1644. end
  1645. return inst;
  1646. end
  1647. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
  1648.  
  1649.  
  1650. Humanoid.Died:connect(function()
  1651. ATTACK = true
  1652. end)
  1653.  
  1654.  
  1655. --//=================================\\
  1656. --|| DAMAGE FUNCTIONS
  1657. --\\=================================//
  1658.  
  1659. function StatLabel(CFRAME, TEXT, COLOR)
  1660. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1661. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1662. local BODYGYRO = IT("BodyGyro", STATPART)
  1663. game:GetService("Debris"):AddItem(STATPART ,5)
  1664. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1665. BILLBOARDGUI.Adornee = STATPART
  1666. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1667. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1668. BILLBOARDGUI.AlwaysOnTop = false
  1669. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1670. TEXTLABEL.BackgroundTransparency = 1
  1671. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1672. TEXTLABEL.Text = TEXT
  1673. TEXTLABEL.Font = "Fantasy"
  1674. TEXTLABEL.FontSize="Size42"
  1675. TEXTLABEL.TextColor3 = COLOR
  1676. TEXTLABEL.TextStrokeTransparency = 0
  1677. TEXTLABEL.TextScaled = true
  1678. TEXTLABEL.TextWrapped = true
  1679. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1680. for i = 1, 50 do
  1681. Swait()
  1682. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1683. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1684. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1685. end
  1686. THEPART.Parent = nil
  1687. end),STATPART, TEXTLABEL)
  1688. end
  1689.  
  1690.  
  1691. --//=================================\\
  1692. --|| DAMAGING
  1693. --\\=================================//
  1694.  
  1695. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1696. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1697. defence.Name = ("HitBy"..Player.Name)
  1698. game:GetService("Debris"):AddItem(defence, 0.001)
  1699. if Humanoid.Health ~= 0 then
  1700. local CritChance = MRANDOM(1,100)
  1701. if CritChance < CritRate + 1 then
  1702. Damage = Damage*CritMultiplier
  1703. end
  1704. if Damage > Humanoid.Health then
  1705. Damage = math.ceil(Humanoid.Health)
  1706. if Damage == 0 then
  1707. Damage = 0.1
  1708. end
  1709. end
  1710. Humanoid.Health = Humanoid.Health - Damage
  1711. if Humanoid.Parent:FindFirstChild("Head") then
  1712. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 3, 1)
  1713. if CritChance < CritRate + 1 then
  1714. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  1715. else
  1716. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, SKILLTEXTCOLOR)
  1717. end
  1718. end
  1719. end
  1720. end
  1721.  
  1722. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1723. local dmg = math.random(min,max)
  1724. for i,v in ipairs(workspace:GetChildren()) do
  1725. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1726. local body = v:GetChildren()
  1727. for part = 1, #body do
  1728. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1729. if(body[part].Position - position).Magnitude < radius then
  1730. if v.ClassName == "Model" then
  1731. if v:FindFirstChildOfClass("Humanoid") then
  1732. if CanBeDodgedByJumping == true then
  1733. if body[part].Position.Y < position.Y+5 then
  1734. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1735. end
  1736. else
  1737. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1738. end
  1739. local bv = Instance.new("BodyVelocity")
  1740. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1741. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1742. bv.Parent = body[part]
  1743. Debris:AddItem(bv,0.2)
  1744. end
  1745. end
  1746. end
  1747. end
  1748. end
  1749. end
  1750. if v:FindFirstChild("HitBy"..Player.Name) then
  1751. v:FindFirstChild("HitBy"..Player.Name):remove()
  1752. end
  1753. end
  1754. end
  1755.  
  1756. function BreakLimit()
  1757. ATTACK = true
  1758. Rooted = false
  1759. UNANCHOR = false
  1760. RootPart.Anchored = true
  1761. for i=0, 0.1, 0.1 / Animation_Speed do
  1762. Swait()
  1763. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  1764. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1768. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1770. end
  1771. CreateSound("1368598393", Torso, 1, 1)
  1772. for i=0, 0.1, 0.1 / Animation_Speed do
  1773. Swait()
  1774. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1775. MagicSphere(VT(0,0,0),15,CFRAME,"Really Red",VT(0.1,0.1,5))
  1776. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  1777. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1781. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1782. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1783. end
  1784. CreateSound("1368583274", Torso, 1, 1)
  1785. for i=0, 0.1, 0.1 / Animation_Speed do
  1786. Swait()
  1787. CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0))
  1788. CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3)
  1789. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1790. MagicSphere(VT(0,0,0),15,CFRAME,"Red",VT(0.1,0.1,55))
  1791. MagicSphere(VT(0,0,0),15,CFRAME,"Black",VT(2,2,2))
  1792. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really Red",VT(0.1,0.1,55))
  1793. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1794. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1797. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1798. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1799. end
  1800. Swait(45)
  1801. CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Red",VT(7,7,0))
  1802. CreateSound("1368605755", Torso, 1, 1)
  1803. CreateSound("1368637781", Torso, 1, 1)
  1804. MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  1805. LIMITBROKEN = true
  1806. for i=0, 1, 0.1 / Animation_Speed do
  1807. Swait()
  1808. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(4,4,0))
  1809. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Black",VT(5,5,0))
  1810. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1816. end
  1817. UNANCHOR = true
  1818. RootPart.Anchored = false
  1819. ATTACK = false
  1820. Rooted = false
  1821. end
  1822.  
  1823. function Kill(Char)
  1824. local NewCharacter = IT("Model",Effects)
  1825. NewCharacter.Name = "Ow im ded ;-;"
  1826. for _, c in pairs(Char:GetDescendants()) do
  1827. if c:IsA("BasePart") and c.Transparency == 0 then
  1828. if c.Parent == Char then
  1829. getbloody(c,5)
  1830. end
  1831. c:BreakJoints()
  1832. c.Material = "Glass"
  1833. c.Color = C3(0.5,0,0)
  1834. c.CanCollide = true
  1835. c.Transparency = 0.3
  1836. if c:FindFirstChildOfClass("SpecialMesh") then
  1837. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1838. end
  1839. if c.Name == "Head" then
  1840. c:ClearAllChildren()
  1841. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1842. end
  1843. if c.ClassName == "MeshPart" then
  1844. c.TextureID = ""
  1845. end
  1846. if c:FindFirstChildOfClass("BodyPosition") then
  1847. c:FindFirstChildOfClass("BodyPosition"):remove()
  1848. end
  1849. if c:FindFirstChildOfClass("ParticleEmitter") then
  1850. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1851. end
  1852. c.Parent = NewCharacter
  1853. c.Name = "DeadPart"
  1854. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1855. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1856. end
  1857. end
  1858. Char:remove()
  1859. Debris:AddItem(NewCharacter,5)
  1860. end
  1861.  
  1862. function ApplyAoE(POSITION,radius,min,max,maxstrength)
  1863. local CHILDREN = workspace:GetDescendants()
  1864. for index, CHILD in pairs(CHILDREN) do
  1865. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1866. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1867. if HUM then
  1868. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1869. if TORSO then
  1870.  
  1871. if BRUTAL == true then
  1872. Kill(CHILD)
  1873. else
  1874. CHILD:BreakJoints()
  1875. end
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end
  1881.  
  1882. --//=================================\\
  1883. --|| ATTACK FUNCTIONS AND STUFF
  1884. --\\=================================//
  1885. ----
  1886. Humanoid.HealthChanged:connect(function()
  1887. if DEATH == false then
  1888. if Humanoid.Health ~= "inf" then
  1889. Humanoid.Health = "inf"
  1890. CreateSound("907330011", Torso, 10, 1)
  1891. end
  1892. if Humanoid.MaxHealth ~= "inf" then
  1893. Humanoid.MaxHealth = "inf"
  1894. end
  1895. end
  1896. end)
  1897.  
  1898. function VanishPlayer()
  1899. tecks2.TextTransparency = 1
  1900. tecks2.TextStrokeTransparency = 1
  1901. for _, c in pairs(Character:GetChildren()) do
  1902. if c.ClassName == "Part" then
  1903. c.Transparency = 1
  1904. if c:FindFirstChildOfClass("Decal") then
  1905. c:FindFirstChildOfClass("Decal").Transparency = 1
  1906. end
  1907. if c:FindFirstChildOfClass("ParticleEmitter") then
  1908. c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1909. end
  1910. elseif c.ClassName == "Accessory" then
  1911. c.Handle.Transparency = 1
  1912. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  1913. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1914. end
  1915. end
  1916. end
  1917. end
  1918.  
  1919. function Reappear()
  1920.  
  1921. for _, c in pairs(Character:GetChildren()) do
  1922. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1923. c.Transparency = 0
  1924. if c:FindFirstChildOfClass("Decal") then
  1925. c:FindFirstChildOfClass("Decal").Transparency = 0
  1926. end
  1927. if c:FindFirstChildOfClass("ParticleEmitter") then
  1928. c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  1929. end
  1930. elseif c.ClassName == "Accessory" then
  1931. c.Handle.Transparency = 0
  1932. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  1933. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  1934. end
  1935. end
  1936. end
  1937. end
  1938.  
  1939. function Warp()
  1940. ATTACK = true
  1941. Rooted = true
  1942. for i = 1, 50 do
  1943. Swait()
  1944. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  1945. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  1946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1950. 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(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1951. 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(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  1952. end
  1953. if VALUE2 == false then
  1954. VALUE2 = true
  1955. elseif VALUE2 == true then
  1956. VALUE2 = false
  1957. end
  1958. ATTACK = false
  1959. Rooted = false
  1960. end
  1961.  
  1962. function Darkness()
  1963. ATTACK = true
  1964. Rooted = true
  1965. local AIMPOS = Mouse.Hit.p
  1966. local BODIES = {}
  1967. local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(15,0.10,15))
  1968. ZONE.Color = C3(0,0,0)
  1969. MakeForm(ZONE,"Cyl")
  1970. ZONE.CFrame = CF(AIMPOS)
  1971. local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true)
  1972. for i =1, 45 do
  1973. Swait()
  1974. AURA.Volume = AURA.Volume + 10/45
  1975. ZONE.Transparency = ZONE.Transparency - 1/45
  1976. ZONE.Size = ZONE.Size + VT(2,0,2)
  1977. end
  1978. local SIZE = ZONE.Size
  1979. for i =1, 400 do
  1980. Swait()
  1981. AddChildrenToTable(ZONE.Position,workspace,ZONE.Size.X/2,BODIES)
  1982. if MRANDOM(1,5) == 1 then
  1983. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1984. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1985. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1986. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1987. end
  1988. ZONE.Size = SIZE + VT(2 * COS(i / 12),0,2 * COS(i / 12))
  1989. end
  1990. for i =1, 45 do
  1991. Swait()
  1992. AURA.Volume = AURA.Volume - 10/45
  1993. ZONE.Transparency = ZONE.Transparency + 1/45
  1994. ZONE.Size = ZONE.Size - VT(2,0,2)
  1995. end
  1996. ZONE:remove()
  1997. for e = 1, #BODIES do
  1998. Swait()
  1999. if BODIES[e] ~= nil then
  2000. local BOD = BODIES[e]
  2001. for i = 1, 10 do
  2002. for i = 1, #BODIES do
  2003. if (BODIES[i] == BOD and i ~= e) then
  2004. table.remove(BODIES,i)
  2005. end
  2006. end
  2007. end
  2008. local BODY = BODIES[e]
  2009. local TORSO = BODIES[e]:FindFirstChild("Torso") or BODIES[e]:FindFirstChild("UpperTorso")
  2010. local HUM = BODIES[e]:FindFirstChildOfClass("Humanoid")
  2011. if TORSO and HUM then
  2012. TORSO.Anchored = true
  2013. for i = 1, 15 do
  2014. if HUM.Health > 0 then
  2015. wait(0.1)
  2016. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2017. ApplyAoE(TORSO.CFrame*CF(0,0,-1.2).p,15,true)
  2018. end
  2019. ATTACK = false
  2020. Rooted = false
  2021. end
  2022. end
  2023. end
  2024. end
  2025. end
  2026.  
  2027. function HeadOff()
  2028. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2029. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2030. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2031. local HEDD = HUM.Parent:FindFirstChild("Head")
  2032. if TORSO and HUM.Health > 0 then
  2033. ATTACK = true
  2034. Rooted = false
  2035. local GYRO = IT("BodyGyro",RootPart)
  2036. GYRO.D = 275
  2037. GYRO.P = 20000
  2038. GYRO.MaxTorque = VT(0,40000,0)
  2039. for i=0, 0.8, 0.1 / Animation_Speed do
  2040. Swait()
  2041. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2042. 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)
  2043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2044. end
  2045. local oof = MagicBlock(5,50,TORSO,0,BRICKC("Really red").Color)
  2046. local oof = MagicBlock(2.5,50,TORSO,0,BRICKC("Really red").Color)
  2047. local POS = Mouse.Hit.p
  2048. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(30,50,30), Size2 = VT(30,50,30), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2049. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(30,50,30), Size2 = VT(30,50,30), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2050. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
  2051. Debris:AddItem(oof,1)
  2052. CreateSound(429459101, Torso, 7, 1, false)
  2053. CreateSound(429459101, TORSO, 7, 1, false)
  2054.  
  2055. GYRO:remove()
  2056. ATTACK = false
  2057. Rooted = false
  2058. end
  2059. end
  2060. end
  2061.  
  2062. function Boost()
  2063. ATTACK = true
  2064. Rooted = true
  2065. CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
  2066. for i = 1, 50 do
  2067. Swait()
  2068. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0))
  2069. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0))
  2070. CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
  2071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2072. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2075. 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(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2076. 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(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  2077. end
  2078. POWERLEVEL = POWERLEVEL + 1
  2079. ATTACK = false
  2080. Rooted = false
  2081. end
  2082.  
  2083. function FalseEnd()
  2084. ATTACK = true
  2085. Rooted = true
  2086. local AIMPOS = Mouse.Hit.p
  2087.  
  2088. coroutine.resume(coroutine.create(function()
  2089. local RAYS = {}
  2090. for i = 1, 4 do
  2091. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Ray", VT(50,2000,50))
  2092. MakeForm(RAY,"Cyl")
  2093. RAY.Mesh.Scale = VT(1,1.1,1)
  2094. table.insert(RAYS,RAY)
  2095. end
  2096. CreateSound(348663022, Effects, 2, 1.2, false)
  2097. for i = 1, 100 do
  2098. Swait()
  2099. for e = 1, #RAYS do
  2100. if RAYS[e] ~= nil then
  2101. local RAY = RAYS[e]
  2102. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  2103. RAY.Transparency = RAY.Transparency - 0.01
  2104. end
  2105. end
  2106. end
  2107. for i = 1, 20 do
  2108. Swait()
  2109. for e = 1, #RAYS do
  2110. if RAYS[e] ~= nil then
  2111. local RAY = RAYS[e]
  2112. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  2113. end
  2114. end
  2115. end
  2116. wait(0.3)
  2117. for i = 1, 16 do
  2118. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  2119. SpawnTrail(POS+VT(0,200,0),POS)
  2120. end
  2121. for i = 1, 4 do
  2122. CreateDebreeRing(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  2123. end
  2124.  
  2125. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  2126. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  2127. CreateSound(130972023, Effects, 2, 1, false)
  2128. local POS = Mouse.Hit.p
  2129. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  2130. MakeForm(RAY,"Cyl")
  2131. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(130,130,130))
  2132. MakeForm(SPHERE,"Ball")
  2133. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
  2134. MakeForm(SHIELD,"Ball")
  2135. SHIELD.CFrame = CF(AIMPOS)
  2136. RAY.CFrame = CF(AIMPOS)
  2137. SPHERE.CFrame = CF(AIMPOS)
  2138. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2139. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2140. for i = 1, 200 do
  2141. Swait()
  2142. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2143. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really red",VT(5,20,5))
  2144. RAY.Size = RAY.Size + VT(0,0,0)
  2145. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2146. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2147. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2148. end
  2149. for i = 1, 45 do
  2150. Swait()
  2151. RAY.Transparency = RAY.Transparency + 1/45
  2152. SPHERE.Transparency = RAY.Transparency
  2153. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2154. end
  2155. RAY:remove()
  2156. SHIELD:remove()
  2157. SPHERE:remove()
  2158. end))
  2159. ATTACK = false
  2160. Rooted = false
  2161. end
  2162.  
  2163. function Taunt()
  2164. ATTACK = true
  2165. Rooted = true
  2166. CreateSound("907330011", Head, 10, 1.1)
  2167. for i=0, 1, 0.1 / Animation_Speed do
  2168. Swait()
  2169. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2170. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2171. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2172. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2173. 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)), 2 / Animation_Speed)
  2174. 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)), 2 / Animation_Speed)
  2175. end
  2176. for i=0, 2, 0.1 / Animation_Speed do
  2177. Swait()
  2178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2182. 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)), 2 / Animation_Speed)
  2183. 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)), 2 / Animation_Speed)
  2184. end
  2185. ATTACK = false
  2186. Rooted = false
  2187. end
  2188.  
  2189. function BreakLimit()
  2190. ATTACK = true
  2191. Rooted = false
  2192. UNANCHOR = false
  2193. RootPart.Anchored = true
  2194. for i=0, 5, 0.1 / Animation_Speed do
  2195. Swait()
  2196. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  2197. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2198. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2199. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2200. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2201. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2202. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2203. end
  2204. CreateSound("1368598393", Effects, 10, 1)
  2205. for i=0, 2, 0.1 / Animation_Speed do
  2206. Swait()
  2207. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2208. MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  2209. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  2210. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2214. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2215. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2216. end
  2217. CreateSound("1368583274", Effects, 10, 1)
  2218. for i=0, 6, 0.1 / Animation_Speed do
  2219. Swait()
  2220. CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0))
  2221. CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3)
  2222. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2223. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55))
  2224. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(2,2,2))
  2225. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55))
  2226. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2227. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2228. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2229. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2230. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2231. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2232. end
  2233. CreateSound("907329532", Effects, 10, 1.1)
  2234. Swait(175)
  2235. CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0))
  2236. CreateSound("1368605755", Effects, 10, 1)
  2237. CreateSound("1368637781", Effects, 10, 1)
  2238. MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  2239. LIMITBROKEN = true
  2240. for i=0, 1, 0.1 / Animation_Speed do
  2241. Swait()
  2242. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(4,4,0))
  2243. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(5,5,0))
  2244. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2248. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  2249. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  2250. end
  2251. UNANCHOR = true
  2252. RootPart.Anchored = false
  2253. ATTACK = false
  2254. Rooted = false
  2255. end
  2256.  
  2257. function Beam()
  2258. ATTACK = true
  2259. Rooted = true
  2260. for i=0, 1, 0.1 / Animation_Speed do
  2261. Swait()
  2262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2266. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2268.  
  2269. end
  2270. CreateSound("348663022", Torso, 5, 1)
  2271.  
  2272. local StartPos = RootPart.CFrame * CF(0,50,0).p
  2273. for i = 1, 5 do
  2274. MagicSpheres2(50,25,CF(StartPos),"Really red")
  2275. Swait(15)
  2276. end
  2277. repeat
  2278. turnto(Mouse.Hit.p)
  2279. MagicSpheres2(70,25,CF(StartPos),"Really red")
  2280. MagicSpheres(70/10,25,CF(StartPos),"Really red")
  2281. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2282. local distance = (StartPos - RayPos).magnitude
  2283. local RayBeam = IT("Part",Effects)
  2284. RayBeam.Material = "Neon"
  2285. RayBeam.Anchored = true
  2286. RayBeam.BrickColor = BRICKC"Really red"
  2287. local mesh = IT("SpecialMesh",RayBeam)
  2288. mesh.MeshType = "Cylinder"
  2289. RayBeam.Size = Vector3.new(distance+30, math.random(15,35), math.random(15,35))
  2290. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2291. MagicSpheres(35,5,CF(RayPos),"Really red")
  2292. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = StartPos, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2293. ApplyAoE(RayPos,20,true)
  2294. Swait()
  2295. if KEYHOLD == false then
  2296. coroutine.resume(coroutine.create(function()
  2297. for i = 1, 30 do
  2298. RayBeam.Transparency = i/30
  2299. Swait()
  2300. end
  2301. RayBeam:remove()
  2302. end))
  2303. else
  2304. RayBeam:remove()
  2305. end
  2306. until KEYHOLD == false
  2307. ATTACK = false
  2308. Rooted = false
  2309. end
  2310. function ggg()
  2311. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2312. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2313. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2314. if TORSO and HUM.Health > 0 then
  2315. ATTACK = true
  2316. Rooted = false
  2317. local GYRO = IT("BodyGyro",RootPart)
  2318. GYRO.D = 275
  2319. GYRO.P = 20000
  2320. GYRO.MaxTorque = VT(0,40000,0)
  2321. for i=0, 0.8, 0.1 / Animation_Speed do
  2322. Swait()
  2323. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2324. end
  2325. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2326. local grav = Instance.new("BodyPosition",TORSO)
  2327. grav.D = 1500
  2328. grav.P = 20000
  2329. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2330. grav.position = TORSO.Position+VT(0,20,0)
  2331. Debris:AddItem(grav,10)
  2332. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2333. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2334. CreateSound(429459101, Torso, 7, 1, false)
  2335. CreateSound(429459101, TORSO, 7, 1, false)
  2336. for i=0, 1, 0.1 / Animation_Speed do
  2337. Swait()
  2338. 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)
  2339. 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)
  2340. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2341. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2342. 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)
  2343. 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)
  2344. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5})
  2345. end
  2346. GYRO:remove()
  2347.  
  2348. ATTACK = false
  2349. Rooted = false
  2350. end
  2351. end
  2352. end
  2353. -- LIMIT BROKEN
  2354. function THEEND()
  2355. ATTACK = true
  2356. Rooted = false
  2357. sick:Stop()
  2358. for i=0, 2, 0.1 / Animation_Speed do
  2359. Swait()
  2360. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2364. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2365. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2366. end
  2367. CreateSound("588734767", Torso, 10, 0.5)
  2368. local END = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "end", VT(0,0,0))
  2369. MakeForm(END,"Ball")
  2370. END.CFrame = Torso.CFrame
  2371. coroutine.resume(coroutine.create(function()
  2372. for i = 1, 10 do
  2373. Swait()
  2374. END.Transparency = 1-(i/10)
  2375. end
  2376. end))
  2377. for i=1, 100 do
  2378. RootPart.CFrame = RootPart.CFrame * CF(0,2,0)
  2379. Swait()
  2380. END.CFrame = RootPart.CFrame*CF(0,2,0)
  2381. END.Size = END.Size + VT(0.5,0.5,0.5)
  2382. END.CFrame = RootPart.CFrame*CF(0,0,0)
  2383. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2387. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2389. end
  2390. local StartPos = RootPart.CFrame * CF(0,0,0).p
  2391. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2392. repeat
  2393. Swait()
  2394. END.Size = END.Size + VT(0.2,0.2,0.2)
  2395. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2396. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2397. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2398. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2399. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2400. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2401. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2402. until SOUND.Playing ==false
  2403. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2404. repeat
  2405. Swait()
  2406. END.Size = END.Size + VT(0.2,0.2,0.2)
  2407. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2408. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2409. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2410. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2411. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2412. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2413. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2414. until SOUND.Playing ==false
  2415. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2416. repeat
  2417. Swait()
  2418. END.Size = END.Size + VT(0.2,0.2,0.2)
  2419. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2420. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2421. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2422. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2423. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2424. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2425. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2426. until SOUND.Playing ==false
  2427. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2428. repeat
  2429. Swait()
  2430. END.Size = END.Size - VT(1,1,1)
  2431. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2432. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2433. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",END.Size * VT(0.08,0.08,0.08))
  2434. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2435. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2436. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.03,0.05,0.75))
  2437. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",END.Size * VT(0.01,0.01,0.55))
  2438. until SOUND.Playing ==false
  2439. SOUND = CreateSound("1208650519", END, 0, 1, false)
  2440. repeat
  2441. Swait()
  2442. MagicSpheres2(50,25,CF(Torso.Position),"Really red")
  2443. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = StartPos, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2444. until SOUND.Playing == false
  2445. local POS = Torso.Position
  2446. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(10,10,10))
  2447. MakeForm(RAY,"Ball")
  2448. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  2449. MakeForm(SPHERE,"Ball")
  2450. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
  2451. MakeForm(SHIELD,"Ball")
  2452. SHIELD.CFrame = CF(POS)
  2453. RAY.CFrame = CF(POS)
  2454. SPHERE.CFrame = CF(POS)
  2455. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2456. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2457. for i = 1, 200 do
  2458. Swait()
  2459. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2460. SPHERE.Size = SPHERE.Size + VT(6,6,6)
  2461. SHIELD.Size = SPHERE.Size + VT(7,7,7)
  2462. end
  2463. for i = 1, 45 do
  2464. Swait()
  2465. RAY.Transparency = 0.3
  2466. SPHERE.Transparency = 0.3
  2467. SHIELD.Transparency = 0.3
  2468. end
  2469. for i=0, 1, 0.1 / Animation_Speed do
  2470. Swait()
  2471. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2472. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2473. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2474. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2475. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2476. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2477. end
  2478. ATTACK = false
  2479. Rooted = false
  2480. END:remove()
  2481. RAY:remove()
  2482. SHIELD:remove()
  2483. SPHERE:remove()
  2484. HappyEnd = true
  2485. end
  2486. ----
  2487. function Slash()
  2488. ATTACK = true
  2489. Rooted = false
  2490. local KNIFE1,WELD1,BLADE1 = SpawnKnife(MRANDOM(20,20)/10,true,RightArm,90,0,true,20)
  2491. CreateSound("92597369", Torso, 1, 1)
  2492. for i=0, 0.25, 0.1 / Animation_Speed do
  2493. Swait()
  2494. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  2495. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  2496. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(75), RAD(90)) * RIGHTSHOULDERC0, 1.2 / Animation_Speed)
  2497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2498. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2499. 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)), 1.5 / Animation_Speed)
  2500. end
  2501. if COMBO == 1 then
  2502. COMBO = 2
  2503. for i=0, 0.1, 0.1 / Animation_Speed do
  2504. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2505. Swait()
  2506. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.5 / Animation_Speed)
  2507. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 1.5 / Animation_Speed)
  2508. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(8)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2509. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(8)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2510. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(60), RAD(35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2511. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2512. end
  2513. for i=0, 0.15, 0.1 / Animation_Speed do
  2514. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.12)
  2515. Swait()
  2516. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  2517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  2518. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(145), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-150), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(60), RAD(75)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2522. end
  2523. elseif COMBO == 2 then
  2524. COMBO = 1
  2525. for i=0, 0.2, 0.1 / Animation_Speed do
  2526. Swait()
  2527. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.1)
  2528. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2530. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(185), RAD(25)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2531. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(90), RAD(-85), RAD(145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2534.  
  2535. end
  2536.  
  2537. for i=0, 0.1, 0.1 / Animation_Speed do
  2538. Swait()
  2539. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.15)
  2540. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(185), RAD(20)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-125), RAD(10)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-85), RAD(130)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2546. end
  2547. end
  2548. KNIFE1:remove()
  2549. ATTACK = false
  2550. Rooted = false
  2551. end
  2552.  
  2553. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  2554. for _, c in pairs(PARENT:GetChildren()) do
  2555. if c.ClassName == "Model" then
  2556. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  2557. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  2558. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  2559. if (TORSO.Position - FROM).Magnitude < DIST then
  2560. table.insert(TABLE,c)
  2561. end
  2562. AddChildrenToTable(FROM,c,DIST,TABLE)
  2563. elseif c.ClassName == "Folder" then
  2564. AddChildrenToTable(FROM,c,DIST,TABLE)
  2565. end
  2566. end
  2567. end
  2568. end
  2569.  
  2570. function clerp(a, b, t)
  2571. local qa = {
  2572. QuaternionFromCFrame(a)
  2573. }
  2574. local qb = {
  2575. QuaternionFromCFrame(b)
  2576. }
  2577. local ax, ay, az = a.x, a.y, a.z
  2578. local bx, by, bz = b.x, b.y, b.z
  2579. local _t = 1 - t
  2580. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2581. end
  2582. angles = CFrame.Angles
  2583.  
  2584. function FalseDenial()
  2585. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2586. local HITBODY = Mouse.Target.Parent
  2587. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  2588. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2589. if TORS ~= nil and HUMAN ~= nil then
  2590. ATTACK = true
  2591. Rooted = true
  2592. RootPart.CFrame = TORS.CFrame * CF(-1,0,7)
  2593. TORS.Anchored = true
  2594. CreateSound(ALONE, Head, 1, 1)
  2595. CreateSound("289556450", Torso, 1, 1)
  2596. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2597. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2598. CreateRing(VT(0,0,0),false,0,20,Torso.CFrame*ANGLES(RAD(MRANDOM(-30,30)),RAD(MRANDOM(-60,60)),RAD(MRANDOM(-120,120))),"White",VT(4,4,0))
  2599. MagicSphere(VT(5,5,5),35,Torso.CFrame,C3(1,0,0),VT(1,1,1))
  2600. for i=0, 1, 0.1 / Animation_Speed do
  2601. Swait()
  2602. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2603. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  2604. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(90), RAD(-20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2605. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2606. 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(-15), RAD(-15)), 0.5 / Animation_Speed)
  2607. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  2608. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-180),math.rad(0),math.rad(90)), 0.15)
  2609. end
  2610. Rooted = true
  2611. CreateSound("199149137", Torso, 1, 1)
  2612. Swait()
  2613.  
  2614. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / Animation_Speed)
  2615. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 3 / Animation_Speed)
  2616. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.7) * ANGLES(RAD(110), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2617. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2618. 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(-15), RAD(-15)), 3 / Animation_Speed)
  2619. 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(15), RAD(-15)), 3 / Animation_Speed)
  2620. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  2621. CreateWave(VT(0,0,0),15,Wedge.CFrame*CF(0,-Wedge.Size.Y/1.8,0),true,2,"Really red",VT(0.6,0.1,0.6))
  2622. CreateWave(VT(0,0,0),20,Wedge.CFrame*CF(0,-Wedge.Size.Y/2,0),true,2,"Really red",VT(0.6,0.1,1))
  2623. Swait()
  2624. Swait(30)
  2625. for i = 1, 25 do
  2626. Swait()
  2627. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2628. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  2629. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(90), RAD(-20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2631. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2632. HITBODY:BreakJoints()
  2633. getbloody(TORS,1)
  2634.  
  2635. end
  2636. end
  2637. TORS.Anchored = false
  2638. ATTACK = false
  2639. Rooted = false
  2640. coroutine.resume(coroutine.create(function()
  2641. Swait(15)
  2642. for i = 1, 50 do
  2643. Swait()
  2644. end
  2645. end))
  2646. end
  2647. end
  2648.  
  2649.  
  2650. function findNearestTorso(pos)
  2651. local list = game.Workspace:children()
  2652. local torso = nil
  2653. local dist = 1000
  2654. local temp = nil
  2655. local human = nil
  2656. local temp2 = nil
  2657. for x = 1, #list do
  2658. temp2 = list[x]
  2659. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= pos.Parent) then
  2660. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2661. human = temp2:findFirstChildOfClass("Humanoid")
  2662. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2663. if (temp.Position - pos.Position).magnitude < dist then
  2664. torso = temp
  2665. dist = (temp.Position - pos.Position).magnitude
  2666. end
  2667. end
  2668. end
  2669. end
  2670. return torso,dist
  2671. end
  2672.  
  2673. function ReaperDash2()
  2674. ATTACK = true
  2675. Rooted = false
  2676. local TARGET = nil
  2677. local TORS = nil
  2678. local GYRO = IT("BodyGyro",RootPart)
  2679. GYRO.D = 175
  2680. GYRO.P = 20000
  2681. GYRO.MaxTorque = VT(0,40000,0)
  2682. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2683. local RANGE = 5
  2684. CreateSound(541909867, Torso, 1, 1, false)
  2685. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2686. for i=0, 1, 0.1 / Animation_Speed do
  2687. Swait()
  2688. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  2689. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2690. local CHILDREN = workspace:GetDescendants()
  2691. for index, CHILD in pairs(CHILDREN) do
  2692. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2693. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2694. if HUM then
  2695. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2696. if TORSO then
  2697. if (TORSO.Position - LeftArm.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  2698. RANGE = (TORSO.Position - LeftArm.Position).Magnitude
  2699. TARGET = HUM
  2700. TORS = TORSO
  2701. end
  2702. end
  2703. end
  2704. end
  2705. end
  2706. if TARGET then
  2707. break
  2708. end
  2709. CreateWave(VT(0,0,0),15,Torso.CFrame*CF(0,-Torso.Size.Y/1.8,0),true,2,"Really red",VT(0.6,0.1,0.6))
  2710. RootPart.CFrame = RootPart.CFrame*CF(0,0,-2)
  2711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  2712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(65), RAD(30), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2715. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(-40), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2717. end
  2718. GYRO:remove()
  2719.  
  2720. if TORS and TARGET then
  2721. Rooted = true
  2722. local BODYPOSITION = IT("BodyPosition", TORS)
  2723. BODYPOSITION.P = 100
  2724. BODYPOSITION.D = 100
  2725. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2726. for i=0, 1, 0.1 / Animation_Speed do
  2727. Swait()
  2728. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2729. BODYPOSITION.Position = TORS.Position
  2730. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2731. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2732. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2733. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(55), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2734. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2735. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(-40), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2736. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2737. end
  2738. for i=0, 0.4, 0.1 / Animation_Speed do
  2739. Swait()
  2740. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2741. BODYPOSITION.Position = TORS.Position
  2742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(40), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(15), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2745. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(50), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2747. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2748. end
  2749. local LOOP = 0
  2750. local LOOP2 = 0
  2751. for i=0, 0.5, 0.1 / Animation_Speed do
  2752. Swait()
  2753. LOOP = LOOP + 1
  2754. TORS.Anchored = false
  2755. LOOP2 = LOOP2 + 1
  2756. if LOOP2 >= 5 then
  2757. LOOP2 = 0
  2758. getbloody(TORS,1)
  2759. end
  2760. CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"White",VT(5,5,0))
  2761. TORS.CFrame = Wedge.CFrame * CF(0,TORS.Size.Z/2,1) * ANGLES(RAD(90), RAD(0), RAD(0))
  2762. BODYPOSITION.Position = TORS.Position
  2763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  2764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(-20), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.7, 0) * ANGLES(RAD(76), RAD(10), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 7), -0.5) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(90), RAD(0)), 2 / Animation_Speed)
  2768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 7), -0.1) * ANGLES(RAD(50), RAD(0), RAD(0)) * ANGLES(RAD(8), RAD(-90), RAD(0)), 2 / Animation_Speed)
  2769. HW.C0 = Clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2770. end
  2771. BODYPOSITION:remove()
  2772. if TORS then
  2773. TORS.Anchored = false
  2774. Kill(TORS.Parent)
  2775. end
  2776. end
  2777. ATTACK = false
  2778. Rooted = false
  2779. end
  2780.  
  2781.  
  2782.  
  2783. --//=================================\\
  2784. --|| ASSIGN THINGS TO KEYS
  2785. --\\=================================//
  2786.  
  2787. function MouseDown(Mouse)
  2788. if ATTACK == false then
  2789. Slash()
  2790. end
  2791. end
  2792.  
  2793. function MouseUp(Mouse)
  2794. HOLD = false
  2795. end
  2796.  
  2797. function KeyDown(Key)
  2798. KEYHOLD = false
  2799. if Key == "z" and ATTACK == false then
  2800. FalseDenial()
  2801. end
  2802. if Key == "x" and ATTACK == false then
  2803. ReaperDash2()
  2804. end
  2805. if Key == "t" and ATTACK == false then
  2806. Taunt()
  2807. end
  2808.  
  2809. if Key == "f" and ATTACK == false then
  2810. Beam()
  2811. end
  2812.  
  2813. if Key == "g" and ATTACK == false then
  2814. Darkness()
  2815. end
  2816.  
  2817. if Key == "h" and ATTACK == false then
  2818. HeadOff()
  2819. end
  2820.  
  2821. if Key == "j" and ATTACK == false then
  2822. ggg()
  2823. end
  2824.  
  2825. if Key == "k" and ATTACK == false then
  2826. BreakLimit()
  2827. end
  2828.  
  2829. if Key == "l" and ATTACK == false then
  2830. FalseEnd()
  2831. end
  2832.  
  2833. if Key == "q" and ATTACK == false then
  2834. THEEND()
  2835. end
  2836.  
  2837. if Key == "" and ATTACK == false then
  2838. noh()
  2839. end
  2840. end
  2841.  
  2842. function KeyUp(Key)
  2843. KEYHOLD = false
  2844. end
  2845.  
  2846. Mouse.Button1Down:connect(function(NEWKEY)
  2847. MouseDown(NEWKEY)
  2848. end)
  2849. Mouse.Button1Up:connect(function(NEWKEY)
  2850. MouseUp(NEWKEY)
  2851. end)
  2852. Mouse.KeyDown:connect(function(NEWKEY)
  2853. KeyDown(NEWKEY)
  2854. end)
  2855. Mouse.KeyUp:connect(function(NEWKEY)
  2856. KeyUp(NEWKEY)
  2857. end)
  2858.  
  2859. --//=================================\\
  2860. --\\=================================//
  2861.  
  2862.  
  2863. function unanchor()
  2864. if UNANCHOR == true then
  2865. g = Character:GetChildren()
  2866. for i = 1, #g do
  2867. if g[i].ClassName == "Part" then
  2868. g[i].Anchored = false
  2869. end
  2870. end
  2871. end
  2872. end
  2873.  
  2874. --//=================================\\
  2875. --|| WRAP THE WHOLE SCRIPT UP
  2876. --\\=================================//
  2877.  
  2878. Humanoid.Changed:connect(function(Jump)
  2879. if Jump == "Jump" and (Disable_Jump == true) then
  2880. Humanoid.Jump = false
  2881. end
  2882. end)
  2883.  
  2884. while true do
  2885. Swait()
  2886. ANIMATE.Parent = nil
  2887. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2888. IDLEANIMATION:Play()
  2889. SINE = SINE + CHANGE
  2890. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2891. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2892. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2893. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2894. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2895. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2896. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2897. 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)
  2898. 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)
  2899. 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)
  2900. 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)
  2901. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2902. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2903. 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)
  2904. 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)
  2905. 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)
  2906. end
  2907. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2908. ANIM = "Jump"
  2909. if ATTACK == false then
  2910. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2911. 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)
  2912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2913. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2914. 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)
  2915. 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)
  2916. end
  2917. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2918. ANIM = "Fall"
  2919. if ATTACK == false then
  2920. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2924. 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)
  2925. 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)
  2926. end
  2927. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2928. ANIM = "Idle"
  2929. if ATTACK == false then
  2930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  2931. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  2932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2935. 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)
  2936. end
  2937. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2938. ANIM = "Walk"
  2939. WALK = WALK + 1 / Animation_Speed
  2940. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2941. WALK = 0
  2942. if WALKINGANIM == true then
  2943. WALKINGANIM = false
  2944. elseif WALKINGANIM == false then
  2945. WALKINGANIM = true
  2946. end
  2947. end
  2948. --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)
  2949. --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)
  2950. if ATTACK == false then
  2951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2952. 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)
  2953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(-25), RAD(10)) * RIGHTSHOULDERC0, 0.03 / Animation_Speed)
  2954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.20 / Animation_Speed)
  2955. 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)
  2956. 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)
  2957. end
  2958. end
  2959.  
  2960. unanchor()
  2961. Humanoid.MaxHealth = "inf"
  2962. Humanoid.Health = "inf"
  2963. if Rooted == false then
  2964. Disable_Jump = false
  2965. Humanoid.WalkSpeed = Speed
  2966. elseif Rooted == true then
  2967. Disable_Jump = true
  2968. Humanoid.WalkSpeed = 0
  2969. end
  2970. sick.Parent = Torso
  2971. local MATHS = {"0","1"}
  2972. 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)]
  2973. Humanoid.PlatformStand = false
  2974. if EQUIPPED == false then
  2975. Intro()
  2976. end
  2977. end
  2978.  
  2979. --//=================================\\
  2980. --\\=================================//
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986. --//====================================================\\--
  2987. --|| END OF SCRIPT
  2988. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement