Advertisement
NinjaBehind

[OLD] Corrupted Pandora Script Roblox

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