Advertisement
Tetezaza1542

nahid pandora

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