StarzoZero

Roblox FE Pandora

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