Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.54 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6. Player = game:GetService("Players").afloaikq0
  7. PlayerGui = Player.PlayerGui
  8. Cam = workspace.CurrentCamera
  9. Backpack = Player.Backpack
  10. Character = Player.Character
  11. Humanoid = Character.Humanoid
  12. Mouse = Player:GetMouse()
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. local sick = Instance.new("Sound",Character)
  27. sick.SoundId = "rbxassetid://0"
  28. sick.Looped = true
  29. sick.Pitch = 1
  30. sick.Volume = 3
  31. sick:Play()
  32. Humanoid.DisplayDistanceType = "None"
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50.  
  51. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  52. local NEWMESH = IT(MESH)
  53. if MESH == "SpecialMesh" then
  54. NEWMESH.MeshType = MESHTYPE
  55. if MESHID ~= "nil" and MESHID ~= "" then
  56. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  57. end
  58. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  59. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  60. end
  61. end
  62. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  63. NEWMESH.Scale = SCALE
  64. NEWMESH.Parent = PARENT
  65. return NEWMESH
  66. end
  67.  
  68. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  69. local NEWPART = IT("Part")
  70. NEWPART.formFactor = FORMFACTOR
  71. NEWPART.Reflectance = REFLECTANCE
  72. NEWPART.Transparency = TRANSPARENCY
  73. NEWPART.CanCollide = false
  74. NEWPART.Anchored = true
  75. NEWPART.Locked = true
  76. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  77. NEWPART.Name = NAME
  78. NEWPART.Size = SIZE
  79. NEWPART.Position = Torso.Position
  80. NEWPART.Material = MATERIAL
  81. NEWPART:BreakJoints()
  82. NEWPART.Parent = PARENT
  83. return NEWPART
  84. end
  85.  
  86.  
  87. --//=================================\\
  88. --|| CUSTOMIZATION
  89. --\\=================================//
  90.  
  91. Class_Name = "Sin"
  92. Weapon_Name = "Add-ons"
  93.  
  94. Custom_Colors = {
  95. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  96. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  97.  
  98. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  99. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  100. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  101. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  102. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  103.  
  104. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  105. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  106. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  107. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  108. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  109. }
  110.  
  111.  
  112. Player_Size = 1.15 --Size of the player.
  113. Animation_Speed = 1.2
  114. Attack_Animation_Speed = 2.5
  115. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  116.  
  117. local Speed = 45
  118. local Effects2 = {}
  119.  
  120. --//=================================\\
  121. --|| END OF CUSTOMIZATION
  122. --\\=================================//
  123.  
  124. local function weldBetween(a, b)
  125. local weldd = Instance.new("ManualWeld")
  126. weldd.Part0 = a
  127. weldd.Part1 = b
  128. weldd.C0 = CFrame.new()
  129. weldd.C1 = b.CFrame:inverse() * a.CFrame
  130. weldd.Parent = a
  131. return weldd
  132. end
  133.  
  134. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  135. local acs = Instance.new("Part")
  136. acs.CanCollide = false
  137. acs.Anchored = false
  138. acs.Size = Vector3.new(0,0,0)
  139. acs.CFrame = attachmentpart.CFrame
  140. acs.Parent = Character
  141. acs.BrickColor = color
  142. local meshs = Instance.new("SpecialMesh")
  143. meshs.MeshId = mesh
  144. meshs.TextureId = texture
  145. meshs.Parent = acs
  146. meshs.Scale = scale
  147. meshs.Offset = offset
  148. weldBetween(attachmentpart,acs)
  149. end
  150.  
  151. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  152. if TYPE == "Gem" then
  153. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  154. acs.Anchored = false
  155. acs.CanCollide = false
  156. acs.CFrame = PART.CFrame
  157. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  158. weldBetween(PART,acs)
  159. elseif TYPE == "Skull" then
  160. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  161. acs.Anchored = false
  162. acs.CanCollide = false
  163. acs.CFrame = PART.CFrame
  164. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  165. weldBetween(PART,acs)
  166. elseif TYPE == "Eye" then
  167. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  168. acs.Anchored = false
  169. acs.CanCollide = false
  170. acs.CFrame = PART.CFrame
  171. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. end
  174. end
  175.  
  176. --//=================================\\
  177. --|| USEFUL VALUES
  178. --\\=================================//
  179.  
  180. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  181. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  182. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  183. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  184. local CO1 = 0
  185. local CO2 = 0
  186. local CO3 = 0
  187. local CO4 = 0
  188. local CHANGEDEFENSE = 0
  189. local CHANGEDAMAGE = 1e999
  190. local CHANGEMOVEMENT = 0
  191. local ANIM = "Idle"
  192. local ATTACK = false
  193. local EQUIPPED = false
  194. local HOLD = false
  195. local COMBO = 1
  196. local LASTPOINT = nil
  197. local BLCF = nil
  198. local SCFR = nil
  199. local STAGGERHITANIM = false
  200. local STAGGERANIM = false
  201. local STUNANIM = false
  202. local CRITCHANCENUMBER = 1e999
  203. local IDLENUMBER = 0
  204. local DONUMBER = 0
  205. local HANDIDLE = false
  206. local SINE = 0
  207. local CHANGE = 2 / Animation_Speed
  208. local WALKINGANIM = false
  209. local WALK = 0
  210. local DISABLEJUMPING = false
  211. local HASBEENBLOCKED = false
  212. local STUNDELAYNUMBER = 0
  213. local MANADELAYNUMBER = 0
  214. local HASJUMPED = false
  215. local punch = 1
  216. local KEYHOLD = false
  217. local SECONDARYMANADELAYNUMBER = 0
  218. local ROBLOXIDLEANIMATION = IT("Animation")
  219. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  220. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  221. --ROBLOXIDLEANIMATION.Parent = Humanoid
  222. local WEAPONGUI = IT("ScreenGui", nil)
  223. WEAPONGUI.Name = "Weapon GUI"
  224. local WEAPONTOOL = IT("HopperBin", nil)
  225. WEAPONTOOL.Name = Weapon_Name
  226. local Weapon = IT("Model")
  227. Weapon.Name = Weapon_Name
  228. local Effects = IT("Folder", Weapon)
  229. Effects.Name = "Effects"
  230. local ANIMATOR = Humanoid.Animator
  231. local ANIMATE = Character.Animate
  232. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  233. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  234. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  235. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  236. local ATTACKSOUNDS = {"159972643","159972627"}
  237. local UNANCHOR = true
  238.  
  239. --//=================================\\
  240. --\\=================================//
  241.  
  242. --//=================================\\
  243. --|| STATS
  244. --\\=================================//
  245.  
  246. if Character:FindFirstChild("Stats") ~= nil then
  247. Character:FindFirstChild("Stats").Parent = nil
  248. end
  249.  
  250. local Stats = IT("Folder", nil)
  251. Stats.Name = "Stats"
  252. local ChangeStat = IT("Folder", Stats)
  253. ChangeStat.Name = "ChangeStat"
  254. local Defense = IT("NumberValue", Stats)
  255. Defense.Name = "Defense"
  256. Defense.Value = 1e999
  257. local Movement = IT("NumberValue", Stats)
  258. Movement.Name = "Movement"
  259. Movement.Value = 1
  260. local Damage = IT("NumberValue", Stats)
  261. Damage.Name = "Damage"
  262. Damage.Value = 1e999
  263. local Mana = IT("NumberValue", Stats)
  264. Mana.Name = "Mana"
  265. Mana.Value = 0
  266. local SecondaryMana = IT("NumberValue", Stats)
  267. SecondaryMana.Name = "SecondaryMana"
  268. SecondaryMana.Value = 0
  269. local CanCrit = IT("BoolValue", Stats)
  270. CanCrit.Name = "CanCrit"
  271. CanCrit.Value = false
  272. local CritChance = IT("NumberValue", Stats)
  273. CritChance.Name = "CritChance"
  274. CritChance.Value = 20
  275. local CanPenetrateArmor = IT("BoolValue", Stats)
  276. CanPenetrateArmor.Name = "CanPenetrateArmor"
  277. CanPenetrateArmor.Value = false
  278. local AntiTeamKill = IT("BoolValue", Stats)
  279. AntiTeamKill.Name = "AntiTeamKill"
  280. AntiTeamKill.Value = false
  281. local Rooted = IT("BoolValue", Stats)
  282. Rooted.Name = "Rooted"
  283. Rooted.Value = false
  284. local Block = IT("BoolValue", Stats)
  285. Block.Name = "Block"
  286. Block.Value = false
  287. local RecentEnemy = IT("ObjectValue", Stats)
  288. RecentEnemy.Name = "RecentEnemy"
  289. RecentEnemy.Value = nil
  290. local StaggerHit = IT("BoolValue", Stats)
  291. StaggerHit.Name = "StaggerHit"
  292. StaggerHit.Value = false
  293. local Stagger = IT("BoolValue", Stats)
  294. Stagger.Name = "Stagger"
  295. Stagger.Value = false
  296. local Stun = IT("BoolValue", Stats)
  297. Stun.Name = "Stun"
  298. Stun.Value = false
  299. local StunValue = IT("NumberValue", Stats)
  300. StunValue.Name = "StunValue"
  301. StunValue.Value = 0
  302.  
  303.  
  304. --//=================================\\
  305. --\\=================================//
  306.  
  307.  
  308.  
  309.  
  310.  
  311. --//=================================\\
  312. --|| DEBUFFS / BUFFS
  313. --\\=================================//
  314.  
  315. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  316. DEFENSECHANGE1.Name = "ChangeDefense"
  317. DEFENSECHANGE1.Value = 0
  318.  
  319. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  320. MOVEMENTCHANGE1.Name = "ChangeMovement"
  321. MOVEMENTCHANGE1.Value = 0
  322.  
  323. --//=================================\\
  324. --\\=================================//
  325.  
  326.  
  327.  
  328.  
  329.  
  330. --//=================================\\
  331. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  332. --\\=================================//
  333.  
  334. ArtificialHB = Instance.new("BindableEvent", script)
  335. ArtificialHB.Name = "ArtificialHB"
  336.  
  337. script:WaitForChild("ArtificialHB")
  338.  
  339. frame = Frame_Speed
  340. tf = 0
  341. allowframeloss = false
  342. tossremainder = false
  343. lastframe = tick()
  344. script.ArtificialHB:Fire()
  345.  
  346. game:GetService("RunService").Heartbeat:connect(function(s, p)
  347. tf = tf + s
  348. if tf >= frame then
  349. if allowframeloss then
  350. script.ArtificialHB:Fire()
  351. lastframe = tick()
  352. else
  353. for i = 1, math.floor(tf / frame) do
  354. script.ArtificialHB:Fire()
  355. end
  356. lastframe = tick()
  357. end
  358. if tossremainder then
  359. tf = 0
  360. else
  361. tf = tf - frame * math.floor(tf / frame)
  362. end
  363. end
  364. end)
  365.  
  366. --//=================================\\
  367. --\\=================================//
  368.  
  369.  
  370.  
  371.  
  372.  
  373. --//=================================\\
  374. --|| SOME FUNCTIONS
  375. --\\=================================//
  376.  
  377. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  378. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  379. end
  380.  
  381. function PositiveAngle(NUMBER)
  382. if NUMBER >= 0 then
  383. NUMBER = 0
  384. end
  385. return NUMBER
  386. end
  387.  
  388. function NegativeAngle(NUMBER)
  389. if NUMBER <= 0 then
  390. NUMBER = 0
  391. end
  392. return NUMBER
  393. end
  394.  
  395. function Swait(NUMBER)
  396. if NUMBER == 0 or NUMBER == nil then
  397. ArtificialHB.Event:wait()
  398. else
  399. for i = 1, NUMBER do
  400. ArtificialHB.Event:wait()
  401. end
  402. end
  403. end
  404.  
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5 / s
  411. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  412. else
  413. local i = 0
  414. if m11 > m00 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00 - m11 - m22 + 1)
  422. local recip = 0.5 / s
  423. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11 - m22 - m00 + 1)
  426. local recip = 0.5 / s
  427. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22 - m00 - m11 + 1)
  430. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  431. end
  432. end
  433. end
  434.  
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w * xs, w * ys, w * zs
  438. local xx = x * xs
  439. local xy = x * ys
  440. local xz = x * zs
  441. local yy = y * ys
  442. local yz = y * zs
  443. local zz = z * zs
  444. 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))
  445. end
  446.  
  447. function QuaternionSlerp(a, b, t)
  448. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  449. local startInterp, finishInterp;
  450. if cosTheta >= 0.0001 then
  451. if (1 - cosTheta) > 0.0001 then
  452. local theta = ACOS(cosTheta)
  453. local invSinTheta = 1 / SIN(theta)
  454. startInterp = SIN((1 - t) * theta) * invSinTheta
  455. finishInterp = SIN(t * theta) * invSinTheta
  456. else
  457. startInterp = 1 - t
  458. finishInterp = t
  459. end
  460. else
  461. if (1 + cosTheta) > 0.0001 then
  462. local theta = ACOS(-cosTheta)
  463. local invSinTheta = 1 / SIN(theta)
  464. startInterp = SIN((t - 1) * theta) * invSinTheta
  465. finishInterp = SIN(t * theta) * invSinTheta
  466. else
  467. startInterp = t - 1
  468. finishInterp = t
  469. end
  470. end
  471. 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
  472. end
  473.  
  474. function Clerp(a, b, t)
  475. local qa = {QuaternionFromCFrame(a)}
  476. local qb = {QuaternionFromCFrame(b)}
  477. local ax, ay, az = a.x, a.y, a.z
  478. local bx, by, bz = b.x, b.y, b.z
  479. local _t = 1 - t
  480. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  481. end
  482.  
  483. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  484. local frame = IT("Frame")
  485. frame.BackgroundTransparency = TRANSPARENCY
  486. frame.BorderSizePixel = BORDERSIZEPIXEL
  487. frame.Position = POSITION
  488. frame.Size = SIZE
  489. frame.BackgroundColor3 = COLOR
  490. frame.BorderColor3 = BORDERCOLOR
  491. frame.Name = NAME
  492. frame.Parent = PARENT
  493. return frame
  494. end
  495.  
  496. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  497. local label = IT("TextLabel")
  498. label.BackgroundTransparency = 1
  499. label.Size = UD2(1, 0, 1, 0)
  500. label.Position = UD2(0, 0, 0, 0)
  501. label.TextColor3 = C3(255, 255, 255)
  502. label.TextStrokeTransparency = STROKETRANSPARENCY
  503. label.TextTransparency = TRANSPARENCY
  504. label.FontSize = TEXTFONTSIZE
  505. label.Font = TEXTFONT
  506. label.BorderSizePixel = BORDERSIZEPIXEL
  507. label.TextScaled = true
  508. label.Text = TEXT
  509. label.Name = NAME
  510. label.Parent = PARENT
  511. return label
  512. end
  513.  
  514. function NoOutlines(PART)
  515. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  516. end
  517.  
  518.  
  519. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  520. local NEWWELD = IT(TYPE)
  521. NEWWELD.Part0 = PART0
  522. NEWWELD.Part1 = PART1
  523. NEWWELD.C0 = C0
  524. NEWWELD.C1 = C1
  525. NEWWELD.Parent = PARENT
  526. return NEWWELD
  527. end
  528.  
  529. function CreateSound(ID, PARENT, VOLUME, PITCH)
  530. local NEWSOUND = IT("Sound", PARENT)
  531. NEWSOUND.Volume = VOLUME
  532. NEWSOUND.Pitch = PITCH
  533. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  534. coroutine.resume(coroutine.create(function()
  535. Swait()
  536. NEWSOUND:play()
  537. repeat Swait() until NEWSOUND.Playing == false
  538. NEWSOUND:remove()
  539. end))
  540. return NEWSOUND
  541. end
  542.  
  543. function CFrameFromTopBack(at, top, back)
  544. local right = top:Cross(back)
  545. 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)
  546. end
  547.  
  548. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  549. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  550. local CURRENTPOSITION = POSITION1
  551. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  552. coroutine.resume(coroutine.create(function()
  553. for i = 1, MULTIPLIERTIME do
  554. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  555. LIGHTNINGPART.Anchored = true
  556. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  557. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  558. if MULTIPLIERTIME == i then
  559. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  560. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  561. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  562. else
  563. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  564. end
  565. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  566. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  567. coroutine.resume(coroutine.create(function()
  568. while LIGHTNINGPART.Transparency ~= 1 do
  569. --local StartTransparency = tra
  570. for i=0, 1, LASTINGTIME do
  571. Swait()
  572. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  573. end
  574. end
  575. end))
  576. Swait(LIGHTNINGDELAY / Animation_Speed)
  577. end
  578. end))
  579. end
  580.  
  581. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  582. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  583. EFFECTPART.Anchored = true
  584. EFFECTPART.CFrame = CFRAME
  585. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  586. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  587. coroutine.resume(coroutine.create(function(PART, MESH)
  588. for i = 0, 1, delay do
  589. Swait()
  590. PART.CFrame = PART.CFrame * ROTATION
  591. PART.Transparency = i
  592. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  593. end
  594. PART.Parent = nil
  595. end), EFFECTPART, EFFECTMESH)
  596. end
  597.  
  598. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  599. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  600. EFFECTPART.Anchored = true
  601. EFFECTPART.CFrame = CFRAME
  602. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  603. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  604. coroutine.resume(coroutine.create(function(PART, MESH)
  605. for i = 0, 1, delay do
  606. Swait()
  607. PART.CFrame = PART.CFrame * ROTATION
  608. PART.Transparency = i
  609. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  610. end
  611. PART.Parent = nil
  612. end), EFFECTPART, EFFECTMESH)
  613. end
  614.  
  615. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  616. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  617. EFFECTPART.Anchored = true
  618. EFFECTPART.CFrame = CFRAME
  619. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  620. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  621. coroutine.resume(coroutine.create(function(PART, MESH)
  622. for i = 0, 1, delay do
  623. Swait()
  624. PART.CFrame = PART.CFrame * ROTATION
  625. PART.Transparency = i
  626. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  627. end
  628. PART.Parent = nil
  629. end), EFFECTPART, EFFECTMESH)
  630. end
  631.  
  632. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  633. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  634. EFFECTPART.Anchored = true
  635. EFFECTPART.CFrame = CFRAME
  636. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  637. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  638. coroutine.resume(coroutine.create(function(PART, MESH)
  639. for i = 0, 1, delay do
  640. Swait()
  641. PART.CFrame = PART.CFrame * ROTATION
  642. PART.Transparency = i
  643. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  644. end
  645. PART.Parent = nil
  646. end), EFFECTPART, EFFECTMESH)
  647. end
  648.  
  649. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  650. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  651. EFFECTPART.Anchored = true
  652. EFFECTPART.CFrame = CFRAME
  653. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  654. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  655. coroutine.resume(coroutine.create(function(PART, MESH)
  656. for i = 0, 1, delay do
  657. Swait()
  658. PART.CFrame = PART.CFrame * ROTATION
  659. PART.Transparency = i
  660. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  661. end
  662. PART.Parent = nil
  663. end), EFFECTPART, EFFECTMESH)
  664. end
  665.  
  666. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  667. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  668. EFFECTPART.Anchored = true
  669. EFFECTPART.CFrame = CFRAME
  670. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  671. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  672. coroutine.resume(coroutine.create(function(PART, MESH)
  673. for i = 0, 1, delay do
  674. Swait()
  675. PART.CFrame = PART.CFrame * ROTATION
  676. PART.Transparency = i
  677. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  678. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  679. end
  680. PART.Parent = nil
  681. end), EFFECTPART, EFFECTMESH)
  682. end
  683.  
  684. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  685. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  686. EFFECTPART.Anchored = true
  687. EFFECTPART.CFrame = CFRAME
  688. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  689. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  690. coroutine.resume(coroutine.create(function(PART, MESH)
  691. for i = 0, 1, delay do
  692. Swait()
  693. PART.CFrame = PART.CFrame * ROTATION
  694. PART.Transparency = i
  695. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  696. end
  697. PART.Parent = nil
  698. end), EFFECTPART, EFFECTMESH)
  699. end
  700.  
  701. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  702. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  703. EFFECTPART.Anchored = true
  704. EFFECTPART.CFrame = CFRAME
  705. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  706. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  707. coroutine.resume(coroutine.create(function(PART, MESH)
  708. for i = 0, 1, delay do
  709. Swait()
  710. PART.CFrame = PART.CFrame * ROTATION
  711. PART.Transparency = i
  712. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  713. end
  714. PART.Parent = nil
  715. end), EFFECTPART, EFFECTMESH)
  716. end
  717.  
  718. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  719. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  720. EFFECTPART.Anchored = true
  721. EFFECTPART.CFrame = CFRAME
  722. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  723. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  724. coroutine.resume(coroutine.create(function(PART, MESH)
  725. for i = 0, 1, delay do
  726. Swait()
  727. PART.CFrame = PART.CFrame * ROTATION
  728. PART.Transparency = i
  729. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  730. end
  731. PART.Parent = nil
  732. end), EFFECTPART, EFFECTMESH)
  733. end
  734.  
  735. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  736. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  737. EFFECTPART.Anchored = true
  738. EFFECTPART.CFrame = CFRAME
  739. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  740. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  741. coroutine.resume(coroutine.create(function(PART, MESH)
  742. for i = 0, 1, delay do
  743. Swait()
  744. PART.CFrame = PART.CFrame * ROTATION
  745. PART.Transparency = i
  746. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  747. end
  748. PART.Parent = nil
  749. end), EFFECTPART, EFFECTMESH)
  750. end
  751.  
  752. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  753. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  754. EFFECTPART.Anchored = true
  755. EFFECTPART.CFrame = CFRAME
  756. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  757. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  758. coroutine.resume(coroutine.create(function(PART, MESH)
  759. for i = 0, 1, delay do
  760. Swait()
  761. PART.CFrame = PART.CFrame * ROTATION
  762. PART.Transparency = i
  763. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  764. end
  765. PART.Parent = nil
  766. end), EFFECTPART, EFFECTMESH)
  767. end
  768.  
  769. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  770. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  771. EFFECTPART.Anchored = true
  772. EFFECTPART.CFrame = CFRAME
  773. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  774. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  775. coroutine.resume(coroutine.create(function(PART, MESH)
  776. for i = 0, 1, delay do
  777. Swait()
  778. PART.CFrame = PART.CFrame * ROTATION
  779. PART.Transparency = i
  780. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  781. end
  782. PART.Parent = nil
  783. end), EFFECTPART, EFFECTMESH)
  784. end
  785.  
  786. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  787. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  788. EFFECTPART.Anchored = true
  789. EFFECTPART.CFrame = CFRAME
  790. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  791. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  792. coroutine.resume(coroutine.create(function(PART, MESH)
  793. for i = 0, 1, delay do
  794. Swait()
  795. PART.CFrame = PART.CFrame * ROTATION
  796. PART.Transparency = i
  797. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  798. end
  799. PART.Parent = nil
  800. end), EFFECTPART, EFFECTMESH)
  801. end
  802.  
  803. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  804. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  805. EFFECTPART.Anchored = true
  806. EFFECTPART.CFrame = CFRAME
  807. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  808. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  809. local XVALUE = MRANDOM()
  810. local YVALUE = MRANDOM()
  811. local ZVALUE = MRANDOM()
  812. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  813. for i = 0, 1, delay do
  814. Swait()
  815. PART.CFrame = PART.CFrame * ROTATION
  816. PART.Transparency = i
  817. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  818. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  819. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  820. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  821. end
  822. PART.Parent = nil
  823. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  824. end
  825.  
  826. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  827. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  828. if MAGNITUDECFRAME > (1 / 100) then
  829. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  830. EFFECTPART.Anchored = true
  831. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  832. local THEMESHTYPE = "BlockMesh"
  833. if MESHTYPE == "Cylinder" then
  834. THEMESHTYPE = "CylinderMesh"
  835. end
  836. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  837. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  838. coroutine.resume(coroutine.create(function(PART, MESH)
  839. for i = 0, 1, delay do
  840. Swait()
  841. PART.CFrame = PART.CFrame * ROTATION
  842. PART.Transparency = i
  843. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  844. end
  845. PART.Parent = nil
  846. end), EFFECTPART, EFFECTMESH)
  847. end
  848. end
  849.  
  850. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  851. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  852. EFFECTPART.Anchored = true
  853. EFFECTPART.CFrame = CFRAME
  854. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  855. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  856. local THELASTPOINT = CFRAME
  857. coroutine.resume(coroutine.create(function(PART)
  858. for i = 1, DURATION do
  859. Swait()
  860. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  861. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  862. THELASTPOINT = PART.CFrame
  863. end
  864. PART.Parent = nil
  865. end), EFFECTPART)
  866. end
  867.  
  868. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  869. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  870. local mesh = IT("SpecialMesh",wave)
  871. mesh.MeshType = "FileMesh"
  872. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  873. mesh.Scale = VT(size,size,size)
  874. mesh.Offset = VT(0,0,-size/8)
  875. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  876. coroutine.resume(coroutine.create(function(PART)
  877. for i = 1, waitt do
  878. Swait()
  879. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  880. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  881. if doesrotate == true then
  882. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  883. end
  884. wave.Transparency = wave.Transparency + (0.5/waitt)
  885. if wave.Transparency > 0.99 then
  886. wave:remove()
  887. end
  888. end
  889. end))
  890. end
  891.  
  892. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2)
  893. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  894. local mesh = IT("SpecialMesh",wave)
  895. mesh.MeshType = "FileMesh"
  896. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  897. mesh.Scale = VT(size,size,size)
  898. mesh.Offset = VT(0,0,0)
  899. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  900. coroutine.resume(coroutine.create(function(PART)
  901. for i = 1, waitt do
  902. Swait()
  903. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  904. if doesrotate == true then
  905. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  906. end
  907. wave.Transparency = wave.Transparency + (0.5/waitt)
  908. if wave.Transparency > 0.99 then
  909. wave:remove()
  910. end
  911. end
  912. end))
  913. end
  914.  
  915. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  916. local sinkhole = IT("Part",Effects)
  917. sinkhole.Size = VT(size,0,size)
  918. sinkhole.CFrame = cframe * CF(0,offset,0)
  919. sinkhole.Material = "Neon"
  920. sinkhole.Color = C3(170, 0, 170)
  921. sinkhole.Anchored = true
  922. sinkhole.CanCollide = false
  923. sinkhole.Transparency = 1
  924. local decal = IT("Decal",sinkhole)
  925. decal.Face = "Top"
  926. decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  927. coroutine.resume(coroutine.create(function(PART)
  928. for i = 1, waitt do
  929. Swait()
  930. if doesrotate == true then
  931. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  932. end
  933. if i > waitt-11 then
  934. decal.Transparency = decal.Transparency + 0.1
  935. end
  936. end
  937. sinkhole:remove()
  938. end))
  939. return sinkhole
  940. end
  941.  
  942. --local list={}
  943. function Triangle(Color, Material, a, b, c, delay)
  944. local edge1 = (c - a):Dot((b - a).unit)
  945. local edge2 = (a - b):Dot((c - b).unit)
  946. local edge3 = (b - c):Dot((a - c).unit)
  947. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  948. a, b, c=a, b, c
  949. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  950. a, b, c=b, c, a
  951. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  952. a, b, c=c, a, b
  953. else
  954. assert(false, "unreachable")
  955. end
  956. local len1 = (c - a):Dot((b - a).unit)
  957. local len2 = (b - a).magnitude - len1
  958. local width = (a + (b - a).unit * len1 - c).magnitude
  959. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  960. if len1 > 1 / 100 then
  961. local sz = VT(0.2, width, len1)
  962. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  963. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  964. w1.Anchored = true
  965. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  966. coroutine.resume(coroutine.create(function()
  967. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  968. Swait()
  969. w1.Transparency = i
  970. end
  971. w1.Parent = nil
  972. end))
  973. game:GetService("Debris"):AddItem(w1, 10)
  974. --table.insert(list, w1)
  975. end
  976. if len2 > 1 / 100 then
  977. local sz = VT(0.2, width, len2)
  978. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  979. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  980. w2.Anchored = true
  981. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  982. coroutine.resume(coroutine.create(function()
  983. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  984. Swait()
  985. w2.Transparency = i
  986. end
  987. w2.Parent = nil
  988. end))
  989. game:GetService("Debris"):AddItem(w2, 10)
  990. --table.insert(list, w2)
  991. end
  992. --return unpack(list)
  993. end
  994.  
  995. --[[Usage:
  996. local Pos = Part
  997. local Offset = Part.CFrame * CF(0, 0, 0)
  998. local Color = "Institutional white"
  999. local Material = "Neon"
  1000. local TheDelay = 0.01
  1001. local Height = 4
  1002. BLCF = Offset
  1003. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1004. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1005. if a then game:GetService("Debris"):AddItem(a, 1) end
  1006. if b then game:GetService("Debris"):AddItem(b, 1) end
  1007. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1008. if a then game:GetService("Debris"):AddItem(a, 1) end
  1009. if b then game:GetService("Debris"):AddItem(b, 1) end
  1010. SCFR = BLCF
  1011. elseif not SCFR then
  1012. SCFR = BLCF
  1013. end
  1014. --
  1015. BLCF = nil
  1016. SCFR = nil
  1017. --]]
  1018.  
  1019. --//=================================\\
  1020. --\\=================================//
  1021.  
  1022. if Player_Size ~= 1 then
  1023. RootPart.Size = RootPart.Size * Player_Size
  1024. Torso.Size = Torso.Size * Player_Size
  1025. Head.Size = Head.Size * Player_Size
  1026. RightArm.Size = RightArm.Size * Player_Size
  1027. LeftArm.Size = LeftArm.Size * Player_Size
  1028. RightLeg.Size = RightLeg.Size * Player_Size
  1029. LeftLeg.Size = LeftLeg.Size * Player_Size
  1030. RootJoint.Parent = RootPart
  1031. Neck.Parent = Torso
  1032. RightShoulder.Parent = Torso
  1033. LeftShoulder.Parent = Torso
  1034. RightHip.Parent = Torso
  1035. LeftHip.Parent = Torso
  1036.  
  1037. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1038. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1039. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1040. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1041. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1042. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1043. --if Disable_Moving_Arms == false then
  1044. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1045. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1046. --else
  1047. --RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1048. --LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1049. --end
  1050. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1051. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1052. 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))
  1053. 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))
  1054. end
  1055.  
  1056. --//=================================\\
  1057. --|| WEAPON CREATION
  1058. --\\=================================//
  1059.  
  1060. if Player_Size ~= 1 then
  1061. for _, v in pairs (Weapon:GetChildren()) do
  1062. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1063. local p1 = v.Part1
  1064. v.Part1 = nil
  1065. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1066. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1067. v.Part1 = p1
  1068. elseif v.ClassName == "Part" then
  1069. for _, b in pairs (v:GetChildren()) do
  1070. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1071. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1072. end
  1073. end
  1074. end
  1075. end
  1076. end
  1077.  
  1078. createaccessory(Head,"http://www.roblox.com/asset/?id=210118899","",VT(1, 1, 1),VT(0, 0.25, 0.1),BrickColor.new"Really black")
  1079.  
  1080.  
  1081. local AT1 = IT("Attachment",RightArm)
  1082. AT1.Position = VT(0,-1.15,0)
  1083. local AT2 = IT("Attachment",LeftArm)
  1084. AT2.Position = VT(0,-1.15,0)
  1085.  
  1086. Humanoid.HealthChanged:connect(function()
  1087. if Humanoid.Health ~= "inf" then
  1088. Humanoid.Health = "inf"
  1089. end
  1090. if Humanoid.MaxHealth ~= "inf" then
  1091. Humanoid.MaxHealth = "inf"
  1092. end
  1093. end)
  1094.  
  1095. local EyeSizes={
  1096. NumberSequenceKeypoint.new(0,1.2,0),
  1097. NumberSequenceKeypoint.new(1,0,0)
  1098. }
  1099. local EyeTrans={
  1100. NumberSequenceKeypoint.new(0,0.8,0),
  1101. NumberSequenceKeypoint.new(1,1,0)
  1102. }
  1103. local PE=Instance.new("ParticleEmitter")
  1104. PE.LightEmission=0
  1105. PE.Size=NumberSequence.new(EyeSizes)
  1106. PE.Transparency=NumberSequence.new(EyeTrans)
  1107. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  1108. PE.Rotation=NumberRange.new(0,360)
  1109. PE.Rate=999
  1110. PE.Acceleration = Vector3.new(0,0,0)
  1111. PE.Drag = 5
  1112. PE.LockedToPart = false
  1113. PE.Speed = NumberRange.new(0,0,0)
  1114. PE.Rotation = NumberRange.new(-100, 100)
  1115. PE.RotSpeed = NumberRange.new(-100, 100)
  1116. PE.Texture="http://www.roblox.com/asset/?id=669492379"
  1117. PE.Color = ColorSequence.new(Color3.new(170, 0, 170))
  1118. PE.ZOffset = 0
  1119. PE.Name = "Reign"
  1120. PE.Enabled = false
  1121. PE.VelocitySpread = 10000
  1122.  
  1123. function particles(art)
  1124. local o = PE:Clone()
  1125. o.Parent = art
  1126. o.Enabled = true
  1127. return o
  1128. end
  1129.  
  1130. particles(AT1)
  1131. particles(AT2)
  1132.  
  1133. createbodypart("Gem","Magenta",Torso,VT(0, 0.2, 0.5),VT(0.6,1.5,0.5))
  1134. createbodypart("Gem","Magenta",Torso,VT(0, -0.2, 0.5),VT(0.2,1,0.5))
  1135. createbodypart("Gem","Magenta",Torso,VT(-0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
  1136. createbodypart("Gem","Magenta",Torso,VT(0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
  1137.  
  1138. ---ribs---
  1139. createbodypart("Gem","Magenta",Torso,VT(0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
  1140. createbodypart("Gem","Magenta",Torso,VT(-0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
  1141.  
  1142. createbodypart("Gem","Magenta",Torso,VT(0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
  1143. createbodypart("Gem","Magenta",Torso,VT(-0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
  1144.  
  1145. createbodypart("Gem","Magenta",Torso,VT(0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
  1146. createbodypart("Gem","Magenta",Torso,VT(-0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
  1147. ----------
  1148.  
  1149.  
  1150.  
  1151. for _, c in pairs(Weapon:GetChildren()) do
  1152. if c.ClassName == "Part" then
  1153. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1154. end
  1155. end
  1156.  
  1157. Weapon.Parent = Character
  1158.  
  1159. Humanoid.Died:connect(function()
  1160. q = workspace:GetChildren()
  1161. CreatePentagram(1500,true,-0.1,150,CF(RootPart.Position),-3)
  1162. Head.Parent = nil
  1163. Head = nil
  1164. for i = 1, #q do
  1165. local child = q[i]
  1166. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then
  1167. child:BreakJoints()
  1168. end
  1169. end
  1170. local taunt = CreateSound("135009414", workspace, 10, 1)
  1171. local effect = IT("PitchShiftSoundEffect",taunt)
  1172. effect.Octave = 0.700
  1173. ATTACK = true
  1174. end)
  1175.  
  1176. print(Class_Name.." loaded.")
  1177.  
  1178. --//=================================\\
  1179. --\\=================================//
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185. --//=================================\\
  1186. --|| DAMAGE FUNCTIONS
  1187. --\\=================================//
  1188.  
  1189. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1190. local STATPART = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Effect", VT())
  1191. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1192. local BODYGYRO = IT("BodyGyro", STATPART)
  1193. local BODYPOSITION = IT("BodyPosition", STATPART)
  1194. BODYPOSITION.P = 2000
  1195. BODYPOSITION.D = 100
  1196. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1197. if LABELTYPE == "Normal" then
  1198. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1199. elseif LABELTYPE == "Debuff" then
  1200. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1201. elseif LABELTYPE == "Interruption" then
  1202. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1203. end
  1204. game:GetService("Debris"):AddItem(STATPART ,5)
  1205. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1206. BILLBOARDGUI.Adornee = STATPART
  1207. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1208. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1209. BILLBOARDGUI.AlwaysOnTop = true
  1210. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1211. TEXTLABEL.BackgroundTransparency = 1
  1212. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1213. TEXTLABEL.Text = TEXT
  1214. TEXTLABEL.Font = "Antique"
  1215. TEXTLABEL.FontSize="Size42"
  1216. TEXTLABEL.TextColor3 = COLOR
  1217. TEXTLABEL.TextStrokeTransparency = 1
  1218. TEXTLABEL.TextScaled = true
  1219. TEXTLABEL.TextWrapped = true
  1220. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1221. wait(0.2)
  1222. for i=1, 5 do
  1223. wait()
  1224. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1225. end
  1226. wait(1.2)
  1227. for i=1, 5 do
  1228. wait()
  1229. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1230. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1231. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1232. end
  1233. THEPART.Parent = nil
  1234. end),STATPART, BODYPOSITION, TEXTLABEL)
  1235. end
  1236.  
  1237.  
  1238. --//=================================\\
  1239. --|| DAMAGING
  1240. --\\=================================//
  1241.  
  1242.  
  1243.  
  1244. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1245. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1246. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1247. local dmg = math.random(min,max)
  1248. if humanoid.Health > 0 then
  1249. if beserk == true then
  1250. humanoid.Health = 0
  1251. else
  1252. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1253. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1254. if math.random(1,100) < critrate+1 then
  1255. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1256. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(1, 0, 0))
  1257. else
  1258. humanoid.Health = humanoid.Health - dmg
  1259. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1260. end
  1261. local defence = Instance.new("BoolValue",hit.Parent)
  1262. defence.Name = ("HitBy"..Player.Name)
  1263. game:GetService("Debris"):AddItem(defence, 0.5)
  1264. end
  1265. end
  1266. end
  1267. end
  1268.  
  1269. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1270. local dmg = math.random(min,max)
  1271. for i,v in ipairs(workspace:GetChildren()) do
  1272. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1273. local body = v:GetChildren()
  1274. for part = 1, #body do
  1275. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1276. if(body[part].Position - position).Magnitude < radius then
  1277. if v.ClassName == "Model" then
  1278. if v:FindFirstChild("Humanoid") then
  1279. if v.Humanoid.Health ~= 0 then
  1280. if CanBeDodgedByJumping == true then
  1281. if body[part].Position.Y < position.Y+5 then
  1282. if math.random(1,100) < critrate+1 then
  1283. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1284. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1285. else
  1286. v.Humanoid.Health = v.Humanoid.Health - dmg
  1287. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1288. end
  1289. local defence = Instance.new("BoolValue",v)
  1290. defence.Name = ("HitBy"..Player.Name)
  1291. game:GetService("Debris"):AddItem(defence, 0.5)
  1292. end
  1293. else
  1294. if beserk == true then
  1295. v.Humanoid.Health = 0
  1296. end
  1297. if math.random(1,100) < critrate+1 then
  1298. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1299. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1300. else
  1301. v.Humanoid.Health = v.Humanoid.Health - dmg
  1302. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1303. end
  1304. local defence = Instance.new("BoolValue",v)
  1305. defence.Name = ("HitBy"..Player.Name)
  1306. game:GetService("Debris"):AddItem(defence, 0.5)
  1307. end
  1308. end
  1309. end
  1310. end
  1311. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1312. end
  1313. end
  1314. end
  1315. if v.ClassName == "Part" then
  1316. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1317. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1318. end
  1319. end
  1320. end
  1321. end
  1322. end
  1323.  
  1324. function killnearest(position,range,maxstrength)
  1325. for i,v in ipairs(workspace:GetChildren()) do
  1326. local body = v:GetChildren()
  1327. for part = 1, #body do
  1328. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1329. if(body[part].Position - position).Magnitude < range then
  1330. if v.ClassName == "Model" then
  1331. v:BreakJoints()
  1332. end
  1333. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1334. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1335. end
  1336. end
  1337. end
  1338. if v.ClassName == "Part" then
  1339. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1340. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1341. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1342. end
  1343. end
  1344. end
  1345. end
  1346.  
  1347. --//=================================\\
  1348. --|| ATTACK FUNCTIONS AND STUFF
  1349. --\\=================================//
  1350.  
  1351. Humanoid.HealthChanged:connect(function()
  1352. if Humanoid.Health == 0 then
  1353. Humanoid.MaxHealth = "inf"
  1354. Humanoid.Health = "inf"
  1355. if ATTACK == false then
  1356. if Humanoid.Health == 0 then
  1357. workspace:ClearAllChildren()
  1358. else
  1359. ViolentRoar()
  1360. end
  1361. end
  1362. end
  1363. end)
  1364.  
  1365. function clerp(a, b, t)
  1366. return a:lerp(b, t)
  1367. end
  1368.  
  1369. function newBezier(startpos, pos2, pos3, endpos, t)
  1370. local A = clerp(startpos, pos2, t)
  1371. local B = clerp(pos2, pos3, t)
  1372. local C = clerp(pos3, endpos, t)
  1373. local lerp1 = clerp(A, B, t)
  1374. local lerp2 = clerp(B, C, t)
  1375. local cubic = clerp(lerp1, lerp2, t)
  1376. return cubic
  1377. end
  1378.  
  1379. function Mortar(Target)
  1380. local newball = Instance.new("Part", workspace)
  1381. newball.Anchored = true
  1382. newball.Shape = "Ball"
  1383. newball.Material = "Neon"
  1384. newball.Size = Vector3.new(2, 2, 2)
  1385. newball.CanCollide = false
  1386. newball.CFrame = Target.CFrame
  1387. newball.BrickColor = BrickColor.new("Magenta")
  1388. newball.Transparency = 0.5
  1389. local Cys = Instance.new("SpecialMesh", newball)
  1390. Cys.MeshType = "FileMesh"
  1391. Cys.MeshId = "rbxassetid://9756362"
  1392. Cys.Scale = Vector3.new(1, 1, 1)
  1393. local onefourth = Target.Position:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1394. local threefourths = Target.Position:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1395. local MPos = Mouse.Hit.p
  1396. local A1 = IT("Attachment",newball)
  1397. A1.Position = Vector3.new(0, 1, 0)
  1398. local A2 = IT("Attachment",newball)
  1399. A2.Position = Vector3.new(0, -1, 0)
  1400. local Trail = IT("Trail",newball)
  1401. Trail.LightEmission = 1
  1402. Trail.FaceCamera = true
  1403. Trail.Texture = "rbxassetid://945758042"
  1404. Trail.Attachment0 = A1
  1405. Trail.Attachment1 = A2
  1406. Trail.Lifetime = 0.5
  1407. Trail.MinLength = 0
  1408. Trail.Transparency = NumberSequence.new(0.3, 1)
  1409. Trail.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1410. coroutine.resume(coroutine.create(function()
  1411. local loop = 0
  1412. for i = 0, 1, 0.07 do
  1413. Swait()
  1414. loop = loop + 1
  1415. if loop == 1 then
  1416. CreateRing(0,3,true,-0.2,15,newball,0,0.3,-0.3)
  1417. elseif loop == 2 then
  1418. CreateRing(0,3,true,-0.2,15,newball,0,-0.3,0.3)
  1419. loop = 1
  1420. end
  1421. newball.CFrame = CFrame.new(newBezier(Target.Position, onefourth, threefourths, MPos, i))
  1422. end
  1423. killnearest(newball.Position,5,10)
  1424. MagicSphere("Magenta", "Neon", CF(newball.Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 0.25, 0.25, 0.25, 7.5, 7.5, 7.5, 0.05)
  1425. MagicBlock("Magenta", "Neon", CF(newball.Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 0.25, 0.25, 0.25, 7.5, 7.5,7.5, 0.05)
  1426. newball.Transparency = 1
  1427. CreateSound("971125740", newball, 10, 1)
  1428. for i = 1, 7 do
  1429. coroutine.resume(coroutine.create(function()
  1430. local ray = IT("Part",Effects)
  1431. ray.Size = VT(newball.Size.Y,newball.Size.Y/10,newball.Size.Y/10)
  1432. ray.CFrame = CFrame.new(newball.Position,Vector3.new(newball.Position.X+math.random(-360,360),newball.Position.Y+math.random(-360,360),newball.Position.Z+math.random(-360,360)))
  1433. local mesh = IT("BlockMesh",ray)
  1434. ray.Anchored = true
  1435. ray.CanCollide = false
  1436. ray.Material = newball.Material
  1437. ray.Color = newball.Color
  1438. table.insert(Effects2,{ray,"Block1",0.04,1,0,0,2})
  1439. end))
  1440. end
  1441. game:GetService("Debris"):AddItem(newball, 5)
  1442. end))
  1443. end
  1444.  
  1445. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1446. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1447. end
  1448.  
  1449. function JumpUp()
  1450. ATTACK = true
  1451. --Rooted = true
  1452. for i=0, 2, 0.1 / Animation_Speed do
  1453. Swait()
  1454. 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)
  1455. 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)
  1456. 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)
  1457. 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)
  1458. 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)
  1459. 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)
  1460. end
  1461. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1462. CreateWave(0,3.5,true,0.2,150,RootPart,-2)
  1463. CreateWave(0,5,true,-0.2,150,RootPart,-2)
  1464. local bv = Instance.new("BodyVelocity")
  1465. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1466. bv.velocity = Vector3.new(0,300,0)
  1467. bv.Parent = Torso
  1468. bv.Name = "DASH"
  1469. ATTACK = false
  1470. --Rooted = false
  1471. game:GetService("Debris"):AddItem(bv, 0.5)
  1472. coroutine.resume(coroutine.create(function()
  1473. Swait(50)
  1474. HASJUMPED = false
  1475. end))
  1476. end
  1477.  
  1478.  
  1479. function attacktemplate()
  1480. ATTACK = true
  1481. for i=0, 1, 0.1 / Animation_Speed do
  1482. Swait()
  1483. 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)
  1484. 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)
  1485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1487. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1489. end
  1490. ATTACK = false
  1491. end
  1492.  
  1493.  
  1494. function Attack1()
  1495. Rooted = true
  1496. ATTACK = true
  1497. for i=0, 1, 0.1 / Animation_Speed do
  1498. Swait()
  1499. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1500. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  1501. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1502. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1503. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  1504. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  1505. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1506. break
  1507. end
  1508. end
  1509. CreatePentagram(15,true,0.1,45,CF(RootPart.Position),-3)
  1510. local paw = RightArm.Touched:Connect(function(hit)
  1511. dealdamage(hit,9999,9999,9000,false,9999,9999)
  1512. end)
  1513. local bv = Instance.new("BodyVelocity")
  1514. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1515. bv.velocity = RootPart.CFrame.lookVector * 50
  1516. bv.Parent = Torso
  1517. bv.Name = "DASH"
  1518. ATTACK = false
  1519. Rooted = false
  1520. game:GetService("Debris"):AddItem(bv, 0.05)
  1521. for i=0, 1, 0.1 / Animation_Speed do
  1522. Swait()
  1523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  1524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(10)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1527. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(40), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  1528. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-35), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  1529. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1530. break
  1531. end
  1532. end
  1533. COMBO = 2
  1534. paw:disconnect()
  1535. BLCF = nil
  1536. SCFR = nil
  1537. ATTACK = false
  1538. Rooted = false
  1539. end
  1540.  
  1541. function Attack2()
  1542. Rooted = true
  1543. ATTACK = true
  1544. for i=0, 1, 0.1 / Animation_Speed do
  1545. Swait()
  1546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-10)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1550. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1551. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  1552. end
  1553. CreatePentagram(15,true,-0.1,45,CF(RootPart.Position),-3)
  1554. local paw = LeftArm.Touched:Connect(function(hit)
  1555. dealdamage(hit,9999,9999,9000,false,9999,9999)
  1556. end)
  1557. local bv = Instance.new("BodyVelocity")
  1558. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1559. bv.velocity = RootPart.CFrame.lookVector * 50
  1560. bv.Parent = Torso
  1561. bv.Name = "DASH"
  1562. ATTACK = false
  1563. Rooted = false
  1564. game:GetService("Debris"):AddItem(bv, 0.05)
  1565. for i=0, 1.5, 0.1 / Animation_Speed do
  1566. Swait()
  1567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-90)), 0.4 / Animation_Speed)
  1568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1571. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1572. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  1573. end
  1574. COMBO = 3
  1575. paw:disconnect()
  1576. ATTACK = false
  1577. Rooted = false
  1578. end
  1579.  
  1580. function Attack3()
  1581. ATTACK = true
  1582. Rooted = true
  1583. for i=0, 1, 0.1 / Animation_Speed do
  1584. Swait()
  1585. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1586. 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)
  1587. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, -0.2 * Player_Size, 0.3 * Player_Size) * ANGLES(RAD(50), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1588. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1589. 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)
  1590. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1591. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1592. break
  1593. end
  1594. end
  1595. for i=0, 1, 0.1 / Animation_Speed do
  1596. Swait()
  1597. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1599. 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)
  1600. 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)
  1601. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1603. end
  1604. for i=0, 1, 0.1 / Animation_Speed*7 do
  1605. Swait()
  1606. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1610. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -4.7 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(45), RAD(45), RAD(0)), 0.2 / Animation_Speed)
  1611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1612. end
  1613. CreateSound("2248511", RightLeg, 2, 1)
  1614. CreateWave(0,3.5,true,0.2,25,RightLeg,-1)
  1615. CreateWave(0,3,true,-0.2,25,RightLeg,-1)
  1616. CreateWave(0,2.5,true,0.2,25,RightLeg,-1)
  1617. CreateWave(0,2,true,-0.2,25,RightLeg,-1)
  1618. AoEDamage(RightLeg.Position,15,25,30,15,false,5,3,true)
  1619. COMBO = 1
  1620. Rooted = false
  1621. ATTACK = false
  1622. end
  1623.  
  1624. function Sinnerwave()
  1625. ATTACK = true
  1626. Rooted = true
  1627. for i=0, 2, 0.1 / Animation_Speed do
  1628. Swait()
  1629. Rooted = true
  1630. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1634. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1636. end
  1637. Rooted = true
  1638. local Animation_Speed2 = Animation_Speed/2
  1639. for i=0, 1, 0.1 / Animation_Speed2 do
  1640. Swait()
  1641. Rooted = true
  1642. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1644. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1645. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1646. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1647. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1648. end
  1649. CreateWave(0,4,true,0.2,45,RootPart,-5)
  1650. CreateWave(0,4.5,true,-0.2,40,RootPart,-5)
  1651. CreateWave(0,5,true,0.2,35,RootPart,-5)
  1652. CreateWave(0,5.5,true,-0.2,30,RootPart,-5)
  1653. CreateWave(0,6,true,0.2,25,RootPart,-5)
  1654. CreateSound("971126018", Torso, 2, 1)
  1655. coroutine.resume(coroutine.create(function()
  1656. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -1, 0), (10000), {Character})
  1657. local SpawnPosition = RayPos
  1658. local floor = RayHit
  1659. local needcframe = RootPart.CFrame
  1660. local LastPosition = RootPart.Position
  1661. local Delay = 1
  1662. for i = 1, 6 do
  1663. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1664. local End = RayPos
  1665. LastPosition = End
  1666. local locatepart = Instance.new("Part",Effects)
  1667. locatepart.Size = VT(0.5,0.5,0.5)
  1668. locatepart.Position = End
  1669. locatepart.CanCollide = false
  1670. locatepart.Anchored = true
  1671. locatepart.Transparency = 1
  1672. if SpawnPosition then
  1673. if i ~= 6 then
  1674. CreateSound("971125740", locatepart, 7, 1)
  1675. AoEDamage(End,15,25,30,15,false,5,3,false)
  1676. CreateWave(0,2.5,true,-0.05,25,locatepart,-2)
  1677. CreateWave(0,2,true,0.05,25,locatepart,-2)
  1678. CreateWave(0,1.5,true,-0.05,25,locatepart,-2)
  1679. CreateWave(0,1,true,0.05,25,locatepart,-2)
  1680. else
  1681. CreateRing(0,15,true,-0.2,35,locatepart,0,0.3,0.3)
  1682. CreateRing(0,12.5,true,0.2,35,locatepart,0,0.3,-0.3)
  1683. CreateRing(0,10,true,-0.2,35,locatepart,0,-0.3,0.3)
  1684. CreateRing(0,7.5,true,0.2,35,locatepart,0,-0.3,-0.3)
  1685. CreatePentagram(85,true,-0.05,75,CF(End),0)
  1686. CreateSound("971125740", locatepart, 7, 0.5)
  1687. AoEDamage(End,25,45,60,15,false,5,3,false)
  1688. CreateWave(0,6.5,true,-0.05,45,locatepart,-2)
  1689. CreateWave(0,6,true,0.05,45,locatepart,-2)
  1690. CreateWave(0,5.5,true,-0.05,45,locatepart,-2)
  1691. CreateWave(0,5,true,0.05,45,locatepart,-2)
  1692. local particle = particles(locatepart)
  1693. particle.Enabled = false
  1694. particle.Drag = 1
  1695. particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
  1696. particle.Speed = NumberRange.new(25,25,25)
  1697. particle:Emit(250)
  1698. end
  1699. end
  1700. Swait(5)
  1701. game:GetService("Debris"):AddItem(locatepart, 5)
  1702. end
  1703. end))
  1704. Swait(50)
  1705. ATTACK = false
  1706. Rooted = false
  1707. end
  1708.  
  1709. function ViolentRoar()
  1710. ATTACK = true
  1711. Rooted = true
  1712. for i=0, 2, 0.1 / Animation_Speed do
  1713. Swait()
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. 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*5)
  1719. 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*5)
  1720. end
  1721. if Head ~= nil then
  1722. local roar = CreateSound("577131694", Head, 10, 1)
  1723. repeat
  1724. for i=0, 1.3, 0.1 / Animation_Speed do
  1725. Swait()
  1726. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1727. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1728. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1729. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1730. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1731. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1732. end
  1733. killnearest(Head.Position,25,25)
  1734. CreateRing(0,6,true,-0.2,35,Head,0,0.3,-0.3)
  1735. CreateRing(0,6,true,-0.2,35,Head,0,0.3,0.3)
  1736. CreateWave(0,5.5,true,0.05,45,RootPart,-4)
  1737. if roar.Playing == true then
  1738. for i=0, 1.3, 0.1 / Animation_Speed do
  1739. Swait()
  1740. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1741. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1742. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(120)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1743. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1744. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1745. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1746. end
  1747. killnearest(Head.Position,25,25)
  1748. CreateRing(0,6,true,-0.2,35,Head,0,-0.3,-0.3)
  1749. CreateRing(0,6,true,-0.2,35,Head,0,-0.3,0.3)
  1750. CreateWave(0,5.5,true,-0.05,45,RootPart,-4)
  1751. end
  1752. until roar.Playing == false
  1753. end
  1754. Rooted = false
  1755. ATTACK = false
  1756. end
  1757.  
  1758. function BulletsFromAbove()
  1759. HASJUMPED = true
  1760. --Rooted = true
  1761. for i=0, 2, 0.1 / Animation_Speed do
  1762. Swait()
  1763. 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)
  1764. 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)
  1765. 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)
  1766. 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)
  1767. 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)
  1768. 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)
  1769. end
  1770. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1771. CreateWave(0,3.5,true,0.2,150,RootPart,-2)
  1772. CreateWave(0,5,true,-0.2,150,RootPart,-2)
  1773. local bv = Instance.new("BodyVelocity")
  1774. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1775. bv.velocity = Vector3.new(0,300,0)
  1776. bv.Parent = Torso
  1777. bv.Name = "DASH"
  1778. --Rooted = false
  1779. game:GetService("Debris"):AddItem(bv, 0.5)
  1780. Swait(125)
  1781. ATTACK = true
  1782. Rooted = true
  1783. UNANCHOR = false
  1784. RootPart.Anchored = true
  1785. local BulletHolder = IT("Folder",Weapon)
  1786. BulletHolder.Name = "Bullets"
  1787. game:GetService("Debris"):AddItem(BulletHolder, 30)
  1788. for i=0, 5, 0.1 / Animation_Speed do
  1789. Swait()
  1790. Rooted = true
  1791. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1796. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1797. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1798. end
  1799. for i = 1 ,15 do
  1800. Swait()
  1801. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1802. end
  1803. CreateSound("333476017", Torso, 10, 1)
  1804. for i = 1, 35 do
  1805. Swait()
  1806. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1807. coroutine.resume(coroutine.create(function()
  1808. local gem = IT("Part",BulletHolder)
  1809. gem.Size = VT(0.2,0.2,0.2)
  1810. gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  1811. gem.Anchored = true
  1812. gem.Color = C3(170, 0, 170)
  1813. local e = particles(gem)
  1814. e.LockedToPart = false
  1815. local Cys = Instance.new("SpecialMesh", gem)
  1816. Cys.MeshType = "FileMesh"
  1817. Cys.MeshId = "rbxassetid://9756362"
  1818. Cys.Scale = Vector3.new(2,2,2)
  1819. end))
  1820. end
  1821. local Animation_Speed2 = Animation_Speed/2
  1822. for i=0, 1, 0.1 / Animation_Speed2 do
  1823. Swait()
  1824. --RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1825. Rooted = true
  1826. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1830. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1831. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1832. end
  1833. CreateSound("318745457", Torso, 2, 1)
  1834. coroutine.resume(coroutine.create(function()
  1835. q = BulletHolder:GetChildren()
  1836. for i = 1, #q do
  1837. local bullet = q[i]
  1838. local bv = Instance.new("BodyVelocity")
  1839. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1840. bv.velocity = RootPart.CFrame.lookVector * math.random(150,300)
  1841. bv.Parent = bullet
  1842. bv.Name = "DASH"
  1843. bullet.Anchored = false
  1844. local paw = bullet.Touched:Connect(function(hit)
  1845. if bullet.Reign.Enabled == true then
  1846. local cframe = bullet.CFrame
  1847. bullet.Anchored = true
  1848. bullet.Reign.Enabled = false
  1849. local particle = particles(bullet)
  1850. particle.Enabled = false
  1851. particle.Drag = 1
  1852. particle.Name = "poof"
  1853. particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
  1854. particle.Speed = NumberRange.new(25,25,25)
  1855. particle:Emit(250)
  1856. CreateSound("438666196", bullet, 5, 1)
  1857. CreateRing(0,4,true,-0.2,35,bullet,0,0.3,-0.3)
  1858. CreateRing(0,4,true,-0.2,35,bullet,0,0.3,0.3)
  1859. CreateRing(0,6,true,-0.2,35,bullet,0,-0.3,0.3)
  1860. CreateRing(0,6,true,-0.2,35,bullet,0,-0.3,-0.3)
  1861. CreateWave(0,2.5,true,-0.05,25,bullet,-2)
  1862. CreateWave(0,2,true,0.05,25,bullet,-2)
  1863. CreateWave(0,1.5,true,-0.05,25,bullet,-2)
  1864. CreateWave(0,1,true,0.05,25,bullet,-2)
  1865. table.insert(Effects2,{bullet,"Block1",0.025,1,1,1,2})
  1866. AoEDamage(bullet.Position,25,25,30,15,false,5,3,false)
  1867. end
  1868. end)
  1869. end
  1870. end))
  1871. for i = 1, 35 do
  1872. Swait()
  1873. end
  1874. UNANCHOR = true
  1875. RootPart.Anchored = false
  1876. Rooted = false
  1877. ATTACK = false
  1878. coroutine.resume(coroutine.create(function()
  1879. Swait(50)
  1880. HASJUMPED = false
  1881. end))
  1882. end
  1883.  
  1884. function fromthedepths()
  1885. ATTACK = true
  1886. Rooted = true
  1887. for i=0, 2, 0.1 / Animation_Speed do
  1888. Swait()
  1889. turnto(Mouse.Hit.p)
  1890. 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)
  1891. 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)
  1892. 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)
  1893. 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)
  1894. 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)
  1895. 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)
  1896. end
  1897. local sinkhole = IT("Part",Effects)
  1898. sinkhole.Size = VT(85,0,85)
  1899. sinkhole.CFrame = CF(Mouse.Hit.p)
  1900. sinkhole.Material = "Neon"
  1901. sinkhole.Color = C3(170, 0, 170)
  1902. sinkhole.Anchored = true
  1903. sinkhole.CanCollide = false
  1904. sinkhole.Transparency = 1
  1905. local decal = IT("Decal",sinkhole)
  1906. decal.Face = "Top"
  1907. decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  1908. repeat
  1909. Swait()
  1910. turnto(Mouse.Hit.p)
  1911. sinkhole.CFrame = CF(Mouse.Hit.p)
  1912. until KEYHOLD == false
  1913. coroutine.resume(coroutine.create(function()
  1914. local soundeffect = IT("Sound",sinkhole)
  1915. soundeffect.SoundId = "rbxassetid://487186990"
  1916. soundeffect.Looped = true
  1917. soundeffect.Volume = 10
  1918. soundeffect.Playing = true
  1919. for i = 1, 450 do
  1920. AoEDamage(sinkhole.Position,15,666,666,15,false,0,0,false)
  1921. AoEDamage(sinkhole.Position,25,65,80,15,false,5,3,true)
  1922. AoEDamage(sinkhole.Position,45,45,60,15,false,5,3,true)
  1923. Swait()
  1924. CreateWave(0,8,true,0.05,45,sinkhole,-1)
  1925. CreateWave(0,8,true,-0.05,45,sinkhole,-1)
  1926. if i > 439 then
  1927. decal.Transparency = decal.Transparency + 0.1
  1928. soundeffect.Volume = soundeffect.Volume - 1
  1929. end
  1930. end
  1931. sinkhole:remove()
  1932. end))
  1933. for i=0, 3, 0.1 / Animation_Speed do
  1934. Swait()
  1935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1939. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1941. end
  1942. Rooted = false
  1943. ATTACK = false
  1944. end
  1945.  
  1946. function Warp()
  1947. ATTACK = true
  1948. CreateRing(0,2,true,-0.2,35,RootPart,0,0.3,0.3)
  1949. CreateRing(0,2.5,true,-0.2,35,RootPart,0,-0.3,0.3)
  1950. CreateRing(0,3,true,-0.2,35,RootPart,0,0.3,-0.3)
  1951. CreateRing(0,3.5,true,-0.2,35,RootPart,0,-0.3,-0.3)
  1952. local originalcframe = RootPart.CFrame
  1953. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+(RootPart.Size.Y/2),Mouse.Hit.Z),originalcframe.p)
  1954. local penta = CreatePentagram(15,false,0,45,CF(RootPart.Position),-1)
  1955. CreateSound("3264923", penta, 2, 2)
  1956. ATTACK = false
  1957. end
  1958.  
  1959. --//=================================\\
  1960. --|| ASSIGN THINGS TO KEYS
  1961. --\\=================================//
  1962.  
  1963. function turnto(pos)
  1964. RootPart.CFrame = CF(RootPart.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1965. end
  1966.  
  1967. function MouseDown(Mouse)
  1968. if ATTACK == false and HASJUMPED == false and COMBO ~= "HALT" and Rooted == false then
  1969. HOLD = true
  1970. if ATTACK == false then
  1971. if COMBO == 1 then
  1972. COMBO = "HALT"
  1973. Attack1()
  1974. elseif COMBO == 2 then
  1975. COMBO = "HALT"
  1976. Attack2()
  1977. elseif COMBO == 3 then
  1978. COMBO = "HALT"
  1979. Attack3()
  1980. end
  1981. coroutine.resume(coroutine.create(function()
  1982. for i=1, 50 do
  1983. if ATTACK == false and COMBO ~= "HALT" then
  1984. Swait()
  1985. end
  1986. end
  1987. if ATTACK == false and COMBO ~= "HALT" then
  1988. COMBO = 1
  1989. end
  1990. end))
  1991. end
  1992. end
  1993. end
  1994.  
  1995. function MouseUp(Mouse)
  1996. HOLD = false
  1997. end
  1998.  
  1999. function KeyDown(Key)
  2000. KEYHOLD = true
  2001. if Key == "e" and HASJUMPED == false and ATTACK == false then
  2002. Warp()
  2003. end
  2004. if Key == "g" and HASJUMPED == false and ATTACK == false then
  2005. fromthedepths()
  2006. end
  2007. if Key == "q" and HASJUMPED == false and ATTACK == false then
  2008. ViolentRoar()
  2009. end
  2010. if Key == "x" and HASJUMPED == false and ATTACK == false then
  2011. BulletsFromAbove()
  2012. end
  2013. if Key == "f" and HASJUMPED == false and ATTACK == false then
  2014. Sinnerwave()
  2015. end
  2016. if Key == "t" and ATTACK == false then
  2017. local taunt = CreateSound("907332670", Head, 10, 1)
  2018. local effect = IT("PitchShiftSoundEffect",taunt)
  2019. effect.Octave = 0.700
  2020. end
  2021. end
  2022.  
  2023. function KeyUp(Key)
  2024. KEYHOLD = false
  2025. end
  2026.  
  2027. Mouse.Button1Down:connect(function(NEWKEY)
  2028. MouseDown(NEWKEY)
  2029. end)
  2030. Mouse.Button1Up:connect(function(NEWKEY)
  2031. MouseUp(NEWKEY)
  2032. end)
  2033. Mouse.KeyDown:connect(function(NEWKEY)
  2034. KeyDown(NEWKEY)
  2035. end)
  2036. Mouse.KeyUp:connect(function(NEWKEY)
  2037. KeyUp(NEWKEY)
  2038. end)
  2039.  
  2040. --//=================================\\
  2041. --\\=================================//
  2042.  
  2043.  
  2044. function unanchor()
  2045. if UNANCHOR == true then
  2046. g = Character:GetChildren()
  2047. for i = 1, #g do
  2048. if g[i].ClassName == "Part" then
  2049. g[i].Anchored = false
  2050. end
  2051. end
  2052. end
  2053. end
  2054.  
  2055.  
  2056. --//=================================\\
  2057. --|| WRAP THE WHOLE SCRIPT UP
  2058. --\\=================================//
  2059.  
  2060. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2061.  
  2062. Humanoid.Changed:connect(function(Jump)
  2063. if Jump == "Jump" then
  2064. Humanoid.Jump = false
  2065. if HASJUMPED == false and HITFLOOR ~= nil and ATTACK == false and DISABLEJUMPING == false then
  2066. HASJUMPED = true
  2067. JumpUp()
  2068. end
  2069. end
  2070. end)
  2071. Rooted = true
  2072. ANIMATE.Parent = nil
  2073. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2074. IDLEANIMATION:Play()
  2075. Swait()
  2076. Rooted = false
  2077.  
  2078. createbodypart("Eye","Magenta",Head,VT(0.25, 0, -0.65),VT(3,3,3))
  2079. createbodypart("Eye","Magenta",Head,VT(-0.25, 0, -0.65),VT(3,3,3))
  2080. createbodypart("Eye","Magenta",Head,VT(0, 0.2, -0.65),VT(5,5,3))
  2081.  
  2082. while true do
  2083. Swait()
  2084. SINE = SINE + CHANGE
  2085. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2086. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2087. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2088. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2089. local WALKSPEEDVALUE = 24 / (Humanoid.WalkSpeed / 16)
  2090. if ANIM == "Walk" and ATTACK == false and TORSOVELOCITY > 1 then
  2091. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2092. 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)
  2093. 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*2)
  2094. 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*2)
  2095. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2096. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2097. 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)
  2098. 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*2)
  2099. 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*2)
  2100. end
  2101. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2102. ANIM = "Jump"
  2103. if ATTACK == false then
  2104. CreateWave(180,3,true,0,15,RootPart,-4)
  2105. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2107. 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)
  2108. 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)
  2109. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2110. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2111. end
  2112. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  2113. ANIM = "Fall"
  2114. if ATTACK == false then
  2115. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2119. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2121. end
  2122. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil and ATTACK == false then
  2123. ANIM = "Idle"
  2124. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2126. --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2127. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2128. 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)
  2129. 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)
  2130. 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)
  2131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2132. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2133. ANIM = "Walk"
  2134. WALK = WALK + 1 / Animation_Speed
  2135. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2136. WALK = 0
  2137. if WALKINGANIM == true then
  2138. WALKINGANIM = false
  2139. elseif WALKINGANIM == false then
  2140. WALKINGANIM = true
  2141. end
  2142. end
  2143. --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)
  2144. --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)
  2145. if ATTACK == false then
  2146. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.5 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2147. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2148. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2149. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2150. --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2151. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2152. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2154. end
  2155. end
  2156. if #Effects2>0 then
  2157. for e=1,#Effects2 do
  2158. if Effects2[e]~=nil then
  2159. local Thing=Effects2[e]
  2160. if Thing~=nil then
  2161. local Part=Thing[1]
  2162. local Mode=Thing[2]
  2163. local Delay=Thing[3]
  2164. local IncX=Thing[4]
  2165. local IncY=Thing[5]
  2166. local IncZ=Thing[6]
  2167. local Part2=Thing[8]
  2168. if Thing[1].Transparency<=1 then
  2169. if Thing[2]=="Block1" then
  2170. Thing[1].CFrame=Thing[1].CFrame
  2171. Mesh=Thing[1].Mesh
  2172. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2173. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2174. elseif Thing[2]=="Cylinder" then
  2175. Mesh=Thing[1].Mesh
  2176. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2177. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2178. elseif Thing[2]=="Blood" then
  2179. Mesh=Thing[7]
  2180. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2181. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2182. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2183. elseif Thing[2]=="Elec" then
  2184. Mesh=Thing[1].Mesh
  2185. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2186. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2187. elseif Thing[2]=="Disappear" then
  2188. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2189. end
  2190. else
  2191. Part.Parent=nil
  2192. table.remove(Effects2,e)
  2193. end
  2194. end
  2195. end
  2196. end
  2197. end
  2198. if UNANCHOR == true then
  2199. unanchor()
  2200. end
  2201. Humanoid.MaxHealth = "inf"
  2202. Humanoid.Health = "inf"
  2203. if Rooted == false then
  2204. DISABLEJUMPING = false
  2205. if ANIM == "Fall" then
  2206. Humanoid.WalkSpeed = Speed*3
  2207. else
  2208. Humanoid.WalkSpeed = Speed
  2209. end
  2210. elseif Rooted == true then
  2211. DISABLEJUMPING = true
  2212. Humanoid.WalkSpeed = 0
  2213. end
  2214. q = Character:GetChildren()
  2215. for u = 1, #q do
  2216. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  2217. q[u]:remove()
  2218. elseif q[u].ClassName == "Shirt" then
  2219. q[u]:Destroy()
  2220. elseif q[u].ClassName == "Pants" then
  2221. q[u]:Destroy()
  2222. elseif q[u].ClassName == "CharacterMesh" then
  2223. q[u]:remove()
  2224. elseif q[u].ClassName == "ShirtGraphic" then
  2225. q[u]:remove()
  2226. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  2227. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  2228. end
  2229. end
  2230. if Head:FindFirstChild("face") then
  2231. Head.face:remove()
  2232. end
  2233. end
  2234.  
  2235. --//=================================\\
  2236. --\\=================================//
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242. --//====================================================\\--
  2243. --|| END OF SCRIPT
  2244. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement