W6rri0r

Untitled

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