Advertisement
GojiGaming1337

Untitled

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