Xxxtimmy

pandora FE

Apr 27th, 2018
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.62 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84.  
  85.  
  86.  
  87. --//====================================================\\--
  88. --|| CREATED BY SHACKLUSTER
  89. --\\====================================================//--
  90.  
  91. wait(0.2)
  92.  
  93. Player = game:GetService("Players").LocalPlayer
  94. PlayerGui = Player.PlayerGui
  95. Cam = workspace.CurrentCamera
  96. Backpack = Player.Backpack
  97. Character = Player.Character
  98. Humanoid = Character.Humanoid
  99. Mouse = Player:GetMouse()
  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=1509634377"
  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. local tecks2 = IT("TextLabel",naeeym2)
  613. tecks2.BackgroundTransparency = 1
  614. tecks2.TextScaled = true
  615. tecks2.BorderSizePixel = 0
  616. tecks2.Text = "Pandora"
  617. tecks2.Font = "Fantasy"
  618. tecks2.TextSize = 30
  619. tecks2.TextStrokeTransparency = 0
  620. tecks2.TextColor3 = C3(1,1,1)
  621. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  622. tecks2.Size = UDim2.new(1,0,0.5,0)
  623. tecks2.Parent = naeeym2
  624. local top = Instance.new("Shirt")
  625. top.ShirtTemplate = "rbxassetid://1533635803"
  626. top.Parent = Character
  627. top.Name = "Cloth"
  628. local bottom = Instance.new("Pants")
  629. bottom.PantsTemplate = "rbxassetid://1460022985"
  630. bottom.Parent = Character
  631. bottom.Name = "Cloth"
  632. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  633. PRT.Color = C3(0,0,0)
  634. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  635. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  636. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  637. PRT.Color = C3(1,1,1)
  638. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  639. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  640. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  641. PRT.Color = C3(159/255, 111/255, 183/255)
  642. MakeForm(PRT,"Ball")
  643. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  644. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  645. PRT.Color = C3(159/255, 111/255, 183/255)
  646. MakeForm(PRT,"Ball")
  647. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  648. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  649. PRT.Color = C3(159/255, 111/255, 183/255)
  650. MakeForm(PRT,"Ball")
  651. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  652. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  653. PRT.Color = C3(159/255, 111/255, 183/255)
  654. MakeForm(PRT,"Ball")
  655. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  656. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  657. PRT.Color = C3(159/255, 111/255, 183/255)
  658. MakeForm(PRT,"Ball")
  659. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  660. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  661. PRT.Color = C3(159/255, 111/255, 183/255)
  662. MakeForm(PRT,"Ball")
  663. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  664.  
  665. local LASTPART = Head
  666. for i = 1, 24 do
  667. local MATH = (1-(i/30))
  668. if LASTPART == Head then
  669. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  670. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  671. LASTPART = Horn
  672. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  673. else
  674. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  675. 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))
  676. LASTPART = Horn
  677. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  678. end
  679. end
  680. local LASTPART = Head
  681. for i = 1, 24 do
  682. local MATH = (1-(i/30))
  683. if LASTPART == Head then
  684. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  685. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  686. LASTPART = Horn
  687. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  688. else
  689. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  690. 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))
  691. LASTPART = Horn
  692. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  693. end
  694. end
  695. local LASTPART = Head
  696. for i = 1, 8 do
  697. local MATH = (1-(i/14))
  698. if LASTPART == Head then
  699. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  700. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  701. LASTPART = Horn
  702. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  703. else
  704. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  705. 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))
  706. LASTPART = Horn
  707. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  708. end
  709. end
  710. local LASTPART = Head
  711. for i = 1, 8 do
  712. local MATH = (1-(i/14))
  713. if LASTPART == Head then
  714. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  715. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  716. LASTPART = Horn
  717. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  718. else
  719. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  720. 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))
  721. LASTPART = Horn
  722. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  723. end
  724. end
  725. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  726. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  727. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  728. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  729. MakeForm(PRT,"Cyl")
  730. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  731. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  732. MakeForm(PRT,"Cyl")
  733. PRT.Color = C3(159/255, 111/255, 183/255)
  734. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  735. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  736. MakeForm(RING,"Cyl")
  737. RING.Color = C3(0,0,0)
  738. for i = 1, 12 do
  739. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  740. PRT.Color = C3(0,0,0)
  741. local MSH = IT("BlockMesh",PRT)
  742. MSH.Scale = VT(0.6,1,1)
  743. 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))
  744. end
  745. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  746. PRT.Color = C3(0,0,0)
  747. local MSH = IT("BlockMesh",PRT)
  748. MSH.Scale = VT(0.4,1,1)
  749. 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))
  750. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  751. PRT.Color = C3(0,0,0)
  752. local MSH = IT("BlockMesh",PRT)
  753. MSH.Scale = VT(0.4,1,1)
  754. 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))
  755. coroutine.resume(coroutine.create(function()
  756. while true do
  757. Swait()
  758. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  759. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  760. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  761. if CLOCKLOOP <= -150 then
  762. if VALUE1 == false then
  763. CLOCKLOOP = 0
  764. 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})
  765. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  766. ApplyAoE(HITPOS,10,15,45,75,false)
  767. 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})
  768. 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})
  769. if CLOCKTARGET ~= nil then
  770. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  771. if CLOCKTARGET.Torso ~= nil then
  772. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  773. end
  774. if CLOCKTARGET.Health == 0 then
  775. CLOCKTARGET = nil
  776. end
  777. end
  778. end
  779. end
  780. end
  781. end))
  782.  
  783. for _, c in pairs(Weapon:GetChildren()) do
  784. if c.ClassName == "Part" then
  785. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  786. end
  787. end
  788.  
  789. Neck.Name = "Weld"
  790. RootJoint.Name = "Weld"
  791. RightShoulder.Name = "Weld"
  792. LeftShoulder.Name = "Weld"
  793. RightHip.Name = "Weld"
  794. LeftHip.Name = "Weld"
  795.  
  796. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  797. local SKILLFONT = "Fantasy"
  798. local SKILLTEXTSIZE = 7
  799.  
  800. Weapon.Parent = Character
  801. Humanoid.Parent = Character
  802.  
  803. Humanoid.Died:connect(function()
  804. ATTACK = true
  805. end)
  806.  
  807. 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")
  808. 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")
  809. 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")
  810. 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")
  811. 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")
  812.  
  813. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  814. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  815. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  816. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  817. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  818.  
  819. --//=================================\\
  820. --|| DAMAGING
  821. --\\=================================//
  822.  
  823. function ApplyDamage(Humanoid,Damage,TorsoPart)
  824. local defence = Instance.new("BoolValue",Humanoid.Parent)
  825. defence.Name = ("HitBy"..Player.Name)
  826. game:GetService("Debris"):AddItem(defence, 0.001)
  827. Damage = Damage * DAMAGEMULTIPLIER
  828. if Humanoid.Health ~= 0 then
  829. local CritChance = MRANDOM(1,100)
  830. if Damage > Humanoid.Health then
  831. Damage = math.ceil(Humanoid.Health)
  832. if Damage == 0 then
  833. Damage = 0.1
  834. end
  835. end
  836. Humanoid.Health = Humanoid.Health - Damage
  837. end
  838. end
  839.  
  840. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  841. local CHILDREN = workspace:GetDescendants()
  842. for index, CHILD in pairs(CHILDREN) do
  843. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  844. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  845. if HUM then
  846. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  847. if TORSO then
  848. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  849. if INSTAKILL == true then
  850. CHILD:BreakJoints()
  851. else
  852. local DMG = MRANDOM(MINDMG,MAXDMG)
  853. ApplyDamage(HUM,DMG,TORSO)
  854. end
  855. if FLING > 0 then
  856. for _, c in pairs(CHILD:GetChildren()) do
  857. if c:IsA("BasePart") then
  858. local bv = Instance.new("BodyVelocity")
  859. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  860. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  861. bv.Parent = c
  862. Debris:AddItem(bv,0.05)
  863. end
  864. end
  865. end
  866. end
  867. end
  868. end
  869. end
  870. end
  871. end
  872.  
  873. --//=================================\\
  874. --|| ATTACK FUNCTIONS AND STUFF
  875. --\\=================================//
  876.  
  877. function MagicMissiles()
  878. ATTACK = true
  879. Rooted = true
  880. local SELECTING = true
  881. local SPOTS = {}
  882. coroutine.resume(coroutine.create(function()
  883. local LOOP = 0
  884. repeat
  885. LOOP = LOOP + 1
  886. Swait()
  887. if LOOP >= 10 then
  888. LOOP = 0
  889. for i = 1, #SPOTS do
  890. if SPOTS[i] ~= nil then
  891. 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})
  892. 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})
  893. end
  894. end
  895. end
  896. 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)
  897. 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)
  898. 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)
  899. 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)
  900. 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)
  901. 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)
  902. until SELECTING == false
  903. Rooted = false
  904. repeat
  905. LOOP = LOOP + 1
  906. Swait()
  907. if LOOP >= 10 then
  908. LOOP = 0
  909. for i = 1, #SPOTS do
  910. if SPOTS[i] ~= nil then
  911. 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})
  912. 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})
  913. end
  914. end
  915. end
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. 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)
  921. 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)
  922. until ATTACK == false
  923. end))
  924. repeat
  925. repeat Swait() until HOLD == true
  926. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  927. if DIST > 65 then
  928. DIST = 65
  929. end
  930. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  931. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  932. if HITFLOOR ~= nil then
  933. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  934. 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})
  935. 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})
  936. end
  937. repeat Swait() until HOLD == false
  938. until #SPOTS == 5
  939. SELECTING = false
  940. for i = 1, #SPOTS do
  941. if SPOTS[i] ~= nil then
  942. local POS = SPOTS[i]
  943. coroutine.resume(coroutine.create(function()
  944. local MISSILE = IT("Model",Effects)
  945. MISSILE.Name = "Missile"
  946. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  947. MakeForm(BASEPART,"Cyl")
  948. MISSILE.PrimaryPart = BASEPART
  949. BASEPART.CFrame = POS*CF(0,-30*3,0)
  950. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  951. MakeForm(HEAD,"Ball")
  952. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  953. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  954. MakeForm(TAIL,"Cyl")
  955. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  956. for i = 1, 10 do
  957. Swait()
  958. for _, c in pairs(MISSILE:GetChildren()) do
  959. if c.ClassName == "Part" then
  960. c.Transparency = c.Transparency - 1/10
  961. end
  962. end
  963. end
  964. for i = 1, 15*1.5 do
  965. Swait()
  966. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  967. end
  968. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  969. 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})
  970. 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})
  971. 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})
  972. 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})
  973. MISSILE:remove()
  974. end))
  975. end
  976. end
  977. wait(0.6)
  978. ATTACK = false
  979. Rooted = false
  980. end
  981.  
  982. function TimesUp()
  983. CLOCKTARGET = nil
  984. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  985. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  986. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  987. if TORSO then
  988. ATTACK = true
  989. Rooted = false
  990. coroutine.resume(coroutine.create(function()
  991. repeat
  992. Swait()
  993. 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)
  994. 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)
  995. 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)
  996. 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)
  997. 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)
  998. 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)
  999. until ATTACK == false
  1000. end))
  1001. if Effects:FindFirstChild("NeonDoll") then
  1002. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1003. end
  1004. wait(0.5)
  1005. local FAKECHARACTER = IT("Model",Effects)
  1006. FAKECHARACTER.Name = "NeonDoll"
  1007. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1008. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1009. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1010. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1011. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1012. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1013. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1014. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1015. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1016. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1017. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1018. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1019. CreateSound(201858045, TORS, 5, 0.4, false)
  1020. for i = 1, 150 do
  1021. Swait()
  1022. CLOCKSPEED = 6
  1023. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1024. if c.ClassName == "Part" then
  1025. c.Transparency = c.Transparency - 0.5/150
  1026. end
  1027. end
  1028. end
  1029. CLOCKTARGET = HUM
  1030. coroutine.resume(coroutine.create(function()
  1031. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1032. for i = 1, 25 do
  1033. Swait()
  1034. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1035. if c.ClassName == "Part" then
  1036. c.Transparency = c.Transparency + 0.5/25
  1037. end
  1038. end
  1039. end
  1040. CLOCKSPEED = 1
  1041. FAKECHARACTER:remove()
  1042. end))
  1043. wait(0.5)
  1044. ATTACK = false
  1045. Rooted = false
  1046. end
  1047. end
  1048. end
  1049.  
  1050. function ChainPunch()
  1051. ATTACK = true
  1052. Rooted = false
  1053. local GYRO = IT("BodyGyro",RootPart)
  1054. GYRO.D = 25
  1055. GYRO.P = 2000
  1056. GYRO.MaxTorque = VT(0,40000,0)
  1057. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1058. repeat
  1059. Swait()
  1060. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1061. 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)
  1062. 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)
  1063. 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)
  1064. 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)
  1065. 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)
  1066. 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)
  1067. until HOLD == true
  1068. local POS = Mouse.Hit.p
  1069. local CHAINS = false
  1070. local CHAINLINKS = {}
  1071. local A = IT("Attachment",RightArm)
  1072. A.Position = VT(1,-1,0)*SIZE
  1073. A.Orientation = VT(-90, -89.982, 0)
  1074. local B = IT("Attachment",RightArm)
  1075. B.Position = VT(-1,-1,0)*SIZE
  1076. B.Orientation = VT(-90, 89.988, 0)
  1077. local C = IT("Attachment",RightArm)
  1078. C.Position = VT(0.5,-1.3,0)*SIZE
  1079. C.Orientation = VT(-90, -89.982, 0)
  1080. local D = IT("Attachment",RightArm)
  1081. D.Position = VT(-0.5,-1.3,0)*SIZE
  1082. D.Orientation = VT(-90, 89.988, 0)
  1083. local LIGHT = IT("Attachment",RightArm)
  1084. LIGHT.Position = VT(0,-1,0)*SIZE
  1085. local LIGHT2 = IT("PointLight",LIGHT)
  1086. LIGHT2.Range = 7
  1087. LIGHT2.Brightness = 5
  1088. LIGHT2.Color = SKILLTEXTCOLOR
  1089. for i = 1, 2 do
  1090. local TWIST = -2
  1091. local START = A
  1092. local END = B
  1093. if i == 1 then
  1094. START = B
  1095. END = A
  1096. end
  1097. local ChainLink = IT("Beam",Torso)
  1098. ChainLink.Texture = "rbxassetid://73042633"
  1099. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1100. ChainLink.TextureSpeed = 1
  1101. ChainLink.Width0 = 1
  1102. ChainLink.Width1 = 1
  1103. ChainLink.TextureLength = 2.5
  1104. ChainLink.Attachment0 = START
  1105. ChainLink.Attachment1 = END
  1106. ChainLink.CurveSize0 = TWIST
  1107. ChainLink.CurveSize1 = TWIST
  1108. --ChainLink.FaceCamera = true
  1109. ChainLink.Segments = 45
  1110. ChainLink.Transparency = NumberSequence.new(1)
  1111. table.insert(CHAINLINKS,ChainLink)
  1112. end
  1113. for i = 1, 2 do
  1114. local TWIST = -1
  1115. local START = C
  1116. local END = D
  1117. if i == 1 then
  1118. START = D
  1119. END = C
  1120. end
  1121. local ChainLink = IT("Beam",Torso)
  1122. ChainLink.Texture = "rbxassetid://73042633"
  1123. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1124. ChainLink.TextureSpeed = 1
  1125. ChainLink.Width0 = 1
  1126. ChainLink.Width1 = 1
  1127. ChainLink.TextureLength = 5
  1128. ChainLink.Attachment0 = START
  1129. ChainLink.Attachment1 = END
  1130. ChainLink.CurveSize0 = TWIST
  1131. ChainLink.CurveSize1 = TWIST
  1132. --ChainLink.FaceCamera = true
  1133. ChainLink.Segments = 25
  1134. ChainLink.LightEmission = 0.5
  1135. ChainLink.Transparency = NumberSequence.new(1)
  1136. table.insert(CHAINLINKS,ChainLink)
  1137. end
  1138. coroutine.resume(coroutine.create(function()
  1139. repeat
  1140. Swait()
  1141. 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)
  1142. 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)
  1143. 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)
  1144. 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)
  1145. 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)
  1146. 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)
  1147. until CHAINS == true
  1148. repeat
  1149. Swait()
  1150. 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)
  1151. 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)
  1152. 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)
  1153. 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)
  1154. 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)
  1155. 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)
  1156. until ATTACK == false
  1157. for e = 1, 15 do
  1158. Swait()
  1159. for i = 1, #CHAINLINKS do
  1160. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1161. end
  1162. end
  1163. A:remove()
  1164. B:remove()
  1165. C:remove()
  1166. D:remove()
  1167. end))
  1168. CreateSound(233856115, RightArm, 5, 1.2, false)
  1169. for e = 1, 15 do
  1170. Swait()
  1171. for i = 1, #CHAINLINKS do
  1172. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1173. end
  1174. end
  1175. CHAINS = true
  1176. Rooted = true
  1177. wait(0.25)
  1178. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1179. FIST.Color = C3(1, 215/255, 1)
  1180. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1181. local LIGHT3 = IT("PointLight",FIST)
  1182. LIGHT3.Range = 7
  1183. LIGHT3.Brightness = 5
  1184. LIGHT3.Color = SKILLTEXTCOLOR
  1185. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1186. local FISTA = IT("Attachment",FIST)
  1187. FISTA.Position = VT(0.062, 0.977, 0)
  1188. local ChainLink = IT("Beam",Torso)
  1189. ChainLink.Texture = "rbxassetid://73042633"
  1190. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1191. ChainLink.TextureSpeed = 0
  1192. ChainLink.Width0 = 3
  1193. ChainLink.Width1 = 3
  1194. ChainLink.TextureLength = 12
  1195. ChainLink.Attachment0 = LIGHT
  1196. ChainLink.Attachment1 = FISTA
  1197. ChainLink.FaceCamera = true
  1198. ChainLink.Segments = 45
  1199. ChainLink.LightEmission = 0.5
  1200. ChainLink.Transparency = NumberSequence.new(0.25)
  1201. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1202. for i = 1, 85 do
  1203. Swait()
  1204. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1205. ChainLink.TextureLength = 12+(i*2)
  1206. ApplyAoE(FIST.Position,10,15,25,100,false)
  1207. 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})
  1208. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1209. if HITFLOOR ~= nil then
  1210. HITFLOOR:BreakJoints()
  1211. coroutine.resume(coroutine.create(function()
  1212. for i = 1, 15 do
  1213. Swait()
  1214. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1215. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1216. 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})
  1217. end
  1218. end))
  1219. break
  1220. end
  1221. end
  1222. coroutine.resume(coroutine.create(function()
  1223. for i = 1, 50 do
  1224. Swait()
  1225. FIST.Transparency = FIST.Transparency + 0.5/50
  1226. LIGHT3.Range = LIGHT3.Range - 7/50
  1227. end
  1228. FIST:remove()
  1229. end))
  1230. LIGHT:remove()
  1231. GYRO:remove()
  1232. ATTACK = false
  1233. Rooted = false
  1234. end
  1235.  
  1236. function WarpMeteor()
  1237. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1238. if DIST > 180 then
  1239. DIST = 180
  1240. end
  1241. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1242. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1243. if HITFLOOR then
  1244. local POS = HITPOS
  1245. ATTACK = true
  1246. Rooted = true
  1247. local WARPED = false
  1248. local SMASHED = false
  1249. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1250. coroutine.resume(coroutine.create(function()
  1251. repeat
  1252. Swait()
  1253. 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)
  1254. 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)
  1255. 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)
  1256. 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)
  1257. 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)
  1258. 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)
  1259. until WARPED == true
  1260. repeat
  1261. Swait()
  1262. 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)
  1263. 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)
  1264. 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)
  1265. 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)
  1266. 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)
  1267. 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)
  1268. until SMASHED == true
  1269. repeat
  1270. Swait()
  1271. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. 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)
  1276. 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)
  1277. until ATTACK == false
  1278. end))
  1279. VALUE1 = true
  1280. CreateSound(233856115, Torso, 5, 1.6, false)
  1281. for i = 1, 25 do
  1282. Swait()
  1283. for _, c in pairs(Character:GetChildren()) do
  1284. if c.ClassName == "Part" then
  1285. c.Transparency = c.Transparency + 1/25
  1286. end
  1287. end
  1288. for _, c in pairs(Weapon:GetChildren()) do
  1289. if c.ClassName == "Part" then
  1290. c.Transparency = c.Transparency + 1/25
  1291. end
  1292. end
  1293. end
  1294. UNANCHOR = false
  1295. RootPart.Anchored = true
  1296. RootPart.Velocity = VT(0,0,0)
  1297. local ROOTPOS = RootPart.Position
  1298. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1299. WARPED = true
  1300. for i = 1, 25 do
  1301. Swait()
  1302. for _, c in pairs(Character:GetChildren()) do
  1303. if c.ClassName == "Part" then
  1304. c.Transparency = c.Transparency - 1/25
  1305. end
  1306. end
  1307. for _, c in pairs(Weapon:GetChildren()) do
  1308. if c.ClassName == "Part" then
  1309. c.Transparency = c.Transparency - 1/25
  1310. end
  1311. end
  1312. end
  1313. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  1314. SHELL.CFrame = RootPart.CFrame
  1315. MakeForm(SHELL,"Ball")
  1316. CreateSound(402981977, SHELL, 5, 1.6, false)
  1317. for i = 1, 10 do
  1318. Swait()
  1319. SHELL.Transparency = SHELL.Transparency - 1/10
  1320. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1321. end
  1322. for i = 1, math.ceil(75/2) do
  1323. Swait()
  1324. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1325. SHELL.CFrame = CF(RootPart.Position)
  1326. 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})
  1327. end
  1328. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1329. SHELL.CFrame = CF(RootPart.Position)
  1330. 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})
  1331. 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})
  1332. 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})
  1333. for i = 1, 5 do
  1334. 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})
  1335. end
  1336. SHELL:remove()
  1337. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1338. SMASHED = true
  1339. wait(1)
  1340. VALUE1 = false
  1341. UNANCHOR = true
  1342. ATTACK = false
  1343. Rooted = false
  1344. end
  1345. end
  1346.  
  1347. function PandorasBox()
  1348. 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)
  1349. if HITFLOOR ~= nil then
  1350. ATTACK = true
  1351. Rooted = true
  1352. local RINGSPIN = true
  1353. local CONSTRUCTING = true
  1354. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1355. RING.Color = C3(0,0,0)
  1356. MakeForm(RING,"Cyl")
  1357. RING.CFrame = CF(HITPOS)
  1358. CreateSound(402981977, RING, 5, 1.2, false)
  1359. coroutine.resume(coroutine.create(function()
  1360. repeat
  1361. Swait()
  1362. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1363. 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)
  1364. 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)
  1365. 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)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. until CONSTRUCTING == false
  1370. repeat
  1371. Swait()
  1372. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1373. until RINGSPIN == false
  1374. for i = 1, 25 do
  1375. Swait()
  1376. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1377. RING.Size = RING.Size - VT(0.15,0,0.15)
  1378. --DECAL.Transparency = DECAL.Transparency + 1/25
  1379. RING.Transparency = RING.Transparency + 1/25
  1380. end
  1381. RING:remove()
  1382. end))
  1383. for i = 1, 15 do
  1384. Swait()
  1385. RING.Size = RING.Size + VT(0.75,0,0.75)
  1386. RING.Transparency = RING.Transparency - 1/15
  1387. end
  1388. local BOXSPIN = true
  1389. local PANDORASBOX = IT("Model",Effects)
  1390. PANDORASBOX.Name = "Pandora's Box"
  1391. local BOX = IT("Model",PANDORASBOX)
  1392. BOX.Name = "Body"
  1393. local LID = IT("Model",PANDORASBOX)
  1394. LID.Name = "Lid"
  1395. --BUILDING THE BOX--
  1396. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1397. BASE.Color = C3(0,0,0)
  1398. PANDORASBOX.PrimaryPart = BASE
  1399. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1400. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1401. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1402. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1403. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1404. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1405. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1406. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1407. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1408. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1409. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1410. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1411. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1412. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1413. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1414. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1415. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1416. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1417. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1418. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1419. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1420. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1421. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1422. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1423. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1424. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1425. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1426. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1427. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1428. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1429. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1430. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1431. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1432. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1433. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1434. -------------
  1435. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1436. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1437. LID.PrimaryPart = LIDPART
  1438. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1439. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1440. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1441. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1442. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1443. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1444. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1445. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1446. local DECAL = IT("Decal",LIDPART)
  1447. DECAL.Face = "Top"
  1448. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1449. DECAL.Color3 = C3(0,0,0)
  1450. --BUILDING THE BOX--
  1451. coroutine.resume(coroutine.create(function()
  1452. repeat
  1453. Swait()
  1454. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1455. until BOXSPIN == false
  1456. end))
  1457. for i = 1, 25 do
  1458. Swait()
  1459. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1460. end
  1461. wait(0.5)
  1462. BOXSPIN = false
  1463. CONSTRUCTING = false
  1464. coroutine.resume(coroutine.create(function()
  1465. 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})
  1466. --[[for i = 1, 45 do
  1467. Swait()
  1468. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1469. end-
  1470. LID:remove()]]--
  1471. for _, c in pairs(LID:GetChildren()) do
  1472. if c.ClassName == "Part" then
  1473. c.Anchored = false
  1474. c.CanCollide = true
  1475. if c ~= LIDPART then
  1476. weldBetween(LIDPART,c)
  1477. end
  1478. end
  1479. end
  1480. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1481. Debris:AddItem(LID,15)
  1482. wait(0.5)
  1483. local RANDOMEFFECT = MRANDOM(1,4)
  1484. if RANDOMEFFECT == 1 then
  1485. for i = 1, 45 do
  1486. wait((2-(i/15))/15)
  1487. 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})
  1488. end
  1489. wait(1)
  1490. 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})
  1491. 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})
  1492. 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})
  1493. for i = 1, 5 do
  1494. 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})
  1495. end
  1496. ApplyAoE(BASE.Position,50,1,200,375,false)
  1497. ApplyAoE(BASE.Position,250,35,75,175,false)
  1498. elseif RANDOMEFFECT == 2 then
  1499. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1500. FIELD.CFrame = BASE.CFrame
  1501. MakeForm(FIELD,"Ball")
  1502. for i = 1, 50 do
  1503. Swait()
  1504. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1505. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1506. end
  1507. wait(0.2)
  1508. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1509. coroutine.resume(coroutine.create(function()
  1510. for i = 1, 75 do
  1511. Swait()
  1512. LOOP.Volume = LOOP.Volume + 10/75
  1513. LOOP.Parent = FIELD
  1514. local CHILDREN = workspace:GetDescendants()
  1515. for index, CHILD in pairs(CHILDREN) do
  1516. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1517. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1518. if HUM then
  1519. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1520. if TORSO then
  1521. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1522. HUM.Health = HUM.Health - 0.1
  1523. TORSO.Velocity = VT(0,5,0)
  1524. HUM.PlatformStand = true
  1525. if TORSO.RotVelocity.Magnitude < 15 then
  1526. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1527. end
  1528. end
  1529. end
  1530. end
  1531. end
  1532. end
  1533. FIELD.Size = FIELD.Size + VT(3,3,3)
  1534. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1535. end
  1536. for i = 1, 500 do
  1537. Swait()
  1538. LOOP.Parent = FIELD
  1539. local CHILDREN = workspace:GetDescendants()
  1540. for index, CHILD in pairs(CHILDREN) do
  1541. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1542. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1543. if HUM then
  1544. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1545. if TORSO then
  1546. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1547. TORSO.Velocity = VT(0,5,0)
  1548. HUM.Health = HUM.Health - 0.1
  1549. HUM.PlatformStand = true
  1550. if TORSO.RotVelocity.Magnitude < 15 then
  1551. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1552. end
  1553. end
  1554. end
  1555. end
  1556. end
  1557. end
  1558. end
  1559. for i = 1, 25 do
  1560. Swait()
  1561. LOOP.Volume = LOOP.Volume + 10/25
  1562. LOOP.Parent = FIELD
  1563. local CHILDREN = workspace:GetDescendants()
  1564. for index, CHILD in pairs(CHILDREN) do
  1565. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1566. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1567. if HUM then
  1568. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1569. if TORSO then
  1570. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1571. TORSO.Velocity = VT(0,5,0)
  1572. HUM.Health = HUM.Health - 0.1
  1573. HUM.PlatformStand = false
  1574. if TORSO.RotVelocity.Magnitude < 15 then
  1575. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1576. end
  1577. end
  1578. end
  1579. end
  1580. end
  1581. end
  1582. FIELD.Size = FIELD.Size - VT(3,3,3)
  1583. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1584. end
  1585. FIELD:remove()
  1586. end))
  1587. elseif RANDOMEFFECT == 3 then
  1588. for i = 1, 10 do
  1589. wait(0.15)
  1590. 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})
  1591. coroutine.resume(coroutine.create(function()
  1592. local MINION = CLONE:Clone()
  1593. MINION.Parent = Effects
  1594. MINION.Name = "Shadow"
  1595. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1596. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1597. for _, c in pairs(MINION:GetChildren()) do
  1598. if c.ClassName == "Part" then
  1599. c.Material = "Neon"
  1600. c.Color = C3(0,0,0)
  1601. c.Transparency = 0.25
  1602. if c.Name == "Head" then
  1603. c:ClearAllChildren()
  1604. local MSH = IT("BlockMesh",c)
  1605. MSH.Scale = VT(0.5,1,1)
  1606. end
  1607. end
  1608. end
  1609. local TORSO = MINION.Torso
  1610. local HUMAN = MINION.Humanoid
  1611. HUMAN.WalkSpeed = 20
  1612. HUMAN.MaxHealth = math.huge
  1613. HUMAN.Health = math.huge
  1614. HUMAN.DisplayDistanceType = "None"
  1615. HUMAN.Died:connect(function()
  1616. MINION:remove()
  1617. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1618. end)
  1619. wait(1)
  1620. local findNearestTorso = function(POS)
  1621. local list = game.Workspace:GetDescendants()
  1622. local torso = nil
  1623. local dist = 500
  1624. local temp = nil
  1625. local human = nil
  1626. local temp2 = nil
  1627. for x = 1, #list do
  1628. temp2 = list[x]
  1629. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1630. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1631. human = temp2:findFirstChildOfClass("Humanoid")
  1632. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1633. if (temp.Position - POS).magnitude < dist then
  1634. torso = temp
  1635. dist = (temp.Position - POS).magnitude
  1636. end
  1637. end
  1638. end
  1639. end
  1640. return torso, dist
  1641. end
  1642. for i = 1, 40 do
  1643. if HUMAN.Health == 0 then
  1644. break
  1645. end
  1646. wait(0.3)
  1647. local target,dist= findNearestTorso(TORSO.Position)
  1648. if target then
  1649. HUMAN:MoveTo(target.Position)
  1650. if dist < 25 then
  1651. CreateSound(348663022, TORSO, 10, 1, true)
  1652. wait(2)
  1653. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1654. --ANIM:Play()
  1655. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1656. ApplyAoE(TORSO.Position,10,0,0,85,true)
  1657. 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})
  1658. for i = 1, 5 do
  1659. 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})
  1660. end
  1661. break
  1662. end
  1663. end
  1664. end
  1665. MINION:remove()
  1666. end))
  1667. end
  1668. elseif RANDOMEFFECT == 4 then
  1669. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1670. FIELD.Color = C3(0,0,0)
  1671. FIELD.CFrame = BASE.CFrame
  1672. MakeForm(FIELD,"Ball")
  1673. FIELD.CanCollide = true
  1674. for i = 1, 50 do
  1675. Swait()
  1676. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1677. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1678. end
  1679. wait(0.2)
  1680. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1681. coroutine.resume(coroutine.create(function()
  1682. local E = 0
  1683. for i = 1, 75 do
  1684. E = E + 1
  1685. Swait()
  1686. if E >= 35 then
  1687. E = 0
  1688. 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})
  1689. end
  1690. LOOP.Volume = LOOP.Volume + 10/75
  1691. LOOP.Parent = FIELD
  1692. local CHILDREN = workspace:GetDescendants()
  1693. for index, CHILD in pairs(CHILDREN) do
  1694. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1695. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1696. if HUM then
  1697. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1698. if TORSO then
  1699. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1700. for _, c in pairs(CHILD:GetChildren()) do
  1701. if c:IsA("BasePart") then
  1702. local bv = Instance.new("BodyVelocity")
  1703. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1704. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1705. bv.Parent = c
  1706. Debris:AddItem(bv,0.05)
  1707. end
  1708. end
  1709. HUM.Health = HUM.Health - 0.3
  1710. end
  1711. end
  1712. end
  1713. end
  1714. end
  1715. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1716. end
  1717. for i = 1, 180 do
  1718. E = E + 1
  1719. Swait()
  1720. if E >= 35 then
  1721. E = 0
  1722. 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})
  1723. end
  1724. LOOP.Parent = FIELD
  1725. local CHILDREN = workspace:GetDescendants()
  1726. for index, CHILD in pairs(CHILDREN) do
  1727. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1728. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1729. if HUM then
  1730. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1731. if TORSO then
  1732. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1733. for _, c in pairs(CHILD:GetChildren()) do
  1734. if c:IsA("BasePart") then
  1735. local bv = Instance.new("BodyVelocity")
  1736. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1737. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1738. bv.Parent = c
  1739. Debris:AddItem(bv,0.05)
  1740. end
  1741. end
  1742. HUM.Health = HUM.Health - 0.3
  1743. end
  1744. end
  1745. end
  1746. end
  1747. end
  1748. end
  1749. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1750. 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})
  1751. for i = 1, 5 do
  1752. 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})
  1753. end
  1754. FIELD:remove()
  1755. end))
  1756. elseif RANDOMEFFECT == 5 then
  1757. end
  1758. wait(0.5)
  1759. for i = 1, 25 do
  1760. Swait()
  1761. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1762. end
  1763. PANDORASBOX:remove()
  1764. RINGSPIN = false
  1765. end))
  1766. ATTACK = false
  1767. Rooted = false
  1768. end
  1769. end
  1770.  
  1771. function Taunt()
  1772. ATTACK = true
  1773. local LAUGH = nil
  1774. coroutine.resume(coroutine.create(function()
  1775. repeat
  1776. Swait()
  1777. 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)
  1778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1779. 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)
  1780. 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)
  1781. 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)
  1782. 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)
  1783. until LAUGH ~= nil
  1784. repeat
  1785. Swait()
  1786. LAUGH.Parent = Head
  1787. 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)
  1788. 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)
  1789. 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)
  1790. 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)
  1791. 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)
  1792. 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)
  1793. until LAUGH.Playing == false
  1794. ATTACK = false
  1795. end))
  1796. wait(0.1)
  1797. sick:Pause()
  1798. LAUGH = CreateSound(130792236, Head, 10, 1, false)
  1799. wait(1)
  1800. sick:Resume()
  1801. end
  1802.  
  1803. --//=================================\\
  1804. --|| ASSIGN THINGS TO KEYS
  1805. --\\=================================//
  1806.  
  1807. function MouseDown(Mouse)
  1808. HOLD = true
  1809. if ATTACK == false then
  1810. end
  1811. end
  1812.  
  1813. function MouseUp(Mouse)
  1814. HOLD = false
  1815. end
  1816.  
  1817. function KeyDown(Key)
  1818. KEYHOLD = true
  1819. if Key == "z" and ATTACK == false then
  1820. MagicMissiles()
  1821. end
  1822.  
  1823. if Key == "b" and ATTACK == false then
  1824. TimesUp()
  1825. end
  1826.  
  1827. if Key == "c" and ATTACK == false then
  1828. ChainPunch()
  1829. end
  1830.  
  1831. if Key == "v" and ATTACK == false then
  1832. WarpMeteor()
  1833. end
  1834.  
  1835. if Key == "x" and ATTACK == false then
  1836. PandorasBox()
  1837. end
  1838.  
  1839. if Key == "t" and ATTACK == false then
  1840. Taunt()
  1841. end
  1842. end
  1843.  
  1844. function KeyUp(Key)
  1845. KEYHOLD = false
  1846. end
  1847.  
  1848. Mouse.Button1Down:connect(function(NEWKEY)
  1849. MouseDown(NEWKEY)
  1850. end)
  1851. Mouse.Button1Up:connect(function(NEWKEY)
  1852. MouseUp(NEWKEY)
  1853. end)
  1854. Mouse.KeyDown:connect(function(NEWKEY)
  1855. KeyDown(NEWKEY)
  1856. end)
  1857. Mouse.KeyUp:connect(function(NEWKEY)
  1858. KeyUp(NEWKEY)
  1859. end)
  1860.  
  1861. --//=================================\\
  1862. --\\=================================//
  1863.  
  1864.  
  1865. function unanchor()
  1866. if UNANCHOR == true then
  1867. RootPart.Anchored = false
  1868. end
  1869. g = Character:GetChildren()
  1870. for i = 1, #g do
  1871. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1872. g[i].Anchored = false
  1873. end
  1874. end
  1875. g = Weapon:GetChildren()
  1876. for i = 1, #g do
  1877. if g[i].ClassName == "Part" then
  1878. g[i].Anchored = false
  1879. end
  1880. end
  1881. end
  1882.  
  1883.  
  1884. --//=================================\\
  1885. --|| WRAP THE WHOLE SCRIPT UP
  1886. --\\=================================//
  1887.  
  1888. Humanoid.Changed:connect(function(Jump)
  1889. if Jump == "Jump" and (Disable_Jump == true) then
  1890. Humanoid.Jump = false
  1891. end
  1892. end)
  1893.  
  1894. while true do
  1895. Swait()
  1896. script.Parent = WEAPONGUI
  1897. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1898. v:Stop();
  1899. end
  1900. ANIMATE.Parent = nil
  1901. SINE = SINE + CHANGE*1.5
  1902. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1903. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1904. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1905. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1906. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1907. 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)
  1908. 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)
  1909. 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)
  1910. 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)
  1911. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1912. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1913. 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)
  1914. 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)
  1915. 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)
  1916. end
  1917. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1918. ANIM = "Jump"
  1919. if ATTACK == false then
  1920. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1921. 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)
  1922. 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)
  1923. 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)
  1924. 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)
  1925. 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)
  1926. end
  1927. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1928. ANIM = "Fall"
  1929. if ATTACK == false then
  1930. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1931. 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)
  1932. 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)
  1933. 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)
  1934. 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)
  1935. 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)
  1936. end
  1937. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1938. ANIM = "Idle"
  1939. if ATTACK == false then
  1940. 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)
  1941. 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)
  1942. 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)
  1943. 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)
  1944. 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)
  1945. 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)
  1946. end
  1947. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1948. ANIM = "Walk"
  1949. if ATTACK == false then
  1950. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1951. 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)
  1952. 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)
  1953. 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)
  1954. 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)
  1955. 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)
  1956. end
  1957. end
  1958. unanchor()
  1959. Humanoid.MaxHealth = "inf"
  1960. Humanoid.Health = "inf"
  1961. if Rooted == false then
  1962. Disable_Jump = false
  1963. Humanoid.WalkSpeed = Speed
  1964. elseif Rooted == true then
  1965. Disable_Jump = true
  1966. Humanoid.WalkSpeed = 0
  1967. end
  1968. for _, c in pairs(Character:GetChildren()) do
  1969. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1970. c.Material = "Fabric"
  1971. if c:FindFirstChildOfClass("ParticleEmitter") then
  1972. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1973. end
  1974. if c ~= Head then
  1975. c.Color = C3(0,0,0)
  1976. else
  1977. c.Color = C3(1,1,1)
  1978. end
  1979. if c == Head then
  1980. if c:FindFirstChild("face") then
  1981. c.face:remove()
  1982. end
  1983. end
  1984. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1985. c:remove()
  1986. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1987. c:remove()
  1988. end
  1989. end
  1990. sick.SoundId = "rbxassetid://"..SONG
  1991. sick.Looped = true
  1992. sick.Pitch = 1
  1993. sick.Volume = 5
  1994. sick.Parent = Torso
  1995. sick:Resume()
  1996. --sick.Playing = false
  1997. Humanoid.Name = "Pandora = "..Player.Name
  1998. end
  1999.  
  2000. --//=================================\\
  2001. --\\=================================//
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007. --//====================================================\\--
  2008. --|| END OF SCRIPT
  2009. --\\====================================================//--
Add Comment
Please, Sign In to add comment