Advertisement
Cute_Sylveon

Untitled

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