Advertisement
Guest User

Untitled

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