Advertisement
NinjaBehind

Corrupted Pandora 2.0

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