Advertisement
GojiGaming1337

Untitled

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