Advertisement
GojiGaming1337

Untitled

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