Advertisement
EnderPlayBro

Untitled

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