Advertisement
Christoffer07700Extr

Main Core FE

May 16th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.47 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER EDITED BY DUCKILES
  3. --\\====================================================//--
  4. --Thanks to XXUNORIBOASXX for help me on some moves
  5. script.Name = "Main core"
  6. wait(0.2)
  7. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  8. local Player,game,owner = owner,game
  9. local RealPlayer = Player
  10. do
  11. print("FE Compatibility code by Mokiros")
  12. local rp = RealPlayer
  13. script.Parent = rp.Character
  14.  
  15. --RemoteEvent for communicating
  16. local Event = Instance.new("RemoteEvent")
  17. Event.Name = "UserInput_Event"
  18.  
  19. --Fake event to make stuff like Mouse.KeyDown work
  20. local function fakeEvent()
  21. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  22. t.connect = t.Connect
  23. return t
  24. end
  25.  
  26. --Creating fake input objects with fake variables
  27. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  28. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  29. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  30. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  31. end}
  32. --Merged 2 functions into one by checking amount of arguments
  33. CAS.UnbindAction = CAS.BindAction
  34.  
  35. --This function will trigger the events that have been :Connect()'ed
  36. local function te(self,ev,...)
  37. local t = m[ev]
  38. if t and t._fakeEvent then
  39. for _,f in pairs(t.Functions) do
  40. f(...)
  41. end
  42. end
  43. end
  44. m.TrigEvent = te
  45. UIS.TrigEvent = te
  46.  
  47. Event.OnServerEvent:Connect(function(plr,io)
  48. if plr~=rp then return end
  49. m.Target = io.Target
  50. m.Hit = io.Hit
  51. if not io.isMouse then
  52. local b = io.UserInputState == Enum.UserInputState.Begin
  53. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  54. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70.  
  71. local Mouse = Player:GetMouse()
  72. local UIS = game:GetService("UserInputService")
  73. local input = function(io,a)
  74. if a then return end
  75. --Since InputObject is a client-side instance, we create and pass table instead
  76. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  77. end
  78. UIS.InputBegan:Connect(input)
  79. UIS.InputEnded:Connect(input)
  80.  
  81. local h,t
  82. --Give the server mouse data 30 times every second, but only if the values changed
  83. --If player is not moving their mouse, client won't fire events
  84. while wait(1/30) do
  85. if h~=Mouse.Hit or t~=Mouse.Target then
  86. h,t=Mouse.Hit,Mouse.Target
  87. Event:FireServer({isMouse=true,Target=t,Hit=h})
  88. end
  89. end]==],Player.Character)
  90.  
  91. ----Sandboxed game object that allows the usage of client-side methods and services
  92. --Real game object
  93. local _rg = game
  94.  
  95. --Metatable for fake service
  96. local fsmt = {
  97. __index = function(self,k)
  98. local s = rawget(self,"_RealService")
  99. if s then return s[k] end
  100. end,
  101. __newindex = function(self,k,v)
  102. local s = rawget(self,"_RealService")
  103. if s then s[k]=v end
  104. end,
  105. __call = function(self,...)
  106. local s = rawget(self,"_RealService")
  107. if s then return s(...) end
  108. end
  109. }
  110. local function FakeService(t,RealService)
  111. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  112. return setmetatable(t,fsmt)
  113. end
  114.  
  115. --Fake game object
  116. local g = {
  117. GetService = function(self,s)
  118. return self[s]
  119. end,
  120. Players = FakeService({
  121. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  122. },"Players"),
  123. UserInputService = FakeService(UIS,"UserInputService"),
  124. ContextActionService = FakeService(CAS,"ContextActionService"),
  125. }
  126. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  127. g.service = g.GetService
  128.  
  129. g.RunService = FakeService({
  130. RenderStepped = _rg:GetService("RunService").Heartbeat,
  131. BindToRenderStep = function(self,name,_,fun)
  132. self._btrs[name] = self.Heartbeat:Connect(fun)
  133. end,
  134. UnbindFromRenderStep = function(self,name)
  135. self._btrs[name]:Disconnect()
  136. end,
  137. },"RunService")
  138.  
  139. setmetatable(g,{
  140. __index=function(self,s)
  141. return _rg:GetService(s) or typeof(_rg[s])=="function"
  142. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  143. end,
  144. __newindex = fsmt.__newindex,
  145. __call = fsmt.__call
  146. })
  147. --Changing owner to fake player object to support owner:GetMouse()
  148. game,owner = g,g.Players.LocalPlayer
  149. end
  150. Player = game:GetService("Players").LocalPlayer
  151. PlayerGui = Player.PlayerGui
  152. Cam = workspace.CurrentCamera
  153. Backpack = Player.Backpack
  154. Character = Player.Character
  155. Humanoid = Character.Humanoid
  156. Mouse = Player:GetMouse()
  157. RootPart = Character["HumanoidRootPart"]
  158. Torso = Character["Torso"]
  159. Head = Character["Head"]
  160. RightArm = Character["Right Arm"]
  161. LeftArm = Character["Left Arm"]
  162. RightLeg = Character["Right Leg"]
  163. LeftLeg = Character["Left Leg"]
  164. RootJoint = RootPart["RootJoint"]
  165. Neck = Torso["Neck"]
  166. RightShoulder = Torso["Right Shoulder"]
  167. LeftShoulder = Torso["Left Shoulder"]
  168. RightHip = Torso["Right Hip"]
  169. LeftHip = Torso["Left Hip"]
  170.  
  171. local sick = Instance.new("Sound",Character)
  172. sick.SoundId = "rbxassetid://1547042045"
  173. sick.Looped = true
  174. sick.Pitch = 1
  175. sick.Volume = 1
  176. sick:Play()
  177.  
  178. IT = Instance.new
  179. CF = CFrame.new
  180. VT = Vector3.new
  181. RAD = math.rad
  182. C3 = Color3.new
  183. UD2 = UDim2.new
  184. BRICKC = BrickColor.new
  185. ANGLES = CFrame.Angles
  186. EULER = CFrame.fromEulerAnglesXYZ
  187. COS = math.cos
  188. ACOS = math.acos
  189. SIN = math.sin
  190. ASIN = math.asin
  191. ABS = math.abs
  192. MRANDOM = math.random
  193. FLOOR = math.floor
  194. local CLOAKED = false
  195. local KILLINSTINCT = 0
  196.  
  197. --//=================================\\
  198. --|| SOME OTHER STUFF
  199. --\\=================================//
  200. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  201. ff.Visible = false
  202. Humanoid.Name = "Core"
  203.  
  204.  
  205. --//=================================\\
  206. --|| USEFUL VALUES
  207. --\\=================================//
  208.  
  209. Animation_Speed = 3
  210. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  211. local Speed = 16
  212. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  213. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  214. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  215. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  216. local DAMAGEMULTIPLIER = 1
  217. local ANIM = "Idle"
  218. local ATTACK = false
  219. local EQUIPPED = false
  220. local HOLD = false
  221. local COMBO = 1
  222. local Rooted = false
  223. local SINE = 0
  224. local KEYHOLD = false
  225. local CHANGE = 2 / Animation_Speed
  226. local WALKINGANIM = false
  227. local VALUE1 = false
  228. local CORMOD = false
  229. local COR1 = false
  230. local FIRE1 = false
  231. local FROZ1 = false
  232. local VOID1 = false
  233. local VOI = false
  234. local SVAL = false
  235. local VALUE2 = false
  236. local ROBLOXIDLEANIMATION = IT("Animation")
  237. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  238. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  239. --ROBLOXIDLEANIMATION.Parent = Humanoid
  240. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  241. WEAPONGUI.Name = "Weapon GUI"
  242. local Weapon = IT("Model")
  243. Weapon.Name = "Adds"
  244. local Effects = IT("Folder", Weapon)
  245. Effects.Name = "Effects"
  246. local ANIMATOR = Humanoid.Animator
  247. local ANIMATE = Character.Animate
  248. local UNANCHOR = true
  249. local ENERGYSOUND = 1417051162
  250. local BEAMSOUND = 1417056781
  251. local EXPLOSIONSOUND = 1417056081
  252. local CHOSENBRICK = "Really red"
  253. --//=================================\\
  254. --\\=================================//
  255.  
  256. local asd = Instance.new("ParticleEmitter")
  257. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  258. asd.LightEmission = .1
  259. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  260. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  261. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  262. asd.Transparency = bbb
  263. asd.Size = aaa
  264. asd.ZOffset = .9
  265. asd.Acceleration = Vector3.new(0, -15, 0)
  266. asd.LockedToPart = false
  267. asd.EmissionDirection = "Back"
  268. asd.Lifetime = NumberRange.new(1, 2)
  269. asd.Rotation = NumberRange.new(-100, 100)
  270. asd.RotSpeed = NumberRange.new(-100, 100)
  271. asd.Speed = NumberRange.new(10)
  272. asd.Enabled = false
  273. asd.VelocitySpread = 999
  274.  
  275. function getbloody(victim,amount)
  276. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  277. PART.CFrame = victim.CFrame
  278. local HITPLAYERSOUNDS = {"356551938","264486467"}
  279. Debris:AddItem(PART,5)
  280. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  281. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  282. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  283. local prtcl = asd:Clone()
  284. prtcl.Parent = PART
  285. prtcl:Emit(amount*10)
  286. end
  287.  
  288. --//=================================\\
  289. --|| SAZERENOS ARTIFICIAL HEARTBEAT
  290. --\\=================================//
  291.  
  292. ArtificialHB = Instance.new("BindableEvent", script)
  293. ArtificialHB.Name = "ArtificialHB"
  294.  
  295. script:WaitForChild("ArtificialHB")
  296.  
  297. frame = Frame_Speed
  298. tf = 0
  299. allowframeloss = false
  300. tossremainder = false
  301. lastframe = tick()
  302. script.ArtificialHB:Fire()
  303.  
  304. game:GetService("RunService").Heartbeat:connect(function(s, p)
  305. tf = tf + s
  306. if tf >= frame then
  307. if allowframeloss then
  308. script.ArtificialHB:Fire()
  309. lastframe = tick()
  310. else
  311. for i = 1, math.floor(tf / frame) do
  312. script.ArtificialHB:Fire()
  313. end
  314. lastframe = tick()
  315. end
  316. if tossremainder then
  317. tf = 0
  318. else
  319. tf = tf - frame * math.floor(tf / frame)
  320. end
  321. end
  322. end)
  323.  
  324. --//=================================\\
  325. --\\=================================//
  326. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  327. ff.Visible = false
  328. Humanoid.Name = "God Mode"
  329.  
  330.  
  331. --//=================================\\
  332. --|| SOME FUNCTIONS
  333. --\\=================================//
  334.  
  335. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  336. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  337. end
  338.  
  339. function PositiveAngle(NUMBER)
  340. if NUMBER >= 0 then
  341. NUMBER = 0
  342. end
  343. return NUMBER
  344. end
  345.  
  346. function NegativeAngle(NUMBER)
  347. if NUMBER <= 0 then
  348. NUMBER = 0
  349. end
  350. return NUMBER
  351. end
  352.  
  353. function Swait(NUMBER)
  354. if NUMBER == 0 or NUMBER == nil then
  355. ArtificialHB.Event:wait()
  356. else
  357. for i = 1, NUMBER do
  358. ArtificialHB.Event:wait()
  359. end
  360. end
  361. end
  362.  
  363. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  364. local NEWMESH = IT(MESH)
  365. if MESH == "SpecialMesh" then
  366. NEWMESH.MeshType = MESHTYPE
  367. if MESHID ~= "nil" and MESHID ~= "" then
  368. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  369. end
  370. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  371. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  372. end
  373. end
  374. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  375. NEWMESH.Scale = SCALE
  376. NEWMESH.Parent = PARENT
  377. return NEWMESH
  378. end
  379.  
  380. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  381. local NEWPART = IT("Part")
  382. NEWPART.formFactor = FORMFACTOR
  383. NEWPART.Reflectance = REFLECTANCE
  384. NEWPART.Transparency = TRANSPARENCY
  385. NEWPART.CanCollide = false
  386. NEWPART.Locked = true
  387. NEWPART.Anchored = true
  388. if ANCHOR == false then
  389. NEWPART.Anchored = false
  390. end
  391. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  392. NEWPART.Name = NAME
  393. NEWPART.Size = SIZE
  394. NEWPART.Position = Torso.Position
  395. NEWPART.Material = MATERIAL
  396. NEWPART:BreakJoints()
  397. NEWPART.Parent = PARENT
  398. return NEWPART
  399. end
  400.  
  401. local function weldBetween(a, b)
  402. local weldd = Instance.new("ManualWeld")
  403. weldd.Part0 = a
  404. weldd.Part1 = b
  405. weldd.C0 = CFrame.new()
  406. weldd.C1 = b.CFrame:inverse() * a.CFrame
  407. weldd.Parent = a
  408. return weldd
  409. end
  410.  
  411.  
  412. function QuaternionFromCFrame(cf)
  413. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  414. local trace = m00 + m11 + m22
  415. if trace > 0 then
  416. local s = math.sqrt(1 + trace)
  417. local recip = 0.5 / s
  418. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  419. else
  420. local i = 0
  421. if m11 > m00 then
  422. i = 1
  423. end
  424. if m22 > (i == 0 and m00 or m11) then
  425. i = 2
  426. end
  427. if i == 0 then
  428. local s = math.sqrt(m00 - m11 - m22 + 1)
  429. local recip = 0.5 / s
  430. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  431. elseif i == 1 then
  432. local s = math.sqrt(m11 - m22 - m00 + 1)
  433. local recip = 0.5 / s
  434. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  435. elseif i == 2 then
  436. local s = math.sqrt(m22 - m00 - m11 + 1)
  437. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  438. end
  439. end
  440. end
  441.  
  442. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  443. local xs, ys, zs = x + x, y + y, z + z
  444. local wx, wy, wz = w * xs, w * ys, w * zs
  445. local xx = x * xs
  446. local xy = x * ys
  447. local xz = x * zs
  448. local yy = y * ys
  449. local yz = y * zs
  450. local zz = z * zs
  451. 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))
  452. end
  453.  
  454. function QuaternionSlerp(a, b, t)
  455. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  456. local startInterp, finishInterp;
  457. if cosTheta >= 0.0001 then
  458. if (1 - cosTheta) > 0.0001 then
  459. local theta = ACOS(cosTheta)
  460. local invSinTheta = 1 / SIN(theta)
  461. startInterp = SIN((1 - t) * theta) * invSinTheta
  462. finishInterp = SIN(t * theta) * invSinTheta
  463. else
  464. startInterp = 1 - t
  465. finishInterp = t
  466. end
  467. else
  468. if (1 + cosTheta) > 0.0001 then
  469. local theta = ACOS(-cosTheta)
  470. local invSinTheta = 1 / SIN(theta)
  471. startInterp = SIN((t - 1) * theta) * invSinTheta
  472. finishInterp = SIN(t * theta) * invSinTheta
  473. else
  474. startInterp = t - 1
  475. finishInterp = t
  476. end
  477. end
  478. 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
  479. end
  480.  
  481. function Clerp(a, b, t)
  482. local qa = {QuaternionFromCFrame(a)}
  483. local qb = {QuaternionFromCFrame(b)}
  484. local ax, ay, az = a.x, a.y, a.z
  485. local bx, by, bz = b.x, b.y, b.z
  486. local _t = 1 - t
  487. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  488. end
  489.  
  490. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  491. local frame = IT("Frame")
  492. frame.BackgroundTransparency = TRANSPARENCY
  493. frame.BorderSizePixel = BORDERSIZEPIXEL
  494. frame.Position = POSITION
  495. frame.Size = SIZE
  496. frame.BackgroundColor3 = COLOR
  497. frame.BorderColor3 = BORDERCOLOR
  498. frame.Name = NAME
  499. frame.Parent = PARENT
  500. return frame
  501. end
  502.  
  503. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  504. local label = IT("TextLabel")
  505. label.BackgroundTransparency = 1
  506. label.Size = UD2(1, 0, 1, 0)
  507. label.Position = UD2(0, 0, 0, 0)
  508. label.TextColor3 = TEXTCOLOR
  509. label.TextStrokeTransparency = STROKETRANSPARENCY
  510. label.TextTransparency = TRANSPARENCY
  511. label.FontSize = TEXTFONTSIZE
  512. label.Font = TEXTFONT
  513. label.BorderSizePixel = BORDERSIZEPIXEL
  514. label.TextScaled = false
  515. label.Text = TEXT
  516. label.Name = NAME
  517. label.Parent = PARENT
  518. return label
  519. end
  520.  
  521. function NoOutlines(PART)
  522. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  523. end
  524.  
  525. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  526. local NEWWELD = IT(TYPE)
  527. NEWWELD.Part0 = PART0
  528. NEWWELD.Part1 = PART1
  529. NEWWELD.C0 = C0
  530. NEWWELD.C1 = C1
  531. NEWWELD.Parent = PARENT
  532. return NEWWELD
  533. end
  534.  
  535. local S = IT("Sound")
  536. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  537. local NEWSOUND = nil
  538. coroutine.resume(coroutine.create(function()
  539. NEWSOUND = S:Clone()
  540. NEWSOUND.Parent = PARENT
  541. NEWSOUND.Volume = VOLUME
  542. NEWSOUND.Pitch = PITCH
  543. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  544. NEWSOUND:play()
  545. if DOESLOOP == true then
  546. NEWSOUND.Looped = true
  547. else
  548. repeat wait(1) until NEWSOUND.Playing == false
  549. NEWSOUND:remove()
  550. end
  551. end))
  552. return NEWSOUND
  553. end
  554.  
  555. function CFrameFromTopBack(at, top, back)
  556. local right = top:Cross(back)
  557. 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)
  558. end
  559.  
  560. --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})
  561. function WACKYEFFECT(Table)
  562. local TYPE = (Table.EffectType or "Sphere")
  563. local SIZE = (Table.Size or VT(1,1,1))
  564. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  565. local TRANSPARENCY = (Table.Transparency or 0)
  566. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  567. local CFRAME = (Table.CFrame or Torso.CFrame)
  568. local MOVEDIRECTION = (Table.MoveToPos or nil)
  569. local ROTATION1 = (Table.RotationX or 0)
  570. local ROTATION2 = (Table.RotationY or 0)
  571. local ROTATION3 = (Table.RotationZ or 0)
  572. local MATERIAL = (Table.Material or "Neon")
  573. local COLOR = (Table.Color or C3(1,1,1))
  574. local TIME = (Table.Time or 45)
  575. local SOUNDID = (Table.SoundID or nil)
  576. local SOUNDPITCH = (Table.SoundPitch or nil)
  577. local SOUNDVOLUME = (Table.SoundVolume or nil)
  578. coroutine.resume(coroutine.create(function()
  579. local PLAYSSOUND = false
  580. local SOUND = nil
  581. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  582. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  583. PLAYSSOUND = true
  584. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  585. end
  586. EFFECT.Color = COLOR
  587. local MSH = nil
  588. if TYPE == "Sphere" then
  589. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  590. elseif TYPE == "Block" then
  591. MSH = IT("BlockMesh",EFFECT)
  592. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  593. elseif TYPE == "Wave" then
  594. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  595. elseif TYPE == "Ring" then
  596. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  597. elseif TYPE == "Slash" then
  598. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  599. elseif TYPE == "Round Slash" then
  600. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  601. elseif TYPE == "Swirl" then
  602. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  603. elseif TYPE == "Skull" then
  604. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  605. elseif TYPE == "Crystal" then
  606. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  607. end
  608. if MSH ~= nil then
  609. local MOVESPEED = nil
  610. if MOVEDIRECTION ~= nil then
  611. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  612. end
  613. local GROWTH = SIZE - ENDSIZE
  614. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  615. if TYPE == "Block" then
  616. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  617. else
  618. EFFECT.CFrame = CFRAME
  619. end
  620. for LOOP = 1, TIME+1 do
  621. Swait()
  622. MSH.Scale = MSH.Scale - GROWTH/TIME
  623. if TYPE == "Wave" then
  624. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  625. end
  626. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  627. if TYPE == "Block" then
  628. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  629. else
  630. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  631. end
  632. if MOVEDIRECTION ~= nil then
  633. local ORI = EFFECT.Orientation
  634. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  635. EFFECT.Orientation = ORI
  636. end
  637. end
  638. if PLAYSSOUND == false then
  639. EFFECT:remove()
  640. else
  641. repeat Swait() until SOUND.Playing == false
  642. EFFECT:remove()
  643. end
  644. else
  645. if PLAYSSOUND == false then
  646. EFFECT:remove()
  647. else
  648. repeat Swait() until SOUND.Playing == false
  649. EFFECT:remove()
  650. end
  651. end
  652. end))
  653. end
  654. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  655. for _, c in pairs(PARENT:GetChildren()) do
  656. if c.ClassName == "Model" then
  657. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  658. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  659. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  660. if DIST > (TORSO.Position - FROM).Magnitude then
  661. table.insert(TABLE, c)
  662. end
  663. AddChildrenToTable(FROM, c, DIST, TABLE)
  664. elseif c.ClassName == "Folder" then
  665. AddChildrenToTable(FROM, c, DIST, TABLE)
  666. end
  667. end
  668. end
  669. end
  670. function MakeForm(PART,TYPE)
  671. if TYPE == "Cyl" then
  672. local MSH = IT("CylinderMesh",PART)
  673. elseif TYPE == "Ball" then
  674. local MSH = IT("SpecialMesh",PART)
  675. MSH.MeshType = "Sphere"
  676. elseif TYPE == "Wedge" then
  677. local MSH = IT("SpecialMesh",PART)
  678. MSH.MeshType = "Wedge"
  679. end
  680. end
  681.  
  682. Debris = game:GetService("Debris")
  683.  
  684. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  685. local DIRECTION = CF(StartPos,EndPos).lookVector
  686. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  687. end
  688.  
  689. function turnto(position)
  690. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  691. end
  692. function MagicSpheres(SIZE,WAIT,CFRAME,COLOR,GROW)
  693. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  694. local mesh = IT("SpecialMesh",wave)
  695. mesh.MeshType = "Sphere"
  696. mesh.Scale = SIZE
  697. mesh.Offset = VT(0,0,0)
  698. wave.CFrame = CFRAME
  699. coroutine.resume(coroutine.create(function(PART)
  700. for i = 1, WAIT do
  701. Swait()
  702. mesh.Scale = mesh.Scale + GROW
  703. wave.Transparency = wave.Transparency + (1/WAIT)
  704. if wave.Transparency > 0.99 then
  705. wave:remove()
  706. end
  707. end
  708. end))
  709. end
  710. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  711. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  712. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  713. wave.CFrame = CFRAME
  714. coroutine.resume(coroutine.create(function(PART)
  715. for i = 1, WAIT do
  716. Swait()
  717. mesh.Scale = mesh.Scale + GROW
  718. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  719. if DOESROT == true then
  720. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  721. end
  722. wave.Transparency = wave.Transparency + 0.5 / WAIT
  723. if wave.Transparency > 0.99 then
  724. wave:remove()
  725. end
  726. end
  727. end))
  728. end
  729. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  730. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  731. wave.Color = COLOR
  732. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  733. wave.CFrame = CFRAME
  734. coroutine.resume(coroutine.create(function(PART)
  735. for i = 1, WAIT do
  736. Swait()
  737. mesh.Scale = mesh.Scale + GROW
  738. wave.Transparency = wave.Transparency + 1 / WAIT
  739. if wave.Transparency > 0.99 then
  740. wave:remove()
  741. end
  742. end
  743. end))
  744. end
  745. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  746. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  747. local mesh
  748. if KIND == "Base" then
  749. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  750. elseif KIND == "Thin" then
  751. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  752. elseif KIND == "Round" then
  753. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  754. end
  755. wave.CFrame = CFRAME
  756. coroutine.resume(coroutine.create(function(PART)
  757. for i = 1, WAIT do
  758. Swait()
  759. mesh.Scale = mesh.Scale + GROW / 10
  760. wave.Transparency = wave.Transparency + 0.5 / WAIT
  761. if wave.Transparency > 0.99 then
  762. wave:remove()
  763. end
  764. end
  765. end))
  766. end
  767. --//=================================\\
  768. --|| WEAPON CREATION
  769. --\\=================================//
  770.  
  771. --[[
  772. Thanks for using Build-To-Lua by jarredbcv.
  773. ]]--
  774.  
  775. New = function(Object, Parent, Name, Data)
  776. local Object = Instance.new(Object)
  777. for Index, Value in pairs(Data or {}) do
  778. Object[Index] = Value
  779. end
  780. Object.Parent = Parent
  781. Object.Name = Name
  782. return Object
  783. end
  784.  
  785. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  786. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  787. MakeForm(Part,"Wedge")
  788.  
  789. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  790. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  791. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  792. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  793. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  794. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  796. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  797. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  798. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  799.  
  800. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  801. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  802. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  803. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  804. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  805. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
  806. MakeForm(Part,"Wedge")
  807.  
  808. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  809. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  810. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  811. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  812.  
  813. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
  814. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  815. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  816. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  817. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  818. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  819. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  820. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  821. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  822. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  823. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  824. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  825. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  826. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  827. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
  828. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  829.  
  830. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
  831. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  832.  
  833.  
  834.  
  835.  
  836. local BasePart = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(1.01,0.3,1.01),false)
  837. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  838.  
  839. for i = 1, 3 do
  840. local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.2,1.02,0.2),false)
  841. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
  842. MakeForm(Part,"Cyl")
  843. end
  844. local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.51,0.6,0.25),false)
  845. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  846. MakeForm(Part,"Wedge")
  847. local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.51,0.6,0.25),false)
  848. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  849. MakeForm(Part,"Wedge")
  850. local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  851. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  852. MakeForm(Part,"Wedge")
  853. local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  854. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  855. MakeForm(Part,"Wedge")
  856.  
  857. BODY = {}
  858. for _, c in pairs(Character:GetDescendants()) do
  859. if c:IsA("BasePart") then
  860. table.insert(BODY, {
  861. c,
  862. c.Parent,
  863. c.Material,
  864. c.Color
  865. })
  866. elseif c:IsA("JointInstance") then
  867. table.insert(BODY, {
  868. c,
  869. c.Parent,
  870. nil,
  871. nil
  872. })
  873. end
  874. end
  875. for _, c in pairs(Weapon:GetChildren()) do
  876. if c.ClassName == "Part" then
  877. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  878. end
  879. end
  880. for _, c in pairs(Character:GetDescendants()) do
  881. if c:IsA("BasePart") then
  882. table.insert(BODY, {
  883. c,
  884. c.Parent,
  885. c.Material,
  886. c.Color
  887. })
  888. elseif c:IsA("JointInstance") then
  889. table.insert(BODY, {
  890. c,
  891. c.Parent,
  892. nil,
  893. nil
  894. })
  895. end
  896. end
  897. for e = 1, #BODY do
  898. if BODY[e] ~= nil then
  899. do
  900. local STUFF = BODY[e]
  901. local PART = STUFF[1]
  902. local PARENT = STUFF[2]
  903. local MATERIAL = STUFF[3]
  904. local COLOR = STUFF[4]
  905. PART.AncestryChanged:Connect(function()
  906. if PART.ClassName == "Part" then
  907. PART.Material = MATERIAL
  908. PART.Color = COLOR
  909. end
  910. PART.Parent = PARENT
  911. end)
  912. end
  913. end
  914. end
  915. function refit()
  916. Weapon.Parent = Character
  917. Character.Parent = workspace
  918. for e = 1, #BODY do
  919. if BODY[e] ~= nil then
  920. local STUFF = BODY[e]
  921. local PART = STUFF[1]
  922. local PARENT = STUFF[2]
  923. local MATERIAL = STUFF[3]
  924. local COLOR = STUFF[4]
  925. if PART.Parent ~= PARENT then
  926. Humanoid:remove()
  927. if PART.ClassName == "Part" then
  928. PART.Material = MATERIAL
  929. PART.Color = COLOR
  930. end
  931. PART.Parent = PARENT
  932. Humanoid = IT("Humanoid", Character)
  933. end
  934. end
  935. end
  936. end
  937.  
  938.  
  939.  
  940.  
  941. local SKILLTEXTCL = BRICKC"Bright red".Color
  942. local SKILLTEXTCOLOR = BRICKC"Really red".Color
  943. local SKILLTEXTCOL = BRICKC"Light blue".Color
  944. local SKILLFONT = "Bodoni"
  945. local SKILLTEXTSIZE = 7
  946.  
  947. Weapon.Parent = Character
  948.  
  949. Humanoid.Died:connect(function()
  950. refit()
  951. end)
  952.  
  953.  
  954.  
  955. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  956. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  957. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  958.  
  959. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Lava outburst", SKILLTEXTCL, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  960. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[C] Cooldown", SKILLTEXTCOL, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  961. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[B] Core Mode", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  962.  
  963. --//=================================\\
  964. --|| DAMAGE FUNCTIONS
  965. --\\=================================//
  966.  
  967. function StatLabel(CFRAME, TEXT, COLOR)
  968. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  969. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  970. local BODYGYRO = IT("BodyGyro", STATPART)
  971. game:GetService("Debris"):AddItem(STATPART ,5)
  972. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  973. BILLBOARDGUI.Adornee = STATPART
  974. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  975. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  976. BILLBOARDGUI.AlwaysOnTop = false
  977. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  978. TEXTLABEL.BackgroundTransparency = 1
  979. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  980. TEXTLABEL.Text = TEXT
  981. TEXTLABEL.Font = SKILLFONT
  982. TEXTLABEL.FontSize="Size42"
  983. TEXTLABEL.TextColor3 = COLOR
  984. TEXTLABEL.TextStrokeTransparency = 0
  985. TEXTLABEL.TextScaled = true
  986. TEXTLABEL.TextWrapped = true
  987. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  988. for i = 1, 50 do
  989. Swait()
  990. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  991. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  992. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  993. end
  994. THEPART.Parent = nil
  995. end),STATPART, TEXTLABEL)
  996. end
  997.  
  998. --//=================================\\
  999. --|| DAMAGING
  1000. --\\=================================//
  1001.  
  1002.  
  1003. function Freeze(position, range)
  1004. for i, v in ipairs(workspace:GetChildren()) do
  1005. local body = v:GetChildren()
  1006. for part = 1, #body do
  1007. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
  1008. v:BreakJoints()
  1009. body[part].Material = "Ice"
  1010. body[part].BrickColor = BRICKC("Medium blue")
  1011. body[part].Anchored = true
  1012. end
  1013. end
  1014. end
  1015. end
  1016. function Petrify(Foe)
  1017. local STONEMODEL = IT("Model", Effects)
  1018. local CHILDREN = Foe:GetDescendants()
  1019. for index, CHILD in pairs(CHILDREN) do
  1020. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  1021. CHILD.Parent = STONEMODEL
  1022. CHILD.Material = "Slate"
  1023. CHILD.Color = C3(0 , 0, 0)
  1024. MagicSphere(VT(0,0,0),45,CHILD.CFrame,C3(1,0,0),VT(0.2,0.2,0.2))
  1025. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  1026. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  1027. mesh.TextureId = ""
  1028. end
  1029. if CHILD:FindFirstChildOfClass("Decal") then
  1030. local mesh = CHILD:FindFirstChildOfClass("Decal")
  1031. mesh:remove()
  1032. end
  1033. if CHILD.ClassName == "MeshPart" then
  1034. CHILD.TextureID = ""
  1035. end
  1036. if CHILD.ClassName == "UnionOperation" then
  1037. CHILD.UsePartColor = true
  1038. end
  1039. CHILD.CanCollide = true
  1040. end
  1041. end
  1042. Debris:AddItem(STONEMODEL, 5)
  1043. end
  1044. function ApplyAoE(POSITION,RANGE,BRUTAL,ICE)
  1045. local CHILDREN = workspace:GetDescendants()
  1046. for index, CHILD in pairs(CHILDREN) do
  1047. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1048. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1049. if HUM then
  1050. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1051. if TORSO then
  1052. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1053. if BRUTAL == true then
  1054. Petrify(CHILD)
  1055. end
  1056. end
  1057. end
  1058. end
  1059. end
  1060. end
  1061. end
  1062.  
  1063. --//=================================\\
  1064. --|| ATTACK FUNCTIONS AND STUFF
  1065. --\\=================================//
  1066.  
  1067. function Charge(TIME,GYRO)
  1068. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1069. local G = nil
  1070. if GYRO == true then
  1071. G = IT("BodyGyro",RootPart)
  1072. G.D = 250
  1073. G.P = 200000
  1074. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1075. end
  1076. for i=0, TIME, 0.1 / Animation_Speed do
  1077. Swait()
  1078. if G then
  1079. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1080. end
  1081. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1083. 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.15 / Animation_Speed)
  1084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1086. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1088. end
  1089. SND:remove()
  1090. if G then
  1091. return G
  1092. end
  1093. end
  1094.  
  1095. function Beam()
  1096. ATTACK = true
  1097. Rooted = false
  1098. VALUE2 = true
  1099. local GYRO = IT("BodyGyro", RootPart)
  1100. GYRO.D = 20
  1101. GYRO.P = 4000
  1102. GYRO.MaxTorque = VT(0, 40000, 0)
  1103. local POS = RootPart.Position + VT(0, 25, 0)
  1104. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  1105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1109. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1110. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1111. coroutine.resume(coroutine.create(function()
  1112. local E = 0
  1113. repeat
  1114. E = E + 5
  1115. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1116. Swait()
  1117. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1118. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1119. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1120. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1121. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1122. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1123. until ATTACK == false
  1124. GYRO:remove()
  1125. end))
  1126. for i = 1, 50 do
  1127. Swait()
  1128. end
  1129. for i = 1, 25 do
  1130. Swait()
  1131. WACKYEFFECT({
  1132. Time = 15,
  1133. EffectType = "Sphere",
  1134. Size = VT(4, 4, 4),
  1135. Size2 = VT(0, 0, 0),
  1136. Transparency = 1,
  1137. Transparency2 = 0,
  1138. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1139. MoveToPos = Eon.Position,
  1140. RotationX = 0,
  1141. RotationY = 0,
  1142. RotationZ = 0,
  1143. Material = "Neon",
  1144. Color = C3(1, 0, 0),
  1145. SoundID = nil,
  1146. SoundPitch = nil,
  1147. SoundVolume = nil
  1148. })
  1149. end
  1150. local LOOP = 0
  1151. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beamo", VT(0,0,0))
  1152. MakeForm(BEAMO, "Ball")
  1153. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  1154. MakeForm(BEAM, "Cyl")
  1155. repeat
  1156. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  1157. if DISTANCE < 2000 then
  1158. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  1159. BEAMO.CFrame = CF(Eon.Position)
  1160. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  1161. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1162. ApplyAoE(Mouse.Hit.p, 14,true,false)
  1163. WACKYEFFECT({
  1164. Time = 35,
  1165. EffectType = "Sphere",
  1166. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  1167. Size2 = VT(5, 75, 5),
  1168. Transparency = 0,
  1169. Transparency2 = 1,
  1170. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1171. MoveToPos = nil,
  1172. RotationX = 0,
  1173. RotationY = 0,
  1174. RotationZ = 0,
  1175. Material = "Neon",
  1176. Color = C3(1, 0, 0),
  1177. SoundID = nil,
  1178. SoundPitch = MRANDOM(9, 12) / 10,
  1179. SoundVolume = 10
  1180. })
  1181. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1182. Swait()
  1183. LOOP = LOOP + 1
  1184. end
  1185. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  1186. coroutine.resume(coroutine.create(function()
  1187. for i = 1, 15 do
  1188. Swait()
  1189. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  1190. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  1191. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  1192. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  1193. end
  1194. BEAM:remove()
  1195. BEAMO:remove()
  1196. end))
  1197. ATTACK = false
  1198. Rooted = false
  1199. VALUE2 = false
  1200. end
  1201.  
  1202. function Cooldown()
  1203. ATTACK = true
  1204. Rooted = true
  1205. CHOSENBRICK = "Light blue"
  1206. CreateSound("214954135", Effects, 35, MRANDOM(9, 10) / 10)
  1207. for i=0, 2, 0.1 / Animation_Speed do
  1208. Swait()
  1209. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1213. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1214. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1215. end
  1216. ATTACK = false
  1217. Rooted = false
  1218. VALUE2 = true
  1219. for i = 1, 15 do
  1220. for i = 1, 45 do
  1221. Swait()
  1222. Slice("Round",2,25,RootPart.CFrame*CF(0,MRANDOM(-15,15),0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Pearl",VT(0.1,0,0.1))
  1223. MagicSphere(VT(0, 0, 0), 15, Eon.CFrame*CF(0,MRANDOM(-0,0),0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1))
  1224. end
  1225. Freeze(Torso.Position,45)
  1226. for i = 1, 6 do
  1227. Slice("Thin",2,25,RootPart.CFrame*CF(0,MRANDOM(-15,15),0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-15,15))),"Pearl",VT(0.1,0,0.1))
  1228. end
  1229. end
  1230. VALUE2 = false
  1231. CHOSENBRICK = "Really red"
  1232. end
  1233. local Player_Size = 1
  1234. function CorMode()
  1235. CORMODE = true
  1236. end
  1237.  
  1238. function HCore()
  1239. ATTACK = true
  1240. COR1 = true
  1241. Rooted = true
  1242. UNANCHOR = false
  1243. RootPart.Anchored = true
  1244. sick:Stop()
  1245. for i=0, 5, 0.1 / Animation_Speed do
  1246. Swait()
  1247. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1253. WACKYEFFECT({
  1254. Time = 85,
  1255. EffectType = "Sphere",
  1256. Size = VT(0.2,0.2,0.2),
  1257. Size2 = VT(0, 1000, 0),
  1258. Transparency = 0.5,
  1259. Transparency2 = 1,
  1260. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1261. MoveToPos = nil,
  1262. RotationX = MRANDOM(-50, 50) / 10,
  1263. RotationY = MRANDOM(-50, 50) / 10,
  1264. RotationZ = MRANDOM(-50, 50) / 10,
  1265. Material = "Neon",
  1266. Color = C3(1,0,0),
  1267. SoundID = nil,
  1268. SoundPitch = nil,
  1269. SoundVolume = nil
  1270. })
  1271. end
  1272. local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(Eon.Position, Eon.Position + VT(0, -1, 0))).lookVector, 500, Character)
  1273. CreateSound("1368598393", Effects, 10, 1)
  1274. for i=0, 2, 0.1 / Animation_Speed do
  1275. Swait()
  1276. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1277. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1278. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1279. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1280. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1281. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1282. WACKYEFFECT({
  1283. Time = 15,
  1284. EffectType = "Sphere",
  1285. Size = VT(4, 4, 4),
  1286. Size2 = VT(0, 0, 0),
  1287. Transparency = 1,
  1288. Transparency2 = 0,
  1289. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1290. MoveToPos = Eon.Position,
  1291. RotationX = 0,
  1292. RotationY = 0,
  1293. RotationZ = 0,
  1294. Material = "Neon",
  1295. Color = C3(1, 0, 0),
  1296. SoundID = nil,
  1297. SoundPitch = nil,
  1298. SoundVolume = nil
  1299. })
  1300. end
  1301. WACKYEFFECT({
  1302. Time = 15,
  1303. EffectType = "Sphere",
  1304. Size = VT(4, 4, 4),
  1305. Size2 = VT(0, 0, 0),
  1306. Transparency = 1,
  1307. Transparency2 = 0,
  1308. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1309. MoveToPos = Eon.Position,
  1310. RotationX = 0,
  1311. RotationY = 0,
  1312. RotationZ = 0,
  1313. Material = "Neon",
  1314. Color = C3(1, 0, 0),
  1315. SoundID = nil,
  1316. SoundPitch = nil,
  1317. SoundVolume = nil
  1318. })
  1319. local CORE = CreatePart(3, Effects, "Cobblestone", 0, 0, BRICKC("Really red"), "CORE", VT(10,10,10))
  1320. MakeForm(CORE, "Ball")
  1321. CORE.CFrame = Eon.CFrame
  1322. local AURA = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Really red"), "AURA", VT(10.1,10.1,10.1))
  1323. MakeForm(AURA, "Ball")
  1324. AURA.CFrame = Eon.CFrame
  1325. local AURA1 = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Really red"), "AURA1", VT(12,12,12))
  1326. MakeForm(AURA1, "Ball")
  1327. AURA1.CFrame = Eon.CFrame
  1328. CreateSound("1368583274", Effects, 10, 1)
  1329. for i=0, 6, 0.1 / Animation_Speed do
  1330. Swait()
  1331. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1332. MagicSphere(VT(0,0,0),15,CFRAME,C3(1,0,0),VT(0.1,0.1,55))
  1333. MagicSphere(VT(0,0,0),15,CFRAME,C3(1,0,0),VT(2,2,2))
  1334. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,C3(1,0,0),VT(0.1,0.1,55))
  1335. WACKYEFFECT({
  1336. Time = 15,
  1337. EffectType = "Sphere",
  1338. Size = VT(4, 4, 4),
  1339. Size2 = VT(0, 0, 0),
  1340. Transparency = 1,
  1341. Transparency2 = 0,
  1342. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1343. MoveToPos = Eon.Position,
  1344. RotationX = 0,
  1345. RotationY = 0,
  1346. RotationZ = 0,
  1347. Material = "Neon",
  1348. Color = C3(1, 0, 0),
  1349. SoundID = nil,
  1350. SoundPitch = nil,
  1351. SoundVolume = nil
  1352. })
  1353. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1357. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1359. end
  1360. Swait(175)
  1361. CreateSound("1368605755", Effects, 10, 1)
  1362. CreateSound("1368637781", Effects, 10, 1)
  1363. MagicSphere(VT(0,0,0),45,Torso.CFrame,C3(1,0,0),VT(5,5,5))
  1364. for i=0, 1, 0.1 / Animation_Speed do
  1365. Swait()
  1366. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1367. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1368. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1370. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1371. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1372. end
  1373. repeat
  1374. Swait()
  1375. local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
  1376. SPHERE.CFrame = CF(Eon.Position) * CF(MRANDOM(-15,15),-10,MRANDOM(-15,15))
  1377. MakeForm(SPHERE,"Ball")
  1378. coroutine.resume(coroutine.create(function()
  1379. for i = 1, 100 do
  1380. Swait()
  1381. SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
  1382. SPHERE.Transparency = (i/100)
  1383. end
  1384. SPHERE:remove()
  1385. end))
  1386. CORE.Size = VT(10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4))
  1387. AURA.Size = VT(10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4))
  1388. AURA1.Size = VT(12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4))
  1389. ApplyAoE(CORE.Position, 15,true,false)
  1390. WACKYEFFECT({
  1391. Time = 5,
  1392. EffectType = "Round Slash",
  1393. Size = VT(0, 0, 0),
  1394. Size2 = VT(0.01, 0, 0.01),
  1395. Transparency = 0.5,
  1396. Transparency2 = 1,
  1397. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1398. MoveToPos = nil,
  1399. RotationX = MRANDOM(-50, 50) / 10,
  1400. RotationY = MRANDOM(-50, 50) / 10,
  1401. RotationZ = MRANDOM(-50, 50) / 10,
  1402. Material = "Neon",
  1403. Color = C3(1, 0, 0),
  1404. SoundID = nil,
  1405. SoundPitch = nil,
  1406. SoundVolume = nil
  1407. })
  1408. WACKYEFFECT({
  1409. Time = MRANDOM(15, 85),
  1410. EffectType = "Round Slash",
  1411. Size = VT(0, 0, 0),
  1412. Size2 = VT(0.3, 0, 0.3),
  1413. Transparency = 0.5,
  1414. Transparency2 = 1,
  1415. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1416. MoveToPos = nil,
  1417. RotationX = MRANDOM(-50, 50) / 10,
  1418. RotationY = MRANDOM(-50, 50) / 10,
  1419. RotationZ = MRANDOM(-50, 50) / 10,
  1420. Material = "Neon",
  1421. Color = C3(1, 0, 0),
  1422. SoundID = nil,
  1423. SoundPitch = nil,
  1424. SoundVolume = nil
  1425. })
  1426. WACKYEFFECT({
  1427. Time = 5,
  1428. EffectType = "Round Slash",
  1429. Size = VT(0, 0, 0),
  1430. Size2 = VT(0.01, 0, 0.01),
  1431. Transparency = 0.5,
  1432. Transparency2 = 1,
  1433. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1434. MoveToPos = nil,
  1435. RotationX = MRANDOM(-50, 50) / 10,
  1436. RotationY = MRANDOM(-50, 50) / 10,
  1437. RotationZ = MRANDOM(-50, 50) / 10,
  1438. Material = "Neon",
  1439. Color = C3(1, 0, 0),
  1440. SoundID = nil,
  1441. SoundPitch = nil,
  1442. SoundVolume = nil
  1443. })
  1444. until FIRE1 == true
  1445. if FIRE1 == true then
  1446. CreateSound("276848267", Effects, 35, 0.5)
  1447. SOUND = CreateSound("1371567007", CORE, 0, 1)
  1448. repeat
  1449. Swait()
  1450. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1453. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1454. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1455. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1456. CORE.Size = CORE.Size - VT(0.05,0.05,0.05)
  1457. AURA.Size = AURA.Size + VT(0.1,0.1,0.1)
  1458. AURA1.Size = AURA1.Size + VT(0.1,0.1,0.1)
  1459. AURA.Transparency = 0.7
  1460. AURA1.Transparency = 0.8
  1461. Slice("Round", 0, 35, CF(Eon.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really red", VT(1, 0, 1) / 3)
  1462. WACKYEFFECT({
  1463. EffectType = "Wave",
  1464. Size = VT(25, 0, 25),
  1465. Size2 = VT(40, 0, 40) + VT(1 * 6, 1 / 5, 1 * 6),
  1466. Transparency = 0,
  1467. Transparency2 = 1,
  1468. CFrame = CF(RootPart.Position-VT(0,2.8,0)) * ANGLES(RAD(0), RAD(72 * 1), RAD(0)),
  1469. MoveToPos = nil,
  1470. RotationX = 0,
  1471. RotationY = 3,
  1472. RotationZ = 0,
  1473. Material = "Neon",
  1474. Color = C3(1, 0, 0),
  1475. SoundID = nil,
  1476. SoundPitch = nil,
  1477. SoundVolume = nil
  1478. })
  1479. WACKYEFFECT({
  1480. Time = 85,
  1481. EffectType = "Sphere",
  1482. Size = VT(0.05,0.05,0.05),
  1483. Size2 = VT(0, 1000, 0),
  1484. Transparency = 0.5,
  1485. Transparency2 = 1,
  1486. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1487. MoveToPos = nil,
  1488. RotationX = MRANDOM(-50, 50) / 10,
  1489. RotationY = MRANDOM(-50, 50) / 10,
  1490. RotationZ = MRANDOM(-50, 50) / 10,
  1491. Material = "Neon",
  1492. Color = C3(1,0,0),
  1493. SoundID = nil,
  1494. SoundPitch = nil,
  1495. SoundVolume = nil
  1496. })
  1497. WACKYEFFECT({
  1498. Time = 15,
  1499. EffectType = "Sphere",
  1500. Size = VT(6,6,6),
  1501. Size2 = VT(1, 1, 1),
  1502. Transparency = 1,
  1503. Transparency2 = 0,
  1504. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1505. MoveToPos = Eon.Position,
  1506. RotationX = 0,
  1507. RotationY = 0,
  1508. RotationZ = 0,
  1509. Material = "Neon",
  1510. Color = C3(1, 0, 0),
  1511. SoundID = nil,
  1512. SoundPitch = nil,
  1513. SoundVolume = nil
  1514. })
  1515. until SOUND.Playing == false
  1516. AURA:remove()
  1517. AURA1:remove()
  1518. wait(0.5)
  1519. 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)
  1520. 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)
  1521. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1522. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1523. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1525. WACKYEFFECT({
  1526. Time = 285 + 5 * 1,
  1527. EffectType = "Sphere",
  1528. Size = VT(650, 650, 650),
  1529. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * 1,
  1530. Transparency = 0.5,
  1531. Transparency2 = 1,
  1532. CFrame = Eon.CFrame,
  1533. MoveToPos = nil,
  1534. RotationX = 0,
  1535. RotationY = 0,
  1536. RotationZ = 0,
  1537. Material = "Neon",
  1538. Color = C3(1, 0, 0),
  1539. SoundID = nil,
  1540. SoundPitch = 0,
  1541. SoundVolume = 0
  1542. })
  1543. WACKYEFFECT({
  1544. Time = 75,
  1545. EffectType = "Sphere",
  1546. Size = VT(350, 350, 350),
  1547. Size2 = VT(4500, 4500, 4500),
  1548. Transparency = 0.8,
  1549. Transparency2 = 1,
  1550. CFrame = Eon.CFrame,
  1551. MoveToPos = nil,
  1552. RotationX = 0,
  1553. RotationY = 0,
  1554. RotationZ = 0,
  1555. Material = "Neon",
  1556. Color = C3(1, 0, 0),
  1557. SoundID = nil,
  1558. SoundPitch = 0,
  1559. SoundVolume = 0
  1560. })
  1561. MagicSphere(VT(5,5,5), 35, Eon.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(1, 1, 1) * 2)
  1562. WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(1, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1563. WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(1, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1564. WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(1, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1565. WACKYEFFECT({
  1566. Time = 285 + 5 * 1,
  1567. EffectType = "Sphere",
  1568. Size = VT(650, 650, 650),
  1569. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * 1,
  1570. Transparency = 0.5,
  1571. Transparency2 = 1,
  1572. CFrame = Eon.CFrame,
  1573. MoveToPos = nil,
  1574. RotationX = 0,
  1575. RotationY = 0,
  1576. RotationZ = 0,
  1577. Material = "Neon",
  1578. Color = C3(1, 0, 0),
  1579. SoundID = nil,
  1580. SoundPitch = 0,
  1581. SoundVolume = 0
  1582. })
  1583. end
  1584. WACKYEFFECT({
  1585. Time = 75,
  1586. EffectType = "Sphere",
  1587. Size = VT(350, 350, 350),
  1588. Size2 = VT(4500, 4500, 4500),
  1589. Transparency = 0.8,
  1590. Transparency2 = 1,
  1591. CFrame = Eon.CFrame,
  1592. MoveToPos = nil,
  1593. RotationX = 0,
  1594. RotationY = 0,
  1595. RotationZ = 0,
  1596. Material = "Neon",
  1597. Color = C3(1, 0, 0),
  1598. SoundID = nil,
  1599. SoundPitch = 0,
  1600. SoundVolume = 0
  1601. })
  1602. for i = 1, 15 do
  1603. Swait()
  1604. MagicSphere(VT(300,300,300),25,CF(Eon.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1605. MagicSphere(VT(300,300,300),45,CF(Eon.Position),C3(255,255,0),VT(i,i,i))
  1606. MagicSphere(VT(290,290,290),25,CF(Eon.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1607. MagicSphere(VT(290,290,290),45,CF(Eon.Position),C3(255,255,0),VT(i,i,i))
  1608. MagicSphere(VT(280,280,280),25,CF(Eon.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1609. MagicSphere(VT(280,280,280),45,CF(Eon.Position),C3(255,255,0),VT(i,i,i)) MagicSphere(VT(1,1,1),15,CF(Eon.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,0,0),VT(0,0,0))
  1610. WACKYEFFECT({
  1611. Time = 85,
  1612. EffectType = "Sphere",
  1613. Size = VT(75, 75, 75),
  1614. Size2 = VT(0, 2500, 0),
  1615. Transparency = 0.5,
  1616. Transparency2 = 1,
  1617. CFrame =Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1618. MoveToPos = nil,
  1619. RotationX = MRANDOM(-50, 50) / 10,
  1620. RotationY = MRANDOM(-50, 50) / 10,
  1621. RotationZ = MRANDOM(-50, 50) / 10,
  1622. Material = "Neon",
  1623. Color = C3(1, 0, 0),
  1624. SoundID = nil,
  1625. SoundPitch = nil,
  1626. SoundVolume = nil
  1627. })
  1628. WACKYEFFECT({
  1629. Time = 85,
  1630. EffectType = "Sphere",
  1631. Size = VT(75, 75, 75),
  1632. Size2 = VT(0, 2500, 0),
  1633. Transparency = 0.5,
  1634. Transparency2 = 1,
  1635. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1636. MoveToPos = nil,
  1637. RotationX = MRANDOM(-50, 50) / 10,
  1638. RotationY = MRANDOM(-50, 50) / 10,
  1639. RotationZ = MRANDOM(-50, 50) / 10,
  1640. Material = "Neon",
  1641. Color = C3(255, 255, 0),
  1642. SoundID = nil,
  1643. SoundPitch = nil,
  1644. SoundVolume = nil
  1645. })
  1646. WACKYEFFECT({
  1647. EffectType = "Wave",
  1648. Size = VT(100, 0, 100),
  1649. Size2 = VT(140, 0, 140) + VT(1 * 6, 1 / 5, 1 * 6),
  1650. Transparency = 0,
  1651. Transparency2 = 1,
  1652. CFrame = CF(RootPart.Position-VT(0,2.8,0)) * ANGLES(RAD(0), RAD(50 * 1), RAD(0)),
  1653. MoveToPos = nil,
  1654. RotationX = 0,
  1655. RotationY = 3,
  1656. RotationZ = 0,
  1657. Material = "Neon",
  1658. Color = C3(1, 0, 0),
  1659. SoundID = nil,
  1660. SoundPitch = nil,
  1661. SoundVolume = nil
  1662. })
  1663. ApplyAoE(Eon.Position, 435 + 85 * 1,true)
  1664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1668. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1669. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1670. FIRE1 = false
  1671. CORE:remove()
  1672. end
  1673. UNANCHOR = true
  1674. RootPart.Anchored = false
  1675. COR1 = false
  1676. CORMODE = false
  1677. ATTACK = false
  1678. Rooted = false
  1679. end
  1680.  
  1681. function IceCore()
  1682. ATTACK = true
  1683. COR1 = true
  1684. Rooted = true
  1685. UNANCHOR = false
  1686. RootPart.Anchored = true
  1687. CreateSound("1225684085", Effects, 10, 4.8)
  1688. for i=0, 2, 0.1 / Animation_Speed do
  1689. Swait()
  1690. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1696. WACKYEFFECT({
  1697. Time = 15,
  1698. EffectType = "Sphere",
  1699. Size = VT(4, 4, 4),
  1700. Size2 = VT(0, 0, 0),
  1701. Transparency = 1,
  1702. Transparency2 = 0,
  1703. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1704. MoveToPos = Eon.Position,
  1705. RotationX = 0,
  1706. RotationY = 0,
  1707. RotationZ = 0,
  1708. Material = "Neon",
  1709. Color = C3(1, 1, 1),
  1710. SoundID = nil,
  1711. SoundPitch = nil,
  1712. SoundVolume = nil
  1713. })
  1714. WACKYEFFECT({
  1715. Time = 15,
  1716. EffectType = "Sphere",
  1717. Size = VT(4, 4, 4),
  1718. Size2 = VT(0, 0, 0),
  1719. Transparency = 1,
  1720. Transparency2 = 0,
  1721. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1722. MoveToPos = Eon.Position,
  1723. RotationX = 0,
  1724. RotationY = 0,
  1725. RotationZ = 0,
  1726. Material = "Neon",
  1727. Color = C3(1, 1, 1),
  1728. SoundID = nil,
  1729. SoundPitch = nil,
  1730. SoundVolume = nil
  1731. })
  1732.  
  1733. WACKYEFFECT({
  1734. Time = 85,
  1735. EffectType = "Sphere",
  1736. Size = VT(0.6,0.6,0.6),
  1737. Size2 = VT(0, 1000, 0),
  1738. Transparency = 0.5,
  1739. Transparency2 = 1,
  1740. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1741. MoveToPos = nil,
  1742. RotationX = MRANDOM(-50, 50) / 10,
  1743. RotationY = MRANDOM(-50, 50) / 10,
  1744. RotationZ = MRANDOM(-50, 50) / 10,
  1745. Material = "Neon",
  1746. Color = C3(1,1,1),
  1747. SoundID = nil,
  1748. SoundPitch = nil,
  1749. SoundVolume = nil
  1750. })
  1751. end
  1752. local CORE = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lily white"), "CORE", VT(20,38,20))
  1753. MakeForm(CORE, "Ball")
  1754. CORE.CFrame = Eon.CFrame
  1755. local CORE1 = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Lily white"), "COREE", VT(24,42,24))
  1756. MakeForm(CORE1, "Ball")
  1757. CORE1.CFrame = Eon.CFrame
  1758. local CORE2 = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Lily white"), "COREEE", VT(26,44,26))
  1759. MakeForm(CORE2, "Ball")
  1760. CORE2.CFrame = Eon.CFrame
  1761. local CORE3 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Lily white"), "COR1", VT(300,560,300))
  1762. MakeForm(CORE3, "Ball")
  1763. CORE2.CFrame = Eon.CFrame
  1764. CreateSound("1368583274", Effects, 10, 1)
  1765. for i=0, 6, 0.1 / Animation_Speed do
  1766. Swait()
  1767. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1768. WACKYEFFECT({
  1769. Time = 15,
  1770. EffectType = "Sphere",
  1771. Size = VT(4, 4, 4),
  1772. Size2 = VT(0, 0, 0),
  1773. Transparency = 1,
  1774. Transparency2 = 0,
  1775. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1776. MoveToPos = Eon.Position,
  1777. RotationX = 0,
  1778. RotationY = 0,
  1779. RotationZ = 0,
  1780. Material = "Neon",
  1781. Color = C3(1, 1, 1),
  1782. SoundID = nil,
  1783. SoundPitch = nil,
  1784. SoundVolume = nil
  1785. })
  1786. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1789. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1790. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1791. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1792. end
  1793.  
  1794. Swait(175)
  1795. CreateSound("160772554", Effects, 10, 1)
  1796. MagicSphere(VT(0,0,0),45,Torso.CFrame,C3(1,1,1),VT(1,5,1))
  1797. for i=0, 1, 0.1 / Animation_Speed do
  1798. Swait()
  1799. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1800. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1802. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1803. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1804. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1805. end
  1806. repeat
  1807. Swait()
  1808. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Light blue",VT(10,0.05,10))
  1809. CORE.Size = VT(10 + 0.3 * COS(SINE / 4), 28 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4))
  1810. CORE1.Size = VT(12 + 0.4 * COS(SINE / 4), 30 + 0.4 * COS(SINE / 4), 12 + 0.4 * COS(SINE / 4))
  1811. CORE2.Size = VT(14 + 0.09 * COS(SINE / 4), 32 + 0.09 * COS(SINE / 4), 14 + 0.09 * COS(SINE / 4))
  1812. Freeze(CORE.Position, 15)
  1813. MagicSphere(VT(10, 10, 10), 55, CF(CORE3.CFrame * CF(MRANDOM(-CORE3.Size.X / 2.5, CORE3.Size.X / 2.5), MRANDOM(-CORE.Size.X / 2.5, CORE3.Size.X / 2.5), MRANDOM(-CORE3.Size.X / 2.5, CORE3.Size.X / 2.5)).p), C3(1,1,1), VT(-20,-20,-20) / 55)
  1814. until FROZ1 == true
  1815. if FROZ1 == true then
  1816. SOUND = CreateSound("1371567007", CORE, 0, 1)
  1817. repeat
  1818. Swait()
  1819. MagicSphere(VT(10, 10, 10), 55, CF(CORE3.CFrame * CF(MRANDOM(-CORE3.Size.X / 2.5, CORE3.Size.X / 2.5), MRANDOM(-CORE.Size.X / 2.5, CORE3.Size.X / 2.5), MRANDOM(-CORE3.Size.X / 2.5, CORE3.Size.X / 2.5)).p), C3(1,1,1), VT(-20,-20,-20) / 55)
  1820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1824. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1825. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1826. CORE.Size = CORE.Size - VT(0.10,0.10,0.10)
  1827. CORE1.Size = CORE1.Size - VT(0.18,0.18,0.18)
  1828. CORE2.Size = CORE2.Size - VT(0.18,0.18,0.18)
  1829. CORE2.Size = CORE2.Size - VT(100,100,100)
  1830. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(25,2,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.7, CFrame = CF(Eon.Position) * 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1831. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eon.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = Eon.Position, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  1832. Slice("Thin",2,25,RootPart.CFrame*CF(0,MRANDOM(-15,15),0)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0)),C3(1,1,1),VT(0.1,0,0.1))
  1833. until SOUND.Playing == false
  1834. CORE:remove()
  1835. CORE1:remove()
  1836. CORE2:remove()
  1837. CORE3:remove()
  1838. SOUND = CreateSound("268249319", Eon, 35, 1)
  1839. local FROZ = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Lily white"), "FROZ", VT(600,600,600))
  1840. MakeForm(FROZ, "Ball")
  1841. FROZ.CFrame = Eon.CFrame
  1842. local FROZz = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Light blue"), "FROZz", VT(400,400,400))
  1843. MakeForm(FROZz, "Ball")
  1844. FROZz.CFrame = Eon.CFrame
  1845. Freeze(FROZ.Position, 500)
  1846. WACKYEFFECT({
  1847. Time = 25,
  1848. EffectType = "Sphere",
  1849. Size = VT(22, 22, 22),
  1850. Size2 = VT(85, 85, 85),
  1851. Transparency = 0,
  1852. Transparency2 = 1,
  1853. CFrame = CF(Eon.Position),
  1854. MoveToPos = nil,
  1855. RotationX = 0,
  1856. RotationY = 0,
  1857. RotationZ = 0,
  1858. Material = "Neon",
  1859. Color = C3(1, 1, 1),
  1860. SoundID = nil,
  1861. SoundPitch = nil,
  1862. SoundVolume = nil
  1863. })
  1864. WACKYEFFECT({
  1865. Time = 25,
  1866. EffectType = "Sphere",
  1867. Size = VT(44, 44, 44),
  1868. Size2 = VT(85, 85, 85),
  1869. Transparency = 0,
  1870. Transparency2 = 1,
  1871. CFrame = CF(Eon.Position),
  1872. MoveToPos = nil,
  1873. RotationX = 0,
  1874. RotationY = 0,
  1875. RotationZ = 0,
  1876. Material = "Neon",
  1877. Color = C3(1, 1, 1),
  1878. SoundID = nil,
  1879. SoundPitch = nil,
  1880. SoundVolume = nil
  1881. })
  1882. local CLONE = Character:Clone()
  1883. wait(0.8)
  1884. FROZ:remove()
  1885. FROZz:remove()
  1886. end
  1887. UNANCHOR = true
  1888. RootPart.Anchored = false
  1889. COR1 = false
  1890. CORMODE = false
  1891. FROZ1 = false
  1892. ATTACK = false
  1893. Rooted = false
  1894. end
  1895. function Warp()
  1896. ATTACK = true
  1897. Rooted = true
  1898. UNANCHOR = false
  1899. RootPart.Anchored = true
  1900. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Really red",VT(2,2,2))
  1901. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Really red",VT(2,2,2))
  1902. for i=0, 0.5, 0.1 / Animation_Speed do
  1903. Swait()
  1904. WACKYEFFECT({
  1905. Time = 5,
  1906. EffectType = "Round Slash",
  1907. Size = VT(0, 0, 0),
  1908. Size2 = VT(0.01, 0, 0.01),
  1909. Transparency = 0.5,
  1910. Transparency2 = 1,
  1911. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1912. MoveToPos = nil,
  1913. RotationX = MRANDOM(-50, 50) / 10,
  1914. RotationY = MRANDOM(-50, 50) / 10,
  1915. RotationZ = MRANDOM(-50, 50) / 10,
  1916. Material = "Neon",
  1917. Color = C3(1, 0, 0),
  1918. SoundID = nil,
  1919. SoundPitch = nil,
  1920. SoundVolume = nil
  1921. })
  1922. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1923. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1924. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1925. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1926. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1927. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1928. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1929. end
  1930. for i = 1, 10 do
  1931. Swait()
  1932. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1933. end
  1934. for i=0, 1, 0.1 / Animation_Speed do
  1935. Swait()
  1936. WACKYEFFECT({
  1937. Time = 5,
  1938. EffectType = "Round Slash",
  1939. Size = VT(0, 0, 0),
  1940. Size2 = VT(0.01, 0, 0.01),
  1941. Transparency = 0.5,
  1942. Transparency2 = 1,
  1943. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1944. MoveToPos = nil,
  1945. RotationX = MRANDOM(-50, 50) / 10,
  1946. RotationY = MRANDOM(-50, 50) / 10,
  1947. RotationZ = MRANDOM(-50, 50) / 10,
  1948. Material = "Neon",
  1949. Color = C3(1, 0, 0),
  1950. SoundID = nil,
  1951. SoundPitch = nil,
  1952. SoundVolume = nil
  1953. })
  1954. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1961. end
  1962. local ORIGIN = RootPart.Position
  1963. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
  1964. for i=0, 1, 0.1 / Animation_Speed do
  1965. Swait()
  1966. WACKYEFFECT({
  1967. Time = 5,
  1968. EffectType = "Round Slash",
  1969. Size = VT(0, 0, 0),
  1970. Size2 = VT(0.01, 0, 0.01),
  1971. Transparency = 0.5,
  1972. Transparency2 = 1,
  1973. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1974. MoveToPos = nil,
  1975. RotationX = MRANDOM(-50, 50) / 10,
  1976. RotationY = MRANDOM(-50, 50) / 10,
  1977. RotationZ = MRANDOM(-50, 50) / 10,
  1978. Material = "Neon",
  1979. Color = C3(1, 0, 0),
  1980. SoundID = nil,
  1981. SoundPitch = nil,
  1982. SoundVolume = nil
  1983. })
  1984. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
  1985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1989. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1991. end
  1992. UNANCHOR = true
  1993. RootPart.Anchored = false
  1994. for i = 1, 10 do
  1995. Swait()
  1996. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1997. end
  1998. ATTACK = false
  1999. Rooted = false
  2000. end
  2001. function a()
  2002. FIRE1 = true
  2003. end
  2004. function s()
  2005. FROZ1 = true
  2006. end
  2007. function d()
  2008. VOID1 = true
  2009. end
  2010.  
  2011. function VoidCore()
  2012. ATTACK = true
  2013. Rooted = true
  2014. COR1 = true
  2015. CHOSENBRICK = "Dark indigo"
  2016. local CHARGE = false
  2017. local BLASTS = {468991944, 468991990}
  2018. for i = 1, 30 do
  2019. wait(0.01)
  2020. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2021. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2022. if HITFLOOR then
  2023. ApplyAoE(HITPOS, 65)
  2024. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2025. WACKYEFFECT({EffectType = "Sphere", Size = VT(1*20,0,1*20), Size2 = VT(0,1*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2026. WACKYEFFECT({
  2027. Time = 25,
  2028. EffectType = "Sphere",
  2029. Size = VT(22, 22, 22),
  2030. Size2 = VT(85, 85, 85),
  2031. Transparency = 0,
  2032. Transparency2 = 1,
  2033. CFrame = CF(HITPOS),
  2034. MoveToPos = Torso.Position,
  2035. RotationX = 0,
  2036. RotationY = 0,
  2037. RotationZ = 0,
  2038. Material = "Neon",
  2039. Color = C3(0, 0, 0),
  2040. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2041. SoundPitch = MRANDOM(9, 12) / 10,
  2042. SoundVolume = 10
  2043. })
  2044. for e = 1, 3 do
  2045. WACKYEFFECT({
  2046. EffectType = "Wave",
  2047. Size = VT(25, 0, 25),
  2048. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2049. Transparency = 0,
  2050. Transparency2 = 1,
  2051. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2052. MoveToPos = nil,
  2053. RotationX = 0,
  2054. RotationY = 0,
  2055. RotationZ = 0,
  2056. Material = "Neon",
  2057. Color = C3(0, 0, 0),
  2058. SoundID = nil,
  2059. SoundPitch = nil,
  2060. SoundVolume = nil
  2061. })
  2062. WACKYEFFECT({
  2063. Time = 35,
  2064. EffectType = "Sphere",
  2065. Size = VT(22, 45, 22),
  2066. Size2 = VT(25, 45 + e * 75, 25),
  2067. Transparency = 0,
  2068. Transparency2 = 1,
  2069. CFrame = CF(HITPOS) * TURN,
  2070. MoveToPos = Torso.Position,
  2071. RotationX = 0,
  2072. RotationY = 0,
  2073. RotationZ = 0,
  2074. Material = "Neon",
  2075. Color = C3(0, 0, 0),
  2076. SoundID = nil,
  2077. SoundPitch = MRANDOM(9, 12) / 10,
  2078. SoundVolume = 10
  2079. })
  2080. end
  2081. end
  2082. end
  2083. repeat
  2084. Swait()
  2085. WACKYEFFECT({
  2086. Time = 15,
  2087. EffectType = "Sphere",
  2088. Size = VT(60, 60, 60),
  2089. Size2 = VT(5, 5, 5),
  2090. Transparency = 1,
  2091. Transparency2 = 0,
  2092. CFrame = CF(Torso.Position) + Torso.CFrame.upVector*MRANDOM(10,20) + Torso.CFrame.rightVector*MRANDOM(-5,5),
  2093. MoveToPos = nil,
  2094. RotationX = MRANDOM(-5,5),
  2095. RotationY = MRANDOM(-5,5),
  2096. RotationZ = MRANDOM(-5,5),
  2097. Material = "Neon",
  2098. Color = C3(0, 0, 0),
  2099. SoundID = nil,
  2100. SoundPitch = nil,
  2101. SoundVolume = nil
  2102. })
  2103. Swait()
  2104. WACKYEFFECT({
  2105. Time = 15,
  2106. EffectType = "Sphere",
  2107. Size = VT(60, 60, 60),
  2108. Size2 = VT(0, 0, 0),
  2109. Transparency = 1,
  2110. Transparency2 = 0.7,
  2111. CFrame = CF(RootPart.Position),
  2112. MoveToPos = nil,
  2113. RotationX = 0,
  2114. RotationY = 0,
  2115. RotationZ = 0,
  2116. Material = "Neon",
  2117. Color = C3(0, 0, 0),
  2118. SoundID = nil,
  2119. SoundPitch = nil,
  2120. SoundVolume = nil
  2121. })
  2122. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2126. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2127. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2128. until VOID1 == true
  2129.  
  2130. if VOID1 == true then
  2131. local POS = RootPart.Position
  2132. wait(0.2)
  2133. for i = 1, 5 do
  2134. WACKYEFFECT({
  2135. Time = 65,
  2136. EffectType = "Sphere",
  2137. Size = VT(2, 2, 2),
  2138. Size2 = VT(0, 0, 500),
  2139. Transparency = 1,
  2140. Transparency2 = 0,
  2141. CFrame = CF(POS),
  2142. MoveToPos = nil,
  2143. RotationX = MRANDOM(-2, 2),
  2144. RotationY = MRANDOM(-12, 12),
  2145. RotationZ = MRANDOM(-2, 2),
  2146. Material = "Neon",
  2147. Color = C3(0, 0, 0),
  2148. SoundID = nil,
  2149. SoundPitch = nil,
  2150. SoundVolume = nil
  2151. })
  2152. WACKYEFFECT({
  2153. Time = 65,
  2154. EffectType = "Sphere",
  2155. Size = VT(2, 2, 2),
  2156. Size2 = VT(0, 0, 500),
  2157. Transparency = 1,
  2158. Transparency2 = 0,
  2159. CFrame = CF(POS),
  2160. MoveToPos = nil,
  2161. RotationX = MRANDOM(-2, 2),
  2162. RotationY = MRANDOM(-12, 12),
  2163. RotationZ = MRANDOM(-2, 2),
  2164. Material = "Neon",
  2165. Color = C3(0, 0, 0),
  2166. SoundID = nil,
  2167. SoundPitch = nil,
  2168. SoundVolume = nil
  2169. })
  2170. WACKYEFFECT({
  2171. Time = 65,
  2172. EffectType = "Sphere",
  2173. Size = VT(2, 2, 2),
  2174. Size2 = VT(0, 0, 500),
  2175. Transparency = 1,
  2176. Transparency2 = 0,
  2177. CFrame = CF(POS),
  2178. MoveToPos = nil,
  2179. RotationX = MRANDOM(-2, 2),
  2180. RotationY = MRANDOM(-12, 12),
  2181. RotationZ = MRANDOM(-2, 2),
  2182. Material = "Neon",
  2183. Color = C3(0, 0, 0),
  2184. SoundID = nil,
  2185. SoundPitch = nil,
  2186. SoundVolume = nil
  2187. })
  2188. WACKYEFFECT({
  2189. Time = 65,
  2190. EffectType = "Sphere",
  2191. Size = VT(2, 2, 2),
  2192. Size2 = VT(0, 0, 500),
  2193. Transparency = 1,
  2194. Transparency2 = 0,
  2195. CFrame = CF(POS),
  2196. MoveToPos = nil,
  2197. RotationX = MRANDOM(-2, 2),
  2198. RotationY = MRANDOM(-12, 12),
  2199. RotationZ = MRANDOM(-2, 2),
  2200. Material = "Neon",
  2201. Color = C3(0, 0, 0),
  2202. SoundID = nil,
  2203. SoundPitch = nil,
  2204. SoundVolume = nil
  2205. })
  2206. WACKYEFFECT({
  2207. Time = 65,
  2208. EffectType = "Sphere",
  2209. Size = VT(2, 2, 2),
  2210. Size2 = VT(0, 0, 500),
  2211. Transparency = 1,
  2212. Transparency2 = 0,
  2213. CFrame = CF(POS),
  2214. MoveToPos = nil,
  2215. RotationX = MRANDOM(-2, 2),
  2216. RotationY = MRANDOM(-12, 12),
  2217. RotationZ = MRANDOM(-2, 2),
  2218. Material = "Neon",
  2219. Color = C3(0, 0, 0),
  2220. SoundID = nil,
  2221. SoundPitch = nil,
  2222. SoundVolume = nil
  2223. })
  2224. WACKYEFFECT({
  2225. Time = 65,
  2226. EffectType = "Sphere",
  2227. Size = VT(2, 2, 2),
  2228. Size2 = VT(0, 0, 500),
  2229. Transparency = 1,
  2230. Transparency2 = 0,
  2231. CFrame = CF(POS),
  2232. MoveToPos = nil,
  2233. RotationX = MRANDOM(-2, 2),
  2234. RotationY = MRANDOM(-12, 12),
  2235. RotationZ = MRANDOM(-2, 2),
  2236. Material = "Neon",
  2237. Color = C3(0, 0, 0),
  2238. SoundID = nil,
  2239. SoundPitch = nil,
  2240. SoundVolume = nil
  2241. })
  2242. WACKYEFFECT({
  2243. Time = 65,
  2244. EffectType = "Sphere",
  2245. Size = VT(2, 2, 2),
  2246. Size2 = VT(0, 0, 500),
  2247. Transparency = 1,
  2248. Transparency2 = 0,
  2249. CFrame = CF(POS),
  2250. MoveToPos = nil,
  2251. RotationX = MRANDOM(-2, 2),
  2252. RotationY = MRANDOM(-12, 12),
  2253. RotationZ = MRANDOM(-2, 2),
  2254. Material = "Neon",
  2255. Color = C3(0, 0, 0),
  2256. SoundID = nil,
  2257. SoundPitch = nil,
  2258. SoundVolume = nil
  2259. })
  2260. WACKYEFFECT({
  2261. Time = 65,
  2262. EffectType = "Sphere",
  2263. Size = VT(2, 2, 2),
  2264. Size2 = VT(0, 0, 500),
  2265. Transparency = 1,
  2266. Transparency2 = 0,
  2267. CFrame = CF(POS),
  2268. MoveToPos = nil,
  2269. RotationX = MRANDOM(-2, 2),
  2270. RotationY = MRANDOM(-12, 12),
  2271. RotationZ = MRANDOM(-2, 2),
  2272. Material = "Neon",
  2273. Color = C3(0, 0, 0),
  2274. SoundID = nil,
  2275. SoundPitch = nil,
  2276. SoundVolume = nil
  2277. })
  2278. WACKYEFFECT({
  2279. Time = 65,
  2280. EffectType = "Sphere",
  2281. Size = VT(2, 2, 2),
  2282. Size2 = VT(0, 0, 500),
  2283. Transparency = 1,
  2284. Transparency2 = 0,
  2285. CFrame = CF(POS),
  2286. MoveToPos = nil,
  2287. RotationX = MRANDOM(-2, 2),
  2288. RotationY = MRANDOM(-12, 12),
  2289. RotationZ = MRANDOM(-2, 2),
  2290. Material = "Neon",
  2291. Color = C3(0, 0, 0),
  2292. SoundID = nil,
  2293. SoundPitch = nil,
  2294. SoundVolume = nil
  2295. })
  2296. WACKYEFFECT({
  2297. Time = 65,
  2298. EffectType = "Sphere",
  2299. Size = VT(2, 2, 2),
  2300. Size2 = VT(0, 0, 500),
  2301. Transparency = 1,
  2302. Transparency2 = 0,
  2303. CFrame = CF(POS),
  2304. MoveToPos = nil,
  2305. RotationX = MRANDOM(-2, 2),
  2306. RotationY = MRANDOM(-12, 12),
  2307. RotationZ = MRANDOM(-2, 2),
  2308. Material = "Neon",
  2309. Color = C3(0, 0, 0),
  2310. SoundID = nil,
  2311. SoundPitch = nil,
  2312. SoundVolume = nil
  2313. })
  2314. WACKYEFFECT({
  2315. Time = 65,
  2316. EffectType = "Sphere",
  2317. Size = VT(2, 2, 2),
  2318. Size2 = VT(0, 0, 500),
  2319. Transparency = 1,
  2320. Transparency2 = 0,
  2321. CFrame = CF(POS),
  2322. MoveToPos = nil,
  2323. RotationX = MRANDOM(-2, 2),
  2324. RotationY = MRANDOM(-12, 12),
  2325. RotationZ = MRANDOM(-2, 2),
  2326. Material = "Neon",
  2327. Color = C3(0, 0, 0),
  2328. SoundID = nil,
  2329. SoundPitch = nil,
  2330. SoundVolume = nil
  2331. })
  2332. WACKYEFFECT({
  2333. Time = 65,
  2334. EffectType = "Sphere",
  2335. Size = VT(2, 2, 2),
  2336. Size2 = VT(0, 0, 500),
  2337. Transparency = 1,
  2338. Transparency2 = 0,
  2339. CFrame = CF(POS),
  2340. MoveToPos = nil,
  2341. RotationX = MRANDOM(-2, 2),
  2342. RotationY = MRANDOM(-12, 12),
  2343. RotationZ = MRANDOM(-2, 2),
  2344. Material = "Neon",
  2345. Color = C3(0, 0, 0),
  2346. SoundID = nil,
  2347. SoundPitch = nil,
  2348. SoundVolume = nil
  2349. })
  2350. WACKYEFFECT({
  2351. Time = 65,
  2352. EffectType = "Sphere",
  2353. Size = VT(2, 2, 2),
  2354. Size2 = VT(0, 0, 500),
  2355. Transparency = 1,
  2356. Transparency2 = 0,
  2357. CFrame = CF(POS),
  2358. MoveToPos = nil,
  2359. RotationX = MRANDOM(-2, 2),
  2360. RotationY = MRANDOM(-12, 12),
  2361. RotationZ = MRANDOM(-2, 2),
  2362. Material = "Neon",
  2363. Color = C3(0, 0, 0),
  2364. SoundID = nil,
  2365. SoundPitch = nil,
  2366. SoundVolume = nil
  2367. })
  2368. WACKYEFFECT({
  2369. Time = 65,
  2370. EffectType = "Sphere",
  2371. Size = VT(2, 2, 2),
  2372. Size2 = VT(0, 0, 500),
  2373. Transparency = 1,
  2374. Transparency2 = 0,
  2375. CFrame = CF(POS),
  2376. MoveToPos = nil,
  2377. RotationX = MRANDOM(-2, 2),
  2378. RotationY = MRANDOM(-12, 12),
  2379. RotationZ = MRANDOM(-2, 2),
  2380. Material = "Neon",
  2381. Color = C3(0, 0, 0),
  2382. SoundID = nil,
  2383. SoundPitch = nil,
  2384. SoundVolume = nil
  2385. })
  2386. WACKYEFFECT({
  2387. Time = 65,
  2388. EffectType = "Sphere",
  2389. Size = VT(2, 2, 2),
  2390. Size2 = VT(0, 0, 500),
  2391. Transparency = 1,
  2392. Transparency2 = 0,
  2393. CFrame = CF(POS),
  2394. MoveToPos = nil,
  2395. RotationX = MRANDOM(-2, 2),
  2396. RotationY = MRANDOM(-12, 12),
  2397. RotationZ = MRANDOM(-2, 2),
  2398. Material = "Neon",
  2399. Color = C3(0, 0, 0),
  2400. SoundID = nil,
  2401. SoundPitch = nil,
  2402. SoundVolume = nil
  2403. })
  2404. WACKYEFFECT({
  2405. Time = 85,
  2406. EffectType = "Sphere",
  2407. Size = VT(0.2,0.2,0.2),
  2408. Size2 = VT(0, 1000, 0),
  2409. Transparency = 0.5,
  2410. Transparency2 = 1,
  2411. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2412. MoveToPos = nil,
  2413. RotationX = MRANDOM(-50, 50) / 10,
  2414. RotationY = MRANDOM(-50, 50) / 10,
  2415. RotationZ = MRANDOM(-50, 50) / 10,
  2416. Material = "Neon",
  2417. Color = C3(0,0,0),
  2418. SoundID = nil,
  2419. SoundPitch = nil,
  2420. SoundVolume = nil
  2421. })
  2422. WACKYEFFECT({
  2423. Time = 85,
  2424. EffectType = "Sphere",
  2425. Size = VT(0.2,0.2,0.2),
  2426. Size2 = VT(0, 1000, 0),
  2427. Transparency = 0.5,
  2428. Transparency2 = 1,
  2429. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2430. MoveToPos = nil,
  2431. RotationX = MRANDOM(-50, 50) / 10,
  2432. RotationY = MRANDOM(-50, 50) / 10,
  2433. RotationZ = MRANDOM(-50, 50) / 10,
  2434. Material = "Neon",
  2435. Color = C3(0,0,0),
  2436. SoundID = nil,
  2437. SoundPitch = nil,
  2438. SoundVolume = nil
  2439. })
  2440. WACKYEFFECT({
  2441. Time = 85,
  2442. EffectType = "Sphere",
  2443. Size = VT(0.2,0.2,0.2),
  2444. Size2 = VT(0, 1000, 0),
  2445. Transparency = 0.5,
  2446. Transparency2 = 1,
  2447. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2448. MoveToPos = nil,
  2449. RotationX = MRANDOM(-50, 50) / 10,
  2450. RotationY = MRANDOM(-50, 50) / 10,
  2451. RotationZ = MRANDOM(-50, 50) / 10,
  2452. Material = "Neon",
  2453. Color = C3(0,0,0),
  2454. SoundID = nil,
  2455. SoundPitch = nil,
  2456. SoundVolume = nil
  2457. })
  2458. local POS = RootPart.Position
  2459. WACKYEFFECT({
  2460. Time = 15,
  2461. EffectType = "Sphere",
  2462. Size = VT(2,2,2),
  2463. Size2 = VT(0, 0, 0),
  2464. Transparency = 1,
  2465. Transparency2 = 0,
  2466. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2467. MoveToPos = Eon.Position,
  2468. RotationX = 0,
  2469. RotationY = 0,
  2470. RotationZ = 0,
  2471. Material = "Neon",
  2472. Color = C3(0,0,0),
  2473. SoundID = nil,
  2474. SoundPitch = nil,
  2475. SoundVolume = nil
  2476. })
  2477. end
  2478. wait(1)
  2479. ApplyAoE(POS, 450, true)
  2480. for i = 1, 5 do
  2481. Swait()
  2482. WACKYEFFECT({
  2483. Time = 85,
  2484. EffectType = "Wave",
  2485. Size = VT(25, 0, 25),
  2486. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6) * 15,
  2487. Transparency = 0,
  2488. Transparency2 = 1,
  2489. CFrame = CF(POS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  2490. MoveToPos = nil,
  2491. RotationX = 0,
  2492. RotationY = 3,
  2493. RotationZ = 0,
  2494. Material = "Neon",
  2495. Color = C3(0,0,0),
  2496. SoundID = nil,
  2497. SoundPitch = nil,
  2498. SoundVolume = nil
  2499. })
  2500. WACKYEFFECT({
  2501. Time = 85,
  2502. EffectType = "Round Slash",
  2503. Size = VT(3, 0, 3) / 13,
  2504. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) * 2,
  2505. Transparency = 0,
  2506. Transparency2 = 1,
  2507. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  2508. MoveToPos = nil,
  2509. RotationX = 0,
  2510. RotationY = 0,
  2511. RotationZ = 0,
  2512. Material = "Neon",
  2513. Color = C3(0,0,0),
  2514. SoundID = nil,
  2515. SoundPitch = nil,
  2516. SoundVolume = nil
  2517. })
  2518. WACKYEFFECT({
  2519. Time = 75,
  2520. EffectType = "Sphere",
  2521. Size = VT(22, 22, 22),
  2522. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5) * 7,
  2523. Transparency = 0,
  2524. Transparency2 = 1,
  2525. CFrame = CF(POS),
  2526. MoveToPos = nil,
  2527. RotationX = 0,
  2528. RotationY = 0,
  2529. RotationZ = 0,
  2530. Material = "Neon",
  2531. Color = C3(0,0,0),
  2532. SoundID = nil,
  2533. SoundPitch = nil,
  2534. SoundVolume = nil
  2535. })
  2536. end
  2537. WACKYEFFECT({
  2538. Time = 85,
  2539. EffectType = "Sphere",
  2540. Size = VT(120, 120, 120),
  2541. Size2 = VT(350, 350, 350),
  2542. Transparency = 0,
  2543. Transparency2 = 1,
  2544. CFrame = CF(POS),
  2545. MoveToPos = nil,
  2546. RotationX = 0,
  2547. RotationY = 0,
  2548. RotationZ = 0,
  2549. Material = "Neon",
  2550. Color = C3(0, 0, 0),
  2551. SoundID = nil,
  2552. SoundPitch = 1,
  2553. SoundVolume = 10
  2554. })
  2555. for i = 1, 20 do
  2556. WACKYEFFECT({
  2557. Time = 85,
  2558. EffectType = "Sphere",
  2559. Size = VT(120, 120, 120),
  2560. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2561. Transparency = 0.8,
  2562. Transparency2 = 1,
  2563. CFrame = CF(POS),
  2564. MoveToPos = nil,
  2565. RotationX = 0,
  2566. RotationY = 0,
  2567. RotationZ = 0,
  2568. Material = "Neon",
  2569. Color = C3(0, 0, 0),
  2570. SoundID = nil,
  2571. SoundPitch = 1,
  2572. SoundVolume = 10
  2573. })
  2574. WACKYEFFECT({
  2575. Time = 100,
  2576. EffectType = "Wave",
  2577. Size = VT(25, 2, 25),
  2578. Size2 = VT(400, 0, 400) * 1.2,
  2579. Transparency = 0,
  2580. Transparency2 = 1,
  2581. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2582. MoveToPos = nil,
  2583. RotationX = 0,
  2584. RotationY = 0,
  2585. RotationZ = 0,
  2586. Material = "Neon",
  2587. Color = C3(0, 0, 0),
  2588. SoundID = nil,
  2589. SoundPitch = nil,
  2590. SoundVolume = nil
  2591. })
  2592. end
  2593. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2594. for i = 1, 5 do
  2595. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2596. WACKYEFFECT({
  2597. Time = 120,
  2598. EffectType = "Wave",
  2599. Size = VT(150, 2, 150),
  2600. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2601. Transparency = 0,
  2602. Transparency2 = 1,
  2603. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2604. MoveToPos = nil,
  2605. RotationX = 0,
  2606. RotationY = 0,
  2607. RotationZ = 0,
  2608. Material = "Neon",
  2609. Color = C3(0, 0, 0),
  2610. SoundID = nil,
  2611. SoundPitch = nil,
  2612. SoundVolume = nil
  2613. })
  2614. end
  2615. for i = 0, 1, 0.1 / Animation_Speed do
  2616. Swait()
  2617. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2618. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2619. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2620. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2621. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2622. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2623. end
  2624. ATTACK = false
  2625. Rooted = false
  2626. end
  2627. COR1 = false
  2628. CORMODE = false
  2629. CHOSENBRICK = "Really red"
  2630. CHARGE = true
  2631. VOID1 = false
  2632. end
  2633. function Taunt()
  2634. ATTACK = true
  2635. RELAX2 = true
  2636. Rooted = true
  2637. repeat
  2638. Swait()
  2639. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-60 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.50 + 0.05 * COS(SINE / 12), 0.4) * ANGLES(RAD(-160), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.50 + 0.05 * COS(SINE / 12), 0.4) * ANGLES(RAD(-160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.05) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 12), -0.05) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2645. WACKYEFFECT({
  2646. EffectType = "None",
  2647. Size = VT(4, 1, 4),
  2648. Size2 = VT(4 + MRANDOM(0, 8), 3, 4 + MRANDOM(0, 8)),
  2649. Transparency = 0.9,
  2650. Transparency2 = 1,
  2651. CFrame = CF(RootPart.Position-VT(0,3.2,0)) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2652. MoveToPos = nil,
  2653. RotationX = 0,
  2654. RotationY = 5,
  2655. RotationZ = 0,
  2656. Material = "Neon",
  2657. Color = C3(1, 1, 1),
  2658. SoundID = nil,
  2659. SoundPitch = nil,
  2660. SoundVolume = nil
  2661. })
  2662. until RELAX2 == false
  2663. ATTACK = false
  2664. Rooted = false
  2665. end
  2666. --//=================================\\
  2667. --|| ASSIGN THINGS TO KEYS
  2668. --\\=================================//
  2669.  
  2670. function MouseDown(Mouse)
  2671. if ATTACK == false then
  2672. end
  2673. end
  2674.  
  2675. function MouseUp(Mouse)
  2676. HOLD = false
  2677. end
  2678. RELAX = false
  2679. RELAX2 = false
  2680. function KeyDown(Key)
  2681. KEYHOLD = true
  2682. if Key == "z" and ATTACK == false and SVAL == false and VALUE2 == false then
  2683. Beam()
  2684. end
  2685. if Key == "q" and ATTACK == false and SVAL == false and VALUE2 == false then
  2686. Warp()
  2687. end
  2688. if Key == "c" and ATTACK == false and SVAL == false and VALUE2 == false then
  2689. Cooldown()
  2690. end
  2691. if Key == "b" and ATTACK == false and SVAL == false and VALUE2 == false then
  2692. CorMode()
  2693. end
  2694. if Key == "x" and ATTACK == false and SVAL == false and CORMODE == true then
  2695. HCore()
  2696. end
  2697. if Key == "f" and ATTACK == false and SVAL == false and CORMODE == true then
  2698. IceCore()
  2699. end
  2700. if Key == "r" and ATTACK == false and SVAL == false and CORMODE == true then
  2701. VoidCore()
  2702. end
  2703. if Key == "e" and ATTACK == false and SVAL == false then
  2704. CORMODE = false
  2705. end
  2706. ------------------------------------------------ACTIVATORS
  2707. if Key == "z" and COR1 == true and SVAL == false then
  2708. a()
  2709. end
  2710. if Key == "c" and COR1 == true and SVAL == false then
  2711. s()
  2712. end
  2713. if Key == "x" and COR1 == true and SVAL == false then
  2714. d()
  2715. end
  2716. ------------------------------------------------MISC
  2717. if RELAX == false and ATTACK == false or RELAX2 == true then
  2718. if Key == "t" then
  2719. if RELAX2 == false then
  2720. Taunt()
  2721. elseif RELAX2 == true then
  2722. RELAX2 = false
  2723. end
  2724. end
  2725. end
  2726. end
  2727.  
  2728. function KeyUp(Key)
  2729. KEYHOLD = false
  2730. end
  2731.  
  2732. Mouse.Button1Down:connect(function(NEWKEY)
  2733. MouseDown(NEWKEY)
  2734. end)
  2735. Mouse.Button1Up:connect(function(NEWKEY)
  2736. MouseUp(NEWKEY)
  2737. end)
  2738. Mouse.KeyDown:connect(function(NEWKEY)
  2739. KeyDown(NEWKEY)
  2740. end)
  2741. Mouse.KeyUp:connect(function(NEWKEY)
  2742. KeyUp(NEWKEY)
  2743. end)
  2744.  
  2745. --//=================================\\
  2746. --\\=================================//
  2747.  
  2748. function unanchor()
  2749. if UNANCHOR == true then
  2750. g = Character:GetChildren()
  2751. for i = 1, #g do
  2752. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  2753. g[i].Anchored = false
  2754. end
  2755. if g[i].ClassName == "Accessory" then
  2756. g[i].Handle.Anchored = false
  2757. end
  2758. end
  2759. if LIMITBROKEN == false then
  2760. RootPart.Anchored = false
  2761. end
  2762. end
  2763. end
  2764. --//=================================\\
  2765. --|| WRAP THE WHOLE SCRIPT UP
  2766. --\\=================================//
  2767.  
  2768. Humanoid.Changed:connect(function(Jump)
  2769. if Jump == "Jump" and (Disable_Jump == true) then
  2770. Humanoid.Jump = false
  2771. end
  2772. end)
  2773.  
  2774. while true do
  2775. Swait()
  2776. script.Parent = WEAPONGUI
  2777. ANIMATE.Parent = nil
  2778. if Humanoid then
  2779. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2780. IDLEANIMATION:Play()
  2781. end
  2782. SINE = SINE + CHANGE
  2783. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2784. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2785. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2786. local WALKSPEEDVALUE = 5 / (Humanoid.WalkSpeed / 16)
  2787. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2788. 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)
  2789. 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)
  2790. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  2791. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  2792. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2793. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2794. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2795. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2796. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2797. end
  2798. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2799. ANIM = "Jump"
  2800. if ATTACK == false then
  2801. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2807. end
  2808. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2809. ANIM = "Fall"
  2810. if ATTACK == false then
  2811. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2817. end
  2818. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2819. ANIM = "Idle"
  2820. if ATTACK == false then
  2821. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2822. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2823. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2824. 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)
  2825. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2826. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2827. if VALUE1 == false and MRANDOM(1,200) == 1 then
  2828. coroutine.resume(coroutine.create(function()
  2829. VALUE1 = true
  2830. for i = 1, 25 do
  2831. Swait()
  2832. end
  2833. VALUE1 = false
  2834. end))
  2835. end
  2836. end
  2837.  
  2838. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2839. ANIM = "Walk"
  2840. if ATTACK == false then
  2841. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2842. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2843. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(25 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2844. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-25 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2845. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2846. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2847. end
  2848. end
  2849. if COR1 == true then
  2850. SKILL1TEXT.Text = "[Z] Core explosion"
  2851. SKILL2TEXT.Text = "[_] ERROR"
  2852. SKILL3TEXT.Text = "[_] ERROR"
  2853. end
  2854. if COR1 == false then
  2855. SKILL1TEXT.Text = "[Z] Lava outburst"
  2856. SKILL2TEXT.Text = "[C] Cooldown"
  2857. SKILL3TEXT.Text = "[B] Core Mode"
  2858. end
  2859. if CORMODE == true then
  2860. SKILL1TEXT.Text = "[R,X] VoidCore"
  2861. SKILL2TEXT.Text = "[F,C] IceCore"
  2862. SKILL3TEXT.Text = "[X,Z] Core"
  2863. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  2864. end
  2865. sick.Parent = Torso
  2866. sick.Playing = true
  2867. sick.SoundId = "rbxassetid://1547042045"
  2868. for _, c in pairs(Weapon:GetChildren()) do
  2869. if c.Name == "Eon" then
  2870. c.BrickColor = BRICKC(CHOSENBRICK)
  2871. end
  2872. end
  2873.  
  2874. unanchor()
  2875. Humanoid.MaxHealth = "inf"
  2876. Humanoid.Health = "inf"
  2877. if Rooted == false then
  2878. Disable_Jump = false
  2879. Humanoid.WalkSpeed = Speed
  2880. elseif Rooted == true then
  2881. Disable_Jump = true
  2882. Humanoid.WalkSpeed = 0
  2883. end
  2884. refit()
  2885. Humanoid.PlatformStand = false
  2886. end
  2887.  
  2888. --//=================================\\
  2889. --\\=================================//
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895. --//====================================================\\--
  2896. --|| END OF SCRIPT
  2897. --\\====================================================//--w
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement