Advertisement
rohanboi

test master of time pandora

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