Advertisement
Guest User

Untitled

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