Advertisement
foxy_game4

Untitled

Jul 4th, 2018
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  635. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  636. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(2.01,0.15,2.01),false)
  637. BELT.Color = Color3.new(0,0,0)
  638. MakeForm(BELT,"Cyl")
  639. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  640.  
  641. MakeForm(HAT2,"Cyl")
  642. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  643. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.31,0.2,1.31),false)
  644. BELT.Color = Color3.new(0,0,0)
  645. MakeForm(BELT,"Cyl")
  646. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  647. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.25,0.25,0.1),false)
  648. MakeForm(GEM,"Ball")
  649. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  650. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.25,0.25,0.1),false)
  651. MakeForm(GEM,"Ball")
  652. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  653. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.1,0.25,0.25),false)
  654. MakeForm(GEM,"Ball")
  655. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  656. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.1,0.25,0.25),false)
  657. MakeForm(GEM,"Ball")
  658. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  659. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.31,0.1,1.31),false)
  660. BELT.Color = Color3.new(0,0,0)
  661. MakeForm(BELT,"Cyl")
  662. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  663. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.31,0.1,1.31),false)
  664. BELT.Color = Color3.new(0,0,0)
  665. MakeForm(BELT,"Cyl")
  666. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  667. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.31,0.1,1.31),false)
  668. BELT.Color = Color3.new(0,0,0)
  669. MakeForm(BELT,"Cyl")
  670. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  671. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.31,0.1,1.31),false)
  672. BELT.Color = Color3.new(0,0,0)
  673. MakeForm(BELT,"Cyl")
  674. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  675. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Black", "Hat", VT(1.3,0.5,1.3),false)
  676.  
  677. MakeForm(BELT,"Ball")
  678. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  679. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  680. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  681. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  682. MakeForm(PRT,"Cyl")
  683. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  684. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  685. MakeForm(PRT,"Cyl")
  686. PRT.Color = Color3.fromRGB(0, 0, 0)
  687. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  688. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  689. MakeForm(RING,"Cyl")
  690. RING.Color = Color3.fromRGB(81, 69, 69)
  691. for i = 1, 12 do
  692. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  693. PRT.Color = C3(0,0,0)
  694. local MSH = IT("BlockMesh",PRT)
  695. MSH.Scale = VT(0.6,1,1)
  696. 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))
  697. end
  698. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  699. PRT.Color = C3(0,0,0)
  700. local MSH = IT("BlockMesh",PRT)
  701. MSH.Scale = VT(0.4,1,1)
  702. 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))
  703. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  704. PRT.Color = C3(0,0,0)
  705. local MSH = IT("BlockMesh",PRT)
  706. MSH.Scale = VT(0.4,1,1)
  707. 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))
  708. coroutine.resume(coroutine.create(function()
  709. while true do
  710. Swait()
  711. CLOCKLOOP = CLOCKLOOP - 0*CLOCKSPEED
  712. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  713. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  714. if CLOCKLOOP <= -150 then
  715. if VALUE1 == false then
  716. CLOCKLOOP = 0
  717. 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})
  718. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  719. ApplyAoE(HITPOS,10,15,45,75,false)
  720. 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})
  721. 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})
  722. if CLOCKTARGET ~= nil then
  723. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  724. if CLOCKTARGET.Torso ~= nil then
  725. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  726. end
  727. if CLOCKTARGET.Health == 0 then
  728. CLOCKTARGET = nil
  729. end
  730. end
  731. end
  732. end
  733. end
  734. end))
  735.  
  736. for _, c in pairs(Weapon:GetChildren()) do
  737. if c.ClassName == "Part" then
  738. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  739. end
  740. end
  741.  
  742. Neck.Name = "Weld"
  743. RootJoint.Name = "Weld"
  744. RightShoulder.Name = "Weld"
  745. LeftShoulder.Name = "Weld"
  746. RightHip.Name = "Weld"
  747. LeftHip.Name = "Weld"
  748.  
  749. local BODY = {}
  750. for _, c in pairs(Character:GetDescendants()) do
  751. if c:IsA("BasePart") and c.Name ~= "Handle" then
  752. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  753. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  754. end
  755. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  756. elseif c:IsA("JointInstance") then
  757. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  758. end
  759. end
  760. for e = 1, #BODY do
  761. if BODY[e] ~= nil then
  762. local STUFF = BODY[e]
  763. local PART = STUFF[1]
  764. local PARENT = STUFF[2]
  765. local MATERIAL = STUFF[3]
  766. local COLOR = STUFF[4]
  767. local TRANSPARENCY = STUFF[5]
  768. if PART.ClassName == "Part" and PART ~= RootPart then
  769. PART.Material = MATERIAL
  770. PART.Color = COLOR
  771. PART.Transparency = TRANSPARENCY
  772. end
  773. PART.AncestryChanged:Connect(function()
  774. PART.Parent = PARENT
  775. end)
  776. end
  777. end
  778. function refit()
  779. Character.Parent = workspace
  780. for e = 1, #BODY do
  781. if BODY[e] ~= nil then
  782. local STUFF = BODY[e]
  783. local PART = STUFF[1]
  784. local PARENT = STUFF[2]
  785. local MATERIAL = STUFF[3]
  786. local COLOR = STUFF[4]
  787. local TRANSPARENCY = STUFF[5]
  788. if PART:IsA("BasePart") and PART ~= RootPart then
  789. PART.Material = MATERIAL
  790. PART.Color = COLOR
  791. PART.Transparency = TRANSPARENCY
  792. end
  793. if PART.Parent ~= PARENT then
  794. Humanoid:remove()
  795. PART.Parent = PARENT
  796. Humanoid = IT("Humanoid",Character)
  797. end
  798. end
  799. end
  800. end
  801.  
  802.  
  803. local SKILLTEXTCOLOR = Color3.fromRGB(81, 69, 69)
  804. local SKILLFONT = "Fantasy"
  805. local SKILLTEXTSIZE = 7
  806.  
  807. Weapon.Parent = Character
  808. Humanoid.Parent = Character
  809.  
  810. Humanoid.Died:connect(function()
  811. refit()
  812. end)
  813.  
  814. 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")
  815. 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")
  816. 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")
  817. 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")
  818. 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")
  819. 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")
  820.  
  821. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  822. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  823. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  824. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  825. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  826. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  827.  
  828. --//=================================\\
  829. --|| DAMAGING
  830. --\\=================================//
  831.  
  832. function ApplyDamage(Humanoid,Damage,TorsoPart)
  833. local defence = Instance.new("BoolValue",Humanoid.Parent)
  834. defence.Name = ("HitBy"..Player.Name)
  835. game:GetService("Debris"):AddItem(defence, 0.001)
  836. Damage = Damage * DAMAGEMULTIPLIER
  837. if Humanoid.Health ~= 0 then
  838. local CritChance = MRANDOM(1,100)
  839. if Damage > Humanoid.Health then
  840. Damage = math.ceil(Humanoid.Health)
  841. if Damage == 0 then
  842. Damage = 0.1
  843. end
  844. end
  845. Humanoid.Health = Humanoid.Health - Damage
  846. end
  847. end
  848.  
  849. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  850. local CHILDREN = workspace:GetDescendants()
  851. for index, CHILD in pairs(CHILDREN) do
  852. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  853. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  854. if HUM then
  855. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  856. if TORSO then
  857. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  858. if INSTAKILL == true then
  859. CHILD:BreakJoints()
  860. else
  861. local DMG = MRANDOM(MINDMG,MAXDMG)
  862. ApplyDamage(HUM,DMG,TORSO)
  863. end
  864. if FLING > 0 then
  865. for _, c in pairs(CHILD:GetChildren()) do
  866. if c:IsA("BasePart") then
  867. local bv = Instance.new("BodyVelocity")
  868. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  869. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  870. bv.Parent = c
  871. Debris:AddItem(bv,0.05)
  872. end
  873. end
  874. end
  875. end
  876. end
  877. end
  878. end
  879. end
  880. end
  881.  
  882. --//=================================\\
  883. --|| ATTACK FUNCTIONS AND STUFF
  884. --\\=================================//
  885.  
  886. function MagicMissiles()
  887. ATTACK = true
  888. Rooted = true
  889. local SELECTING = true
  890. local SPOTS = {}
  891. coroutine.resume(coroutine.create(function()
  892. local LOOP = 0
  893. repeat
  894. LOOP = LOOP + 1
  895. Swait()
  896. if LOOP >= 10 then
  897. LOOP = 0
  898. for i = 1, #SPOTS do
  899. if SPOTS[i] ~= nil then
  900. 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})
  901. 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})
  902. end
  903. end
  904. end
  905. 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)
  906. 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)
  907. 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)
  908. 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)
  909. 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)
  910. 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)
  911. until SELECTING == false
  912. Rooted = false
  913. repeat
  914. LOOP = LOOP + 1
  915. Swait()
  916. if LOOP >= 10 then
  917. LOOP = 0
  918. for i = 1, #SPOTS do
  919. if SPOTS[i] ~= nil then
  920. 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})
  921. 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})
  922. end
  923. end
  924. end
  925. 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)
  926. 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)
  927. 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)
  928. 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)
  929. 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)
  930. 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)
  931. until ATTACK == false
  932. end))
  933. repeat
  934. repeat Swait() until HOLD == true
  935. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  936. if DIST > 65 then
  937. DIST = 65
  938. end
  939. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  940. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  941. if HITFLOOR ~= nil then
  942. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  943. 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})
  944. 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})
  945. end
  946. repeat Swait() until HOLD == false
  947. until #SPOTS == 5
  948. SELECTING = false
  949. for i = 1, #SPOTS do
  950. if SPOTS[i] ~= nil then
  951. local POS = SPOTS[i]
  952. coroutine.resume(coroutine.create(function()
  953. local MISSILE = IT("Model",Effects)
  954. MISSILE.Name = "Missile"
  955. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2,2,2))
  956. MakeForm(BASEPART,"Cyl")
  957. MISSILE.PrimaryPart = BASEPART
  958. BASEPART.CFrame = POS*CF(0,-30*3,0)
  959. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2,4,2))
  960. MakeForm(HEAD,"Ball")
  961. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  962. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2.5,0.1,2.5))
  963. MakeForm(TAIL,"Cyl")
  964. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  965. for i = 1, 10 do
  966. Swait()
  967. for _, c in pairs(MISSILE:GetChildren()) do
  968. if c.ClassName == "Part" then
  969. c.Transparency = c.Transparency - 1/10
  970. end
  971. end
  972. end
  973. for i = 1, 15*1.5 do
  974. Swait()
  975. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  976. end
  977. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  978. 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})
  979. 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})
  980. 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})
  981. 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})
  982. MISSILE:remove()
  983. end))
  984. end
  985. end
  986. wait(0.6)
  987. ATTACK = false
  988. Rooted = false
  989. end
  990.  
  991. function TimesUp()
  992. CLOCKTARGET = nil
  993. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  994. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  995. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  996. if TORSO then
  997. ATTACK = true
  998. Rooted = false
  999. coroutine.resume(coroutine.create(function()
  1000. repeat
  1001. Swait()
  1002. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1004. 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)
  1005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1006. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1007. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1008. until ATTACK == false
  1009. end))
  1010. if Effects:FindFirstChild("NeonDoll") then
  1011. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1012. end
  1013. wait(0.5)
  1014. local FAKECHARACTER = IT("Model",Effects)
  1015. FAKECHARACTER.Name = "NeonDoll"
  1016. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Dirt brown", "Part", VT(0.3,0.3,0.15),false)
  1017. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1018. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Dirt brown", "Part", VT(0.15,0.3,0.15),false)
  1019. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,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 ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Dirt brown", "Part", VT(0.15,0.3,0.15),false)
  1023. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), 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 HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Dirt brown", "Part", VT(0.15,0.15,0.15),false)
  1027. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1028. CreateSound(201858045, TORS, 5, 0.4, false)
  1029. for i = 1, 150 do
  1030. Swait()
  1031. CLOCKSPEED = 0
  1032. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1033. if c.ClassName == "Part" then
  1034. c.Transparency = c.Transparency - 0.5/150
  1035. end
  1036. end
  1037. end
  1038. CLOCKTARGET = HUM
  1039. coroutine.resume(coroutine.create(function()
  1040. repeat Swait() CLOCKSPEED = 0 until CLOCKTARGET == nil
  1041. for i = 1, 25 do
  1042. Swait()
  1043. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1044. if c.ClassName == "Part" then
  1045. c.Transparency = c.Transparency + 0.5/25
  1046. end
  1047. end
  1048. end
  1049. CLOCKSPEED = 0
  1050. FAKECHARACTER:remove()
  1051. end))
  1052. wait(0.5)
  1053. ATTACK = false
  1054. Rooted = false
  1055. end
  1056. end
  1057. end
  1058.  
  1059. function Teleport()
  1060. ATTACK = true
  1061. Rooted = false
  1062. for i=0, 0.5, 0.1 / Animation_Speed do
  1063. Swait()
  1064. 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)
  1065. 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)
  1066. end
  1067. for e = 1, #BODY do
  1068. if BODY[e] ~= nil then
  1069. local STUFF = BODY[e]
  1070. local PART = STUFF[1]
  1071. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1072. local PRT = PART:Clone()
  1073. PRT.Anchored = true
  1074. PRT.CanCollide = false
  1075. PRT.Material = "Neon"
  1076. PRT.Color = C3(0,0,0)
  1077. PRT.Name = "WarpEffect"
  1078. PRT.Parent = Effects
  1079. PRT.CFrame = PART.CFrame
  1080. PRT:BreakJoints()
  1081. if PRT:FindFirstChildOfClass("Sound") then
  1082. PRT:FindFirstChildOfClass("Sound"):remove()
  1083. end
  1084. if PRT:FindFirstChildOfClass("Decal") then
  1085. PRT:FindFirstChildOfClass("Decal"):remove()
  1086. end
  1087. coroutine.resume(coroutine.create(function()
  1088. for i = 1, 100 do
  1089. Swait()
  1090. PRT.Transparency = PRT.Transparency + 1/100
  1091. end
  1092. PRT:remove()
  1093. end))
  1094. end
  1095. end
  1096. end
  1097. CreateSound(217767125, Torso, 10, 1)
  1098. local POS = RootPart.Orientation
  1099. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1100. RootPart.Orientation = POS
  1101. RootJoint.Parent = RootPart
  1102. for i=0, 0.5, 0.1 / Animation_Speed do
  1103. Swait()
  1104. 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)
  1105. 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)
  1106. end
  1107. for i=0, 0.1, 0.1 / Animation_Speed do
  1108. Swait()
  1109. 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)
  1110. end
  1111. ATTACK = false
  1112. Rooted = false
  1113. end
  1114.  
  1115. function TakeOnMe()
  1116. Speed = 5
  1117. local MEME = CreateSound(288703954, Effects, 7, 1, false)
  1118. ATTACK = true
  1119. Rooted = false
  1120. local DANCE = true
  1121. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1122. if NEWKEY == "p" then
  1123. DANCE = false
  1124. end
  1125. end)
  1126. PLAYSONG = false
  1127. while true do
  1128. for i = 1, 15 do
  1129. Swait()
  1130. MEME.Parent = Effects
  1131. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1132. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1133. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1134. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1135. 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)
  1136. 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)
  1137. end
  1138. if DANCE == false then
  1139. break
  1140. end
  1141. for i = 1, 15 do
  1142. Swait()
  1143. MEME.Parent = Effects
  1144. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1145. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1147. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1148. 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)
  1149. 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)
  1150. end
  1151. end
  1152. PLAYSONG = true
  1153. KEY:Disconnect()
  1154. MEME:remove()
  1155. Speed = 25
  1156. ATTACK = false
  1157. Rooted = false
  1158. end
  1159.  
  1160. function Taunt3()
  1161. ATTACK = true
  1162. Rooted = true
  1163. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  1164. repeat
  1165. Swait()
  1166. TAUNT.Parent = Torso
  1167. TAUNT.Playing = true
  1168. 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)
  1169. 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)
  1170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1171. 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)
  1172. 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)
  1173. 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)
  1174. until TAUNT.TimePosition >= 1.25
  1175. for i=0, 1.6, 0.1 / Animation_Speed do
  1176. Swait()
  1177. TAUNT.Parent = Torso
  1178. 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)
  1179. 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)
  1180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1181. 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)
  1182. 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)
  1183. 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)
  1184. end
  1185. ATTACK = false
  1186. Rooted = false
  1187. end
  1188.  
  1189. function Taunt2()
  1190. ATTACK = true
  1191. Rooted = true
  1192. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  1193. coroutine.resume(coroutine.create(function()
  1194. repeat
  1195. Swait()
  1196. 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)
  1197. 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)
  1198. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1199. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1200. 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)
  1201. 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)
  1202. until ATTACK == false
  1203. end))
  1204. repeat wait() until TAUNT.Playing == false
  1205. ATTACK = false
  1206. Rooted = false
  1207. end
  1208.  
  1209. function ChainPunch()
  1210. ATTACK = true
  1211. Rooted = false
  1212. local GYRO = IT("BodyGyro",RootPart)
  1213. GYRO.D = 25
  1214. GYRO.P = 2000
  1215. GYRO.MaxTorque = VT(0,40000,0)
  1216. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1217. repeat
  1218. Swait()
  1219. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1220. 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)
  1221. 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)
  1222. 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)
  1223. 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)
  1224. 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)
  1225. 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)
  1226. until HOLD == true
  1227. local POS = Mouse.Hit.p
  1228. local CHAINS = false
  1229. local CHAINLINKS = {}
  1230. local A = IT("Attachment",RightArm)
  1231. A.Position = VT(1,-1,0)*SIZE
  1232. A.Orientation = VT(-90, -89.982, 0)
  1233. local B = IT("Attachment",RightArm)
  1234. B.Position = VT(-1,-1,0)*SIZE
  1235. B.Orientation = VT(-90, 89.988, 0)
  1236. local C = IT("Attachment",RightArm)
  1237. C.Position = VT(0.5,-1.3,0)*SIZE
  1238. C.Orientation = VT(-90, -89.982, 0)
  1239. local D = IT("Attachment",RightArm)
  1240. D.Position = VT(-0.5,-1.3,0)*SIZE
  1241. D.Orientation = VT(-90, 89.988, 0)
  1242. local LIGHT = IT("Attachment",RightArm)
  1243. LIGHT.Position = VT(0,-1,0)*SIZE
  1244. local LIGHT2 = IT("PointLight",LIGHT)
  1245. LIGHT2.Range = 7
  1246. LIGHT2.Brightness = 5
  1247. LIGHT2.Color = SKILLTEXTCOLOR
  1248. for i = 1, 2 do
  1249. local TWIST = -2
  1250. local START = A
  1251. local END = B
  1252. if i == 1 then
  1253. START = B
  1254. END = A
  1255. end
  1256. local ChainLink = IT("Beam",Torso)
  1257. ChainLink.Texture = "rbxassetid://73042633"
  1258. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1259. ChainLink.TextureSpeed = 1
  1260. ChainLink.Width0 = 1
  1261. ChainLink.Width1 = 1
  1262. ChainLink.TextureLength = 2.5
  1263. ChainLink.Attachment0 = START
  1264. ChainLink.Attachment1 = END
  1265. ChainLink.CurveSize0 = TWIST
  1266. ChainLink.CurveSize1 = TWIST
  1267. --ChainLink.FaceCamera = true
  1268. ChainLink.Segments = 45
  1269. ChainLink.Transparency = NumberSequence.new(1)
  1270. table.insert(CHAINLINKS,ChainLink)
  1271. end
  1272. for i = 1, 2 do
  1273. local TWIST = -1
  1274. local START = C
  1275. local END = D
  1276. if i == 1 then
  1277. START = D
  1278. END = C
  1279. end
  1280. local ChainLink = IT("Beam",Torso)
  1281. ChainLink.Texture = "rbxassetid://73042633"
  1282. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1283. ChainLink.TextureSpeed = 1
  1284. ChainLink.Width0 = 1
  1285. ChainLink.Width1 = 1
  1286. ChainLink.TextureLength = 5
  1287. ChainLink.Attachment0 = START
  1288. ChainLink.Attachment1 = END
  1289. ChainLink.CurveSize0 = TWIST
  1290. ChainLink.CurveSize1 = TWIST
  1291. --ChainLink.FaceCamera = true
  1292. ChainLink.Segments = 25
  1293. ChainLink.LightEmission = 0.5
  1294. ChainLink.Transparency = NumberSequence.new(1)
  1295. table.insert(CHAINLINKS,ChainLink)
  1296. end
  1297. coroutine.resume(coroutine.create(function()
  1298. repeat
  1299. Swait()
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. until CHAINS == true
  1307. repeat
  1308. Swait()
  1309. 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)
  1310. 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)
  1311. 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)
  1312. 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)
  1313. 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)
  1314. 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)
  1315. until ATTACK == false
  1316. for e = 1, 15 do
  1317. Swait()
  1318. for i = 1, #CHAINLINKS do
  1319. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1320. end
  1321. end
  1322. A:remove()
  1323. B:remove()
  1324. C:remove()
  1325. D:remove()
  1326. end))
  1327. CreateSound(233856115, RightArm, 5, 1.2, false)
  1328. for e = 1, 15 do
  1329. Swait()
  1330. for i = 1, #CHAINLINKS do
  1331. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1332. end
  1333. end
  1334. CHAINS = true
  1335. Rooted = true
  1336. wait(0.25)
  1337. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Dirt brown", "Part", VT(2,2,2))
  1338. FIST.Color = Color3.fromRGB(81, 69, 69)
  1339. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1340. local LIGHT3 = IT("PointLight",FIST)
  1341. LIGHT3.Range = 7
  1342. LIGHT3.Brightness = 5
  1343. LIGHT3.Color = SKILLTEXTCOLOR
  1344. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1345. local FISTA = IT("Attachment",FIST)
  1346. FISTA.Position = VT(0.062, 0.977, 0)
  1347. local ChainLink = IT("Beam",Torso)
  1348. ChainLink.Texture = "rbxassetid://73042633"
  1349. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1350. ChainLink.TextureSpeed = 0
  1351. ChainLink.Width0 = 3
  1352. ChainLink.Width1 = 3
  1353. ChainLink.TextureLength = 12
  1354. ChainLink.Attachment0 = LIGHT
  1355. ChainLink.Attachment1 = FISTA
  1356. ChainLink.FaceCamera = true
  1357. ChainLink.Segments = 45
  1358. ChainLink.LightEmission = 0.5
  1359. ChainLink.Transparency = NumberSequence.new(0.25)
  1360. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1361. for i = 1, 85 do
  1362. Swait()
  1363. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1364. ChainLink.TextureLength = 12+(i*2)
  1365. ApplyAoE(FIST.Position,10,15,25,100,false)
  1366. 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})
  1367. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1368. if HITFLOOR ~= nil then
  1369. HITFLOOR:BreakJoints()
  1370. coroutine.resume(coroutine.create(function()
  1371. for i = 1, 15 do
  1372. Swait()
  1373. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1374. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1375. 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})
  1376. end
  1377. end))
  1378. break
  1379. end
  1380. end
  1381. coroutine.resume(coroutine.create(function()
  1382. for i = 1, 50 do
  1383. Swait()
  1384. FIST.Transparency = FIST.Transparency + 0.5/50
  1385. LIGHT3.Range = LIGHT3.Range - 7/50
  1386. end
  1387. FIST:remove()
  1388. end))
  1389. LIGHT:remove()
  1390. GYRO:remove()
  1391. ATTACK = false
  1392. Rooted = false
  1393. end
  1394.  
  1395. function WarpMeteor()
  1396. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1397. if DIST > 180 then
  1398. DIST = 180
  1399. end
  1400. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1401. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1402. if HITFLOOR then
  1403. local POS = HITPOS
  1404. ATTACK = true
  1405. Rooted = true
  1406. local WARPED = false
  1407. local SMASHED = false
  1408. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1409. coroutine.resume(coroutine.create(function()
  1410. repeat
  1411. Swait()
  1412. 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)
  1413. 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)
  1414. 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)
  1415. 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)
  1416. 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)
  1417. 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)
  1418. until WARPED == true
  1419. repeat
  1420. Swait()
  1421. 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)
  1422. 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)
  1423. 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)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. until SMASHED == true
  1428. repeat
  1429. Swait()
  1430. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1431. 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)
  1432. 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)
  1433. 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)
  1434. 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)
  1435. 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)
  1436. until ATTACK == false
  1437. end))
  1438. VALUE1 = true
  1439. CreateSound(233856115, Torso, 5, 1.6, false)
  1440. for i = 1, 25 do
  1441. Swait()
  1442. for _, c in pairs(Character:GetChildren()) do
  1443. if c.ClassName == "Part" then
  1444. c.Transparency = c.Transparency + 1/25
  1445. end
  1446. end
  1447. for _, c in pairs(Weapon:GetChildren()) do
  1448. if c.ClassName == "Part" then
  1449. c.Transparency = c.Transparency + 1/25
  1450. end
  1451. end
  1452. end
  1453. UNANCHOR = false
  1454. RootPart.Anchored = true
  1455. RootPart.Velocity = VT(0,0,0)
  1456. local ROOTPOS = RootPart.Position
  1457. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1458. WARPED = true
  1459. for i = 1, 25 do
  1460. Swait()
  1461. for _, c in pairs(Character:GetChildren()) do
  1462. if c.ClassName == "Part" then
  1463. c.Transparency = c.Transparency - 1/25
  1464. end
  1465. end
  1466. for _, c in pairs(Weapon:GetChildren()) do
  1467. if c.ClassName == "Part" then
  1468. c.Transparency = c.Transparency - 1/25
  1469. end
  1470. end
  1471. end
  1472. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Dirt brown", "Part", VT(0,0,0))
  1473. SHELL.CFrame = RootPart.CFrame
  1474. MakeForm(SHELL,"Ball")
  1475. CreateSound(402981977, SHELL, 5, 1.6, false)
  1476. for i = 1, 10 do
  1477. Swait()
  1478. SHELL.Transparency = SHELL.Transparency - 1/10
  1479. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1480. end
  1481. for i = 1, math.ceil(75/2) do
  1482. Swait()
  1483. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1484. SHELL.CFrame = CF(RootPart.Position)
  1485. 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})
  1486. end
  1487. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1488. SHELL.CFrame = CF(RootPart.Position)
  1489. 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})
  1490. 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})
  1491. 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})
  1492. for i = 1, 5 do
  1493. 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})
  1494. end
  1495. SHELL:remove()
  1496. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1497. SMASHED = true
  1498. wait(1)
  1499. VALUE1 = false
  1500. UNANCHOR = true
  1501. ATTACK = false
  1502. Rooted = false
  1503. end
  1504. end
  1505.  
  1506. function PandorasBox()
  1507. 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)
  1508. if HITFLOOR ~= nil then
  1509. ATTACK = true
  1510. Rooted = true
  1511. local RINGSPIN = true
  1512. local CONSTRUCTING = true
  1513. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Dirt brown", "Ring", VT(0,0,0))
  1514. RING.Color = Color3.fromRGB(81, 69, 69)
  1515. MakeForm(RING,"Cyl")
  1516. RING.CFrame = CF(HITPOS)
  1517. CreateSound(402981977, RING, 5, 1.2, false)
  1518. coroutine.resume(coroutine.create(function()
  1519. repeat
  1520. Swait()
  1521. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1522. 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)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. 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)
  1527. 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)
  1528. until CONSTRUCTING == false
  1529. repeat
  1530. Swait()
  1531. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1532. until RINGSPIN == false
  1533. for i = 1, 25 do
  1534. Swait()
  1535. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1536. RING.Size = RING.Size - VT(0.15,0,0.15)
  1537. --DECAL.Transparency = DECAL.Transparency + 1/25
  1538. RING.Transparency = RING.Transparency + 1/25
  1539. end
  1540. RING:remove()
  1541. end))
  1542. for i = 1, 15 do
  1543. Swait()
  1544. RING.Size = RING.Size + VT(0.75,0,0.75)
  1545. RING.Transparency = RING.Transparency - 1/15
  1546. end
  1547. local BOXSPIN = true
  1548. local PANDORASBOX = IT("Model",Effects)
  1549. PANDORASBOX.Name = "Pandora's Box"
  1550. local BOX = IT("Model",PANDORASBOX)
  1551. BOX.Name = "Body"
  1552. local LID = IT("Model",PANDORASBOX)
  1553. LID.Name = "Lid"
  1554. --BUILDING THE BOX--
  1555. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Dirt brown", "Black", VT(2,1.8,2))
  1556. BASE.Color = Color3.fromRGB(81, 69, 69)
  1557. PANDORASBOX.PrimaryPart = BASE
  1558. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1559. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Dirt brown", "Marble", VT(0.2,1.9,0.2))
  1560. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  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(2.1,0.2,0.2))
  1568. WOOD.CFrame = BASE.CFrame*CF(0,0.9,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(0.2,0.2,2.1))
  1572. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  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(2.1,0.2,0.2))
  1576. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  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(0.2,0.2,2.1))
  1580. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  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(2.1,1.9,0.1))
  1584. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  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(0.1,1.9,2.1))
  1588. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  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(2.1,0.1,2.1))
  1592. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1593. -------------
  1594. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Dirt brown", "Marble", VT(2.1,0.1,2.1))
  1595. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1596. LID.PrimaryPart = LIDPART
  1597. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Dirt brown", "Marble", VT(2.1,0.2,0.2))
  1598. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  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(0.2,0.2,2.1))
  1602. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  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 DECAL = IT("Decal",LIDPART)
  1606. DECAL.Face = "Top"
  1607. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1608. DECAL.Color3 = C3(0,0,0)
  1609. --BUILDING THE BOX--
  1610. coroutine.resume(coroutine.create(function()
  1611. repeat
  1612. Swait()
  1613. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1614. until BOXSPIN == false
  1615. end))
  1616. for i = 1, 25 do
  1617. Swait()
  1618. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1619. end
  1620. wait(0.5)
  1621. BOXSPIN = false
  1622. CONSTRUCTING = false
  1623. coroutine.resume(coroutine.create(function()
  1624. 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})
  1625. --[[for i = 1, 45 do
  1626. Swait()
  1627. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1628. end-
  1629. LID:remove()]]--
  1630. for _, c in pairs(LID:GetChildren()) do
  1631. if c.ClassName == "Part" then
  1632. c.Anchored = false
  1633. c.CanCollide = true
  1634. if c ~= LIDPART then
  1635. weldBetween(LIDPART,c)
  1636. end
  1637. end
  1638. end
  1639. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1640. Debris:AddItem(LID,15)
  1641. wait(0.5)
  1642. local RANDOMEFFECT = MRANDOM(1,4)
  1643. if RANDOMEFFECT == 1 then
  1644. for i = 1, 45 do
  1645. wait((2-(i/15))/15)
  1646. 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})
  1647. end
  1648. wait(1)
  1649. 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})
  1650. 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})
  1651. 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})
  1652. for i = 1, 5 do
  1653. 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})
  1654. end
  1655. ApplyAoE(BASE.Position,50,1,200,375,false)
  1656. ApplyAoE(BASE.Position,250,35,75,175,false)
  1657. elseif RANDOMEFFECT == 2 then
  1658. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Dirt brown", "Field", VT(0.3,0.3,0.3))
  1659. FIELD.CFrame = BASE.CFrame
  1660. MakeForm(FIELD,"Ball")
  1661. for i = 1, 50 do
  1662. Swait()
  1663. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1664. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1665. end
  1666. wait(0.2)
  1667. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1668. coroutine.resume(coroutine.create(function()
  1669. for i = 1, 75 do
  1670. Swait()
  1671. LOOP.Volume = LOOP.Volume + 10/75
  1672. LOOP.Parent = FIELD
  1673. local CHILDREN = workspace:GetDescendants()
  1674. for index, CHILD in pairs(CHILDREN) do
  1675. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1676. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1677. if HUM then
  1678. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1679. if TORSO then
  1680. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1681. HUM.Health = HUM.Health - 0.1
  1682. TORSO.Velocity = VT(0,5,0)
  1683. HUM.PlatformStand = true
  1684. if TORSO.RotVelocity.Magnitude < 15 then
  1685. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1686. end
  1687. end
  1688. end
  1689. end
  1690. end
  1691. end
  1692. FIELD.Size = FIELD.Size + VT(3,3,3)
  1693. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1694. end
  1695. for i = 1, 500 do
  1696. Swait()
  1697. LOOP.Parent = FIELD
  1698. local CHILDREN = workspace:GetDescendants()
  1699. for index, CHILD in pairs(CHILDREN) do
  1700. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1701. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1702. if HUM then
  1703. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1704. if TORSO then
  1705. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1706. TORSO.Velocity = VT(0,5,0)
  1707. HUM.Health = HUM.Health - 0.1
  1708. HUM.PlatformStand = true
  1709. if TORSO.RotVelocity.Magnitude < 15 then
  1710. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1711. end
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. for i = 1, 25 do
  1719. Swait()
  1720. LOOP.Volume = LOOP.Volume + 10/25
  1721. LOOP.Parent = FIELD
  1722. local CHILDREN = workspace:GetDescendants()
  1723. for index, CHILD in pairs(CHILDREN) do
  1724. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1725. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1726. if HUM then
  1727. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1728. if TORSO then
  1729. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1730. TORSO.Velocity = VT(0,5,0)
  1731. HUM.Health = HUM.Health - 0.1
  1732. HUM.PlatformStand = false
  1733. if TORSO.RotVelocity.Magnitude < 15 then
  1734. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740. end
  1741. FIELD.Size = FIELD.Size - VT(3,3,3)
  1742. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1743. end
  1744. FIELD:remove()
  1745. end))
  1746. elseif RANDOMEFFECT == 3 then
  1747. for i = 1, 10 do
  1748. wait(0.15)
  1749. 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})
  1750. coroutine.resume(coroutine.create(function()
  1751. local MINION = CLONE:Clone()
  1752. MINION.Parent = Effects
  1753. MINION.Name = "Shadow"
  1754. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1755. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1756. for _, c in pairs(MINION:GetChildren()) do
  1757. if c.ClassName == "Part" then
  1758. c.Material = "Neon"
  1759. c.Color = C3(0,0,0)
  1760. c.Transparency = 0.25
  1761. if c.Name == "Head" then
  1762. c:ClearAllChildren()
  1763. local MSH = IT("BlockMesh",c)
  1764. MSH.Scale = VT(0.5,1,1)
  1765. end
  1766. end
  1767. end
  1768. local TORSO = MINION.Torso
  1769. local HUMAN = MINION.Humanoid
  1770. HUMAN.WalkSpeed = 20
  1771. HUMAN.MaxHealth = math.huge
  1772. HUMAN.Health = math.huge
  1773. HUMAN.DisplayDistanceType = "None"
  1774. HUMAN.Died:connect(function()
  1775. MINION:remove()
  1776. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1777. end)
  1778. wait(1)
  1779. local findNearestTorso = function(POS)
  1780. local list = game.Workspace:GetDescendants()
  1781. local torso = nil
  1782. local dist = 500
  1783. local temp = nil
  1784. local human = nil
  1785. local temp2 = nil
  1786. for x = 1, #list do
  1787. temp2 = list[x]
  1788. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1789. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1790. human = temp2:findFirstChildOfClass("Humanoid")
  1791. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1792. if (temp.Position - POS).magnitude < dist then
  1793. torso = temp
  1794. dist = (temp.Position - POS).magnitude
  1795. end
  1796. end
  1797. end
  1798. end
  1799. return torso, dist
  1800. end
  1801. for i = 1, 40 do
  1802. if HUMAN.Health == 0 then
  1803. break
  1804. end
  1805. wait(0.3)
  1806. local target,dist= findNearestTorso(TORSO.Position)
  1807. if target then
  1808. HUMAN:MoveTo(target.Position)
  1809. if dist < 25 then
  1810. CreateSound(348663022, TORSO, 10, 1, true)
  1811. wait(2)
  1812. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1813. --ANIM:Play()
  1814. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1815. ApplyAoE(TORSO.Position,10,0,0,85,true)
  1816. 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})
  1817. for i = 1, 5 do
  1818. 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})
  1819. end
  1820. break
  1821. end
  1822. end
  1823. end
  1824. MINION:remove()
  1825. end))
  1826. end
  1827. elseif RANDOMEFFECT == 4 then
  1828. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Dirt brown", "Field", VT(0.3,0.3,0.3))
  1829. FIELD.Color = C3(0,0,0)
  1830. FIELD.CFrame = BASE.CFrame
  1831. MakeForm(FIELD,"Ball")
  1832. FIELD.CanCollide = true
  1833. for i = 1, 50 do
  1834. Swait()
  1835. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1836. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1837. end
  1838. wait(0.2)
  1839. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1840. coroutine.resume(coroutine.create(function()
  1841. local E = 0
  1842. for i = 1, 75 do
  1843. E = E + 1
  1844. Swait()
  1845. if E >= 35 then
  1846. E = 0
  1847. 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})
  1848. end
  1849. LOOP.Volume = LOOP.Volume + 10/75
  1850. LOOP.Parent = FIELD
  1851. local CHILDREN = workspace:GetDescendants()
  1852. for index, CHILD in pairs(CHILDREN) do
  1853. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1854. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1855. if HUM then
  1856. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1857. if TORSO then
  1858. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1859. for _, c in pairs(CHILD:GetChildren()) do
  1860. if c:IsA("BasePart") then
  1861. local bv = Instance.new("BodyVelocity")
  1862. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1863. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1864. bv.Parent = c
  1865. Debris:AddItem(bv,0.05)
  1866. end
  1867. end
  1868. HUM.Health = HUM.Health - 0.3
  1869. end
  1870. end
  1871. end
  1872. end
  1873. end
  1874. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1875. end
  1876. for i = 1, 180 do
  1877. E = E + 1
  1878. Swait()
  1879. if E >= 35 then
  1880. E = 0
  1881. 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})
  1882. end
  1883. LOOP.Parent = FIELD
  1884. local CHILDREN = workspace:GetDescendants()
  1885. for index, CHILD in pairs(CHILDREN) do
  1886. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1887. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1888. if HUM then
  1889. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1890. if TORSO then
  1891. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1892. for _, c in pairs(CHILD:GetChildren()) do
  1893. if c:IsA("BasePart") then
  1894. local bv = Instance.new("BodyVelocity")
  1895. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1896. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1897. bv.Parent = c
  1898. Debris:AddItem(bv,0.05)
  1899. end
  1900. end
  1901. HUM.Health = HUM.Health - 0.3
  1902. end
  1903. end
  1904. end
  1905. end
  1906. end
  1907. end
  1908. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1909. 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})
  1910. for i = 1, 5 do
  1911. 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})
  1912. end
  1913. FIELD:remove()
  1914. end))
  1915. elseif RANDOMEFFECT == 5 then
  1916. end
  1917. wait(0.5)
  1918. for i = 1, 25 do
  1919. Swait()
  1920. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1921. end
  1922. PANDORASBOX:remove()
  1923. RINGSPIN = false
  1924. end))
  1925. ATTACK = false
  1926. Rooted = false
  1927. end
  1928. end
  1929.  
  1930. function Taunt()
  1931. ATTACK = true
  1932. local LAUGH = nil
  1933. coroutine.resume(coroutine.create(function()
  1934. repeat
  1935. Swait()
  1936. 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)
  1937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1938. 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)
  1939. 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)
  1940. 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)
  1941. 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)
  1942. until LAUGH ~= nil
  1943. repeat
  1944. Swait()
  1945. LAUGH.Parent = Head
  1946. 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)
  1947. 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)
  1948. 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)
  1949. 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)
  1950. 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)
  1951. 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)
  1952. until LAUGH.Playing == false
  1953. ATTACK = false
  1954. end))
  1955. wait(0.1)
  1956. sick:Pause()
  1957. LAUGH = CreateSound(137473066, Head, 10, 1, false)
  1958. wait(1)
  1959. sick:Resume()
  1960. end
  1961.  
  1962. --//=================================\\
  1963. --|| ASSIGN THINGS TO KEYS
  1964. --\\=================================//
  1965.  
  1966. function MouseDown(Mouse)
  1967. HOLD = true
  1968. if ATTACK == false then
  1969. end
  1970. end
  1971.  
  1972. function MouseUp(Mouse)
  1973. HOLD = false
  1974. end
  1975.  
  1976. function KeyDown(Key)
  1977. KEYHOLD = true
  1978. if Key == "z" and ATTACK == false then
  1979. MagicMissiles()
  1980. end
  1981.  
  1982. if Key == "u" and ATTACK == false then
  1983. Taunt2()
  1984. end
  1985.  
  1986. if Key == "f" and ATTACK == false then
  1987. Taunt3()
  1988. end
  1989.  
  1990. if Key == "p" and ATTACK == false then
  1991. TakeOnMe()
  1992. end
  1993.  
  1994. if Key == "b" and ATTACK == false then
  1995. TimesUp()
  1996. end
  1997.  
  1998. if Key == "c" and ATTACK == false then
  1999. ChainPunch()
  2000. end
  2001.  
  2002. if Key == "g" and ATTACK == false then
  2003. Teleport()
  2004. end
  2005.  
  2006. if Key == "v" and ATTACK == false then
  2007. WarpMeteor()
  2008. end
  2009.  
  2010. if Key == "x" and ATTACK == false then
  2011. PandorasBox()
  2012. end
  2013.  
  2014. if Key == "t" and ATTACK == false then
  2015. Taunt()
  2016. end
  2017. end
  2018.  
  2019. function KeyUp(Key)
  2020. KEYHOLD = false
  2021. end
  2022.  
  2023. Mouse.Button1Down:connect(function(NEWKEY)
  2024. MouseDown(NEWKEY)
  2025. end)
  2026. Mouse.Button1Up:connect(function(NEWKEY)
  2027. MouseUp(NEWKEY)
  2028. end)
  2029. Mouse.KeyDown:connect(function(NEWKEY)
  2030. KeyDown(NEWKEY)
  2031. end)
  2032. Mouse.KeyUp:connect(function(NEWKEY)
  2033. KeyUp(NEWKEY)
  2034. end)
  2035.  
  2036. --//=================================\\
  2037. --\\=================================//
  2038.  
  2039.  
  2040. function unanchor()
  2041. if UNANCHOR == true then
  2042. RootPart.Anchored = false
  2043. end
  2044. g = Character:GetChildren()
  2045. for i = 1, #g do
  2046. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2047. g[i].Anchored = false
  2048. end
  2049. end
  2050. g = Weapon:GetChildren()
  2051. for i = 1, #g do
  2052. if g[i].ClassName == "Part" then
  2053. g[i].Anchored = false
  2054. end
  2055. end
  2056. end
  2057.  
  2058.  
  2059. --//=================================\\
  2060. --|| WRAP THE WHOLE SCRIPT UP
  2061. --\\=================================//
  2062.  
  2063. Humanoid.Changed:connect(function(Jump)
  2064. if Jump == "Jump" and (Disable_Jump == true) then
  2065. Humanoid.Jump = false
  2066. end
  2067. end)
  2068.  
  2069. while true do
  2070. Swait()
  2071. refit()
  2072. script.Parent = WEAPONGUI
  2073. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2074. v:Stop();
  2075. end
  2076. ANIMATE.Parent = nil
  2077. SINE = SINE + CHANGE*1.5
  2078. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2079. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2080. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2081. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2082. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2083. 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)
  2084. 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)
  2085. 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)
  2086. 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)
  2087. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2088. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2089. 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)
  2090. 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)
  2091. 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)
  2092. end
  2093. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2094. ANIM = "Jump"
  2095. if ATTACK == false then
  2096. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2097. 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)
  2098. 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)
  2099. 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)
  2100. 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)
  2101. 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)
  2102. end
  2103. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2104. ANIM = "Fall"
  2105. if ATTACK == false then
  2106. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2107. 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)
  2108. 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)
  2109. 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)
  2110. 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)
  2111. 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)
  2112. end
  2113. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2114. ANIM = "Idle"
  2115. if ATTACK == false then
  2116. 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)
  2117. 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)
  2118. 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)
  2119. 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)
  2120. 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)
  2121. 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)
  2122. end
  2123. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2124. ANIM = "Walk"
  2125. if ATTACK == false then
  2126. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2127. 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)
  2128. 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)
  2129. 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)
  2130. 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)
  2131. 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)
  2132. end
  2133. end
  2134. unanchor()
  2135. Humanoid.MaxHealth = "inf"
  2136. Humanoid.Health = "inf"
  2137. if Rooted == false then
  2138. Disable_Jump = false
  2139. Humanoid.WalkSpeed = Speed
  2140. elseif Rooted == true then
  2141. Disable_Jump = true
  2142. Humanoid.WalkSpeed = 0
  2143. end
  2144. for _, c in pairs(Character:GetChildren()) do
  2145. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2146. c.Material = "Fabric"
  2147. if c:FindFirstChildOfClass("ParticleEmitter") then
  2148. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2149. end
  2150. if c ~= Head then
  2151. c.Color = C3(0,0,0)
  2152. else
  2153. c.Color = C3(1,1,1)
  2154. end
  2155. if c == Head then
  2156. if c:FindFirstChild("face") then
  2157. c.face:remove()
  2158. end
  2159. end
  2160. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2161. c:remove()
  2162. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2163. c:remove()
  2164. end
  2165. end
  2166. sick.SoundId = "rbxassetid://1130685064"
  2167. sick.Looped = true
  2168. sick.Pitch = 1
  2169. sick.Volume = 2
  2170. sick.Parent = Torso
  2171. sick:Resume()
  2172. sick.Playing = true
  2173. Humanoid.Name = "Maniac Pandora = "..Player.Name
  2174.  
  2175. end
  2176.  
  2177. --//=================================\\
  2178. --\\=================================//
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184. --//====================================================\\--
  2185. --|| END OF SCRIPT
  2186. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement