Advertisement
DoggoClan

Corrupted

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