Advertisement
SirSkyvalky

nahidpandorafe

Aug 17th, 2018
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 173.71 KB | None | 0 0
  1. ---------------
  2. --Nahid pandora--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by
  6. --Edited by ozzak1003--
  7. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  8. --Discord: ozzak1003ripagain#3275
  9. --------------------------------
  10. hello good sir
  11. Don't leak pls
  12. Enjoy ;)
  13. --------------------------------
  14. ]])
  15. wait(0.2)
  16. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  17. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  18. do
  19. print("FE Compatibility code by Mokiros")
  20. script.Parent = Player.Character
  21.  
  22. --RemoteEvent for communicating
  23. local Event = Instance.new("RemoteEvent")
  24. Event.Name = "UserInput_Event"
  25.  
  26. --Fake event to make stuff like Mouse.KeyDown work
  27. local function fakeEvent()
  28. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  29. t.connect = t.Connect
  30. return t
  31. end
  32.  
  33. --Creating fake input objects with fake variables
  34. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  35. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  36. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  37. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  38. end}
  39. --Merged 2 functions into one by checking amount of arguments
  40. CAS.UnbindAction = CAS.BindAction
  41.  
  42. --This function will trigger the events that have been :Connect()'ed
  43. local function te(self,ev,...)
  44. local t = m[ev]
  45. if t and t._fakeEvent and t.Function then
  46. t.Function(...)
  47. end
  48. end
  49. m.TrigEvent = te
  50. UIS.TrigEvent = te
  51.  
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=Player then return end
  54. if io.isMouse then
  55. m.Target = io.Target
  56. m.Hit = io.Hit
  57. else
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. for _,t in pairs(CAS.Actions) do
  63. for _,k in pairs(t.Keys) do
  64. if k==io.KeyCode then
  65. t.Function(t.Name,io.UserInputState,io)
  66. end
  67. end
  68. end
  69. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  70. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  71. end
  72. end)
  73. Event.Parent = NLS([==[
  74. local Player = game:GetService("Players").LocalPlayer
  75. local Event = script:WaitForChild("UserInput_Event")
  76.  
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,a)
  79. if a then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85.  
  86. local Mouse = Player:GetMouse()
  87. local h,t
  88. --Give the server mouse data 30 times every second, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. while wait(1/30) do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. end]==],Player.Character)
  96. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  97. end
  98. Player = owner
  99. PlayerGui = Player.PlayerGui
  100. Cam = workspace.CurrentCamera
  101. Backpack = Player.Backpack
  102. Character = Player.Character
  103. Humanoid = Character.Humanoid
  104. RootPart = Character["HumanoidRootPart"]
  105. Torso = Character["Torso"]
  106. Head = Character["Head"]
  107. RightArm = Character["Right Arm"]
  108. LeftArm = Character["Left Arm"]
  109. RightLeg = Character["Right Leg"]
  110. LeftLeg = Character["Left Leg"]
  111. RootJoint = RootPart["RootJoint"]
  112. Neck = Torso["Neck"]
  113. RightShoulder = Torso["Right Shoulder"]
  114. LeftShoulder = Torso["Left Shoulder"]
  115. RightHip = Torso["Right Hip"]
  116. LeftHip = Torso["Left Hip"]
  117. Character.Archivable = true
  118. Player:ClearCharacterAppearance()
  119.  
  120. IT = Instance.new
  121. CF = CFrame.new
  122. VT = Vector3.new
  123. RAD = math.rad
  124. C3 = Color3.new
  125. UD2 = UDim2.new
  126. BRICKC = BrickColor.new
  127. ANGLES = CFrame.Angles
  128. EULER = CFrame.fromEulerAnglesXYZ
  129. COS = math.cos
  130. ACOS = math.acos
  131. SIN = math.sin
  132. ASIN = math.asin
  133. ABS = math.abs
  134. MRANDOM = math.random
  135. FLOOR = math.floor
  136.  
  137. --//=================================\\
  138. --|| USEFUL VALUES
  139. --\\=================================//
  140.  
  141. Animation_Speed = 3
  142. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  143. local Speed = 20
  144. local SIZE = 1
  145. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  146. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  148. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  149. local DAMAGEMULTIPLIER = 1
  150. local ANIM = "Idle"
  151. local ATTACK = false
  152. local EQUIPPED = false
  153. local HOLD = false
  154. local COMBO = 1
  155. local Rooted = false
  156. local SINE = 0
  157. local KEYHOLD = false
  158. local CHANGE = 2 / Animation_Speed
  159. local WALKINGANIM = false
  160. local VALUE1 = false
  161. local VALUE2 = false
  162. local ROBLOXIDLEANIMATION = IT("Animation")
  163. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  164. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  165. local ATANIM = IT("Animation")
  166. ATANIM.Name = "Attack Animation"
  167. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  168. --ROBLOXIDLEANIMATION.Parent = Humanoid
  169. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  170. WEAPONGUI.Name = "Weapon GUI"
  171. local Weapon = IT("Model")
  172. Weapon.Name = "Adds"
  173. local Effects = IT("Folder", Weapon)
  174. Effects.Name = "Effects"
  175. local ANIMATOR = Humanoid.Animator
  176. local ANIMATE = Character.Animate
  177. local UNANCHOR = true
  178. local CLOCKLOOP = 0
  179. local SONG = 1382488262
  180. local CLOCKTARGET = nil
  181. local CLOCKSPEED = 1
  182. script.Parent = WEAPONGUI
  183. local CLONE = Character:Clone()
  184. CLONE.Parent = nil
  185. Character.Archivable = false
  186. local sick = Instance.new("Sound",Torso)
  187.  
  188. --//=================================\\
  189. --\\=================================//
  190.  
  191.  
  192. --//=================================\\
  193. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  194. --\\=================================//
  195.  
  196. ArtificialHB = Instance.new("BindableEvent", script)
  197. ArtificialHB.Name = "ArtificialHB"
  198.  
  199. script:WaitForChild("ArtificialHB")
  200.  
  201. frame = Frame_Speed
  202. tf = 0
  203. allowframeloss = false
  204. tossremainder = false
  205. lastframe = tick()
  206. script.ArtificialHB:Fire()
  207.  
  208. game:GetService("RunService").Heartbeat:connect(function(s, p)
  209. tf = tf + s
  210. if tf >= frame then
  211. if allowframeloss then
  212. script.ArtificialHB:Fire()
  213. lastframe = tick()
  214. else
  215. for i = 1, math.floor(tf / frame) do
  216. script.ArtificialHB:Fire()
  217. end
  218. lastframe = tick()
  219. end
  220. if tossremainder then
  221. tf = 0
  222. else
  223. tf = tf - frame * math.floor(tf / frame)
  224. end
  225. end
  226. end)
  227.  
  228. --//=================================\\
  229. --\\=================================//
  230.  
  231. --//=================================\\
  232. --|| SOME FUNCTIONS
  233. --\\=================================//
  234.  
  235. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  236. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  237. end
  238.  
  239. function PositiveAngle(NUMBER)
  240. if NUMBER >= 0 then
  241. NUMBER = 0
  242. end
  243. return NUMBER
  244. end
  245.  
  246. function NegativeAngle(NUMBER)
  247. if NUMBER <= 0 then
  248. NUMBER = 0
  249. end
  250. return NUMBER
  251. end
  252.  
  253. function Swait(NUMBER)
  254. if NUMBER == 0 or NUMBER == nil then
  255. ArtificialHB.Event:wait()
  256. else
  257. for i = 1, NUMBER do
  258. ArtificialHB.Event:wait()
  259. end
  260. end
  261. end
  262.  
  263. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  264. local NEWMESH = IT(MESH)
  265. if MESH == "SpecialMesh" then
  266. NEWMESH.MeshType = MESHTYPE
  267. if MESHID ~= "nil" and MESHID ~= "" then
  268. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  269. end
  270. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  271. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  272. end
  273. end
  274. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  275. NEWMESH.Scale = SCALE
  276. NEWMESH.Parent = PARENT
  277. return NEWMESH
  278. end
  279.  
  280. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  281. local NEWPART = IT("Part")
  282. NEWPART.formFactor = FORMFACTOR
  283. NEWPART.Reflectance = REFLECTANCE
  284. NEWPART.Transparency = TRANSPARENCY
  285. NEWPART.CanCollide = false
  286. NEWPART.Locked = true
  287. NEWPART.Anchored = true
  288. if ANCHOR == false then
  289. NEWPART.Anchored = false
  290. end
  291. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  292. NEWPART.Name = NAME
  293. NEWPART.Size = SIZE
  294. NEWPART.Position = Torso.Position
  295. NEWPART.Material = MATERIAL
  296. NEWPART:BreakJoints()
  297. NEWPART.Parent = PARENT
  298. return NEWPART
  299. end
  300.  
  301. local function weldBetween(a, b)
  302. local weldd = Instance.new("ManualWeld")
  303. weldd.Part0 = a
  304. weldd.Part1 = b
  305. weldd.C0 = CFrame.new()
  306. weldd.C1 = b.CFrame:inverse() * a.CFrame
  307. weldd.Parent = a
  308. return weldd
  309. end
  310.  
  311.  
  312. function QuaternionFromCFrame(cf)
  313. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  314. local trace = m00 + m11 + m22
  315. if trace > 0 then
  316. local s = math.sqrt(1 + trace)
  317. local recip = 0.5 / s
  318. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  319. else
  320. local i = 0
  321. if m11 > m00 then
  322. i = 1
  323. end
  324. if m22 > (i == 0 and m00 or m11) then
  325. i = 2
  326. end
  327. if i == 0 then
  328. local s = math.sqrt(m00 - m11 - m22 + 1)
  329. local recip = 0.5 / s
  330. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  331. elseif i == 1 then
  332. local s = math.sqrt(m11 - m22 - m00 + 1)
  333. local recip = 0.5 / s
  334. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  335. elseif i == 2 then
  336. local s = math.sqrt(m22 - m00 - m11 + 1)
  337. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  338. end
  339. end
  340. end
  341.  
  342. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  343. local xs, ys, zs = x + x, y + y, z + z
  344. local wx, wy, wz = w * xs, w * ys, w * zs
  345. local xx = x * xs
  346. local xy = x * ys
  347. local xz = x * zs
  348. local yy = y * ys
  349. local yz = y * zs
  350. local zz = z * zs
  351. 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))
  352. end
  353.  
  354. function QuaternionSlerp(a, b, t)
  355. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  356. local startInterp, finishInterp;
  357. if cosTheta >= 0.0001 then
  358. if (1 - cosTheta) > 0.0001 then
  359. local theta = ACOS(cosTheta)
  360. local invSinTheta = 1 / SIN(theta)
  361. startInterp = SIN((1 - t) * theta) * invSinTheta
  362. finishInterp = SIN(t * theta) * invSinTheta
  363. else
  364. startInterp = 1 - t
  365. finishInterp = t
  366. end
  367. else
  368. if (1 + cosTheta) > 0.0001 then
  369. local theta = ACOS(-cosTheta)
  370. local invSinTheta = 1 / SIN(theta)
  371. startInterp = SIN((t - 1) * theta) * invSinTheta
  372. finishInterp = SIN(t * theta) * invSinTheta
  373. else
  374. startInterp = t - 1
  375. finishInterp = t
  376. end
  377. end
  378. 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
  379. end
  380.  
  381. function Clerp(a, b, t)
  382. local qa = {QuaternionFromCFrame(a)}
  383. local qb = {QuaternionFromCFrame(b)}
  384. local ax, ay, az = a.x, a.y, a.z
  385. local bx, by, bz = b.x, b.y, b.z
  386. local _t = 1 - t
  387. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  388. end
  389.  
  390. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  391. local frame = IT("Frame")
  392. frame.BackgroundTransparency = TRANSPARENCY
  393. frame.BorderSizePixel = BORDERSIZEPIXEL
  394. frame.Position = POSITION
  395. frame.Size = SIZE
  396. frame.BackgroundColor3 = COLOR
  397. frame.BorderColor3 = BORDERCOLOR
  398. frame.Name = NAME
  399. frame.Parent = PARENT
  400. return frame
  401. end
  402.  
  403. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  404. local label = IT("TextLabel")
  405. label.BackgroundTransparency = 1
  406. label.Size = UD2(1, 0, 1, 0)
  407. label.Position = UD2(0, 0, 0, 0)
  408. label.TextColor3 = TEXTCOLOR
  409. label.TextStrokeTransparency = STROKETRANSPARENCY
  410. label.TextTransparency = TRANSPARENCY
  411. label.FontSize = TEXTFONTSIZE
  412. label.Font = TEXTFONT
  413. label.BorderSizePixel = BORDERSIZEPIXEL
  414. label.TextScaled = false
  415. label.Text = TEXT
  416. label.Name = NAME
  417. label.Parent = PARENT
  418. return label
  419. end
  420.  
  421. function NoOutlines(PART)
  422. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  423. end
  424.  
  425. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  426. local NEWWELD = IT(TYPE)
  427. NEWWELD.Part0 = PART0
  428. NEWWELD.Part1 = PART1
  429. NEWWELD.C0 = C0
  430. NEWWELD.C1 = C1
  431. NEWWELD.Parent = PARENT
  432. return NEWWELD
  433. end
  434.  
  435. local S = IT("Sound")
  436. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  437. local NEWSOUND = nil
  438. coroutine.resume(coroutine.create(function()
  439. NEWSOUND = S:Clone()
  440. NEWSOUND.Parent = PARENT
  441. NEWSOUND.Volume = VOLUME
  442. NEWSOUND.Pitch = PITCH
  443. NEWSOUND.SoundId = "rbxassetid://"..ID
  444. NEWSOUND:play()
  445. if DOESLOOP == true then
  446. NEWSOUND.Looped = true
  447. else
  448. repeat wait(1) until NEWSOUND.Playing == false
  449. NEWSOUND:remove()
  450. end
  451. end))
  452. return NEWSOUND
  453. end
  454.  
  455. function CFrameFromTopBack(at, top, back)
  456. local right = top:Cross(back)
  457. 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)
  458. end
  459.  
  460. function R_RANDOM(CFRAME,DIST)
  461. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  462. end
  463.  
  464. --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, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  465. function WACKYEFFECT(Table)
  466. local TYPE = (Table.EffectType or "Sphere")
  467. local SIZE = (Table.Size or VT(1,1,1))
  468. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  469. local TRANSPARENCY = (Table.Transparency or 0)
  470. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  471. local CFRAME = (Table.CFrame or Torso.CFrame)
  472. local MOVEDIRECTION = (Table.MoveToPos or nil)
  473. local ROTATION1 = (Table.RotationX or 0)
  474. local ROTATION2 = (Table.RotationY or 0)
  475. local ROTATION3 = (Table.RotationZ or 0)
  476. local MATERIAL = (Table.Material or "Neon")
  477. local COLOR = (Table.Color or C3(1,1,1))
  478. local TIME = (Table.Time or 45)
  479. local SOUNDID = (Table.SoundID or nil)
  480. local SOUNDPITCH = (Table.SoundPitch or nil)
  481. local SOUNDVOLUME = (Table.SoundVolume or nil)
  482. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  483. local BOOMERANG = (Table.Boomerang or 0)
  484. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  485. coroutine.resume(coroutine.create(function()
  486. local PLAYSSOUND = false
  487. local SOUND = nil
  488. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  489. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  490. PLAYSSOUND = true
  491. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  492. end
  493. EFFECT.Color = COLOR
  494. local MSH = nil
  495. if TYPE == "Sphere" then
  496. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  497. elseif TYPE == "Block" or TYPE == "Box" then
  498. MSH = IT("BlockMesh",EFFECT)
  499. MSH.Scale = SIZE
  500. elseif TYPE == "Wave" then
  501. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  502. elseif TYPE == "Ring" then
  503. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  504. elseif TYPE == "Slash" then
  505. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  506. elseif TYPE == "Round Slash" then
  507. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  508. elseif TYPE == "Swirl" then
  509. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  510. elseif TYPE == "Skull" then
  511. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  512. elseif TYPE == "Crystal" then
  513. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  514. end
  515. if MSH ~= nil then
  516. local BOOMR1 = 1+BOOMERANG/50
  517. local BOOMR2 = 1+SIZEBOOMERANG/50
  518. local MOVESPEED = nil
  519. if MOVEDIRECTION ~= nil then
  520. if USEBOOMERANGMATH == true then
  521. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  522. else
  523. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  524. end
  525. end
  526. local GROWTH = nil
  527. if USEBOOMERANGMATH == true then
  528. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  529. else
  530. GROWTH = (SIZE - ENDSIZE)
  531. end
  532. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  533. if TYPE == "Block" then
  534. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  535. else
  536. EFFECT.CFrame = CFRAME
  537. end
  538. if USEBOOMERANGMATH == true then
  539. for LOOP = 1, TIME+1 do
  540. Swait()
  541. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  542. if TYPE == "Wave" then
  543. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  544. end
  545. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  546. if TYPE == "Block" then
  547. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  548. else
  549. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  550. end
  551. if MOVEDIRECTION ~= nil then
  552. local ORI = EFFECT.Orientation
  553. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  554. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  555. end
  556. end
  557. else
  558. for LOOP = 1, TIME+1 do
  559. Swait()
  560. MSH.Scale = MSH.Scale - GROWTH/TIME
  561. if TYPE == "Wave" then
  562. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  563. end
  564. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  565. if TYPE == "Block" then
  566. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  567. else
  568. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  569. end
  570. if MOVEDIRECTION ~= nil then
  571. local ORI = EFFECT.Orientation
  572. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  573. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  574. end
  575. end
  576. end
  577. EFFECT.Transparency = 1
  578. if PLAYSSOUND == false then
  579. EFFECT:remove()
  580. else
  581. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  582. EFFECT:remove()
  583. end
  584. else
  585. if PLAYSSOUND == false then
  586. EFFECT:remove()
  587. else
  588. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  589. EFFECT:remove()
  590. end
  591. end
  592. end))
  593. end
  594.  
  595. function MakeForm(PART,TYPE)
  596. if TYPE == "Cyl" then
  597. local MSH = IT("CylinderMesh",PART)
  598. elseif TYPE == "Ball" then
  599. local MSH = IT("SpecialMesh",PART)
  600. MSH.MeshType = "Sphere"
  601. elseif TYPE == "Wedge" then
  602. local MSH = IT("SpecialMesh",PART)
  603. MSH.MeshType = "Wedge"
  604. end
  605. end
  606.  
  607. Debris = game:GetService("Debris")
  608.  
  609. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  610. local DIRECTION = CF(StartPos,EndPos).lookVector
  611. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  612. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  613. end
  614.  
  615. local DECAL = IT("Decal")
  616. function MagicRing()
  617. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  618. local MESH = IT("BlockMesh",RING)
  619. local BOTTOMTEXTURE = DECAL:Clone()
  620. BOTTOMTEXTURE.Parent = RING
  621. BOTTOMTEXTURE.Face = "Bottom"
  622. BOTTOMTEXTURE.Name = "BottomTexture"
  623. local TOPTEXTURE = DECAL:Clone()
  624. TOPTEXTURE.Parent = RING
  625. TOPTEXTURE.Face = "Top"
  626. TOPTEXTURE.Name = "TopTexture"
  627. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  628. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  629. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  630. TOPTEXTURE.Color3 = C3(0,0,0)
  631. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  632. end
  633.  
  634. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  635. coroutine.resume(coroutine.create(function()
  636. local FADE = IT("Model",Effects)
  637. if PARENT ~= nil then
  638. FADE.Parent = PARENT
  639. end
  640. FADE.Name = "FadingEffect"
  641. for _, c in pairs(Character:GetChildren()) do
  642. if c.ClassName == "Part" then
  643. c.CanCollide = false
  644. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  645. FADER.CFrame = c.CFrame
  646. FADER.Color = COLOR
  647. if FADER.Name == "Head" then
  648. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  649. elseif FADER.Name == "HumanoidRootPart" then
  650. FADE.PrimaryPart = FADER
  651. FADER.Transparency = 1
  652. end
  653. end
  654. end
  655. local TRANS = 0.25/TIMER
  656. local DIST = nil
  657. if MOVEDIRECTION ~= nil then
  658. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  659. end
  660. for i = 1, TIMER do
  661. Swait()
  662. for _, c in pairs(FADE:GetChildren()) do
  663. if c.ClassName == "Part" then
  664. c.Transparency = c.Transparency + TRANS
  665. end
  666. end
  667. if MOVEDIRECTION ~= nil then
  668. local ORI = FADE.PrimaryPart.Orientation
  669. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  670. end
  671. end
  672. FADE:remove()
  673. end))
  674. end
  675.  
  676. --
  677. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  678. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  679. end
  680.  
  681. function PositiveAngle(NUMBER)
  682. if NUMBER >= 0 then
  683. NUMBER = 0
  684. end
  685. return NUMBER
  686. end
  687.  
  688. function NegativeAngle(NUMBER)
  689. if NUMBER <= 0 then
  690. NUMBER = 0
  691. end
  692. return NUMBER
  693. end
  694.  
  695. function Swait(NUMBER)
  696. if NUMBER == 0 or NUMBER == nil then
  697. ArtificialHB.Event:wait()
  698. else
  699. for i = 1, NUMBER do
  700. ArtificialHB.Event:wait()
  701. end
  702. end
  703. end
  704.  
  705. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  706. local NEWMESH = IT(MESH)
  707. if MESH == "SpecialMesh" then
  708. NEWMESH.MeshType = MESHTYPE
  709. if MESHID ~= "nil" and MESHID ~= "" then
  710. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  711. end
  712. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  713. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  714. end
  715. end
  716. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  717. NEWMESH.Scale = SCALE
  718. NEWMESH.Parent = PARENT
  719. return NEWMESH
  720. end
  721.  
  722. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  723. local NEWPART = IT("Part")
  724. NEWPART.formFactor = FORMFACTOR
  725. NEWPART.Reflectance = REFLECTANCE
  726. NEWPART.Transparency = TRANSPARENCY
  727. NEWPART.CanCollide = false
  728. NEWPART.Locked = true
  729. NEWPART.Anchored = true
  730. if ANCHOR == false then
  731. NEWPART.Anchored = false
  732. end
  733. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  734. NEWPART.Name = NAME
  735. NEWPART.Size = SIZE
  736. NEWPART.Position = Torso.Position
  737. NEWPART.Material = MATERIAL
  738. NEWPART:BreakJoints()
  739. NEWPART.Parent = PARENT
  740. return NEWPART
  741. end
  742.  
  743. local function weldBetween(a, b)
  744. local weldd = Instance.new("ManualWeld")
  745. weldd.Part0 = a
  746. weldd.Part1 = b
  747. weldd.C0 = CFrame.new()
  748. weldd.C1 = b.CFrame:inverse() * a.CFrame
  749. weldd.Parent = a
  750. return weldd
  751. end
  752.  
  753.  
  754. function QuaternionFromCFrame(cf)
  755. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  756. local trace = m00 + m11 + m22
  757. if trace > 0 then
  758. local s = math.sqrt(1 + trace)
  759. local recip = 0.5 / s
  760. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  761. else
  762. local i = 0
  763. if m11 > m00 then
  764. i = 1
  765. end
  766. if m22 > (i == 0 and m00 or m11) then
  767. i = 2
  768. end
  769. if i == 0 then
  770. local s = math.sqrt(m00 - m11 - m22 + 1)
  771. local recip = 0.5 / s
  772. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  773. elseif i == 1 then
  774. local s = math.sqrt(m11 - m22 - m00 + 1)
  775. local recip = 0.5 / s
  776. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  777. elseif i == 2 then
  778. local s = math.sqrt(m22 - m00 - m11 + 1)
  779. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  780. end
  781. end
  782. end
  783.  
  784. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  785. local xs, ys, zs = x + x, y + y, z + z
  786. local wx, wy, wz = w * xs, w * ys, w * zs
  787. local xx = x * xs
  788. local xy = x * ys
  789. local xz = x * zs
  790. local yy = y * ys
  791. local yz = y * zs
  792. local zz = z * zs
  793. 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))
  794. end
  795.  
  796. function QuaternionSlerp(a, b, t)
  797. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  798. local startInterp, finishInterp;
  799. if cosTheta >= 0.0001 then
  800. if (1 - cosTheta) > 0.0001 then
  801. local theta = ACOS(cosTheta)
  802. local invSinTheta = 1 / SIN(theta)
  803. startInterp = SIN((1 - t) * theta) * invSinTheta
  804. finishInterp = SIN(t * theta) * invSinTheta
  805. else
  806. startInterp = 1 - t
  807. finishInterp = t
  808. end
  809. else
  810. if (1 + cosTheta) > 0.0001 then
  811. local theta = ACOS(-cosTheta)
  812. local invSinTheta = 1 / SIN(theta)
  813. startInterp = SIN((t - 1) * theta) * invSinTheta
  814. finishInterp = SIN(t * theta) * invSinTheta
  815. else
  816. startInterp = t - 1
  817. finishInterp = t
  818. end
  819. end
  820. 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
  821. end
  822.  
  823. function Clerp(a, b, t)
  824. local qa = {QuaternionFromCFrame(a)}
  825. local qb = {QuaternionFromCFrame(b)}
  826. local ax, ay, az = a.x, a.y, a.z
  827. local bx, by, bz = b.x, b.y, b.z
  828. local _t = 1 - t
  829. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  830. end
  831.  
  832. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  833. local frame = IT("Frame")
  834. frame.BackgroundTransparency = TRANSPARENCY
  835. frame.BorderSizePixel = BORDERSIZEPIXEL
  836. frame.Position = POSITION
  837. frame.Size = SIZE
  838. frame.BackgroundColor3 = COLOR
  839. frame.BorderColor3 = BORDERCOLOR
  840. frame.Name = NAME
  841. frame.Parent = PARENT
  842. return frame
  843. end
  844.  
  845. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  846. local label = IT("TextLabel")
  847. label.BackgroundTransparency = 1
  848. label.Size = UD2(1, 0, 1, 0)
  849. label.Position = UD2(0, 0, 0, 0)
  850. label.TextColor3 = TEXTCOLOR
  851. label.TextStrokeTransparency = STROKETRANSPARENCY
  852. label.TextTransparency = TRANSPARENCY
  853. label.FontSize = TEXTFONTSIZE
  854. label.Font = TEXTFONT
  855. label.BorderSizePixel = BORDERSIZEPIXEL
  856. label.TextStrokeColor3 = C3(0,0,0)
  857. label.TextScaled = false
  858. label.Text = TEXT
  859. label.Name = NAME
  860. label.Parent = PARENT
  861. return label
  862. end
  863.  
  864. function NoOutlines(PART)
  865. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  866. end
  867.  
  868. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  869. local NEWWELD = IT(TYPE)
  870. NEWWELD.Part0 = PART0
  871. NEWWELD.Part1 = PART1
  872. NEWWELD.C0 = C0
  873. NEWWELD.C1 = C1
  874. NEWWELD.Parent = PARENT
  875. return NEWWELD
  876. end
  877.  
  878. local S = IT("Sound")
  879. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  880. local NEWSOUND = nil
  881. coroutine.resume(coroutine.create(function()
  882. NEWSOUND = S:Clone()
  883. NEWSOUND.Parent = PARENT
  884. NEWSOUND.Volume = VOLUME
  885. NEWSOUND.Pitch = PITCH
  886. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  887. NEWSOUND:play()
  888. if DOESLOOP == true then
  889. NEWSOUND.Looped = true
  890. else
  891. repeat wait(1) until NEWSOUND.Playing == false
  892. NEWSOUND:remove()
  893. end
  894. end))
  895. return NEWSOUND
  896. end
  897.  
  898. function CFrameFromTopBack(at, top, back)
  899. local right = top:Cross(back)
  900. 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)
  901. end
  902.  
  903. --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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  904. function WACKYEFFECT(Table)
  905. local TYPE = (Table.EffectType or "Sphere")
  906. local SIZE = (Table.Size or VT(1,1,1))
  907. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  908. local TRANSPARENCY = (Table.Transparency or 0)
  909. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  910. local CFRAME = (Table.CFrame or Torso.CFrame)
  911. local MOVEDIRECTION = (Table.MoveToPos or nil)
  912. local ROTATION1 = (Table.RotationX or 0)
  913. local ROTATION2 = (Table.RotationY or 0)
  914. local ROTATION3 = (Table.RotationZ or 0)
  915. local MATERIAL = (Table.Material or "Neon")
  916. local COLOR = (Table.Color or C3(0,0,0))
  917. local TIME = (Table.Time or 45)
  918. local SOUNDID = (Table.SoundID or nil)
  919. local SOUNDPITCH = (Table.SoundPitch or nil)
  920. local SOUNDVOLUME = (Table.SoundVolume or nil)
  921. coroutine.resume(coroutine.create(function()
  922. local PLAYSSOUND = false
  923. local SOUND = nil
  924. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  925. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  926. PLAYSSOUND = true
  927. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  928. end
  929. EFFECT.Color = COLOR
  930. local MSH = nil
  931. if TYPE == "Sphere" then
  932. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  933. elseif TYPE == "Block" then
  934. MSH = IT("BlockMesh",EFFECT)
  935. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  936. elseif TYPE == "Wave" then
  937. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  938. elseif TYPE == "Ring" then
  939. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  940. elseif TYPE == "Slash" then
  941. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  942. elseif TYPE == "Round Slash" then
  943. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  944. elseif TYPE == "Swirl" then
  945. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  946. elseif TYPE == "Skull" then
  947. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  948. elseif TYPE == "Crystal" then
  949. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  950. end
  951. if MSH ~= nil then
  952. local MOVESPEED = nil
  953. if MOVEDIRECTION ~= nil then
  954. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  955. end
  956. local GROWTH = SIZE - ENDSIZE
  957. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  958. if TYPE == "Block" then
  959. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  960. else
  961. EFFECT.CFrame = CFRAME
  962. end
  963. for LOOP = 1, TIME+1 do
  964. Swait()
  965. MSH.Scale = MSH.Scale - GROWTH/TIME
  966. if TYPE == "Wave" then
  967. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  968. end
  969. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  970. if TYPE == "Block" then
  971. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  972. else
  973. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  974. end
  975. if MOVEDIRECTION ~= nil then
  976. local ORI = EFFECT.Orientation
  977. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  978. EFFECT.Orientation = ORI
  979. end
  980. end
  981. if PLAYSSOUND == false then
  982. EFFECT:remove()
  983. else
  984. repeat Swait() until SOUND.Playing == false
  985. EFFECT:remove()
  986. end
  987. else
  988. if PLAYSSOUND == false then
  989. EFFECT:remove()
  990. else
  991. repeat Swait() until SOUND.Playing == false
  992. EFFECT:remove()
  993. end
  994. end
  995. end))
  996. end
  997.  
  998. function MakeForm(PART,TYPE)
  999. if TYPE == "Cyl" then
  1000. local MSH = IT("CylinderMesh",PART)
  1001. elseif TYPE == "Ball" then
  1002. local MSH = IT("SpecialMesh",PART)
  1003. MSH.MeshType = "Sphere"
  1004. elseif TYPE == "Wedge" then
  1005. local MSH = IT("SpecialMesh",PART)
  1006. MSH.MeshType = "Wedge"
  1007. end
  1008. end
  1009.  
  1010. Debris = game:GetService("Debris")
  1011.  
  1012. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1013. local DIRECTION = CF(StartPos,EndPos).lookVector
  1014. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1015. end
  1016.  
  1017. function turnto(position)
  1018. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1019. end
  1020.  
  1021. --//=================================\\
  1022. --|| WEAPON CREATION
  1023. --\\=================================//
  1024. Humanoid.Parent = nil
  1025. RootPart.Size = RootPart.Size*SIZE
  1026. Torso.Size = Torso.Size*SIZE
  1027. RightArm.Size = RightArm.Size*SIZE
  1028. RightLeg.Size = RightLeg.Size*SIZE
  1029. LeftArm.Size = LeftArm.Size*SIZE
  1030. LeftLeg.Size = LeftLeg.Size*SIZE
  1031. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1032. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1033. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1034. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1035. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1036. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1037. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1038. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1039. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1040. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1041. Head.Size = Head.Size*SIZE
  1042. RootJoint.Parent = RootPart
  1043. Neck.Parent = Torso
  1044. RightShoulder.Parent = Torso
  1045. LeftShoulder.Parent = Torso
  1046. RightHip.Parent = Torso
  1047. LeftHip.Parent = Torso
  1048.  
  1049. Humanoid.DisplayDistanceType = "None"
  1050. local naeeym2 = IT("BillboardGui",Character)
  1051. naeeym2.AlwaysOnTop = true
  1052. naeeym2.Size = UDim2.new(5,35,2,15)
  1053. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1054. naeeym2.MaxDistance = 75
  1055. naeeym2.Adornee = Character.Head
  1056. naeeym2.Name = "Name"
  1057. local tecks2 = IT("TextLabel",naeeym2)
  1058. tecks2.BackgroundTransparency = 1
  1059. tecks2.TextScaled = true
  1060. tecks2.BorderSizePixel = 0
  1061. tecks2.Text = "Nahid pandora"
  1062. tecks2.Font = "Fantasy"
  1063. tecks2.TextSize = 30
  1064. tecks2.TextStrokeTransparency = 0
  1065. tecks2.TextColor3 = C3(0,0,0)
  1066. tecks2.TextStrokeColor3 = C3(255,255,255)
  1067. tecks2.Size = UDim2.new(1,0,0.5,0)
  1068. tecks2.Parent = naeeym2
  1069. local top = Instance.new("Shirt")
  1070. top.ShirtTemplate = "rbxassetid://676428254"
  1071. top.Parent = Character
  1072. top.Name = "Cloth"
  1073. local bottom = Instance.new("Pants")
  1074. bottom.PantsTemplate = "rbxassetid://676428351"
  1075. bottom.Parent = Character
  1076. bottom.Name = "Cloth"
  1077. ---------------------
  1078. if Character:FindFirstChildOfClass("Accessory") then
  1079. Character:FindFirstChildOfClass("Accessory"):remove()
  1080. elseif Character:FindFirstChildOfClass("Hat") then
  1081. Character:FindFirstChildOfClass("Hat"):remove()
  1082. end
  1083. if Head:FindFirstChild("face") then
  1084. Head.face.Texture = "rbxassetid://"
  1085. end
  1086.  
  1087. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  1088. PRT.Color = C3(255,255,255)
  1089. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1090. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1091. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  1092. PRT.Color = C3(255,255,255)
  1093. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1094. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1095.  
  1096. local LASTPART = Head
  1097. for i = 1, 20 do
  1098. local MATH = (1-(i/25))
  1099. if LASTPART == Head then
  1100. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1101. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1102. LASTPART = Horn
  1103. Horn.Color = C3((i*3-3)/255,255,255)
  1104. else
  1105. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1106. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1107. LASTPART = Horn
  1108. Horn.Color = C3((i*3-3)/255,255,255)
  1109. end
  1110. end
  1111. local LASTPART = Head
  1112. for i = 1, 20 do
  1113. local MATH = (1-(i/25))
  1114. if LASTPART == Head then
  1115. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1116. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1117. LASTPART = Horn
  1118. Horn.Color = C3((i*3-3)/255,255,255)
  1119. else
  1120. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1121. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1122. LASTPART = Horn
  1123. Horn.Color = C3((i*3-3)/255,255,255)
  1124. end
  1125. end
  1126.  
  1127. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  1128. MakeForm(Eye,"Ball")
  1129. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1130. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  1131. MakeForm(Eye,"Ball")
  1132. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1133. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  1134. MakeForm(Eye,"Ball")
  1135. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1136. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  1137. MakeForm(Eye,"Ball")
  1138. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1139.  
  1140.  
  1141. local A = IT("Attachment",Torso)
  1142. A.Position = VT(1,1.3,0)
  1143. A.Orientation = VT(-0.098, -89.999, 0.227)
  1144. local B = IT("Attachment",Torso)
  1145. B.Position = VT(-1.3,-0.6,0)
  1146. B.Orientation = VT(-88.911, -68.808, 158.782)
  1147. local ChainLink = IT("Beam",Torso)
  1148. ChainLink.Texture = "rbxassetid://73042633"
  1149. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1150. ChainLink.TextureSpeed = 1
  1151. ChainLink.FaceCamera = true
  1152. ChainLink.Width0 = 1
  1153. ChainLink.Width1 = 1
  1154. ChainLink.TextureLength = 3
  1155. ChainLink.Attachment0 = A
  1156. ChainLink.Attachment1 = B
  1157. ChainLink.CurveSize0 = 1.6
  1158. ChainLink.CurveSize1 = 1.6
  1159. ChainLink.FaceCamera = true
  1160. ChainLink.Transparency = NumberSequence.new(0)
  1161. local ChainLink = IT("Beam",Torso)
  1162. ChainLink.Texture = "rbxassetid://73042633"
  1163. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1164. ChainLink.TextureSpeed = 1
  1165. ChainLink.FaceCamera = true
  1166. ChainLink.Width0 = 1
  1167. ChainLink.Width1 = 1
  1168. ChainLink.TextureLength = 3
  1169. ChainLink.Attachment0 = B
  1170. ChainLink.Attachment1 = A
  1171. ChainLink.CurveSize0 = 1.6
  1172. ChainLink.CurveSize1 = 1.6
  1173. ChainLink.FaceCamera = true
  1174. ChainLink.Transparency = NumberSequence.new(0)
  1175. local A = IT("Attachment",Torso)
  1176. A.Position = VT(1.3,-0.85,0)
  1177. A.Orientation = VT(-0.098, -89.999, 0.227)
  1178. local B = IT("Attachment",Torso)
  1179. B.Position = VT(-1,2,0)
  1180. B.Orientation = VT(-88.911, -68.808, 158.782)
  1181. local ChainLink = IT("Beam",Torso)
  1182. ChainLink.Texture = "rbxassetid://73042633"
  1183. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1184. ChainLink.TextureSpeed = 1
  1185. ChainLink.FaceCamera = true
  1186. ChainLink.Width0 = 1
  1187. ChainLink.Width1 = 1
  1188. ChainLink.TextureLength = 3
  1189. ChainLink.Attachment0 = A
  1190. ChainLink.Attachment1 = B
  1191. ChainLink.CurveSize0 = 1.3
  1192. ChainLink.CurveSize1 = 1.3
  1193. ChainLink.FaceCamera = true
  1194. ChainLink.Transparency = NumberSequence.new(0)
  1195. local ChainLink = IT("Beam",Torso)
  1196. ChainLink.Texture = "rbxassetid://73042633"
  1197. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1198. ChainLink.TextureSpeed = 1
  1199. ChainLink.FaceCamera = true
  1200. ChainLink.Width0 = 1
  1201. ChainLink.Width1 = 1
  1202. ChainLink.TextureLength = 3
  1203. ChainLink.Attachment0 = B
  1204. ChainLink.Attachment1 = A
  1205. ChainLink.CurveSize0 = 1.3
  1206. ChainLink.CurveSize1 = 1.3
  1207. ChainLink.FaceCamera = true
  1208. ChainLink.Transparency = NumberSequence.new(0)
  1209.  
  1210. for _, c in pairs(Character:GetDescendants()) do
  1211. if c and c.Parent then
  1212. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1213. local ACCESSORY = c.Parent
  1214. c.Parent = Character
  1215. if c then
  1216. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1217. weldBetween(Head,c)
  1218. else
  1219. weldBetween(Torso,c)
  1220. end
  1221. end
  1222. ACCESSORY:remove()
  1223. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1224. c.Material = "Neon"
  1225. c.Color = C3(255,255,255)
  1226. if c:FindFirstChildOfClass("SpecialMesh") then
  1227. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1228. end
  1229. if c == Head then
  1230. if c:FindFirstChild("face") then
  1231. c.face:remove()
  1232. end
  1233. end
  1234. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1235. c.Color = C3(255,0,0)
  1236. c.Material = "Neon"
  1237. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1238. c:remove()
  1239. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1240. c:remove()
  1241. end
  1242. end
  1243. end
  1244. local BODY = {}
  1245. for _, c in pairs(Character:GetDescendants()) do
  1246. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1247. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1248. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1249. end
  1250. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1251. elseif c:IsA("JointInstance") then
  1252. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1253. end
  1254. end
  1255. function refit()
  1256. Character.Parent = workspace
  1257. for e = 1, #BODY do
  1258. if BODY[e] ~= nil then
  1259. local STUFF = BODY[e]
  1260. local PART = STUFF[1]
  1261. local PARENT = STUFF[2]
  1262. local MATERIAL = STUFF[3]
  1263. local COLOR = STUFF[4]
  1264. local TRANSPARENCY = STUFF[5]
  1265. --local SIZE = STUFF[6]
  1266. local NAME = STUFF[7]
  1267. if PART.ClassName == "Part" and PART ~= RootPart then
  1268. PART.Material = MATERIAL
  1269. PART.Transparency = TRANSPARENCY
  1270. PART.Name = NAME
  1271. end
  1272. if PART.Parent ~= PARENT then
  1273. Humanoid:remove()
  1274. PART.Parent = PARENT
  1275. Humanoid = IT("Humanoid",Character)
  1276. end
  1277. end
  1278. end
  1279. end
  1280.  
  1281. local SKILLTEXTCOLOR = C3(255,255,255)
  1282. local SKILLFONT = "Fantasy"
  1283. local SKILLTEXTSIZE = 6
  1284.  
  1285. Humanoid.Died:connect(function()
  1286. refit()
  1287. end)
  1288.  
  1289. --//=================================\\
  1290. --|| DAMAGING
  1291. --\\=================================//
  1292.  
  1293. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1294. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1295. defence.Name = ("HitBy"..Player.Name)
  1296. game:GetService("Debris"):AddItem(defence, 0.001)
  1297. Damage = Damage * DAMAGEMULTIPLIER
  1298. if Humanoid.Health ~= 0 then
  1299. local CritChance = MRANDOM(1,100)
  1300. if Damage > Humanoid.Health then
  1301. Damage = math.ceil(Humanoid.Health)
  1302. if Damage == 0 then
  1303. Damage = 0.1
  1304. end
  1305. end
  1306. Humanoid.Health = Humanoid.Health - Damage
  1307. end
  1308. end
  1309.  
  1310. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1311. local CHILDREN = workspace:GetDescendants()
  1312. for index, CHILD in pairs(CHILDREN) do
  1313. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1314. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1315. if HUM then
  1316. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1317. if TORSO then
  1318. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1319. if INSTAKILL == true then
  1320. CHILD:BreakJoints()
  1321. else
  1322. local DMG = MRANDOM(MINDMG,MAXDMG)
  1323. ApplyDamage(HUM,DMG,TORSO)
  1324. end
  1325. if FLING > 0 then
  1326. for _, c in pairs(CHILD:GetChildren()) do
  1327. if c:IsA("BasePart") then
  1328. local bv = Instance.new("BodyVelocity")
  1329. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1330. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1331. bv.Parent = c
  1332. Debris:AddItem(bv,0.05)
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. end
  1342.  
  1343. for _, c in pairs(Weapon:GetChildren()) do
  1344. if c.ClassName == "Part" then
  1345. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1346. end
  1347. end
  1348.  
  1349. Neck.Name = "Weld"
  1350. RootJoint.Name = "Weld"
  1351. RightShoulder.Name = "Weld"
  1352. LeftShoulder.Name = "Weld"
  1353. RightHip.Name = "Weld"
  1354. LeftHip.Name = "Weld"
  1355.  
  1356. local SKILLTEXTCOLOR = C3(0,0,0)
  1357. local SKILLFONT = "Fantasy"
  1358. local SKILLTEXTSIZE = 7
  1359.  
  1360. Weapon.Parent = Character
  1361. Humanoid.Parent = Character
  1362.  
  1363. Humanoid.Died:connect(function()
  1364. ATTACK = true
  1365. end)
  1366.  
  1367. --//=================================\\
  1368. --|| ATTACK FUNCTIONS AND STUFF
  1369. --\\=================================//
  1370. --
  1371. --------
  1372. function Eon_Fire()
  1373. ATTACK = true
  1374. Rooted = true
  1375. local GYRO = IT("BodyGyro", RootPart)
  1376. GYRO.D = 15
  1377. GYRO.P = 2000
  1378. GYRO.MaxTorque = VT(0, 4000000, 0)
  1379. CreateSound("341301115", Head, 5, 1.1)
  1380. CreateSound("93724183", Head, 6, 1)
  1381. for i = 1, 200 do
  1382. Swait()
  1383. WACKYEFFECT({
  1384. Time = MRANDOM(5, 15),
  1385. EffectType = "Round Slash",
  1386. Size = VT(0, 0, 0),
  1387. Size2 = VT(0.12, 0, 0.12),
  1388. Transparency = 0.5,
  1389. Transparency2 = 1,
  1390. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1391. MoveToPos = nil,
  1392. RotationX = MRANDOM(-50, 50) / 50,
  1393. RotationY = MRANDOM(-50, 50) / 10,
  1394. RotationZ = MRANDOM(-50, 50) / 50,
  1395. Material = "Neon",
  1396. Color = C3(1, 0, 0),
  1397. SoundID = nil,
  1398. SoundPitch = nil,
  1399. SoundVolume = nil
  1400. })
  1401. WACKYEFFECT({
  1402. Time = MRANDOM(5, 15),
  1403. EffectType = "Round Slash",
  1404. Size = VT(0, 0, 0),
  1405. Size2 = VT(0.1, 0, 0.1),
  1406. Transparency = 0.5,
  1407. Transparency2 = 1,
  1408. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  1409. MoveToPos = nil,
  1410. RotationX = MRANDOM(-50, 50) / 50,
  1411. RotationY = MRANDOM(-50, 50) / 10,
  1412. RotationZ = MRANDOM(-50, 50) / 50,
  1413. Material = "Neon",
  1414. Color = C3(1, 0, 0),
  1415. SoundID = nil,
  1416. SoundPitch = nil,
  1417. SoundVolume = nil
  1418. })
  1419. WACKYEFFECT({
  1420. Time = MRANDOM(5, 15),
  1421. EffectType = "Round Slash",
  1422. Size = VT(0, 0, 0),
  1423. Size2 = VT(0.16, 0, 0.16),
  1424. Transparency = 0.5,
  1425. Transparency2 = 1,
  1426. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  1427. MoveToPos = nil,
  1428. RotationX = MRANDOM(-50, 50) / 50,
  1429. RotationY = MRANDOM(-50, 50) / 10,
  1430. RotationZ = MRANDOM(-50, 50) / 50,
  1431. Material = "Neon",
  1432. Color = C3(1, 0, 0),
  1433. SoundID = nil,
  1434. SoundPitch = nil,
  1435. SoundVolume = nil
  1436. })
  1437. WACKYEFFECT({
  1438. Time = 5,
  1439. EffectType = "Sphere",
  1440. Size = VT(i, i, i) / 150,
  1441. Size2 = VT(0, 0, 0),
  1442. Transparency = 0.5,
  1443. Transparency2 = 1,
  1444. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1445. MoveToPos = nil,
  1446. RotationX = 0,
  1447. RotationY = 0,
  1448. RotationZ = 0,
  1449. Material = "Neon",
  1450. Color = C3(1, 0, 0),
  1451. SoundID = nil,
  1452. SoundPitch = nil,
  1453. SoundVolume = nil
  1454. })
  1455. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1456. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1458. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  1459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  1460. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1461. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1462. end
  1463. GYRO:remove()
  1464. for i = 0, 0.3, 0.1 / Animation_Speed do
  1465. Swait()
  1466. WACKYEFFECT({
  1467. Time = 25,
  1468. EffectType = "Sphere",
  1469. Size = VT(200, 200, 200) / 150,
  1470. Size2 = VT(0, 0, 0),
  1471. Transparency = 0.5,
  1472. Transparency2 = 1,
  1473. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1474. MoveToPos = nil,
  1475. RotationX = 0,
  1476. RotationY = 0,
  1477. RotationZ = 0,
  1478. Material = "Neon",
  1479. Color = C3(1, 0, 0),
  1480. SoundID = nil,
  1481. SoundPitch = nil,
  1482. SoundVolume = nil
  1483. })
  1484. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1488. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1490. end
  1491. coroutine.resume(coroutine.create(function()
  1492. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really yellow", "DOOM", VT(1, 1, 1))
  1493. MakeForm(FIREBALL, "Ball")
  1494. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  1495. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  1496. for i = 1, 500 do
  1497. Swait()
  1498. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1499. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  1500. if HITFLOOR ~= nil then
  1501. break
  1502. end
  1503. end
  1504. CreateSound(325132788, Effects, 8, 1, false)
  1505. for i = 1, 120 do
  1506. Swait()
  1507. WACKYEFFECT({
  1508. Time = 85,
  1509. EffectType = "Sphere",
  1510. Size = FIREBALL.Size,
  1511. Size2 = VT(0, 1000, 0),
  1512. Transparency = 0.5,
  1513. Transparency2 = 1,
  1514. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1515. MoveToPos = nil,
  1516. RotationX = MRANDOM(-50, 50) / 10,
  1517. RotationY = MRANDOM(-50, 50) / 10,
  1518. RotationZ = MRANDOM(-50, 50) / 10,
  1519. Material = "Neon",
  1520. Color = C3(1, 0, 0),
  1521. SoundID = nil,
  1522. SoundPitch = nil,
  1523. SoundVolume = nil
  1524. })
  1525. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  1526. end
  1527. Swait(5)
  1528. ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
  1529. for i = 1, 10 do
  1530. WACKYEFFECT({
  1531. Time = 85 + 5 * i,
  1532. EffectType = "Slash",
  1533. Size = VT(3, 0, 3),
  1534. Size2 = VT(12, 0, 12),
  1535. Transparency = 0.5,
  1536. Transparency2 = 1,
  1537. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1538. MoveToPos = nil,
  1539. RotationX = MRANDOM(-50, 50) / 50,
  1540. RotationY = MRANDOM(-50, 50) / 10,
  1541. RotationZ = MRANDOM(-50, 50) / 50,
  1542. Material = "Neon",
  1543. Color = C3(1, 1, 1),
  1544. SoundID = nil,
  1545. SoundPitch = nil,
  1546. SoundVolume = nil
  1547. })
  1548. WACKYEFFECT({
  1549. Time = 185 + 5 * i,
  1550. EffectType = "Swirl",
  1551. Size = VT(15, 15, 15),
  1552. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  1553. Transparency = 0.5,
  1554. Transparency2 = 1,
  1555. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1556. MoveToPos = nil,
  1557. RotationX = MRANDOM(-50, 50) / 50,
  1558. RotationY = MRANDOM(-50, 50) / 10,
  1559. RotationZ = MRANDOM(-50, 50) / 50,
  1560. Material = "Neon",
  1561. Color = C3(1, 0.5, 0.5),
  1562. SoundID = nil,
  1563. SoundPitch = nil,
  1564. SoundVolume = nil
  1565. })
  1566. WACKYEFFECT({
  1567. Time = 285 + 5 * i,
  1568. EffectType = "Round Slash",
  1569. Size = VT(3, 0, 3),
  1570. Size2 = VT(12, 0, 12),
  1571. Transparency = 0.5,
  1572. Transparency2 = 1,
  1573. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1574. MoveToPos = nil,
  1575. RotationX = MRANDOM(-50, 50) / 50,
  1576. RotationY = MRANDOM(-50, 50) / 10,
  1577. RotationZ = MRANDOM(-50, 50) / 50,
  1578. Material = "Neon",
  1579. Color = C3(1, 0, 0),
  1580. SoundID = nil,
  1581. SoundPitch = nil,
  1582. SoundVolume = nil
  1583. })
  1584. WACKYEFFECT({
  1585. Time = 285 + 5 * i,
  1586. EffectType = "Sphere",
  1587. Size = VT(650, 650, 650),
  1588. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  1589. Transparency = 0.5,
  1590. Transparency2 = 1,
  1591. CFrame = FIREBALL.CFrame,
  1592. MoveToPos = nil,
  1593. RotationX = 0,
  1594. RotationY = 0,
  1595. RotationZ = 0,
  1596. Material = "Neon",
  1597. Color = C3(1, 0, 0),
  1598. SoundID = nil,
  1599. SoundPitch = 0,
  1600. SoundVolume = 0
  1601. })
  1602. end
  1603. wait(1)
  1604. WACKYEFFECT({
  1605. Time = 75,
  1606. EffectType = "Sphere",
  1607. Size = VT(350, 350, 350),
  1608. Size2 = VT(4500, 4500, 4500),
  1609. Transparency = 0.8,
  1610. Transparency2 = 1,
  1611. CFrame = FIREBALL.CFrame,
  1612. MoveToPos = nil,
  1613. RotationX = 0,
  1614. RotationY = 0,
  1615. RotationZ = 0,
  1616. Material = "Neon",
  1617. Color = C3(1, 1, 1),
  1618. SoundID = nil,
  1619. SoundPitch = 0,
  1620. SoundVolume = 0
  1621. })
  1622. for i = 1, 15 do
  1623. Swait()
  1624. ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
  1625. WACKYEFFECT({
  1626. Time = 85,
  1627. EffectType = "Sphere",
  1628. Size = VT(75, 75, 75),
  1629. Size2 = VT(0, 2500, 0),
  1630. Transparency = 0.5,
  1631. Transparency2 = 1,
  1632. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1633. MoveToPos = nil,
  1634. RotationX = MRANDOM(-50, 50) / 10,
  1635. RotationY = MRANDOM(-50, 50) / 10,
  1636. RotationZ = MRANDOM(-50, 50) / 10,
  1637. Material = "Neon",
  1638. Color = C3(1, 0, 0),
  1639. SoundID = nil,
  1640. SoundPitch = nil,
  1641. SoundVolume = nil
  1642. })
  1643. end
  1644. FIREBALL:remove()
  1645. end))
  1646. WACKYEFFECT({
  1647. Time = 25,
  1648. EffectType = "Ring",
  1649. Size = VT(0, 0, 0),
  1650. Size2 = VT(3.75, 3.75, 0),
  1651. Transparency = 0.7,
  1652. Transparency2 = 1,
  1653. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1654. MoveToPos = nil,
  1655. RotationX = 0,
  1656. RotationY = 0,
  1657. RotationZ = 0,
  1658. Material = "Neon",
  1659. Color = C3(1, 0, 0),
  1660. SoundID = nil,
  1661. SoundPitch = nil,
  1662. SoundVolume = nil
  1663. })
  1664. WACKYEFFECT({
  1665. Time = 50,
  1666. EffectType = "Ring",
  1667. Size = VT(0, 0, 0),
  1668. Size2 = VT(15, 15, 0),
  1669. Transparency = 0.7,
  1670. Transparency2 = 1,
  1671. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1672. MoveToPos = nil,
  1673. RotationX = 0,
  1674. RotationY = 0,
  1675. RotationZ = 0,
  1676. Material = "Neon",
  1677. Color = C3(1, 0, 0),
  1678. SoundID = nil,
  1679. SoundPitch = nil,
  1680. SoundVolume = nil
  1681. })
  1682. for i = 0, 0.3, 0.1 / Animation_Speed do
  1683. Swait()
  1684. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1688. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1689. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1690. end
  1691. ATTACK = false
  1692. Rooted = false
  1693. end
  1694. --------
  1695.  
  1696. function Melee()
  1697. ATTACK = true
  1698. BLADE.CanCollide = true
  1699. Rooted = false
  1700. EQUIPPED = true
  1701. local HIT = function()
  1702. local HITS = {}
  1703. local TOUCH = BLADE.Touched:Connect(function(hit)
  1704. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1705. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  1706. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1707. if TORSO and HUM.Health > 0 then
  1708. local PASS = true
  1709. for i = 1, #HITS do
  1710. if HITS[i] == hit.Parent then
  1711. PASS = false
  1712. end
  1713. end
  1714. table.insert(HITS,hit.Parent)
  1715. if PASS == true then
  1716. ApplyDamage(HUM,MRANDOM(15,25))
  1717. end
  1718. end
  1719. end
  1720. end)
  1721. return TOUCH
  1722. end
  1723. if COMBO == 1 then
  1724. for i=0, 0.35, 0.1 / Animation_Speed do
  1725. Swait()
  1726. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1727. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1728. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1729. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1730. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1731. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1732. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1733. end
  1734. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  1735. local TOUCHED = HIT()
  1736. for i=0, 0.5, 0.1 / Animation_Speed do
  1737. Swait()
  1738. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  1740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1742. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1743. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1745. end
  1746. TOUCHED:Disconnect()
  1747. COMBO = 2
  1748. elseif COMBO == 2 then
  1749. for i=0, 0.35, 0.1 / Animation_Speed do
  1750. Swait()
  1751. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1752. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1753. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(160), RAD(0), RAD(-5)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1754. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1755. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1756. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1757. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1758. end
  1759. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  1760. local TOUCHED = HIT()
  1761. for i=0, 0.35, 0.1 / Animation_Speed do
  1762. Swait()
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1769. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1770. end
  1771. TOUCHED:Disconnect()
  1772. for i=0, 0.2, 0.1 / Animation_Speed do
  1773. Swait()
  1774. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  1776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1778. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1779. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1780. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  1781. end
  1782. COMBO = 1
  1783. end
  1784. coroutine.resume(coroutine.create(function()
  1785. for i = 1, 50 do
  1786. Swait()
  1787. if ATTACK == true then
  1788. break
  1789. end
  1790. end
  1791. if ATTACK == false then
  1792. COMBO = 1
  1793. end
  1794. end))
  1795. BLADE.CanCollide = false
  1796. ATTACK = false
  1797. Rooted = false
  1798. EQUIPPED = false
  1799. end
  1800. function AbyssalShriek()
  1801. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1802. ATTACK = true
  1803. Rooted = true
  1804. for i=0, 0.2, 0.1 / Animation_Speed do
  1805. Swait()
  1806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1810. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1811. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  1812. end
  1813. coroutine.resume(coroutine.create(function()
  1814. repeat
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1820. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1822. until ATTACK == false
  1823. end))
  1824. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,1.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 15})
  1825. CreateSound(199978176,Head,5,1,false)
  1826. for i = 1, 60 do
  1827. Swait()
  1828. ApplyAoE(RootPart.Position,17,1,1,0,false)
  1829. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  1830. if HITFLOOR then
  1831. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(20,1,20), Size2 = VT(25+MRANDOM(0,8),7,25+MRANDOM(0,8)), Transparency = 0.95, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1832. end
  1833. local SIZE = VT(1,3,1)
  1834. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = SIZE*MRANDOM(10,65)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(1,17),MRANDOM(0,12)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
  1835. end
  1836. wait(0.2)
  1837. ATTACK = false
  1838. Rooted = false
  1839. end
  1840. end
  1841. function AbyssalDash()
  1842. ATTACK = true
  1843. Rooted = true
  1844. UNANCHOR = false
  1845. for i=0, 0.4, 0.1 / Animation_Speed do
  1846. Swait()
  1847. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1851. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1852. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  1853. end
  1854. CreateSound(1177785010,Torso,2,1,false)
  1855. CreateSound(971125740,Torso,5,1,false)
  1856. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1857. for index, CHILD in pairs(Character:GetChildren()) do
  1858. if CHILD:IsA("BasePart") then
  1859. CHILD.Transparency = CHILD.Transparency + 1
  1860. elseif CHILD:IsA("Accessory") then
  1861. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  1862. end
  1863. end
  1864. local HITS = {}
  1865. for i=0, 1, 0.1 / Animation_Speed do
  1866. Swait()
  1867. for index, CHILD in pairs(workspace:GetDescendants()) do
  1868. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1869. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1870. if HUM then
  1871. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1872. if TORSO then
  1873. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  1874. local PASS = true
  1875. for E = 1, #HITS do
  1876. if HITS[E] == CHILD then
  1877. PASS = false
  1878. end
  1879. end
  1880. if PASS == true then
  1881. local DMG = MRANDOM(25,45)
  1882. ApplyDamage(HUM,DMG)
  1883. table.insert(HITS,CHILD)
  1884. end
  1885. end
  1886. end
  1887. end
  1888. end
  1889. end
  1890. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-6) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  1891. for i = 1, 2 do
  1892. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  1893. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  1894. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  1895. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1896. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(-25), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1897. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(-25), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1898. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1899. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1900. end
  1901. end
  1902. for index, CHILD in pairs(Character:GetChildren()) do
  1903. if CHILD:IsA("BasePart") then
  1904. CHILD.Transparency = CHILD.Transparency - 1
  1905. elseif CHILD:IsA("Accessory") then
  1906. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  1907. end
  1908. end
  1909. for i=1, 25 do
  1910. Swait()
  1911. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  1912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1916. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1918. end
  1919. UNANCHOR = true
  1920. ATTACK = false
  1921. Rooted = false
  1922. end
  1923. function ShadowCloak()
  1924. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1925. ATTACK = true
  1926. Rooted = false
  1927. UNANCHOR = false
  1928. FADERS = false
  1929. coroutine.resume(coroutine.create(function()
  1930. coroutine.resume(coroutine.create(function()
  1931. for i=1, 25 do
  1932. Swait()
  1933. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1934. end
  1935. end))
  1936. repeat
  1937. Swait()
  1938.  
  1939. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1943. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1945. until ATTACK == false
  1946. end))
  1947. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1948. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1949. for i = 1, 50 do
  1950. Swait()
  1951. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1952. for index, CHILD in pairs(Character:GetChildren()) do
  1953. if CHILD:IsA("BasePart") then
  1954. CHILD.Transparency = CHILD.Transparency + 1/50
  1955. elseif CHILD:IsA("Accessory") then
  1956. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1957. end
  1958. end
  1959. end
  1960. for i = 1, 25 do
  1961. Swait()
  1962. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1963. end
  1964. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1965. for i = 1, 5 do
  1966. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1967. end
  1968. ApplyAoE(Torso.Position,15,12,22,150,false)
  1969. CreateSound(331666014,Torso,5,1,false)
  1970. for i = 1, 12 do
  1971. Swait()
  1972. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1973. end
  1974. for i = 1, 50 do
  1975. Swait()
  1976. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1977. for index, CHILD in pairs(Character:GetChildren()) do
  1978. if CHILD:IsA("BasePart") then
  1979. CHILD.Transparency = CHILD.Transparency - 1/50
  1980. elseif CHILD:IsA("Accessory") then
  1981. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1982. end
  1983. end
  1984. end
  1985. UNANCHOR = true
  1986. ATTACK = false
  1987. Rooted = false
  1988. FADERS = true
  1989. end
  1990. end
  1991. function BlackBlast()
  1992. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1993. ATTACK = true
  1994. Rooted = true
  1995. local GYRO = IT("BodyGyro",RootPart)
  1996. GYRO.D = 25
  1997. GYRO.P = 20000
  1998. GYRO.MaxTorque = VT(0,4000000,0)
  1999. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2000. CreateSound(429459101,Torso,5,1.5,false)
  2001. local GYROING = true
  2002. coroutine.resume(coroutine.create(function()
  2003. repeat
  2004. Swait()
  2005. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2006. until GYROING == false
  2007. GYRO:Remove()
  2008. end))
  2009. for i=0, 1, 0.1 / Animation_Speed do
  2010. Swait()
  2011. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2013. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2014. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2015. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2016. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  2017. end
  2018. for i = 1, 13 do
  2019. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  2020. end
  2021. CreateSound(1368637781,Torso,5,1.5,false)
  2022. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2023. for index, CHILD in pairs(Character:GetChildren()) do
  2024. if CHILD:IsA("BasePart") then
  2025. CHILD.Transparency = CHILD.Transparency + 1
  2026. elseif CHILD:IsA("Accessory") then
  2027. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  2028. end
  2029. end
  2030. GYROING = false
  2031. coroutine.resume(coroutine.create(function()
  2032. coroutine.resume(coroutine.create(function()
  2033. for i=1, 25 do
  2034. Swait()
  2035. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  2036. end
  2037. end))
  2038. repeat
  2039. Swait()
  2040. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  2043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2045. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  2046. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  2047. until ATTACK == false
  2048. end))
  2049. coroutine.resume(coroutine.create(function()
  2050. local BULLETCFRAME = RootPart.CFrame
  2051. local EXPLODED = false
  2052. coroutine.resume(coroutine.create(function()
  2053. repeat
  2054. Swait()
  2055. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2056. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2057. until EXPLODED == true
  2058. end))
  2059. for i=1, 50 do
  2060. Swait()
  2061. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  2062. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  2063. if RAY then
  2064. ApplyAoE(BULLETCFRAME.p,25,12,54,350,false)
  2065. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  2066. break
  2067. end
  2068. end
  2069. wait(0.5)
  2070. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2071. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2072. for E = 1, 3 do
  2073. for i = 1, 5 do
  2074. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2075. end
  2076. end
  2077. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  2078. EXPLODED = true
  2079. for i = 1, 15 do
  2080. Swait()
  2081. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  2082. end
  2083. end))
  2084. wait(0.5)
  2085. for index, CHILD in pairs(Character:GetChildren()) do
  2086. if CHILD:IsA("BasePart") then
  2087. CHILD.Transparency = CHILD.Transparency - 1
  2088. elseif CHILD:IsA("Accessory") then
  2089. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  2090. end
  2091. end
  2092. ATTACK = false
  2093. Rooted = false
  2094. end
  2095. end
  2096. function NightmareFall()
  2097. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  2098. ATTACK = true
  2099. Rooted = true
  2100. EQUIPPED = true
  2101. CreateSound(160740121,Head,10,1,false)
  2102. for i=0, 2, 0.1 / Animation_Speed do
  2103. Swait()
  2104. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2108. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2109. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2110.  
  2111. end
  2112. for i=0, 2, 0.1 / Animation_Speed do
  2113. Swait()
  2114. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.15 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(140), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2118. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2119. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2120.  
  2121. end
  2122. local SIZE = 0
  2123. local POS = RootPart.Position+VT(0,150,0)
  2124. local BLOWN = false
  2125. coroutine.resume(coroutine.create(function()
  2126. coroutine.resume(coroutine.create(function()
  2127. repeat
  2128. Swait()
  2129. if SIZE > 0 then
  2130. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*2.5, Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2131. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*3, Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2132. end
  2133. until BLOWN == true
  2134. end))
  2135. repeat
  2136. Swait()
  2137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(12), RAD(25)), 1 / Animation_Speed)
  2138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2143.  
  2144. until ATTACK == false
  2145. end))
  2146. wait(0.2)
  2147. for i = 1, 15 do
  2148. wait(MRANDOM(2,6)/45)
  2149. coroutine.resume(coroutine.create(function()
  2150.  
  2151. local HEIGHT = 45/5
  2152. local DISTANCE = (BLADE.Position - POS).Magnitude
  2153. for i = 1, 45 do
  2154. Swait()
  2155. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  2156. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.3, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 0})
  2157. end
  2158. SIZE = SIZE + 1
  2159. end))
  2160. end
  2161. wait(2.5)
  2162. BLOWN = true
  2163. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(150,50,150), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.4, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2164. for E = 1, 5 do
  2165. for i = 1, 5 do
  2166. WACKYEFFECT({Time = 50+(E*4), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2167. end
  2168. end
  2169. CreateSound(288641686,Effects,5,1,false)
  2170. CreateSound(592877506,Effects,5,1,false)
  2171. local HITS = {}
  2172. for index, CHILD in pairs(workspace:GetDescendants()) do
  2173. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2174. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2175. if HUM then
  2176. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2177. if TORSO then
  2178. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  2179. local PASS = true
  2180. for E = 1, #HITS do
  2181. if HITS[E] == CHILD then
  2182. PASS = false
  2183. end
  2184. end
  2185. if PASS == true then
  2186. table.insert(HITS,CHILD)
  2187. end
  2188. end
  2189. end
  2190. end
  2191. end
  2192. end
  2193. if #HITS > 0 then
  2194. local DONE = false
  2195. local HUMS = {}
  2196. coroutine.resume(coroutine.create(function()
  2197. for E = 1, #HITS do
  2198. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  2199. table.insert(HUMS,HUM)
  2200. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  2201. local grav = Instance.new("BodyPosition",TORSO)
  2202. grav.D = 850
  2203. grav.P = 4000
  2204. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2205. grav.Position = TORSO.Position+VT(0,35,0)
  2206. CreateSound(592877506,TORSO,5,0.5,false)
  2207. if TORSO then
  2208. coroutine.resume(coroutine.create(function()
  2209. local B = IT("Attachment",TORSO)
  2210. local ChainLink = IT("Beam",Torso)
  2211. ChainLink.Texture = "rbxassetid://73042633"
  2212. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  2213. ChainLink.TextureSpeed = -1
  2214. ChainLink.FaceCamera = true
  2215. ChainLink.Width0 = 3
  2216. ChainLink.Width1 = 3
  2217. ChainLink.TextureLength = 3
  2218. ChainLink.Attachment0 = A
  2219. ChainLink.Attachment1 = B
  2220. ChainLink.CurveSize0 = 0
  2221. ChainLink.CurveSize1 = 0
  2222. ChainLink.FaceCamera = true
  2223. ChainLink.TextureMode = "Static"
  2224. ChainLink.Transparency = NumberSequence.new(0)
  2225. repeat
  2226. Swait()
  2227. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(0,0,0), Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 35})
  2228. until DONE == true or HUM.Health < 1
  2229. B:Remove()
  2230. ChainLink:Remove()
  2231. grav:Remove()
  2232. if HUM.Health < 1 then
  2233. for E = 1, 2 do
  2234. for i = 1, 3 do
  2235. WACKYEFFECT({Time = 15, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/6, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2236. end
  2237. end
  2238. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(6,6,6)*TORSO.Size.Z, Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 160772554, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2239. for _, c in pairs(HITS[E]:GetChildren()) do
  2240. if c:IsA("BasePart") or c:IsA("Accessory") then
  2241. c:remove()
  2242. end
  2243. end
  2244. local BONES = {
  2245. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  2246. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  2247. }
  2248. local SELECTABLEBONES = {
  2249. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  2250. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  2251. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  2252. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  2253. }
  2254. for i = 1, 9 do
  2255. local CHOSENPIECE = nil
  2256. if i == 1 then
  2257. CHOSENPIECE = BONES.Skull
  2258. elseif i == 2 then
  2259. CHOSENPIECE = BONES.Ribs
  2260. else
  2261. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  2262. end
  2263. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  2264. BONE.CanCollide = true
  2265. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  2266. if CHOSENPIECE.MeshId == 36869983 then
  2267. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  2268. else
  2269. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  2270. end
  2271. end
  2272. end
  2273. end))
  2274. end
  2275. end
  2276. wait(1)
  2277. for i = 1, 250 do
  2278. Swait()
  2279. for E = 1, #HUMS do
  2280. if HUMS[E] then
  2281. if HUMS[E].Health > 0 then
  2282. HUMS[E].Health = HUMS[E].Health - 0.3
  2283. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  2284. WACKYEFFECT({Time = 10, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5)/20, Transparency = 0.9, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2285. end
  2286. end
  2287. end
  2288. end
  2289. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0, 0, 0), "OWEXTRADAMAGE")
  2290. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  2291. coroutine.resume(coroutine.create(function()
  2292. CreateSound(743521450,Cam,5,0.6,false)
  2293. for E = 1, 75 do
  2294. Swait()
  2295. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  2296. end
  2297. wait(4)
  2298. for E = 1, 25 do
  2299. Swait()
  2300. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  2301. end
  2302. SKILLFRAME:Remove()
  2303. end))
  2304. DONE = true
  2305. for i = 1, 50 do
  2306. wait(0.5)
  2307. for i = 1, 3 do
  2308. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(DAMAGEMULTIPLIER-1,0.1,DAMAGEMULTIPLIER-1)*1.5, Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.25,0).p) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  2309. end
  2310. end
  2311. DAMAGEMULTIPLIER = 1
  2312. end))
  2313. wait(0.2)
  2314. end
  2315. wait(0.4)
  2316. EQUIPPED = false
  2317. ATTACK = false
  2318. Rooted = false
  2319. end
  2320. end
  2321. function Laugh()
  2322. ATTACK = true
  2323. Rooted = true
  2324. CreateSound(160740121,Head,10,1,false)
  2325. for i=0, 0.5, 0.1 / Animation_Speed do
  2326. Swait()
  2327. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.6 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.45 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2331. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2332. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2333. end
  2334. for i=1, 185 do
  2335. Swait()
  2336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1 + 0.05 * SIN(SINE/2)) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.55 + 0.15 * SIN(SINE/2), -0.7) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.4 + 0.15 * SIN(SINE/2), -0.6) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2342. end
  2343. ATTACK = false
  2344. Rooted = false
  2345. end
  2346. --
  2347. function MagicMissiles()
  2348. ATTACK = true
  2349. Rooted = true
  2350. local SELECTING = true
  2351. local SPOTS = {}
  2352. coroutine.resume(coroutine.create(function()
  2353. local LOOP = 0
  2354. repeat
  2355. LOOP = LOOP + 1
  2356. Swait()
  2357. if LOOP >= 10 then
  2358. LOOP = 0
  2359. for i = 1, #SPOTS do
  2360. if SPOTS[i] ~= nil then
  2361. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2362. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2363. end
  2364. end
  2365. end
  2366. 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)
  2367. 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)
  2368. 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)
  2369. 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)
  2370. 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)
  2371. 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)
  2372. until SELECTING == false
  2373. Rooted = false
  2374. repeat
  2375. LOOP = LOOP + 1
  2376. Swait()
  2377. if LOOP >= 10 then
  2378. LOOP = 0
  2379. for i = 1, #SPOTS do
  2380. if SPOTS[i] ~= nil then
  2381. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2382. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2383. end
  2384. end
  2385. end
  2386. 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)
  2387. 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)
  2388. 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)
  2389. 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)
  2390. 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)
  2391. 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)
  2392. until ATTACK == false
  2393. end))
  2394. repeat
  2395. repeat Swait() until HOLD == true
  2396. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2397. if DIST > 65 then
  2398. DIST = 65
  2399. end
  2400. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2401. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2402. if HITFLOOR ~= nil then
  2403. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  2404. 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(0/0, 0/0, 0/0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  2405. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2406. end
  2407. repeat Swait() until HOLD == false
  2408. until #SPOTS == 5
  2409. SELECTING = false
  2410. for i = 1, #SPOTS do
  2411. if SPOTS[i] ~= nil then
  2412. local POS = SPOTS[i]
  2413. coroutine.resume(coroutine.create(function()
  2414. local MISSILE = IT("Model",Effects)
  2415. MISSILE.Name = "Missile"
  2416. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  2417. MakeForm(BASEPART,"Cyl")
  2418. MISSILE.PrimaryPart = BASEPART
  2419. BASEPART.CFrame = POS*CF(0,-30*3,0)
  2420. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  2421. MakeForm(HEAD,"Ball")
  2422. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  2423. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  2424. MakeForm(TAIL,"Cyl")
  2425. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  2426. for i = 1, 10 do
  2427. Swait()
  2428. for _, c in pairs(MISSILE:GetChildren()) do
  2429. if c.ClassName == "Part" then
  2430. c.Transparency = c.Transparency - 1/10
  2431. end
  2432. end
  2433. end
  2434. for i = 1, 15*1.5 do
  2435. Swait()
  2436. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  2437. end
  2438. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  2439. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  2440. 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(0/0, 0/0, 0/0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  2441. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2442. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2443. MISSILE:remove()
  2444. end))
  2445. end
  2446. end
  2447. wait(0.6)
  2448. ATTACK = false
  2449. Rooted = false
  2450. end
  2451.  
  2452. function TimesUp()
  2453. CLOCKTARGET = nil
  2454. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2455. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2456. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2457. if TORSO then
  2458. ATTACK = true
  2459. Rooted = false
  2460. coroutine.resume(coroutine.create(function()
  2461. repeat
  2462. Swait()
  2463. 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)
  2464. 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)
  2465. 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)
  2466. 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)
  2467. 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)
  2468. 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)
  2469. until ATTACK == false
  2470. end))
  2471. if Effects:FindFirstChild("NeonDoll") then
  2472. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  2473. end
  2474. wait(0.5)
  2475. local FAKECHARACTER = IT("Model",Effects)
  2476. FAKECHARACTER.Name = "NeonDoll"
  2477. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  2478. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  2479. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2480. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  2481. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2482. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  2483. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2484. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  2485. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2486. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  2487. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  2488. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2489. CreateSound(201858045, TORS, 5, 0.4, false)
  2490. for i = 1, 150 do
  2491. Swait()
  2492. CLOCKSPEED = 6
  2493. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2494. if c.ClassName == "Part" then
  2495. c.Transparency = c.Transparency - 0.5/150
  2496. end
  2497. end
  2498. end
  2499. CLOCKTARGET = HUM
  2500. coroutine.resume(coroutine.create(function()
  2501. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  2502. for i = 1, 25 do
  2503. Swait()
  2504. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2505. if c.ClassName == "Part" then
  2506. c.Transparency = c.Transparency + 0.5/25
  2507. end
  2508. end
  2509. end
  2510. CLOCKSPEED = 1
  2511. FAKECHARACTER:remove()
  2512. end))
  2513. wait(0.5)
  2514. ATTACK = false
  2515. Rooted = false
  2516. end
  2517. end
  2518. end
  2519.  
  2520. function ChainPunch()
  2521. ATTACK = true
  2522. Rooted = false
  2523. local GYRO = IT("BodyGyro",RootPart)
  2524. GYRO.D = 25
  2525. GYRO.P = 2000
  2526. GYRO.MaxTorque = VT(0,40000,0)
  2527. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2528. repeat
  2529. Swait()
  2530. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2531. 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)
  2532. 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)
  2533. 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)
  2534. 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)
  2535. 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)
  2536. 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)
  2537. until HOLD == true
  2538. local POS = Mouse.Hit.p
  2539. local CHAINS = false
  2540. local CHAINLINKS = {}
  2541. local A = IT("Attachment",RightArm)
  2542. A.Position = VT(1,-1,0)*SIZE
  2543. A.Orientation = VT(-90, -89.982, 0)
  2544. local B = IT("Attachment",RightArm)
  2545. B.Position = VT(-1,-1,0)*SIZE
  2546. B.Orientation = VT(-90, 89.988, 0)
  2547. local C = IT("Attachment",RightArm)
  2548. C.Position = VT(0.5,-1.3,0)*SIZE
  2549. C.Orientation = VT(-90, -89.982, 0)
  2550. local D = IT("Attachment",RightArm)
  2551. D.Position = VT(-0.5,-1.3,0)*SIZE
  2552. D.Orientation = VT(-90, 89.988, 0)
  2553. local LIGHT = IT("Attachment",RightArm)
  2554. LIGHT.Position = VT(0,-1,0)*SIZE
  2555. local LIGHT2 = IT("PointLight",LIGHT)
  2556. LIGHT2.Range = 7
  2557. LIGHT2.Brightness = 5
  2558. LIGHT2.Color = SKILLTEXTCOLOR
  2559. for i = 1, 2 do
  2560. local TWIST = -2
  2561. local START = A
  2562. local END = B
  2563. if i == 1 then
  2564. START = B
  2565. END = A
  2566. end
  2567. local ChainLink = IT("Beam",Torso)
  2568. ChainLink.Texture = "rbxassetid://73042633"
  2569. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2570. ChainLink.TextureSpeed = 1
  2571. ChainLink.Width0 = 1
  2572. ChainLink.Width1 = 1
  2573. ChainLink.TextureLength = 2.5
  2574. ChainLink.Attachment0 = START
  2575. ChainLink.Attachment1 = END
  2576. ChainLink.CurveSize0 = TWIST
  2577. ChainLink.CurveSize1 = TWIST
  2578. --ChainLink.FaceCamera = true
  2579. ChainLink.Segments = 45
  2580. ChainLink.Transparency = NumberSequence.new(1)
  2581. table.insert(CHAINLINKS,ChainLink)
  2582. end
  2583. for i = 1, 2 do
  2584. local TWIST = -1
  2585. local START = C
  2586. local END = D
  2587. if i == 1 then
  2588. START = D
  2589. END = C
  2590. end
  2591. local ChainLink = IT("Beam",Torso)
  2592. ChainLink.Texture = "rbxassetid://73042633"
  2593. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2594. ChainLink.TextureSpeed = 1
  2595. ChainLink.Width0 = 1
  2596. ChainLink.Width1 = 1
  2597. ChainLink.TextureLength = 5
  2598. ChainLink.Attachment0 = START
  2599. ChainLink.Attachment1 = END
  2600. ChainLink.CurveSize0 = TWIST
  2601. ChainLink.CurveSize1 = TWIST
  2602. --ChainLink.FaceCamera = true
  2603. ChainLink.Segments = 25
  2604. ChainLink.LightEmission = 0.5
  2605. ChainLink.Transparency = NumberSequence.new(1)
  2606. table.insert(CHAINLINKS,ChainLink)
  2607. end
  2608. coroutine.resume(coroutine.create(function()
  2609. repeat
  2610. Swait()
  2611. 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)
  2612. 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)
  2613. 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)
  2614. 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)
  2615. 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)
  2616. 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)
  2617. until CHAINS == true
  2618. repeat
  2619. Swait()
  2620. 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)
  2621. 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)
  2622. 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)
  2623. 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)
  2624. 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)
  2625. 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)
  2626. until ATTACK == false
  2627. for e = 1, 15 do
  2628. Swait()
  2629. for i = 1, #CHAINLINKS do
  2630. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2631. end
  2632. end
  2633. A:remove()
  2634. B:remove()
  2635. C:remove()
  2636. D:remove()
  2637. end))
  2638. CreateSound(233856115, RightArm, 5, 1.2, false)
  2639. for e = 1, 15 do
  2640. Swait()
  2641. for i = 1, #CHAINLINKS do
  2642. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2643. end
  2644. end
  2645. CHAINS = true
  2646. Rooted = true
  2647. wait(0.25)
  2648. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  2649. FIST.Color = C3(1, 215/255, 1)
  2650. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2651. local LIGHT3 = IT("PointLight",FIST)
  2652. LIGHT3.Range = 7
  2653. LIGHT3.Brightness = 5
  2654. LIGHT3.Color = SKILLTEXTCOLOR
  2655. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2656. local FISTA = IT("Attachment",FIST)
  2657. FISTA.Position = VT(0.062, 0.977, 0)
  2658. local ChainLink = IT("Beam",Torso)
  2659. ChainLink.Texture = "rbxassetid://73042633"
  2660. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2661. ChainLink.TextureSpeed = 0
  2662. ChainLink.Width0 = 3
  2663. ChainLink.Width1 = 3
  2664. ChainLink.TextureLength = 12
  2665. ChainLink.Attachment0 = LIGHT
  2666. ChainLink.Attachment1 = FISTA
  2667. ChainLink.FaceCamera = true
  2668. ChainLink.Segments = 45
  2669. ChainLink.LightEmission = 0.5
  2670. ChainLink.Transparency = NumberSequence.new(0.25)
  2671. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2672. for i = 1, 85 do
  2673. Swait()
  2674. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2675. ChainLink.TextureLength = 12+(i*2)
  2676. ApplyAoE(FIST.Position,10,15,25,100,false)
  2677. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2678. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2679. if HITFLOOR ~= nil then
  2680. HITFLOOR:BreakJoints()
  2681. coroutine.resume(coroutine.create(function()
  2682. for i = 1, 15 do
  2683. Swait()
  2684. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2685. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2686. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2687. end
  2688. end))
  2689. break
  2690. end
  2691. end
  2692. coroutine.resume(coroutine.create(function()
  2693. for i = 1, 50 do
  2694. Swait()
  2695. FIST.Transparency = FIST.Transparency + 0.5/50
  2696. LIGHT3.Range = LIGHT3.Range - 7/50
  2697. end
  2698. FIST:remove()
  2699. end))
  2700. LIGHT:remove()
  2701. GYRO:remove()
  2702. ATTACK = false
  2703. Rooted = false
  2704. end
  2705.  
  2706. function WarpMeteor()
  2707. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2708. if DIST > 180 then
  2709. DIST = 180
  2710. end
  2711. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2712. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2713. if HITFLOOR then
  2714. local POS = HITPOS
  2715. ATTACK = true
  2716. Rooted = true
  2717. local WARPED = false
  2718. local SMASHED = false
  2719. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2720. coroutine.resume(coroutine.create(function()
  2721. repeat
  2722. Swait()
  2723. 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)
  2724. 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)
  2725. 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)
  2726. 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)
  2727. 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)
  2728. 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)
  2729. until WARPED == true
  2730. repeat
  2731. Swait()
  2732. 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)
  2733. 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)
  2734. 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)
  2735. 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)
  2736. 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)
  2737. 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)
  2738. until SMASHED == true
  2739. repeat
  2740. Swait()
  2741. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2742. 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)
  2743. 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)
  2744. 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)
  2745. 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)
  2746. 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)
  2747. until ATTACK == false
  2748. end))
  2749. VALUE1 = true
  2750. CreateSound(233856115, Torso, 5, 1.6, false)
  2751. for i = 1, 25 do
  2752. Swait()
  2753. for _, c in pairs(Character:GetChildren()) do
  2754. if c.ClassName == "Part" then
  2755. c.Transparency = c.Transparency + 1/25
  2756. end
  2757. end
  2758. for _, c in pairs(Weapon:GetChildren()) do
  2759. if c.ClassName == "Part" then
  2760. c.Transparency = c.Transparency + 1/25
  2761. end
  2762. end
  2763. end
  2764. UNANCHOR = false
  2765. RootPart.Anchored = true
  2766. RootPart.Velocity = VT(0,0,0)
  2767. local ROOTPOS = RootPart.Position
  2768. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2769. WARPED = true
  2770. for i = 1, 25 do
  2771. Swait()
  2772. for _, c in pairs(Character:GetChildren()) do
  2773. if c.ClassName == "Part" then
  2774. c.Transparency = c.Transparency - 1/25
  2775. end
  2776. end
  2777. for _, c in pairs(Weapon:GetChildren()) do
  2778. if c.ClassName == "Part" then
  2779. c.Transparency = c.Transparency - 1/25
  2780. end
  2781. end
  2782. end
  2783. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  2784. SHELL.CFrame = RootPart.CFrame
  2785. MakeForm(SHELL,"Ball")
  2786. CreateSound(402981977, SHELL, 5, 1.6, false)
  2787. for i = 1, 10 do
  2788. Swait()
  2789. SHELL.Transparency = SHELL.Transparency - 1/10
  2790. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2791. end
  2792. for i = 1, math.ceil(75/2) do
  2793. Swait()
  2794. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2795. SHELL.CFrame = CF(RootPart.Position)
  2796. 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})
  2797. end
  2798. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2799. SHELL.CFrame = CF(RootPart.Position)
  2800. 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})
  2801. 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})
  2802. 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})
  2803. for i = 1, 5 do
  2804. 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(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2805. end
  2806. SHELL:remove()
  2807. ApplyAoE(RootPart.Position,75,35,75,175,false)
  2808. SMASHED = true
  2809. wait(1)
  2810. VALUE1 = false
  2811. UNANCHOR = true
  2812. ATTACK = false
  2813. Rooted = false
  2814. end
  2815. end
  2816.  
  2817. function PandorasBox()
  2818. 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)
  2819. if HITFLOOR ~= nil then
  2820. ATTACK = true
  2821. Rooted = true
  2822. local RINGSPIN = true
  2823. local CONSTRUCTING = true
  2824. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2825. RING.Color = C3(0,0,0)
  2826. MakeForm(RING,"Cyl")
  2827. RING.CFrame = CF(HITPOS)
  2828. CreateSound(402981977, RING, 5, 1.2, false)
  2829. coroutine.resume(coroutine.create(function()
  2830. repeat
  2831. Swait()
  2832. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2833. 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)
  2834. 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)
  2835. 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)
  2836. 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)
  2837. 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)
  2838. 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)
  2839. until CONSTRUCTING == false
  2840. repeat
  2841. Swait()
  2842. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2843. until RINGSPIN == false
  2844. for i = 1, 25 do
  2845. Swait()
  2846. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2847. RING.Size = RING.Size - VT(0.15,0,0.15)
  2848. --DECAL.Transparency = DECAL.Transparency + 1/25
  2849. RING.Transparency = RING.Transparency + 1/25
  2850. end
  2851. RING:remove()
  2852. end))
  2853. for i = 1, 15 do
  2854. Swait()
  2855. RING.Size = RING.Size + VT(0.75,0,0.75)
  2856. RING.Transparency = RING.Transparency - 1/15
  2857. end
  2858. local BOXSPIN = true
  2859. local PANDORASBOX = IT("Model",Effects)
  2860. PANDORASBOX.Name = "Pandora's Box"
  2861. local BOX = IT("Model",PANDORASBOX)
  2862. BOX.Name = "Body"
  2863. local LID = IT("Model",PANDORASBOX)
  2864. LID.Name = "Lid"
  2865. --BUILDING THE BOX--
  2866. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  2867. BASE.Color = C3(0,0,0)
  2868. PANDORASBOX.PrimaryPart = BASE
  2869. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2870. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2871. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2872. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2873. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2874. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2875. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2876. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2877. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2878. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2879. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2880. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2881. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2882. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2883. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2884. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2885. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2886. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2887. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2888. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2889. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2890. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2891. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2892. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2893. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2894. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2895. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2896. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2897. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2898. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2899. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2900. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2901. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2902. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2903. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2904. -------------
  2905. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2906. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2907. LID.PrimaryPart = LIDPART
  2908. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2909. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2910. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2911. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2912. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2913. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2914. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2915. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2916. local DECAL = IT("Decal",LIDPART)
  2917. DECAL.Face = "Top"
  2918. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2919. DECAL.Color3 = C3(0,0,0)
  2920. --BUILDING THE BOX--
  2921. coroutine.resume(coroutine.create(function()
  2922. repeat
  2923. Swait()
  2924. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2925. until BOXSPIN == false
  2926. end))
  2927. for i = 1, 25 do
  2928. Swait()
  2929. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2930. end
  2931. wait(0.5)
  2932. BOXSPIN = false
  2933. CONSTRUCTING = false
  2934. coroutine.resume(coroutine.create(function()
  2935. 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})
  2936. --[[for i = 1, 45 do
  2937. Swait()
  2938. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2939. end-
  2940. LID:remove()]]--
  2941. for _, c in pairs(LID:GetChildren()) do
  2942. if c.ClassName == "Part" then
  2943. c.Anchored = false
  2944. c.CanCollide = true
  2945. if c ~= LIDPART then
  2946. weldBetween(LIDPART,c)
  2947. end
  2948. end
  2949. end
  2950. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2951. Debris:AddItem(LID,15)
  2952. wait(0.5)
  2953. local RANDOMEFFECT = MRANDOM(1,4)
  2954. if RANDOMEFFECT == 1 then
  2955. for i = 1, 45 do
  2956. wait((2-(i/15))/15)
  2957. 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})
  2958. end
  2959. wait(1)
  2960. 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})
  2961. 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})
  2962. 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})
  2963. for i = 1, 5 do
  2964. 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})
  2965. end
  2966. ApplyAoE(BASE.Position,50,1,200,375,false)
  2967. ApplyAoE(BASE.Position,250,35,75,175,false)
  2968. elseif RANDOMEFFECT == 2 then
  2969. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2970. FIELD.CFrame = BASE.CFrame
  2971. MakeForm(FIELD,"Ball")
  2972. for i = 1, 50 do
  2973. Swait()
  2974. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2975. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2976. end
  2977. wait(0.2)
  2978. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2979. coroutine.resume(coroutine.create(function()
  2980. for i = 1, 75 do
  2981. Swait()
  2982. LOOP.Volume = LOOP.Volume + 10/75
  2983. LOOP.Parent = FIELD
  2984. local CHILDREN = workspace:GetDescendants()
  2985. for index, CHILD in pairs(CHILDREN) do
  2986. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2987. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2988. if HUM then
  2989. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2990. if TORSO then
  2991. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2992. HUM.Health = HUM.Health - 0.1
  2993. TORSO.Velocity = VT(0,5,0)
  2994. HUM.PlatformStand = true
  2995. if TORSO.RotVelocity.Magnitude < 15 then
  2996. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2997. end
  2998. end
  2999. end
  3000. end
  3001. end
  3002. end
  3003. FIELD.Size = FIELD.Size + VT(3,3,3)
  3004. FIELD.Transparency = FIELD.Transparency + 0.8/75
  3005. end
  3006. for i = 1, 500 do
  3007. Swait()
  3008. LOOP.Parent = FIELD
  3009. local CHILDREN = workspace:GetDescendants()
  3010. for index, CHILD in pairs(CHILDREN) do
  3011. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3012. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3013. if HUM then
  3014. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3015. if TORSO then
  3016. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  3017. TORSO.Velocity = VT(0,5,0)
  3018. HUM.Health = HUM.Health - 0.1
  3019. HUM.PlatformStand = true
  3020. if TORSO.RotVelocity.Magnitude < 15 then
  3021. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  3022. end
  3023. end
  3024. end
  3025. end
  3026. end
  3027. end
  3028. end
  3029. for i = 1, 25 do
  3030. Swait()
  3031. LOOP.Volume = LOOP.Volume + 10/25
  3032. LOOP.Parent = FIELD
  3033. local CHILDREN = workspace:GetDescendants()
  3034. for index, CHILD in pairs(CHILDREN) do
  3035. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3036. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3037. if HUM then
  3038. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3039. if TORSO then
  3040. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  3041. TORSO.Velocity = VT(0,5,0)
  3042. HUM.Health = HUM.Health - 0.1
  3043. HUM.PlatformStand = false
  3044. if TORSO.RotVelocity.Magnitude < 15 then
  3045. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  3046. end
  3047. end
  3048. end
  3049. end
  3050. end
  3051. end
  3052. FIELD.Size = FIELD.Size - VT(3,3,3)
  3053. FIELD.Transparency = FIELD.Transparency + 0.2/25
  3054. end
  3055. FIELD:remove()
  3056. end))
  3057. elseif RANDOMEFFECT == 3 then
  3058. for i = 1, 10 do
  3059. wait(0.15)
  3060. 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})
  3061. coroutine.resume(coroutine.create(function()
  3062. local MINION = CLONE:Clone()
  3063. MINION.Parent = Effects
  3064. MINION.Name = "Shadow"
  3065. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  3066. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  3067. for _, c in pairs(MINION:GetChildren()) do
  3068. if c.ClassName == "Part" then
  3069. c.Material = "Neon"
  3070. c.Color = C3(0,0,0)
  3071. c.Transparency = 0.25
  3072. if c.Name == "Head" then
  3073. c:ClearAllChildren()
  3074. local MSH = IT("BlockMesh",c)
  3075. MSH.Scale = VT(0.5,1,1)
  3076. end
  3077. end
  3078. end
  3079. local TORSO = MINION.Torso
  3080. local HUMAN = MINION.Humanoid
  3081. HUMAN.WalkSpeed = 20
  3082. HUMAN.MaxHealth = math.huge
  3083. HUMAN.Health = math.huge
  3084. HUMAN.DisplayDistanceType = "None"
  3085. HUMAN.Died:connect(function()
  3086. MINION:remove()
  3087. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  3088. end)
  3089. wait(1)
  3090. local findNearestTorso = function(POS)
  3091. local list = game.Workspace:GetDescendants()
  3092. local torso = nil
  3093. local dist = 500
  3094. local temp = nil
  3095. local human = nil
  3096. local temp2 = nil
  3097. for x = 1, #list do
  3098. temp2 = list[x]
  3099. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  3100. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  3101. human = temp2:findFirstChildOfClass("Humanoid")
  3102. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3103. if (temp.Position - POS).magnitude < dist then
  3104. torso = temp
  3105. dist = (temp.Position - POS).magnitude
  3106. end
  3107. end
  3108. end
  3109. end
  3110. return torso, dist
  3111. end
  3112. for i = 1, 40 do
  3113. if HUMAN.Health == 0 then
  3114. break
  3115. end
  3116. wait(0.3)
  3117. local target,dist= findNearestTorso(TORSO.Position)
  3118. if target then
  3119. HUMAN:MoveTo(target.Position)
  3120. if dist < 25 then
  3121. CreateSound(348663022, TORSO, 10, 1, true)
  3122. wait(2)
  3123. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  3124. --ANIM:Play()
  3125. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  3126. ApplyAoE(TORSO.Position,10,0,0,85,true)
  3127. 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})
  3128. for i = 1, 5 do
  3129. 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})
  3130. end
  3131. break
  3132. end
  3133. end
  3134. end
  3135. MINION:remove()
  3136. end))
  3137. end
  3138. elseif RANDOMEFFECT == 4 then
  3139. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  3140. FIELD.Color = C3(0,0,0)
  3141. FIELD.CFrame = BASE.CFrame
  3142. MakeForm(FIELD,"Ball")
  3143. FIELD.CanCollide = true
  3144. for i = 1, 50 do
  3145. Swait()
  3146. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  3147. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  3148. end
  3149. wait(0.2)
  3150. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  3151. coroutine.resume(coroutine.create(function()
  3152. local E = 0
  3153. for i = 1, 75 do
  3154. E = E + 1
  3155. Swait()
  3156. if E >= 35 then
  3157. E = 0
  3158. 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})
  3159. end
  3160. LOOP.Volume = LOOP.Volume + 10/75
  3161. LOOP.Parent = FIELD
  3162. local CHILDREN = workspace:GetDescendants()
  3163. for index, CHILD in pairs(CHILDREN) do
  3164. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3165. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3166. if HUM then
  3167. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3168. if TORSO then
  3169. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  3170. for _, c in pairs(CHILD:GetChildren()) do
  3171. if c:IsA("BasePart") then
  3172. local bv = Instance.new("BodyVelocity")
  3173. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3174. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  3175. bv.Parent = c
  3176. Debris:AddItem(bv,0.05)
  3177. end
  3178. end
  3179. HUM.Health = HUM.Health - 0.3
  3180. end
  3181. end
  3182. end
  3183. end
  3184. end
  3185. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  3186. end
  3187. for i = 1, 180 do
  3188. E = E + 1
  3189. Swait()
  3190. if E >= 35 then
  3191. E = 0
  3192. 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})
  3193. end
  3194. LOOP.Parent = FIELD
  3195. local CHILDREN = workspace:GetDescendants()
  3196. for index, CHILD in pairs(CHILDREN) do
  3197. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3198. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3199. if HUM then
  3200. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3201. if TORSO then
  3202. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  3203. for _, c in pairs(CHILD:GetChildren()) do
  3204. if c:IsA("BasePart") then
  3205. local bv = Instance.new("BodyVelocity")
  3206. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3207. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  3208. bv.Parent = c
  3209. Debris:AddItem(bv,0.05)
  3210. end
  3211. end
  3212. HUM.Health = HUM.Health - 0.3
  3213. end
  3214. end
  3215. end
  3216. end
  3217. end
  3218. end
  3219. ApplyAoE(FIELD.Position,40,15,20,375,false)
  3220. 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})
  3221. for i = 1, 5 do
  3222. 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})
  3223. end
  3224. FIELD:remove()
  3225. end))
  3226. elseif RANDOMEFFECT == 5 then
  3227. end
  3228. wait(0.5)
  3229. for i = 1, 25 do
  3230. Swait()
  3231. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  3232. end
  3233. PANDORASBOX:remove()
  3234. RINGSPIN = false
  3235. end))
  3236. ATTACK = false
  3237. Rooted = false
  3238. end
  3239. end
  3240.  
  3241. function nahid()
  3242. ATTACK = true
  3243. local LAUGH = nil
  3244. coroutine.resume(coroutine.create(function()
  3245. repeat
  3246. Swait()
  3247. 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)
  3248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3249. 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)
  3250. 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)
  3251. 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)
  3252. 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)
  3253. until LAUGH ~= nil
  3254. repeat
  3255. Swait()
  3256. LAUGH.Parent = Head
  3257. 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)
  3258. 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)
  3259. 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)
  3260. 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)
  3261. 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)
  3262. 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)
  3263. until LAUGH.Playing == false
  3264. ATTACK = false
  3265. end))
  3266. wait(0.1)
  3267. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  3268. end
  3269.  
  3270. function Teleport()
  3271. ATTACK = true
  3272. Rooted = false
  3273. for i=0, 0.5, 0.1 / Animation_Speed do
  3274. Swait()
  3275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3277. end
  3278. for e = 1, #BODY do
  3279. if BODY[e] ~= nil then
  3280. local STUFF = BODY[e]
  3281. local PART = STUFF[1]
  3282. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3283. local PRT = PART:Clone()
  3284. PRT.Anchored = true
  3285. PRT.CanCollide = false
  3286. PRT.Material = "Neon"
  3287. PRT.Color = C3(0,0,0)
  3288. PRT.Name = "WarpEffect"
  3289. PRT.Parent = Effects
  3290. PRT.CFrame = PART.CFrame
  3291. PRT:BreakJoints()
  3292. if PRT:FindFirstChildOfClass("Sound") then
  3293. PRT:FindFirstChildOfClass("Sound"):remove()
  3294. end
  3295. if PRT:FindFirstChildOfClass("Decal") then
  3296. PRT:FindFirstChildOfClass("Decal"):remove()
  3297. end
  3298. coroutine.resume(coroutine.create(function()
  3299. for i = 1, 100 do
  3300. Swait()
  3301. PRT.Transparency = PRT.Transparency + 1/100
  3302. end
  3303. PRT:remove()
  3304. end))
  3305. end
  3306. end
  3307. end
  3308. CreateSound(217767125, Torso, 10, 1)
  3309. local POS = RootPart.Orientation
  3310. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3311. RootPart.Orientation = POS
  3312. RootJoint.Parent = RootPart
  3313. for i=0, 0.5, 0.1 / Animation_Speed do
  3314. Swait()
  3315. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3316. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3317. end
  3318. for i=0, 0.1, 0.1 / Animation_Speed do
  3319. Swait()
  3320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3321. end
  3322. ATTACK = false
  3323. Rooted = false
  3324. end
  3325.  
  3326. function End_me()
  3327. Speed = 5
  3328. local MEME = CreateSound(212718942, Effects, 2, 1, false)
  3329. ATTACK = true
  3330. Rooted = false
  3331. local DANCE = true
  3332. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3333. if NEWKEY == "p" then
  3334. DANCE = false
  3335. end
  3336. end)
  3337. PLAYSONG = false
  3338. while true do
  3339. for i = 1, 15 do
  3340. Swait()
  3341. MEME.Parent = Effects
  3342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3344. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3345. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3346. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3347. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3348. end
  3349. if DANCE == false then
  3350. break
  3351. end
  3352. for i = 1, 15 do
  3353. Swait()
  3354. MEME.Parent = Effects
  3355. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3359. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3361. end
  3362. end
  3363. PLAYSONG = true
  3364. KEY:Disconnect()
  3365. MEME:remove()
  3366. Speed = 25
  3367. ATTACK = false
  3368. Rooted = false
  3369. end
  3370.  
  3371. function Noclip()
  3372. ATTACK = true
  3373. Rooted = true
  3374. UNANCHOR = false
  3375. RootPart.Anchored = true
  3376. local CLIPPING = true
  3377. local MOVEMENT = nil
  3378. CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
  3379. for i = 1, 50 do
  3380. Swait()
  3381. EXTRATRANS = EXTRATRANS + 0.5/50
  3382. RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
  3383. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3387. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3389. end
  3390. local AURA = CreateSound(1393698948, Torso, 3, 1, true)
  3391. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3392. if NEWKEY == "w" then
  3393. MOVEMENT = "Forward"
  3394. repeat
  3395. Swait()
  3396. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
  3397. until KEYHOLD == false
  3398. elseif NEWKEY == "s" then
  3399. MOVEMENT = "Backwards"
  3400. repeat
  3401. Swait()
  3402. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  3403. until KEYHOLD == false
  3404. elseif NEWKEY == "a" then
  3405. MOVEMENT = "Strafe"
  3406. repeat
  3407. Swait()
  3408. RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
  3409. until KEYHOLD == false
  3410. elseif NEWKEY == "d" then
  3411. MOVEMENT = "Strafe"
  3412. repeat
  3413. Swait()
  3414. RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
  3415. until KEYHOLD == false
  3416. elseif NEWKEY == "y" then
  3417. CLIPPING = false
  3418. end
  3419. MOVEMENT = nil
  3420. end)
  3421. local LOOP = 0
  3422. repeat
  3423. Swait()
  3424. AURA.Parent = Torso
  3425. LOOP = LOOP + 1
  3426. if LOOP >= 15 then
  3427. LOOP = 0
  3428. WaveParticles(Torso.Position,15,C3(1,1,1))
  3429. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3430. end
  3431. if MOVEMENT == nil then
  3432. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3433. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3434. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3435. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3436. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3437. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3438. elseif MOVEMENT == "Forward" then
  3439. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3440. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3441. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3442. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3443. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3444. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3445. elseif MOVEMENT == "Backwards" then
  3446. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3447. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3450. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3451. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3452. elseif MOVEMENT == "Strafe" then
  3453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3457. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3459. end
  3460. until CLIPPING == false
  3461. KEY:Disconnect()
  3462. coroutine.resume(coroutine.create(function()
  3463. for i = 1, 20 do
  3464. Swait()
  3465. AURA.Volume = AURA.Volume - 3/20
  3466. end
  3467. AURA:remove()
  3468. end))
  3469. CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
  3470. for i = 1, 50 do
  3471. Swait()
  3472. EXTRATRANS = EXTRATRANS - 0.5/50
  3473. RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
  3474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3478. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3480. end
  3481. EXTRATRANS = 0
  3482. UNANCHOR = true
  3483. ATTACK = false
  3484. Rooted = false
  3485. end
  3486.  
  3487. function Taunt()
  3488. ATTACK = true
  3489. Rooted = true
  3490. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  3491. repeat
  3492. Swait()
  3493. TAUNT.Parent = Torso
  3494. TAUNT.Playing = true
  3495. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3496. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  3497. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3498. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3499. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3501. until TAUNT.TimePosition >= 1.25
  3502. for i=0, 1.6, 0.1 / Animation_Speed do
  3503. Swait()
  3504. TAUNT.Parent = Torso
  3505. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  3506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  3507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3509. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3510. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3511. end
  3512. ATTACK = false
  3513. Rooted = false
  3514. end
  3515.  
  3516. --//=================================\\
  3517. --|| ASSIGN THINGS TO KEYS
  3518. --\\=================================//
  3519.  
  3520. function MouseDown(Mouse)
  3521. HOLD = true
  3522. if ATTACK == false then
  3523. end
  3524. end
  3525.  
  3526. function MouseUp(Mouse)
  3527. HOLD = false
  3528. end
  3529.  
  3530. function KeyDown(Key)
  3531. KEYHOLD = true
  3532. if Key == "z" and ATTACK == false then
  3533. MagicMissiles()
  3534. end
  3535.  
  3536. if Key == "b" and ATTACK == false then
  3537. TimesUp()
  3538. end
  3539.  
  3540. if Key == "c" and ATTACK == false then
  3541. ChainPunch()
  3542. end
  3543.  
  3544. if Key == "v" and ATTACK == false then
  3545. WarpMeteor()
  3546. end
  3547.  
  3548. if Key == "x" and ATTACK == false then
  3549. PandorasBox()
  3550. end
  3551. if Key == "u" and ATTACK == false then
  3552. AbyssalShriek()
  3553. end
  3554.  
  3555. if Key == "g" and ATTACK == false then
  3556. AbyssalDash()
  3557. end
  3558.  
  3559. if Key == "h" and ATTACK == false then
  3560. ShadowCloak()
  3561. end
  3562.  
  3563. if Key == "j" and ATTACK == false then
  3564. BlackBlast()
  3565. end
  3566.  
  3567. if Key == "m" and ATTACK == false then
  3568. Eon_Fire()
  3569. end
  3570.  
  3571. if Key == "l" and ATTACK == false then
  3572. Teleport()
  3573. end
  3574.  
  3575. if Key == "k" and ATTACK == false then
  3576. NightmareFall()
  3577. end
  3578.  
  3579. if Key == "p" and ATTACK == false then
  3580. End_me()
  3581. end
  3582.  
  3583. if Key == "t" and ATTACK == false then
  3584. Laugh()
  3585. end
  3586. if Key == "r" and ATTACK == false then
  3587. nahid()
  3588. end
  3589.  
  3590. if Key == "y" and ATTACK == false then
  3591. Taunt()
  3592. end
  3593. end
  3594.  
  3595. function KeyUp(Key)
  3596. KEYHOLD = false
  3597. end
  3598.  
  3599. Mouse.Button1Down:connect(function(NEWKEY)
  3600. MouseDown(NEWKEY)
  3601. end)
  3602. Mouse.Button1Up:connect(function(NEWKEY)
  3603. MouseUp(NEWKEY)
  3604. end)
  3605. Mouse.KeyDown:connect(function(NEWKEY)
  3606. KeyDown(NEWKEY)
  3607. end)
  3608. Mouse.KeyUp:connect(function(NEWKEY)
  3609. KeyUp(NEWKEY)
  3610. end)
  3611.  
  3612. --//=================================\\
  3613. --\\=================================//
  3614.  
  3615.  
  3616. function unanchor()
  3617. if UNANCHOR == true then
  3618. RootPart.Anchored = false
  3619. end
  3620. g = Character:GetChildren()
  3621. for i = 1, #g do
  3622. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3623. g[i].Anchored = false
  3624. end
  3625. end
  3626. g = Weapon:GetChildren()
  3627. for i = 1, #g do
  3628. if g[i].ClassName == "Part" then
  3629. g[i].Anchored = false
  3630. end
  3631. end
  3632. end
  3633.  
  3634.  
  3635. --//=================================\\
  3636. --|| WRAP THE WHOLE SCRIPT UP
  3637. --\\=================================//
  3638.  
  3639. Humanoid.Changed:connect(function(Jump)
  3640. if Jump == "Jump" and (Disable_Jump == true) then
  3641. Humanoid.Jump = false
  3642. end
  3643. end)
  3644.  
  3645. while true do
  3646. Swait()
  3647. script.Parent = WEAPONGUI
  3648. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3649. v:Stop();
  3650. end
  3651. ANIMATE.Parent = nil
  3652. SINE = SINE + CHANGE*1.5
  3653. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3654. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3655. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3656. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3657. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3658. 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)
  3659. 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)
  3660. 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)
  3661. 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)
  3662. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3663. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3664. 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)
  3665. 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)
  3666. 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)
  3667. end
  3668. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3669. ANIM = "Jump"
  3670. if ATTACK == false then
  3671. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3672. 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)
  3673. 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)
  3674. 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)
  3675. 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)
  3676. 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)
  3677. end
  3678. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3679. ANIM = "Fall"
  3680. if ATTACK == false then
  3681. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3682. 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)
  3683. 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)
  3684. 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)
  3685. 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)
  3686. 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)
  3687. end
  3688. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3689. ANIM = "Idle"
  3690. if ATTACK == false then
  3691. 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)
  3692. 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)
  3693. 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)
  3694. 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)
  3695. 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)
  3696. 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)
  3697. end
  3698. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3699. ANIM = "Walk"
  3700. if ATTACK == false then
  3701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3702. 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)
  3703. 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)
  3704. 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)
  3705. 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)
  3706. 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)
  3707. end
  3708. end
  3709. unanchor()
  3710. Humanoid.MaxHealth = "inf"
  3711. Humanoid.Health = "inf"
  3712. if Rooted == false then
  3713. Disable_Jump = false
  3714. Humanoid.WalkSpeed = Speed
  3715. elseif Rooted == true then
  3716. Disable_Jump = true
  3717. Humanoid.WalkSpeed = 0
  3718. end
  3719. for _, c in pairs(Character:GetChildren()) do
  3720. if c.ClassName == "Part" and c.Name ~= "Detail" then
  3721. c.Material = "Fabric"
  3722. if c:FindFirstChildOfClass("ParticleEmitter") then
  3723. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3724. end
  3725. if c ~= Head then
  3726. c.Color = C3(0,0,0)
  3727. else
  3728. c.Color = C3(1,1,1)
  3729. end
  3730. if c == Head then
  3731. if c:FindFirstChild("face") then
  3732. c.face:remove()
  3733. end
  3734. end
  3735. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3736. c:remove()
  3737. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3738. c:remove()
  3739. end
  3740. end
  3741. sick.SoundId = "rbxassetid://837104892"
  3742. sick.Looped = true
  3743. sick.Pitch = 1
  3744. sick.Volume = 3
  3745. sick.Parent = Torso
  3746. sick:Resume()
  3747. --sick.Playing = false
  3748. Humanoid.Name = "= "..Player.Name
  3749. end
  3750.  
  3751. --//=================================\\
  3752. --\\=================================//
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758. --//====================================================\\--
  3759. --|| END OF SCRIPT
  3760. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement