ItzPartapika

The Star-Lord (Astra and Pandora Edit)

Apr 29th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 103.87 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| EDITED BY ITZPARTAPIKA
  3. --|| ASTRA AND PANDORA BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6.  
  7.  
  8. wait(0.2)
  9.  
  10.  
  11. local SIZE = 1.4
  12. local DAMAGEMULTIPLIER = 1
  13. Player = game:GetService("Players").LocalPlayer
  14. PlayerGui = Player.PlayerGui
  15. Cam = workspace.CurrentCamera
  16. Backpack = Player.Backpack
  17. Character = Player.Character
  18. Humanoid = Character.Humanoid
  19. Mouse = Player:GetMouse()
  20. RootPart = Character["HumanoidRootPart"]
  21. Torso = Character["Torso"]
  22. Head = Character["Head"]
  23. RightArm = Character["Right Arm"]
  24. LeftArm = Character["Left Arm"]
  25. RightLeg = Character["Right Leg"]
  26. LeftLeg = Character["Left Leg"]
  27. RootJoint = RootPart["RootJoint"]
  28. Neck = Torso["Neck"]
  29. RightShoulder = Torso["Right Shoulder"]
  30. LeftShoulder = Torso["Left Shoulder"]
  31. RightHip = Torso["Right Hip"]
  32. LeftHip = Torso["Left Hip"]
  33. local sick = Instance.new("Sound",Character)
  34. sick.SoundId = "rbxassetid://1382488262"
  35. sick.Looped = true
  36. sick.Pitch = 1
  37. sick.Volume = 1
  38. sick:Play()
  39.  
  40. IT = Instance.new
  41. CF = CFrame.new
  42. VT = Vector3.new
  43. RAD = math.rad
  44. C3 = Color3.new
  45. UD2 = UDim2.new
  46. BRICKC = BrickColor.new
  47. ANGLES = CFrame.Angles
  48. EULER = CFrame.fromEulerAnglesXYZ
  49. COS = math.cos
  50. ACOS = math.acos
  51. SIN = math.sin
  52. ASIN = math.asin
  53. ABS = math.abs
  54. MRANDOM = math.random
  55. FLOOR = math.floor
  56.  
  57. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  58. local NEWMESH = IT(MESH)
  59. if MESH == "SpecialMesh" then
  60. NEWMESH.MeshType = MESHTYPE
  61. if MESHID ~= "nil" and MESHID ~= "" then
  62. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  63. end
  64. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  65. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  66. end
  67. end
  68. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  69. NEWMESH.Scale = SCALE
  70. NEWMESH.Parent = PARENT
  71. return NEWMESH
  72. end
  73.  
  74. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  75. local NEWPART = IT("Part")
  76. NEWPART.formFactor = FORMFACTOR
  77. NEWPART.Reflectance = REFLECTANCE
  78. NEWPART.Transparency = TRANSPARENCY
  79. NEWPART.CanCollide = false
  80. NEWPART.Locked = true
  81. NEWPART.Anchored = true
  82. if ANCHOR == false then
  83. NEWPART.Anchored = false
  84. end
  85. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  86. NEWPART.Name = NAME
  87. NEWPART.Size = SIZE
  88. NEWPART.Position = Torso.Position
  89. NEWPART.Material = MATERIAL
  90. NEWPART:BreakJoints()
  91. NEWPART.Parent = PARENT
  92. return NEWPART
  93. end
  94.  
  95. --//=================================\\
  96. --|| CUSTOMIZATION
  97. --\\=================================//
  98.  
  99. Player_Size = 1 --Size of the player.
  100. Animation_Speed = 3
  101. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  102. local Speed = 20
  103.  
  104. local Effects2 = {}
  105.  
  106. --//=================================\\
  107. --|| END OF CUSTOMIZATION
  108. --\\=================================//
  109.  
  110. local function weldBetween(a, b)
  111. local weldd = Instance.new("ManualWeld")
  112. weldd.Part0 = a
  113. weldd.Part1 = b
  114. weldd.C0 = CFrame.new()
  115. weldd.C1 = b.CFrame:inverse() * a.CFrame
  116. weldd.Parent = a
  117. return weldd
  118. end
  119.  
  120. --//=================================\\
  121. --|| USEFUL VALUES
  122. --\\=================================//
  123. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  124. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  125. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  126. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  127. local CHANGEDEFENSE = 0
  128. local CHANGEDAMAGE = 0
  129. local CHANGEMOVEMENT = 0
  130. local ANIM = "Idle"
  131. local ATTACK = false
  132. local EQUIPPED = false
  133. local HOLD = false
  134. local COMBO = 1
  135. local Rooted = false
  136. local SINE = 0
  137. local KEYHOLD = false
  138. local CHANGE = 2 / Animation_Speed
  139. local WALKINGANIM = false
  140. local WALK = 0
  141. local VALUE1 = false
  142. local VALUE2 = false
  143. local ROBLOXIDLEANIMATION = IT("Animation")
  144. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  145. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  146. --ROBLOXIDLEANIMATION.Parent = Humanoid
  147. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  148. WEAPONGUI.Name = "Weapon GUI"
  149. local Weapon = IT("Model")
  150. Weapon.Name = "Adds"
  151. local Effects = IT("Folder", Character)
  152. Effects.Name = "Effects"
  153. local ANIMATOR = Humanoid.Animator
  154. local ANIMATE = Character.Animate
  155. local CLOCKLOOP = 0
  156. local CLOCKTARGET = nil
  157. local CLOCKSPEED = 1
  158. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  159. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  160. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  161. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  162. local UNANCHOR = true
  163.  
  164. local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
  165.  
  166. --//=================================\\
  167. --\\=================================//
  168.  
  169.  
  170. --//=================================\\
  171. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  172. --\\=================================//
  173.  
  174. ArtificialHB = Instance.new("BindableEvent", script)
  175. ArtificialHB.Name = "ArtificialHB"
  176.  
  177. script:WaitForChild("ArtificialHB")
  178.  
  179. frame = Frame_Speed
  180. tf = 0
  181. allowframeloss = false
  182. tossremainder = false
  183. lastframe = tick()
  184. script.ArtificialHB:Fire()
  185.  
  186. game:GetService("RunService").Heartbeat:connect(function(s, p)
  187. tf = tf + s
  188. if tf >= frame then
  189. if allowframeloss then
  190. script.ArtificialHB:Fire()
  191. lastframe = tick()
  192. else
  193. for i = 1, math.floor(tf / frame) do
  194. script.ArtificialHB:Fire()
  195. end
  196. lastframe = tick()
  197. end
  198. if tossremainder then
  199. tf = 0
  200. else
  201. tf = tf - frame * math.floor(tf / frame)
  202. end
  203. end
  204. end)
  205.  
  206. --//=================================\\
  207. --\\=================================//
  208.  
  209.  
  210.  
  211.  
  212.  
  213. --//=================================\\
  214. --|| SOME FUNCTIONS
  215. --\\=================================//
  216.  
  217. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  218. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  219. end
  220.  
  221. function PositiveAngle(NUMBER)
  222. if NUMBER >= 0 then
  223. NUMBER = 0
  224. end
  225. return NUMBER
  226. end
  227.  
  228. function NegativeAngle(NUMBER)
  229. if NUMBER <= 0 then
  230. NUMBER = 0
  231. end
  232. return NUMBER
  233. end
  234.  
  235. function Swait(NUMBER)
  236. if NUMBER == 0 or NUMBER == nil then
  237. ArtificialHB.Event:wait()
  238. else
  239. for i = 1, NUMBER do
  240. ArtificialHB.Event:wait()
  241. end
  242. end
  243. end
  244.  
  245. function QuaternionFromCFrame(cf)
  246. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  247. local trace = m00 + m11 + m22
  248. if trace > 0 then
  249. local s = math.sqrt(1 + trace)
  250. local recip = 0.5 / s
  251. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  252. else
  253. local i = 0
  254. if m11 > m00 then
  255. i = 1
  256. end
  257. if m22 > (i == 0 and m00 or m11) then
  258. i = 2
  259. end
  260. if i == 0 then
  261. local s = math.sqrt(m00 - m11 - m22 + 1)
  262. local recip = 0.5 / s
  263. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  264. elseif i == 1 then
  265. local s = math.sqrt(m11 - m22 - m00 + 1)
  266. local recip = 0.5 / s
  267. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  268. elseif i == 2 then
  269. local s = math.sqrt(m22 - m00 - m11 + 1)
  270. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  271. end
  272. end
  273. end
  274.  
  275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  276. local xs, ys, zs = x + x, y + y, z + z
  277. local wx, wy, wz = w * xs, w * ys, w * zs
  278. local xx = x * xs
  279. local xy = x * ys
  280. local xz = x * zs
  281. local yy = y * ys
  282. local yz = y * zs
  283. local zz = z * zs
  284. 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))
  285. end
  286.  
  287. function QuaternionSlerp(a, b, t)
  288. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  289. local startInterp, finishInterp;
  290. if cosTheta >= 0.0001 then
  291. if (1 - cosTheta) > 0.0001 then
  292. local theta = ACOS(cosTheta)
  293. local invSinTheta = 1 / SIN(theta)
  294. startInterp = SIN((1 - t) * theta) * invSinTheta
  295. finishInterp = SIN(t * theta) * invSinTheta
  296. else
  297. startInterp = 1 - t
  298. finishInterp = t
  299. end
  300. else
  301. if (1 + cosTheta) > 0.0001 then
  302. local theta = ACOS(-cosTheta)
  303. local invSinTheta = 1 / SIN(theta)
  304. startInterp = SIN((t - 1) * theta) * invSinTheta
  305. finishInterp = SIN(t * theta) * invSinTheta
  306. else
  307. startInterp = t - 1
  308. finishInterp = t
  309. end
  310. end
  311. 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
  312. end
  313.  
  314. function Clerp(a, b, t)
  315. local qa = {QuaternionFromCFrame(a)}
  316. local qb = {QuaternionFromCFrame(b)}
  317. local ax, ay, az = a.x, a.y, a.z
  318. local bx, by, bz = b.x, b.y, b.z
  319. local _t = 1 - t
  320. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  321. end
  322.  
  323. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  324. local frame = IT("Frame")
  325. frame.BackgroundTransparency = TRANSPARENCY
  326. frame.BorderSizePixel = BORDERSIZEPIXEL
  327. frame.Position = POSITION
  328. frame.Size = SIZE
  329. frame.BackgroundColor3 = COLOR
  330. frame.BorderColor3 = BORDERCOLOR
  331. frame.Name = NAME
  332. frame.Parent = PARENT
  333. return frame
  334. end
  335.  
  336. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  337. local label = IT("TextLabel")
  338. label.BackgroundTransparency = 1
  339. label.Size = UD2(1, 0, 1, 0)
  340. label.Position = UD2(0, 0, 0, 0)
  341. label.TextColor3 = TEXTCOLOR
  342. label.TextStrokeTransparency = STROKETRANSPARENCY
  343. label.TextTransparency = TRANSPARENCY
  344. label.FontSize = TEXTFONTSIZE
  345. label.Font = TEXTFONT
  346. label.BorderSizePixel = BORDERSIZEPIXEL
  347. label.TextScaled = false
  348. label.Text = TEXT
  349. label.Name = NAME
  350. label.Parent = PARENT
  351. return label
  352. end
  353.  
  354.  
  355. function NoOutlines(PART)
  356. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  357. end
  358.  
  359.  
  360. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  361. local NEWWELD = IT(TYPE)
  362. NEWWELD.Part0 = PART0
  363. NEWWELD.Part1 = PART1
  364. NEWWELD.C0 = C0
  365. NEWWELD.C1 = C1
  366. NEWWELD.Parent = PARENT
  367. return NEWWELD
  368. end
  369.  
  370. function CreateSound(ID, PARENT, VOLUME, PITCH)
  371. local NEWSOUND = nil
  372. coroutine.resume(coroutine.create(function()
  373. NEWSOUND = IT("Sound", PARENT)
  374. NEWSOUND.Volume = VOLUME
  375. NEWSOUND.Pitch = PITCH
  376. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  377. Swait()
  378. NEWSOUND:play()
  379. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  380. end))
  381. return NEWSOUND
  382. end
  383.  
  384. function CFrameFromTopBack(at, top, back)
  385. local right = top:Cross(back)
  386. 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)
  387. end
  388.  
  389. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  390. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  391. wave.Color = COLOR
  392. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  393. wave.CFrame = CFRAME
  394. coroutine.resume(coroutine.create(function(PART)
  395. for i = 1, WAIT do
  396. Swait()
  397. mesh.Scale = mesh.Scale + GROW
  398. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  399. if DOESROT == true then
  400. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  401. end
  402. wave.Transparency = wave.Transparency + (0.5/WAIT)
  403. if wave.Transparency > 0.99 then
  404. wave:remove()
  405. end
  406. end
  407. end))
  408. end
  409.  
  410.  
  411. --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})
  412. function WACKYEFFECT(Table)
  413. local TYPE = (Table.EffectType or "Sphere")
  414. local SIZE = (Table.Size or VT(1,1,1))
  415. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  416. local TRANSPARENCY = (Table.Transparency or 0)
  417. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  418. local CFRAME = (Table.CFrame or Torso.CFrame)
  419. local MOVEDIRECTION = (Table.MoveToPos or nil)
  420. local ROTATION1 = (Table.RotationX or 0)
  421. local ROTATION2 = (Table.RotationY or 0)
  422. local ROTATION3 = (Table.RotationZ or 0)
  423. local MATERIAL = (Table.Material or "Neon")
  424. local COLOR = (Table.Color or C3(1,1,1))
  425. local TIME = (Table.Time or 45)
  426. local SOUNDID = (Table.SoundID or nil)
  427. local SOUNDPITCH = (Table.SoundPitch or nil)
  428. local SOUNDVOLUME = (Table.SoundVolume or nil)
  429. coroutine.resume(coroutine.create(function()
  430. local PLAYSSOUND = false
  431. local SOUND = nil
  432. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  433. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  434. PLAYSSOUND = true
  435. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  436. end
  437. EFFECT.Color = COLOR
  438. local MSH = nil
  439. if TYPE == "Sphere" then
  440. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  441. elseif TYPE == "Block" then
  442. MSH = IT("BlockMesh",EFFECT)
  443. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  444. elseif TYPE == "Wave" then
  445. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  446. elseif TYPE == "Ring" then
  447. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  448. elseif TYPE == "Slash" then
  449. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  450. elseif TYPE == "Round Slash" then
  451. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  452. elseif TYPE == "Swirl" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  454. elseif TYPE == "Skull" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  456. elseif TYPE == "Crystal" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  458. end
  459. if MSH ~= nil then
  460. local MOVESPEED = nil
  461. if MOVEDIRECTION ~= nil then
  462. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  463. end
  464. local GROWTH = SIZE - ENDSIZE
  465. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  466. if TYPE == "Block" then
  467. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  468. else
  469. EFFECT.CFrame = CFRAME
  470. end
  471. for LOOP = 1, TIME+1 do
  472. Swait()
  473. MSH.Scale = MSH.Scale - GROWTH/TIME
  474. if TYPE == "Wave" then
  475. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  476. end
  477. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  478. if TYPE == "Block" then
  479. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  480. else
  481. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  482. end
  483. if MOVEDIRECTION ~= nil then
  484. local ORI = EFFECT.Orientation
  485. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  486. EFFECT.Orientation = ORI
  487. end
  488. end
  489. if PLAYSSOUND == false then
  490. EFFECT:remove()
  491. else
  492. repeat Swait() until SOUND.Playing == false
  493. EFFECT:remove()
  494. end
  495. else
  496. if PLAYSSOUND == false then
  497. EFFECT:remove()
  498. else
  499. repeat Swait() until SOUND.Playing == false
  500. EFFECT:remove()
  501. end
  502. end
  503. end))
  504. end
  505.  
  506. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  507. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  508. wave.Color = COLOR
  509. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  510. wave.CFrame = CFRAME
  511. coroutine.resume(coroutine.create(function(PART)
  512. for i = 1, WAIT do
  513. Swait()
  514. mesh.Scale = mesh.Scale + GROW
  515. wave.Transparency = wave.Transparency + (1/WAIT)
  516. if wave.Transparency > 0.99 then
  517. wave:remove()
  518. end
  519. end
  520. end))
  521. end
  522.  
  523. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  524. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  525. local mesh = nil
  526. if KIND == "Base" then
  527. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  528. elseif KIND == "Thin" then
  529. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  530. elseif KIND == "Round" then
  531. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  532. end
  533. wave.CFrame = CFRAME
  534. coroutine.resume(coroutine.create(function(PART)
  535. for i = 1, WAIT do
  536. Swait()
  537. mesh.Scale = mesh.Scale + GROW/10
  538. wave.Transparency = wave.Transparency + (0.5/WAIT)
  539. if wave.Transparency > 0.99 then
  540. wave:remove()
  541. end
  542. end
  543. end))
  544. end
  545.  
  546. function MakeForm(PART,TYPE)
  547. if TYPE == "Cyl" then
  548. local MSH = IT("CylinderMesh",PART)
  549. elseif TYPE == "Ball" then
  550. local MSH = IT("SpecialMesh",PART)
  551. MSH.MeshType = "Sphere"
  552. elseif TYPE == "Wedge" then
  553. local MSH = IT("SpecialMesh",PART)
  554. MSH.MeshType = "Wedge"
  555. end
  556. end
  557.  
  558. function CheckTableForString(Table, String)
  559. for i, v in pairs(Table) do
  560. if string.find(string.lower(String), string.lower(v)) then
  561. return true
  562. end
  563. end
  564. return false
  565. end
  566.  
  567. function CheckIntangible(Hit)
  568. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  569. if Hit and Hit.Parent then
  570. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  571. return true
  572. end
  573. end
  574. return false
  575. end
  576.  
  577. Debris = game:GetService("Debris")
  578.  
  579. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  580. local Direction = CFrame.new(StartPos, Vec).lookVector
  581. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  582. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  583. if RayHit and CheckIntangible(RayHit) then
  584. if DelayIfHit then
  585. wait()
  586. end
  587. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  588. end
  589. return RayHit, RayPos, RayNormal
  590. end
  591.  
  592. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  593. if DoesCourontine == false then
  594. local Direction = CF(Part.Position,ToLocation)
  595. local Distance = (Part.Position - ToLocation).magnitude
  596. for i = 1, AmountOfTime do
  597. Swait()
  598. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  599. Direction = Part.CFrame
  600. end
  601. Part:remove()
  602. elseif DoesCourontine == true then
  603. coroutine.resume(coroutine.create(function()
  604. local Direction = CF(Part.Position,ToLocation)
  605. local Distance = (Part.Position - ToLocation).magnitude
  606. for i = 1, AmountOfTime do
  607. Swait()
  608. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  609. Direction = Part.CFrame
  610. end
  611. Part:remove()
  612. end))
  613. end
  614. end
  615.  
  616. function turnto(position)
  617. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  618. end
  619.  
  620. --//=================================\\
  621. --|| WEAPON CREATION
  622. --\\=================================//
  623.  
  624. Humanoid.Parent = Character
  625. RootPart.Size = RootPart.Size*SIZE
  626. Torso.Size = Torso.Size*SIZE
  627. RightArm.Size = RightArm.Size*SIZE
  628. RightLeg.Size = RightLeg.Size*SIZE
  629. LeftArm.Size = LeftArm.Size*SIZE
  630. LeftLeg.Size = LeftLeg.Size*SIZE
  631. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  632. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  633. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  634. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  635. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  636. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  637. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  638. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  639. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  640. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  641. Head.Size = Head.Size*SIZE
  642. RootJoint.Parent = RootPart
  643. Neck.Parent = Torso
  644. RightShoulder.Parent = Torso
  645. LeftShoulder.Parent = Torso
  646. RightHip.Parent = Torso
  647. LeftHip.Parent = Torso
  648.  
  649. local naeeym2 = Instance.new("BillboardGui",Head)
  650. naeeym2.AlwaysOnTop = true
  651. naeeym2.Size = UDim2.new(5,35,2,15)
  652. naeeym2.StudsOffset = Vector3.new(0,3,0)
  653. naeeym2.Adornee = Character.Head
  654. naeeym2.Name = "Name"
  655. local tecks2 = Instance.new("TextLabel",naeeym2)
  656. tecks2.BackgroundTransparency = 1
  657. tecks2.TextScaled = true
  658. tecks2.BorderSizePixel = 0
  659. tecks2.Text = game:GetService("Players").LocalPlayer.Character.Name.." The Star-Lord"
  660. tecks2.Font = "Fantasy"
  661. tecks2.TextSize = 30
  662. tecks2.TextStrokeTransparency = 0
  663. tecks2.TextColor3 = Color3.new(0.05,0.05,0.15)
  664. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  665. tecks2.Size = UDim2.new(1,0,0.5,0)
  666. tecks2.Parent = naeeym2
  667. tecks2.Parent = naeeym2
  668. local top = Instance.new("Shirt")
  669. top.ShirtTemplate = "rbxassetid://1533635803"
  670. top.Parent = Character
  671. top.Name = "Cloth"
  672. local bottom = Instance.new("Pants")
  673. bottom.PantsTemplate = "rbxassetid://1460022985"
  674. bottom.Parent = Character
  675. bottom.Name = "Cloth"
  676. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  677. PRT.Color = C3(0,0,0)
  678. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  679. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  680. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  681. PRT.Color = C3(1,1,1)
  682. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  683. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  684. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  685. PRT.Color = C3(159/255, 111/255, 183/255)
  686. MakeForm(PRT,"Ball")
  687. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  688. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  689. PRT.Color = C3(159/255, 111/255, 183/255)
  690. MakeForm(PRT,"Ball")
  691. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  692. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  693. PRT.Color = C3(159/255, 111/255, 183/255)
  694. MakeForm(PRT,"Ball")
  695. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  696. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  697. PRT.Color = C3(159/255, 111/255, 183/255)
  698. MakeForm(PRT,"Ball")
  699. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  700. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  701. PRT.Color = C3(159/255, 111/255, 183/255)
  702. MakeForm(PRT,"Ball")
  703. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  704. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  705. PRT.Color = C3(159/255, 111/255, 183/255)
  706. MakeForm(PRT,"Ball")
  707. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  708.  
  709. local LASTPART = Head
  710. for i = 1, 24 do
  711. local MATH = (1-(i/30))
  712. if LASTPART == Head then
  713. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  714. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  715. LASTPART = Horn
  716. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  717. else
  718. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  719. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  720. LASTPART = Horn
  721. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  722. end
  723. end
  724. local LASTPART = Head
  725. for i = 1, 24 do
  726. local MATH = (1-(i/30))
  727. if LASTPART == Head then
  728. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  729. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  730. LASTPART = Horn
  731. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  732. else
  733. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  734. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  735. LASTPART = Horn
  736. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  737. end
  738. end
  739. local LASTPART = Head
  740. for i = 1, 8 do
  741. local MATH = (1-(i/14))
  742. if LASTPART == Head then
  743. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  744. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  745. LASTPART = Horn
  746. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  747. else
  748. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  749. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  750. LASTPART = Horn
  751. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  752. end
  753. end
  754. local LASTPART = Head
  755. for i = 1, 8 do
  756. local MATH = (1-(i/14))
  757. if LASTPART == Head then
  758. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  759. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  760. LASTPART = Horn
  761. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  762. else
  763. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  764. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  765. LASTPART = Horn
  766. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  767. end
  768. end
  769. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  770. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  772. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  773. MakeForm(PRT,"Cyl")
  774. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  775. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  776. MakeForm(PRT,"Cyl")
  777. PRT.Color = C3(159/255, 111/255, 183/255)
  778. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  779. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  780. MakeForm(RING,"Cyl")
  781. RING.Color = C3(0,0,0)
  782. for i = 1, 12 do
  783. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  784. PRT.Color = C3(0,0,0)
  785. local MSH = IT("BlockMesh",PRT)
  786. MSH.Scale = VT(0.6,1,1)
  787. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  788. end
  789. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  790. PRT.Color = C3(0,0,0)
  791. local MSH = IT("BlockMesh",PRT)
  792. MSH.Scale = VT(0.4,1,1)
  793. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  794. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  795. PRT.Color = C3(0,0,0)
  796. local MSH = IT("BlockMesh",PRT)
  797. MSH.Scale = VT(0.4,1,1)
  798. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  799. coroutine.resume(coroutine.create(function()
  800. while true do
  801. Swait()
  802. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  803. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  804. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  805. if CLOCKLOOP <= -150 then
  806. if VALUE1 == false then
  807. CLOCKLOOP = 0
  808. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  809. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  810. ApplyAoE(HITPOS,10,15,45,75,false)
  811. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  812. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  813. if CLOCKTARGET ~= nil then
  814. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  815. if CLOCKTARGET.Torso ~= nil then
  816. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  817. end
  818. if CLOCKTARGET.Health == 0 then
  819. CLOCKTARGET = nil
  820. end
  821. end
  822. end
  823. end
  824. end
  825. end))
  826.  
  827. for _, c in pairs(Weapon:GetChildren()) do
  828. if c.ClassName == "Part" then
  829. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  830. end
  831. end
  832.  
  833. Neck.Name = "Weld"
  834. RootJoint.Name = "Weld"
  835. RightShoulder.Name = "Weld"
  836. LeftShoulder.Name = "Weld"
  837. RightHip.Name = "Weld"
  838. LeftHip.Name = "Weld"
  839.  
  840. for _, c in pairs(Weapon:GetChildren()) do
  841. if c.ClassName == "Part" then
  842. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  843. end
  844. end
  845.  
  846. Neck.Name = "Weld"
  847. RootJoint.Name = "Weld"
  848. RightShoulder.Name = "Weld"
  849. LeftShoulder.Name = "Weld"
  850. RightHip.Name = "Weld"
  851. LeftHip.Name = "Weld"
  852.  
  853. function Transparency(TRANS)
  854. tecks2.TextTransparency = TRANS
  855. tecks2.TextStrokeTransparency = TRANS
  856. for _, c in pairs(Character:GetChildren()) do
  857. if c.ClassName == "Part" and c ~= RootPart then
  858. c.Transparency = TRANS
  859. if c:FindFirstChildOfClass("Decal") then
  860. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  861. end
  862. elseif c.ClassName == "Accessory" then
  863. c.Handle.Transparency = TRANS
  864. elseif c.ClassName == "Model" then
  865. for _, q in pairs(c:GetChildren()) do
  866. if q.ClassName == "Part" then
  867. q.Transparency = TRANS
  868. if q:FindFirstChildOfClass("Decal") then
  869. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  870. end
  871. end
  872. end
  873. end
  874. end
  875. end
  876.  
  877. Humanoid.Died:connect(function()
  878. Humanoid.Parent = nil
  879. Humanoid.MaxHealth = "inf"
  880. Humanoid.Health = "inf"
  881. refit()
  882. Humanoid.Parent = Character
  883. CreateSound("907330011", Head, 10, 1.2)
  884. end)
  885.  
  886. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  887. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  888. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  889. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Warp Frame")
  890. local SKILL030FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 030 Frame")
  891. local SKILL010FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 030 Frame")
  892. local SKILL020FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 030 Frame")
  893.  
  894. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Sky Strike", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  895. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[T] Laugh", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  896. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Supernova", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  897. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Astra Hop", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  898. local SKILL030TEXT = CreateLabel(SKILL030FRAME, "[Y] Roar", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  899. local SKILL010TEXT = CreateLabel(SKILL010FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  900. local SKILL020TEXT = CreateLabel(SKILL020FRAME, "[V] Magic Missiles", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  901.  
  902. --//=================================\\
  903. --|| DAMAGING
  904. --\\=================================//
  905.  
  906. function killnearest(position,range,maxstrength)
  907. for i,v in ipairs(workspace:GetChildren()) do
  908. local body = v:GetChildren()
  909. for part = 1, #body do
  910. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  911. if(body[part].Position - position).Magnitude < range then
  912. if v.ClassName == "Model" then
  913. v:BreakJoints()
  914. end
  915. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  916. local bv = Instance.new("BodyVelocity")
  917. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  918. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  919. bv.Parent = body[part]
  920. Debris:AddItem(bv,0.2)
  921. end
  922. end
  923. end
  924. if v.ClassName == "Part" then
  925. if v.Anchored == false and (v.Position - position).Magnitude < range then
  926. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  927. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  928. end
  929. end
  930. end
  931. end
  932.  
  933. function ApplyDamage(Humanoid,Damage,TorsoPart)
  934. local defence = Instance.new("BoolValue",Humanoid.Parent)
  935. defence.Name = ("HitBy"..Player.Name)
  936. game:GetService("Debris"):AddItem(defence, 0.001)
  937. Damage = Damage * DAMAGEMULTIPLIER
  938. if Humanoid.Health ~= 0 then
  939. local CritChance = MRANDOM(1,100)
  940. if Damage > Humanoid.Health then
  941. Damage = math.ceil(Humanoid.Health)
  942. if Damage == 0 then
  943. Damage = 0.1
  944. end
  945. end
  946. Humanoid.Health = Humanoid.Health - Damage
  947. end
  948. end
  949.  
  950. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  951. local CHILDREN = workspace:GetDescendants()
  952. for index, CHILD in pairs(CHILDREN) do
  953. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  954. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  955. if HUM then
  956. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  957. if TORSO then
  958. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  959. if INSTAKILL == true then
  960. CHILD:BreakJoints()
  961. else
  962. local DMG = MRANDOM(MINDMG,MAXDMG)
  963. ApplyDamage(HUM,DMG,TORSO)
  964. end
  965. if FLING > 0 then
  966. for _, c in pairs(CHILD:GetChildren()) do
  967. if c:IsA("BasePart") then
  968. local bv = Instance.new("BodyVelocity")
  969. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  970. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  971. bv.Parent = c
  972. Debris:AddItem(bv,0.05)
  973. end
  974. end
  975. end
  976. end
  977. end
  978. end
  979. end
  980. end
  981. end
  982. --//=================================\\
  983. --|| ATTACK FUNCTIONS AND STUFF
  984. --\\=================================//
  985.  
  986. function Lunar_Blast()
  987. local HITBODIES = {}
  988. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0,0,0))
  989. 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)
  990. CENTER.CFrame = CF(ECH)
  991. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Laser01", VT(25,99999,25))
  992. RAY.Color = C3(0.05,0.05,0.15)
  993. MakeForm(RAY,"Cyl")
  994. RAY.CFrame = CF(ECH)
  995. for i = 1, 75 do
  996. Swait()
  997. RAY.Transparency = RAY.Transparency - 1/75
  998. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  999. 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))
  1000. end
  1001. killnearest(ECH,25,25)
  1002. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  1003. for i = 1, 25 do
  1004. 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))
  1005. end
  1006. CreateSound("168586621", CENTER, 10, 0.8)
  1007. RAY:remove()
  1008. Debris:AddItem(CENTER,5)
  1009. end
  1010.  
  1011. function Star_Cutter()
  1012. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1013. if HITFLOOR ~= nil then
  1014. ATTACK = true
  1015. Rooted = true
  1016. local GYRO = IT("BodyGyro",RootPart)
  1017. GYRO.D = 100
  1018. GYRO.P = 2000
  1019. GYRO.MaxTorque = VT(0,4000000,0)
  1020. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1021. CreateSound("429459101", RightArm, 10, 0.8)
  1022. for i=0, 3.5, 0.1 / Animation_Speed do
  1023. Swait()
  1024. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1025. 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 black",VT(-0.01,0,-0.01))
  1026. 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)
  1027. 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)
  1028. 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)
  1029. 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)
  1030. 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)
  1031. 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)
  1032. end
  1033. GYRO:remove()
  1034. for i=0, 0.15, 0.1 / Animation_Speed do
  1035. Swait()
  1036. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1037. 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 black",VT(-0.01,0,-0.01))
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. 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)
  1043. 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)
  1044. end
  1045. local BOMBSPOTS = {}
  1046. for i = 1, 25 do
  1047. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Blade", VT(8,1,8))
  1048. SPOT.Color = SKILLTEXTCOLOR
  1049. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1050. table.insert(BOMBSPOTS,SPOT)
  1051. MakeForm(SPOT,"Cyl")
  1052. end
  1053. for i=0, 0.2, 0.1 / Animation_Speed do
  1054. Swait()
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1059. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1061. end
  1062. ATTACK = false
  1063. Rooted = false
  1064. coroutine.resume(coroutine.create(function()
  1065. Swait(3)
  1066. for i = 1, #BOMBSPOTS do
  1067. if BOMBSPOTS[i] ~= nil then
  1068. local E = BOMBSPOTS[i]
  1069. coroutine.resume(coroutine.create(function()
  1070. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "Blade", VT(0,0,0))
  1071. BLADE.Color = SKILLTEXTCOLOR
  1072. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1073. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1074. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1075. for i = 1, 10 do
  1076. Swait()
  1077. 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))
  1078. killnearest(BLADE.Position,6,80)
  1079. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1080. BLADE.Transparency = BLADE.Transparency - 0.1
  1081. end
  1082. Swait(45)
  1083. for i = 1, 100 do
  1084. Swait()
  1085. BLADE.Transparency = BLADE.Transparency + 0.01
  1086. E.Transparency = E.Transparency + 0.01
  1087. end
  1088. BLADE:remove()
  1089. E:remove()
  1090. end))
  1091. end
  1092. end
  1093. end))
  1094. end
  1095. end
  1096.  
  1097. function Supernova()
  1098. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1099. if HITFLOOR ~= nil then
  1100. local HITBODIES = {}
  1101. ATTACK = true
  1102. Rooted = true
  1103. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "CGA brown", "Star", VT(0,0,0))
  1104. MakeForm(ABSOLUTE,"Ball")
  1105. CreateSound("429459101", ABSOLUTE, 10, 1)
  1106. for i=0, 4, 0.1 / Animation_Speed do
  1107. Swait()
  1108. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1109. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1110. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1111. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  1112. MakeForm(CHARGE,"Ball")
  1113. CHARGE.Color = C3(1,1,1)
  1114. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1115. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1116. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1120. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1122. end
  1123. CreateSound("907330103", Head, 10, 1.2)
  1124. for i = 1, 75 do
  1125. Swait()
  1126. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1130. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1132. end
  1133. coroutine.resume(coroutine.create(function()
  1134. for i = 1, 13 do
  1135. for e = 1, 15 do
  1136. Swait()
  1137. 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))
  1138. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  1139. end
  1140. for i = 1, 5 do
  1141. 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)
  1142. 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))
  1143. end
  1144. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"New Yeller".Color,VT(i,i*2,i))
  1145. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  1146. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1147. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1148. killnearest(ABSOLUTE.Position,i*18,i)
  1149. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1150. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"New Yeller".Color,VT(i,i,i)/1.1)
  1151. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  1152. end
  1153. ABSOLUTE.Transparency = 1
  1154. Debris:AddItem(ABSOLUTE,10)
  1155. end))
  1156. ATTACK = false
  1157. Rooted = false
  1158. end
  1159. end
  1160.  
  1161. local Decal = IT("Decal")
  1162.  
  1163. function MagicMissiles()
  1164. ATTACK = true
  1165. Rooted = true
  1166. local SELECTING = true
  1167. local SPOTS = {}
  1168. coroutine.resume(coroutine.create(function()
  1169. local LOOP = 0
  1170. repeat
  1171. LOOP = LOOP + 1
  1172. Swait()
  1173. if LOOP >= 10 then
  1174. LOOP = 0
  1175. for i = 1, #SPOTS do
  1176. if SPOTS[i] ~= nil then
  1177. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1178. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1179. end
  1180. end
  1181. end
  1182. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1183. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1184. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1185. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1186. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1187. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1188. until SELECTING == false
  1189. Rooted = false
  1190. repeat
  1191. LOOP = LOOP + 1
  1192. Swait()
  1193. if LOOP >= 10 then
  1194. LOOP = 0
  1195. for i = 1, #SPOTS do
  1196. if SPOTS[i] ~= nil then
  1197. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1198. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1199. end
  1200. end
  1201. end
  1202. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1203. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1204. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1205. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1206. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1208. until ATTACK == false
  1209. end))
  1210. repeat
  1211. repeat Swait() until HOLD == true
  1212. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1213. if DIST > 65 then
  1214. DIST = 65
  1215. end
  1216. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1217. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1218. if HITFLOOR ~= nil then
  1219. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1220. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1221. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1222. end
  1223. repeat Swait() until HOLD == false
  1224. until #SPOTS == 5
  1225. SELECTING = false
  1226. for i = 1, #SPOTS do
  1227. if SPOTS[i] ~= nil then
  1228. local POS = SPOTS[i]
  1229. coroutine.resume(coroutine.create(function()
  1230. local MISSILE = IT("Model",Effects)
  1231. MISSILE.Name = "Missile"
  1232. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  1233. MakeForm(BASEPART,"Cyl")
  1234. MISSILE.PrimaryPart = BASEPART
  1235. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1236. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  1237. MakeForm(HEAD,"Ball")
  1238. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1239. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  1240. MakeForm(TAIL,"Cyl")
  1241. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1242. for i = 1, 10 do
  1243. Swait()
  1244. for _, c in pairs(MISSILE:GetChildren()) do
  1245. if c.ClassName == "Part" then
  1246. c.Transparency = c.Transparency - 1/10
  1247. end
  1248. end
  1249. end
  1250. for i = 1, 15*1.5 do
  1251. Swait()
  1252. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1253. end
  1254. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1255. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1256. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1257. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1258. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1259. MISSILE:remove()
  1260. end))
  1261. end
  1262. end
  1263. wait(0.6)
  1264. ATTACK = false
  1265. Rooted = false
  1266. end
  1267.  
  1268. function TimesUp()
  1269. CLOCKTARGET = nil
  1270. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1271. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1272. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1273. if TORSO then
  1274. ATTACK = true
  1275. Rooted = false
  1276. coroutine.resume(coroutine.create(function()
  1277. repeat
  1278. Swait()
  1279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1283. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1284. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1285. until ATTACK == false
  1286. end))
  1287. if Effects:FindFirstChild("NeonDoll") then
  1288. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1289. end
  1290. wait(0.5)
  1291. local FAKECHARACTER = IT("Model",Effects)
  1292. FAKECHARACTER.Name = "NeonDoll"
  1293. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1294. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1295. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1296. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1297. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1298. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1299. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1300. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1301. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1302. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1303. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1304. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1305. CreateSound(201858045, TORS, 5, 0.4, false)
  1306. for i = 1, 150 do
  1307. Swait()
  1308. CLOCKSPEED = 6
  1309. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1310. if c.ClassName == "Part" then
  1311. c.Transparency = c.Transparency - 0.5/150
  1312. end
  1313. end
  1314. end
  1315. CLOCKTARGET = HUM
  1316. coroutine.resume(coroutine.create(function()
  1317. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1318. for i = 1, 25 do
  1319. Swait()
  1320. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1321. if c.ClassName == "Part" then
  1322. c.Transparency = c.Transparency + 0.5/25
  1323. end
  1324. end
  1325. end
  1326. CLOCKSPEED = 1
  1327. FAKECHARACTER:remove()
  1328. end))
  1329. wait(0.5)
  1330. ATTACK = false
  1331. Rooted = false
  1332. end
  1333. end
  1334. end
  1335.  
  1336. function PandorasBox()
  1337. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1338. if HITFLOOR ~= nil then
  1339. ATTACK = true
  1340. Rooted = true
  1341. local RINGSPIN = true
  1342. local CONSTRUCTING = true
  1343. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1344. RING.Color = C3(0,0,0)
  1345. MakeForm(RING,"Cyl")
  1346. RING.CFrame = CF(HITPOS)
  1347. CreateSound(402981977, RING, 5, 1.2, false)
  1348. coroutine.resume(coroutine.create(function()
  1349. repeat
  1350. Swait()
  1351. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1352. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1353. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1354. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1355. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1356. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1357. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1358. until CONSTRUCTING == false
  1359. repeat
  1360. Swait()
  1361. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1362. until RINGSPIN == false
  1363. for i = 1, 25 do
  1364. Swait()
  1365. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1366. RING.Size = RING.Size - VT(0.15,0,0.15)
  1367. --DECAL.Transparency = DECAL.Transparency + 1/25
  1368. RING.Transparency = RING.Transparency + 1/25
  1369. end
  1370. RING:remove()
  1371. end))
  1372. for i = 1, 15 do
  1373. Swait()
  1374. RING.Size = RING.Size + VT(0.75,0,0.75)
  1375. RING.Transparency = RING.Transparency - 1/15
  1376. end
  1377. local BOXSPIN = true
  1378. local PANDORASBOX = IT("Model",Effects)
  1379. PANDORASBOX.Name = "Pandora's Box"
  1380. local BOX = IT("Model",PANDORASBOX)
  1381. BOX.Name = "Body"
  1382. local LID = IT("Model",PANDORASBOX)
  1383. LID.Name = "Lid"
  1384. --BUILDING THE BOX--
  1385. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1386. BASE.Color = C3(0,0,0)
  1387. PANDORASBOX.PrimaryPart = BASE
  1388. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1389. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1390. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1391. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1392. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1393. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1394. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1395. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1396. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1397. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1398. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1399. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1400. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1401. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1402. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1403. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1404. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1405. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1406. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1407. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1408. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1409. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1410. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1411. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1412. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1413. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1414. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1415. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1416. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1417. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1418. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1419. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1420. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1421. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1422. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1423. -------------
  1424. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1425. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1426. LID.PrimaryPart = LIDPART
  1427. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1428. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1429. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1430. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1431. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1432. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1433. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1434. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1435. local DECAL = IT("Decal",LIDPART)
  1436. DECAL.Face = "Top"
  1437. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1438. DECAL.Color3 = C3(0,0,0)
  1439. --BUILDING THE BOX--
  1440. coroutine.resume(coroutine.create(function()
  1441. repeat
  1442. Swait()
  1443. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1444. until BOXSPIN == false
  1445. end))
  1446. for i = 1, 25 do
  1447. Swait()
  1448. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1449. end
  1450. wait(0.5)
  1451. BOXSPIN = false
  1452. CONSTRUCTING = false
  1453. coroutine.resume(coroutine.create(function()
  1454. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1455. --[[for i = 1, 45 do
  1456. Swait()
  1457. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1458. end-
  1459. LID:remove()]]--
  1460. for _, c in pairs(LID:GetChildren()) do
  1461. if c.ClassName == "Part" then
  1462. c.Anchored = false
  1463. c.CanCollide = true
  1464. if c ~= LIDPART then
  1465. weldBetween(LIDPART,c)
  1466. end
  1467. end
  1468. end
  1469. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1470. Debris:AddItem(LID,15)
  1471. wait(0.5)
  1472. local RANDOMEFFECT = MRANDOM(1,4)
  1473. if RANDOMEFFECT == 1 then
  1474. for i = 1, 45 do
  1475. wait((2-(i/15))/15)
  1476. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1477. end
  1478. wait(1)
  1479. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1480. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1481. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1482. for i = 1, 5 do
  1483. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1484. end
  1485. ApplyAoE(BASE.Position,50,1,200,375,false)
  1486. ApplyAoE(BASE.Position,250,35,75,175,false)
  1487. elseif RANDOMEFFECT == 2 then
  1488. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1489. FIELD.CFrame = BASE.CFrame
  1490. MakeForm(FIELD,"Ball")
  1491. for i = 1, 50 do
  1492. Swait()
  1493. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1494. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1495. end
  1496. wait(0.2)
  1497. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1498. coroutine.resume(coroutine.create(function()
  1499. for i = 1, 75 do
  1500. Swait()
  1501. LOOP.Volume = LOOP.Volume + 10/75
  1502. LOOP.Parent = FIELD
  1503. local CHILDREN = workspace:GetDescendants()
  1504. for index, CHILD in pairs(CHILDREN) do
  1505. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1506. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1507. if HUM then
  1508. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1509. if TORSO then
  1510. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1511. HUM.Health = HUM.Health - 0.1
  1512. TORSO.Velocity = VT(0,5,0)
  1513. HUM.PlatformStand = true
  1514. if TORSO.RotVelocity.Magnitude < 15 then
  1515. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1516. end
  1517. end
  1518. end
  1519. end
  1520. end
  1521. end
  1522. FIELD.Size = FIELD.Size + VT(3,3,3)
  1523. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1524. end
  1525. for i = 1, 500 do
  1526. Swait()
  1527. LOOP.Parent = FIELD
  1528. local CHILDREN = workspace:GetDescendants()
  1529. for index, CHILD in pairs(CHILDREN) do
  1530. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1531. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1532. if HUM then
  1533. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1534. if TORSO then
  1535. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1536. TORSO.Velocity = VT(0,5,0)
  1537. HUM.Health = HUM.Health - 0.1
  1538. HUM.PlatformStand = true
  1539. if TORSO.RotVelocity.Magnitude < 15 then
  1540. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1541. end
  1542. end
  1543. end
  1544. end
  1545. end
  1546. end
  1547. end
  1548. for i = 1, 25 do
  1549. Swait()
  1550. LOOP.Volume = LOOP.Volume + 10/25
  1551. LOOP.Parent = FIELD
  1552. local CHILDREN = workspace:GetDescendants()
  1553. for index, CHILD in pairs(CHILDREN) do
  1554. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1555. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1556. if HUM then
  1557. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1558. if TORSO then
  1559. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1560. TORSO.Velocity = VT(0,5,0)
  1561. HUM.Health = HUM.Health - 0.1
  1562. HUM.PlatformStand = false
  1563. if TORSO.RotVelocity.Magnitude < 15 then
  1564. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571. FIELD.Size = FIELD.Size - VT(3,3,3)
  1572. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1573. end
  1574. FIELD:remove()
  1575. end))
  1576. elseif RANDOMEFFECT == 3 then
  1577. for i = 1, 10 do
  1578. wait(0.15)
  1579. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  1580. coroutine.resume(coroutine.create(function()
  1581. local MINION = CLONE:Clone()
  1582. MINION.Parent = Effects
  1583. MINION.Name = "Shadow"
  1584. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1585. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1586. for _, c in pairs(MINION:GetChildren()) do
  1587. if c.ClassName == "Part" then
  1588. c.Material = "Neon"
  1589. c.Color = C3(0,0,0)
  1590. c.Transparency = 0.25
  1591. if c.Name == "Head" then
  1592. c:ClearAllChildren()
  1593. local MSH = IT("BlockMesh",c)
  1594. MSH.Scale = VT(0.5,1,1)
  1595. end
  1596. end
  1597. end
  1598. local TORSO = MINION.Torso
  1599. local HUMAN = MINION.Humanoid
  1600. HUMAN.WalkSpeed = 20
  1601. HUMAN.MaxHealth = math.huge
  1602. HUMAN.Health = math.huge
  1603. HUMAN.DisplayDistanceType = "None"
  1604. HUMAN.Died:connect(function()
  1605. MINION:remove()
  1606. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1607. end)
  1608. wait(1)
  1609. local findNearestTorso = function(POS)
  1610. local list = game.Workspace:GetDescendants()
  1611. local torso = nil
  1612. local dist = 500
  1613. local temp = nil
  1614. local human = nil
  1615. local temp2 = nil
  1616. for x = 1, #list do
  1617. temp2 = list[x]
  1618. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1619. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1620. human = temp2:findFirstChildOfClass("Humanoid")
  1621. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1622. if (temp.Position - POS).magnitude < dist then
  1623. torso = temp
  1624. dist = (temp.Position - POS).magnitude
  1625. end
  1626. end
  1627. end
  1628. end
  1629. return torso, dist
  1630. end
  1631. for i = 1, 40 do
  1632. if HUMAN.Health == 0 then
  1633. break
  1634. end
  1635. wait(0.3)
  1636. local target,dist= findNearestTorso(TORSO.Position)
  1637. if target then
  1638. HUMAN:MoveTo(target.Position)
  1639. if dist < 25 then
  1640. CreateSound(348663022, TORSO, 10, 1, true)
  1641. wait(2)
  1642. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1643. --ANIM:Play()
  1644. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1645. ApplyAoE(TORSO.Position,10,0,0,85,true)
  1646. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  1647. for i = 1, 5 do
  1648. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1649. end
  1650. break
  1651. end
  1652. end
  1653. end
  1654. MINION:remove()
  1655. end))
  1656. end
  1657. elseif RANDOMEFFECT == 4 then
  1658. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1659. FIELD.Color = C3(0,0,0)
  1660. FIELD.CFrame = BASE.CFrame
  1661. MakeForm(FIELD,"Ball")
  1662. FIELD.CanCollide = true
  1663. for i = 1, 50 do
  1664. Swait()
  1665. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1666. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1667. end
  1668. wait(0.2)
  1669. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1670. coroutine.resume(coroutine.create(function()
  1671. local E = 0
  1672. for i = 1, 75 do
  1673. E = E + 1
  1674. Swait()
  1675. if E >= 35 then
  1676. E = 0
  1677. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1678. end
  1679. LOOP.Volume = LOOP.Volume + 10/75
  1680. LOOP.Parent = FIELD
  1681. local CHILDREN = workspace:GetDescendants()
  1682. for index, CHILD in pairs(CHILDREN) do
  1683. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1684. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1685. if HUM then
  1686. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1687. if TORSO then
  1688. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1689. for _, c in pairs(CHILD:GetChildren()) do
  1690. if c:IsA("BasePart") then
  1691. local bv = Instance.new("BodyVelocity")
  1692. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1693. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1694. bv.Parent = c
  1695. Debris:AddItem(bv,0.05)
  1696. end
  1697. end
  1698. HUM.Health = HUM.Health - 0.3
  1699. end
  1700. end
  1701. end
  1702. end
  1703. end
  1704. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1705. end
  1706. for i = 1, 180 do
  1707. E = E + 1
  1708. Swait()
  1709. if E >= 35 then
  1710. E = 0
  1711. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1712. end
  1713. LOOP.Parent = FIELD
  1714. local CHILDREN = workspace:GetDescendants()
  1715. for index, CHILD in pairs(CHILDREN) do
  1716. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1717. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1718. if HUM then
  1719. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1720. if TORSO then
  1721. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1722. for _, c in pairs(CHILD:GetChildren()) do
  1723. if c:IsA("BasePart") then
  1724. local bv = Instance.new("BodyVelocity")
  1725. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1726. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1727. bv.Parent = c
  1728. Debris:AddItem(bv,0.05)
  1729. end
  1730. end
  1731. HUM.Health = HUM.Health - 0.3
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1739. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  1740. for i = 1, 5 do
  1741. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1742. end
  1743. FIELD:remove()
  1744. end))
  1745. elseif RANDOMEFFECT == 5 then
  1746. end
  1747. wait(0.5)
  1748. for i = 1, 25 do
  1749. Swait()
  1750. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1751. end
  1752. PANDORASBOX:remove()
  1753. RINGSPIN = false
  1754. end))
  1755. ATTACK = false
  1756. Rooted = false
  1757. end
  1758. end
  1759.  
  1760. function Astral_Hop()
  1761. ATTACK = true
  1762. Rooted = false
  1763. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1764. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  1765. local decal = Decal:Clone()
  1766. decal.Parent = O1
  1767. decal.Face = "Top"
  1768. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  1769. local decal2 = Decal:Clone()
  1770. decal2.Parent = O1
  1771. decal2.Face = "Bottom"
  1772. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  1773. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1774. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  1775. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  1776. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1777. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  1778. local decal = Decal:Clone()
  1779. decal.Parent = O2
  1780. decal.Face = "Top"
  1781. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  1782. local decal2 = Decal:Clone()
  1783. decal2.Parent = O2
  1784. decal2.Face = "Bottom"
  1785. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  1786. CreateSound("84005018", O1, 10, 0.7)
  1787. CreateSound("84005018", O2, 10, 0.7)
  1788. for i = 1, 75 do
  1789. Swait()
  1790. O1.Size = O1.Size + VT(0.1,0,0.1)
  1791. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  1792. O2.Size = O2.Size + VT(0.1,0,0.1)
  1793. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1798. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1800. end
  1801. Rooted = true
  1802. UNANCHOR = false
  1803. RootPart.Anchored = true
  1804. VALUE1 = true
  1805. for i = 1, 15 do
  1806. Transparency(i/15)
  1807. Swait()
  1808. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  1809. 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)
  1810. 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)
  1811. 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)
  1812. 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)
  1813. 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)
  1814. 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)
  1815. end
  1816. RootPart.CFrame = ROOT.CFrame
  1817. ROOT:remove()
  1818. for i = 1, 15 do
  1819. Transparency(1-(i/15))
  1820. Swait()
  1821. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  1822. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1823. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1826. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1827. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1828. end
  1829. VALUE1 = false
  1830. coroutine.resume(coroutine.create(function()
  1831. for i = 1, 75 do
  1832. Swait()
  1833. O1.Size = O1.Size - VT(0.1,0,0.1)
  1834. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1835. O2.Size = O2.Size - VT(0.1,0,0.1)
  1836. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1837. end
  1838. O1:remove()
  1839. O2:remove()
  1840. end))
  1841. UNANCHOR = true
  1842. RootPart.Anchored = false
  1843. ATTACK = false
  1844. Rooted = false
  1845. end
  1846.  
  1847.  
  1848.  
  1849. function Roar()
  1850. ATTACK = true
  1851. local LAUGH = nil
  1852. coroutine.resume(coroutine.create(function()
  1853. repeat
  1854. Swait()
  1855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1859. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1861. until LAUGH ~= nil
  1862. repeat
  1863. Swait()
  1864. LAUGH.Parent = Head
  1865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1869. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1871. until LAUGH.Playing == false
  1872. ATTACK = false
  1873. end))
  1874. wait(0.1)
  1875. sick:Pause()
  1876. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  1877. wait(1)
  1878. sick:Resume()
  1879. end
  1880.  
  1881. function Taunt()
  1882. ATTACK = true
  1883. local LAUGH = nil
  1884. coroutine.resume(coroutine.create(function()
  1885. repeat
  1886. Swait()
  1887. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1891. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1892. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1893. until LAUGH ~= nil
  1894. repeat
  1895. Swait()
  1896. LAUGH.Parent = Head
  1897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1901. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1903. until LAUGH.Playing == false
  1904. ATTACK = false
  1905. end))
  1906. wait(0.1)
  1907. sick:Pause()
  1908. LAUGH = CreateSound(447225089, Head, 10, 1, false)
  1909. wait(1)
  1910. sick:Resume()
  1911. end
  1912.  
  1913. --//=================================\\
  1914. --|| ASSIGN THINGS TO KEYS
  1915. --\\=================================//
  1916.  
  1917. function MouseDown(Mouse)
  1918. if ATTACK == false then
  1919. end
  1920. end
  1921.  
  1922. function MouseUp(Mouse)
  1923. HOLD = false
  1924. end
  1925.  
  1926. function KeyDown(Key)
  1927. KEYHOLD = true
  1928. if Key == "t" and ATTACK == false then
  1929. Roar()
  1930. attacks = false
  1931. end
  1932. if Key == "c" and ATTACK == false then
  1933. Supernova()
  1934. attacks = false
  1935. end
  1936. if Key == "q" and ATTACK == false then
  1937. Astral_Hop()
  1938. attacks = false
  1939. end
  1940. if Key == "z" and ATTACK == false then
  1941. Lunar_Blast()
  1942. attacks = false
  1943. end
  1944. if Key == "y" and ATTACK == false then
  1945. Taunt()
  1946. attacks = false
  1947. end
  1948. if Key == "x" and ATTACK == false then
  1949. PandorasBox()
  1950. attacks = false
  1951. end
  1952. if Key == "v" and ATTACK == false then
  1953. MagicMissiles()
  1954. attacks = false
  1955. end
  1956. end
  1957.  
  1958. function KeyUp(Key)
  1959. KEYHOLD = false
  1960. end
  1961.  
  1962. Mouse.Button1Down:connect(function(NEWKEY)
  1963. MouseDown(NEWKEY)
  1964. end)
  1965. Mouse.Button1Up:connect(function(NEWKEY)
  1966. MouseUp(NEWKEY)
  1967. end)
  1968. Mouse.KeyDown:connect(function(NEWKEY)
  1969. KeyDown(NEWKEY)
  1970. end)
  1971. Mouse.KeyUp:connect(function(NEWKEY)
  1972. KeyUp(NEWKEY)
  1973. end)
  1974.  
  1975. --//=================================\\
  1976. --\\=================================//
  1977.  
  1978.  
  1979. function unanchor()
  1980. if UNANCHOR == true then
  1981. g = Character:GetChildren()
  1982. for i = 1, #g do
  1983. if g[i].ClassName == "Part" then
  1984. g[i].Anchored = false
  1985. end
  1986. end
  1987. end
  1988. end
  1989.  
  1990.  
  1991. --//=================================\\
  1992. --|| WRAP THE WHOLE SCRIPT UP
  1993. --\\=================================//
  1994.  
  1995. Humanoid.Changed:connect(function(Jump)
  1996. if Jump == "Jump" and (Disable_Jump == true) then
  1997. Humanoid.Jump = false
  1998. end
  1999. end)
  2000.  
  2001. local FF = IT("ForceField",Character)
  2002. FF.Visible = false
  2003. Speed = 35
  2004.  
  2005. function refit()
  2006. RootJoint.Parent = RootPart
  2007. Neck.Parent = Torso
  2008. RightShoulder.Parent = Torso
  2009. LeftShoulder.Parent = Torso
  2010. RightHip.Parent = Torso
  2011. LeftHip.Parent = Torso
  2012. RootPart.Parent = Character
  2013. LeftArm.Parent = Character
  2014. RightArm.Parent = Character
  2015. RightLeg.Parent = Character
  2016. LeftLeg.Parent = Character
  2017. Torso.Parent = Character
  2018. Head.Parent = Character
  2019. end
  2020.  
  2021. local FOUNDFORGOTTEN = false
  2022.  
  2023. while true do
  2024. Swait()
  2025. ANIMATE.Parent = nil
  2026. SINE = SINE + CHANGE*1.5
  2027. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2028. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2029. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2030. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2031. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2032. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2033. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2034. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2035. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2036. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2037. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2038. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2039. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2040. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2041. end
  2042. if TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2043. ANIM = "Idle"
  2044. if ATTACK == false then
  2045. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2049. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2050. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2051. end
  2052. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2053. ANIM = "Fall"
  2054. if ATTACK == false then
  2055. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2059. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2061. end
  2062. elseif TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2063. ANIM = "Jump"
  2064. if ATTACK == false then
  2065. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2069. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2071. end
  2072. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2073. ANIM = "Walk"
  2074. if ATTACK == false then
  2075. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2079. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2080. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2081. end
  2082. end
  2083. unanchor()
  2084. Humanoid.MaxHealth = "inf"
  2085. Humanoid.Health = "inf"
  2086. if Rooted == false then
  2087. Disable_Jump = false
  2088. Humanoid.WalkSpeed = Speed
  2089. elseif Rooted == true then
  2090. Disable_Jump = true
  2091. Humanoid.WalkSpeed = 0
  2092. end
  2093. FF.Parent = Character
  2094. sick.Parent = Character
  2095. refit()
  2096. script.Parent = WEAPONGUI
  2097. Character.Parent = workspace
  2098. Humanoid.PlatformStand = false
  2099. Humanoid.Name = "Demon"
  2100. for _, c in pairs(game.Players:GetChildren()) do
  2101. if c.Character ~= nil then
  2102. if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  2103. c.Character:BreakJoints()
  2104. end
  2105. end
  2106. end
  2107. for _, c in pairs(Character:GetChildren()) do
  2108. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2109. c.Material = "Fabric"
  2110. if c:FindFirstChildOfClass("ParticleEmitter") then
  2111. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2112. end
  2113. if c ~= Head then
  2114. c.Color = C3(0,0,0)
  2115. else
  2116. c.Color = C3(1,1,1)
  2117. end
  2118. if c == Head then
  2119. if c:FindFirstChild("face") then
  2120. c.face:remove()
  2121. end
  2122. end
  2123. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2124. c:remove()
  2125. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2126. c:remove()
  2127. end
  2128. end
  2129. FOUNDFORGOTTEN = false
  2130. Humanoid.DisplayDistanceType = "None"
  2131. for _, c in pairs(workspace:GetChildren()) do
  2132. if c.ClassName == "Model" then
  2133. for _, q in pairs(c:GetChildren()) do
  2134. if q.Name == ("Forgotten Dominus") then
  2135. FOUNDFORGOTTEN = true
  2136. end
  2137. end
  2138. end
  2139. end
  2140. if FOUNDFORGOTTEN == true then
  2141. sick:Stop()
  2142. else
  2143. sick.Playing = true
  2144. end
  2145. if VALUE1 == false then
  2146. MagicSphere(VT(1,1,1)/5,35,CF(Torso.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))
  2147. end
  2148. end
  2149.  
  2150. --//=================================\\
  2151. --\\=================================//
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157. --//====================================================\\--
  2158. --|| END OF SCRIPT
  2159. --\\====================================================//--
Add Comment
Please, Sign In to add comment