Advertisement
GojiGaming1337

Untitled

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