DarkScriptZEditors

Pandora Fixed

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