Advertisement
memberhero

Eon

Jun 30th, 2018
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.21 KB | None | 0 0
  1. -- Synapse Decompiler
  2. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  3.  
  4. wait(0.2)
  5. Player = game:GetService("Players").LocalPlayer
  6. PlayerGui = Player.PlayerGui
  7. Cam = workspace.CurrentCamera
  8. Backpack = Player.Backpack
  9. Character = Player.Character
  10. Humanoid = Character.Humanoid
  11. Mouse = Player:GetMouse()
  12. RootPart = Character.HumanoidRootPart
  13. Torso = Character.Torso
  14. Head = Character.Head
  15. RightArm = Character["Right Arm"]
  16. LeftArm = Character["Left Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LeftLeg = Character["Left Leg"]
  19. RootJoint = RootPart.RootJoint
  20. Neck = Torso.Neck
  21. RightShoulder = Torso["Right Shoulder"]
  22. LeftShoulder = Torso["Left Shoulder"]
  23. RightHip = Torso["Right Hip"]
  24. LeftHip = Torso["Left Hip"]
  25. local sick = Instance.new("Sound", Torso)
  26. sick.SoundId = "rbxassetid://1471371342"
  27. sick.Looped = true
  28. sick.Pitch = 1
  29. sick.Volume = 1
  30. sick:Play()
  31. IT = Instance.new
  32. CF = CFrame.new
  33. VT = Vector3.new
  34. RAD = math.rad
  35. C3 = Color3.new
  36. UD2 = UDim2.new
  37. BRICKC = BrickColor.new
  38. ANGLES = CFrame.Angles
  39. EULER = CFrame.fromEulerAnglesXYZ
  40. COS = math.cos
  41. ACOS = math.acos
  42. SIN = math.sin
  43. ASIN = math.asin
  44. ABS = math.abs
  45. MRANDOM = math.random
  46. FLOOR = math.floor
  47. Animation_Speed = 3
  48. Frame_Speed = 0.016666666666666666
  49. local Speed = 16
  50. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  51. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  52. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  53. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  54. local DAMAGEMULTIPLIER = 1
  55. local ANIM = "Idle"
  56. local ATTACK = false
  57. local EQUIPPED = false
  58. local HOLD = false
  59. local COMBO = 1
  60. local Rooted = false
  61. local SINE = 0
  62. local KEYHOLD = false
  63. local CHANGE = 2 / Animation_Speed
  64. local WALKINGANIM = false
  65. local VALUE1 = false
  66. local VALUE2 = false
  67. local ROBLOXIDLEANIMATION = IT("Animation")
  68. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  69. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  70. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  71. WEAPONGUI.Name = "Weapon GUI"
  72. local Weapon = IT("Model")
  73. Weapon.Name = "Adds"
  74. local Effects = IT("Folder", Weapon)
  75. Effects.Name = "Effects"
  76. local ANIMATOR = Humanoid.Animator
  77. local ANIMATE = Character.Animate
  78. local UNANCHOR = true
  79. local EYE1, EYE2
  80. local TAIL = {}
  81. local BLINKLOOP = 0
  82. ArtificialHB = Instance.new("BindableEvent", script)
  83. ArtificialHB.Name = "ArtificialHB"
  84. script:WaitForChild("ArtificialHB")
  85. frame = Frame_Speed
  86. tf = 0
  87. allowframeloss = false
  88. tossremainder = false
  89. lastframe = tick()
  90. script.ArtificialHB:Fire()
  91. game:GetService("RunService").Heartbeat:connect(function(s, p)
  92. tf = tf + s
  93. if tf >= frame then
  94. if allowframeloss then
  95. script.ArtificialHB:Fire()
  96. lastframe = tick()
  97. else
  98. for i = 1, math.floor(tf / frame) do
  99. script.ArtificialHB:Fire()
  100. end
  101. lastframe = tick()
  102. end
  103. if tossremainder then
  104. tf = 0
  105. else
  106. tf = tf - frame * math.floor(tf / frame)
  107. end
  108. end
  109. end)
  110. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  111. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  112. end
  113. function PositiveAngle(NUMBER)
  114. if NUMBER >= 0 then
  115. NUMBER = 0
  116. end
  117. return NUMBER
  118. end
  119. function NegativeAngle(NUMBER)
  120. if NUMBER <= 0 then
  121. NUMBER = 0
  122. end
  123. return NUMBER
  124. end
  125. function Swait(NUMBER)
  126. if NUMBER == 0 or NUMBER == nil then
  127. ArtificialHB.Event:wait()
  128. else
  129. for i = 1, NUMBER do
  130. ArtificialHB.Event:wait()
  131. end
  132. end
  133. end
  134. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  135. local NEWMESH = IT(MESH)
  136. if MESH == "SpecialMesh" then
  137. NEWMESH.MeshType = MESHTYPE
  138. if MESHID ~= "nil" and MESHID ~= "" then
  139. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  140. end
  141. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  142. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  143. end
  144. end
  145. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  146. NEWMESH.Scale = SCALE
  147. NEWMESH.Parent = PARENT
  148. return NEWMESH
  149. end
  150. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  151. local NEWPART = IT("Part")
  152. NEWPART.formFactor = FORMFACTOR
  153. NEWPART.Reflectance = REFLECTANCE
  154. NEWPART.Transparency = TRANSPARENCY
  155. NEWPART.CanCollide = false
  156. NEWPART.Locked = true
  157. NEWPART.Anchored = true
  158. if ANCHOR == false then
  159. NEWPART.Anchored = false
  160. end
  161. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  162. NEWPART.Name = NAME
  163. NEWPART.Size = SIZE
  164. NEWPART.Position = Torso.Position
  165. NEWPART.Material = MATERIAL
  166. NEWPART:BreakJoints()
  167. NEWPART.Parent = PARENT
  168. return NEWPART
  169. end
  170. local weldBetween = function(a, b)
  171. local weldd = Instance.new("ManualWeld")
  172. weldd.Part0 = a
  173. weldd.Part1 = b
  174. weldd.C0 = CFrame.new()
  175. weldd.C1 = b.CFrame:inverse() * a.CFrame
  176. weldd.Parent = a
  177. return weldd
  178. end
  179. function QuaternionFromCFrame(cf)
  180. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  181. local trace = m00 + m11 + m22
  182. if trace > 0 then
  183. local s = math.sqrt(1 + trace)
  184. local recip = 0.5 / s
  185. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  186. else
  187. local i = 0
  188. if m00 < m11 then
  189. i = 1
  190. end
  191. if m22 > (i == 0 and m00 or m11) then
  192. i = 2
  193. end
  194. if i == 0 then
  195. local s = math.sqrt(m00 - m11 - m22 + 1)
  196. local recip = 0.5 / s
  197. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  198. elseif i == 1 then
  199. local s = math.sqrt(m11 - m22 - m00 + 1)
  200. local recip = 0.5 / s
  201. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  202. elseif i == 2 then
  203. local s = math.sqrt(m22 - m00 - m11 + 1)
  204. local recip = 0.5 / s
  205. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  206. end
  207. end
  208. end
  209. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  210. local xs, ys, zs = x + x, y + y, z + z
  211. local wx, wy, wz = w * xs, w * ys, w * zs
  212. local xx = x * xs
  213. local xy = x * ys
  214. local xz = x * zs
  215. local yy = y * ys
  216. local yz = y * zs
  217. local zz = z * zs
  218. 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))
  219. end
  220. function QuaternionSlerp(a, b, t)
  221. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  222. local startInterp, finishInterp
  223. if cosTheta >= 1.0E-4 then
  224. if 1 - cosTheta > 1.0E-4 then
  225. local theta = ACOS(cosTheta)
  226. local invSinTheta = 1 / SIN(theta)
  227. startInterp = SIN((1 - t) * theta) * invSinTheta
  228. finishInterp = SIN(t * theta) * invSinTheta
  229. else
  230. startInterp = 1 - t
  231. finishInterp = t
  232. end
  233. elseif 1 + cosTheta > 1.0E-4 then
  234. local theta = ACOS(-cosTheta)
  235. local invSinTheta = 1 / SIN(theta)
  236. startInterp = SIN((t - 1) * theta) * invSinTheta
  237. finishInterp = SIN(t * theta) * invSinTheta
  238. else
  239. startInterp = t - 1
  240. finishInterp = t
  241. end
  242. 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
  243. end
  244. function Clerp(a, b, t)
  245. local qa = {
  246. QuaternionFromCFrame(a)
  247. }
  248. local qb = {
  249. QuaternionFromCFrame(b)
  250. }
  251. local ax, ay, az = a.x, a.y, a.z
  252. local bx, by, bz = b.x, b.y, b.z
  253. local _t = 1 - t
  254. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  255. end
  256. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  257. local frame = IT("Frame")
  258. frame.BackgroundTransparency = TRANSPARENCY
  259. frame.BorderSizePixel = BORDERSIZEPIXEL
  260. frame.Position = POSITION
  261. frame.Size = SIZE
  262. frame.BackgroundColor3 = COLOR
  263. frame.BorderColor3 = BORDERCOLOR
  264. frame.Name = NAME
  265. frame.Parent = PARENT
  266. return frame
  267. end
  268. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  269. local label = IT("TextLabel")
  270. label.BackgroundTransparency = 1
  271. label.Size = UD2(1, 0, 1, 0)
  272. label.Position = UD2(0, 0, 0, 0)
  273. label.TextColor3 = TEXTCOLOR
  274. label.TextStrokeTransparency = STROKETRANSPARENCY
  275. label.TextTransparency = TRANSPARENCY
  276. label.FontSize = TEXTFONTSIZE
  277. label.Font = TEXTFONT
  278. label.BorderSizePixel = BORDERSIZEPIXEL
  279. label.TextScaled = false
  280. label.Text = TEXT
  281. label.Name = NAME
  282. label.Parent = PARENT
  283. return label
  284. end
  285. function NoOutlines(PART)
  286. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  287. end
  288. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  289. local NEWWELD = IT(TYPE)
  290. NEWWELD.Part0 = PART0
  291. NEWWELD.Part1 = PART1
  292. NEWWELD.C0 = C0
  293. NEWWELD.C1 = C1
  294. NEWWELD.Parent = PARENT
  295. return NEWWELD
  296. end
  297. local S = IT("Sound")
  298. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  299. local NEWSOUND
  300. coroutine.resume(coroutine.create(function()
  301. NEWSOUND = S:Clone()
  302. NEWSOUND.Parent = PARENT
  303. NEWSOUND.Volume = VOLUME
  304. NEWSOUND.Pitch = PITCH
  305. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  306. NEWSOUND:play()
  307. if DOESLOOP == true then
  308. NEWSOUND.Looped = true
  309. else
  310. repeat
  311. Swait()
  312. until NEWSOUND.Playing == false
  313. NEWSOUND:remove()
  314. end
  315. end))
  316. return NEWSOUND
  317. end
  318. function CFrameFromTopBack(at, top, back)
  319. local right = top:Cross(back)
  320. 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)
  321. end
  322. function WACKYEFFECT(Table)
  323. local TYPE = Table.EffectType or "Sphere"
  324. local SIZE = Table.Size or VT(1, 1, 1)
  325. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  326. local TRANSPARENCY = Table.Transparency or 0
  327. local ENDTRANSPARENCY = Table.Transparency2 or 1
  328. local CFRAME = Table.CFrame or Torso.CFrame
  329. local MOVEDIRECTION = Table.MoveToPos or nil
  330. local ROTATION1 = Table.RotationX or 0
  331. local ROTATION2 = Table.RotationY or 0
  332. local ROTATION3 = Table.RotationZ or 0
  333. local MATERIAL = Table.Material or "Neon"
  334. local COLOR = Table.Color or C3(1, 1, 1)
  335. local TIME = Table.Time or 45
  336. local SOUNDID = Table.SoundID or nil
  337. local SOUNDPITCH = Table.SoundPitch or nil
  338. local SOUNDVOLUME = Table.SoundVolume or nil
  339. coroutine.resume(coroutine.create(function()
  340. local PLAYSSOUND = false
  341. local SOUND
  342. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  343. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  344. PLAYSSOUND = true
  345. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  346. end
  347. EFFECT.Color = COLOR
  348. local MSH
  349. if TYPE == "Sphere" then
  350. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  351. elseif TYPE == "Block" then
  352. MSH = IT("BlockMesh", EFFECT)
  353. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  354. elseif TYPE == "Wave" then
  355. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  356. elseif TYPE == "Ring" then
  357. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  358. elseif TYPE == "Slash" then
  359. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  360. elseif TYPE == "Round Slash" then
  361. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  362. elseif TYPE == "Swirl" then
  363. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  364. elseif TYPE == "Skull" then
  365. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  366. elseif TYPE == "Crystal" then
  367. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  368. end
  369. if MSH ~= nil then
  370. local MOVESPEED
  371. if MOVEDIRECTION ~= nil then
  372. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  373. end
  374. local GROWTH = SIZE - ENDSIZE
  375. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  376. if TYPE == "Block" then
  377. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  378. else
  379. EFFECT.CFrame = CFRAME
  380. end
  381. for LOOP = 1, TIME do
  382. Swait()
  383. MSH.Scale = MSH.Scale - GROWTH / TIME
  384. if TYPE == "Wave" then
  385. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  386. end
  387. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  388. if TYPE == "Block" then
  389. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  390. else
  391. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  392. end
  393. if MOVEDIRECTION ~= nil then
  394. local ORI = EFFECT.Orientation
  395. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  396. EFFECT.Orientation = ORI
  397. end
  398. end
  399. if PLAYSSOUND == false then
  400. EFFECT:remove()
  401. else
  402. repeat
  403. Swait()
  404. until SOUND.Playing == false
  405. EFFECT:remove()
  406. end
  407. elseif PLAYSSOUND == false then
  408. EFFECT:remove()
  409. else
  410. repeat
  411. Swait()
  412. until SOUND.Playing == false
  413. EFFECT:remove()
  414. end
  415. end))
  416. end
  417. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  418. if FLOOR ~= nil then
  419. coroutine.resume(coroutine.create(function()
  420. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  421. PART.CFrame = CF(POSITION)
  422. for i = 1, 45 do
  423. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  424. RingPiece.Material = FLOOR.Material
  425. RingPiece.Color = FLOOR.Color
  426. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  427. Debris:AddItem(RingPiece, SWAIT)
  428. end
  429. PART:remove()
  430. end))
  431. end
  432. end
  433. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  434. if FLOOR ~= nil then
  435. for i = 1, AMOUNT do
  436. do
  437. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  438. DEBREE.Material = FLOOR.Material
  439. DEBREE.Color = FLOOR.Color
  440. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  441. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  442. coroutine.resume(coroutine.create(function()
  443. Swait(15)
  444. DEBREE.Parent = workspace
  445. DEBREE.CanCollide = true
  446. Debris:AddItem(DEBREE, SWAIT)
  447. end))
  448. end
  449. end
  450. end
  451. end
  452. function MakeForm(PART, TYPE)
  453. if TYPE == "Cyl" then
  454. local MSH = IT("CylinderMesh", PART)
  455. elseif TYPE == "Ball" then
  456. local MSH = IT("SpecialMesh", PART)
  457. MSH.MeshType = "Sphere"
  458. elseif TYPE == "Wedge" then
  459. local MSH = IT("SpecialMesh", PART)
  460. MSH.MeshType = "Wedge"
  461. end
  462. end
  463. Debris = game:GetService("Debris")
  464. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  465. local DIRECTION = CF(StartPos, EndPos).lookVector
  466. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  467. end
  468. function turnto(position)
  469. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  470. end
  471. function CreateNeonCircle(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
  472. local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0, 0, 0), false)
  473. for i = 1, 45 do
  474. local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS, WIDTH, SIZE * 0.65), false)
  475. local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i * 8), RAD(0)), CF(0, 0, 0) * CF(SIZE * 4, 0, 0))
  476. end
  477. local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  478. coroutine.resume(coroutine.create(function()
  479. if DOESSPIN == true then
  480. while true do
  481. wait()
  482. PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE * 2), RAD(0)), 1)
  483. end
  484. end
  485. end))
  486. end
  487. function Blink()
  488. coroutine.resume(coroutine.create(function()
  489. if EYE1 ~= nil and EYE2 ~= nil then
  490. for i = 1, 5 do
  491. Swait()
  492. EYE1.Mesh.Scale = EYE1.Mesh.Scale - VT(0, 0.2, 0)
  493. EYE2.Mesh.Scale = EYE2.Mesh.Scale - VT(0, 0.2, 0)
  494. end
  495. for i = 1, 5 do
  496. Swait()
  497. EYE1.Mesh.Scale = EYE1.Mesh.Scale + VT(0, 0.2, 0)
  498. EYE2.Mesh.Scale = EYE2.Mesh.Scale + VT(0, 0.2, 0)
  499. end
  500. end
  501. end))
  502. end
  503. local FACE = CreatePart(3, Weapon, "Fabric", 0, 0, "Dark stone grey", "Face", VT(1.01, 0.725, 1.01), false)
  504. FACE.Color = C3(0, 0, 0)
  505. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  506. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.225, 0), CF(0, 0, 0))
  507. EYE1 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Eyeball", VT(0.1, 0.3, 0.1), false)
  508. local DCL = IT("Decal", EYE1)
  509. DCL.Face = "Front"
  510. DCL.Texture = "http://www.roblox.com/asset/?id=2690000"
  511. MakeForm(EYE1, "Ball")
  512. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE1, CF(0.15, 0.26, -0.55), CF(0, 0, 0))
  513. EYE2 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Eyeball", VT(0.1, 0.3, 0.1), false)
  514. local DCL = IT("Decal", EYE2)
  515. DCL.Face = "Front"
  516. DCL.Texture = "http://www.roblox.com/asset/?id=2690000"
  517. MakeForm(EYE2, "Ball")
  518. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15, 0.26, -0.55), CF(0, 0, 0))
  519. local LASTPART = Head
  520. local COLOR1 = 43
  521. local COLOR2 = 33
  522. local COLOR3 = 27
  523. for i = 1, 15 do
  524. local MATH = 1 - i / 20
  525. if LASTPART == Head then
  526. local Horn = CreatePart(3, Weapon, "Marble", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  527. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.2, 0.65, -0.3) * ANGLES(RAD(35), RAD(0), RAD(-25)), CF(0, 0, 0))
  528. LASTPART = Horn
  529. Horn.Color = C3((COLOR1 + i * 7) / 255, (COLOR2 + i * 7) / 255, (COLOR2 + i * 7) / 255)
  530. else
  531. local Horn = CreatePart(3, Weapon, "Marble", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  532. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 2, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), CF(0, 0, 0))
  533. LASTPART = Horn
  534. Horn.Color = C3((COLOR1 + i * 7) / 255, (COLOR2 + i * 7) / 255, (COLOR2 + i * 7) / 255)
  535. end
  536. end
  537. local LASTPART = Head
  538. for i = 1, 15 do
  539. local MATH = 1 - i / 20
  540. if LASTPART == Head then
  541. local Horn = CreatePart(3, Weapon, "Marble", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  542. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.2, 0.65, -0.3) * ANGLES(RAD(35), RAD(0), RAD(25)), CF(0, 0, 0))
  543. LASTPART = Horn
  544. Horn.Color = C3((COLOR1 + i * 7) / 255, (COLOR2 + i * 7) / 255, (COLOR2 + i * 7) / 255)
  545. else
  546. local Horn = CreatePart(3, Weapon, "Marble", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  547. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 2, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), CF(0, 0, 0))
  548. LASTPART = Horn
  549. Horn.Color = C3((COLOR1 + i * 7) / 255, (COLOR2 + i * 7) / 255, (COLOR2 + i * 7) / 255)
  550. end
  551. end
  552. local LASTPART = Torso
  553. for i = 1, 45 do
  554. local MATH = 1 - i / 60
  555. if LASTPART == Torso then
  556. local Tail = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, Torso.BrickColor, "Tail", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  557. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, -0.75, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  558. LASTPART = Tail
  559. table.insert(TAIL, WLD)
  560. else
  561. local Tail = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, Torso.BrickColor, "Tail", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  562. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, Tail.Size.Y / 2, 0) * ANGLES(RAD(-1.2), RAD(0), RAD(0)), CF(0, 0, 0))
  563. LASTPART = Tail
  564. table.insert(TAIL, WLD)
  565. end
  566. end
  567. local Tail = CreatePart(3, Weapon, "Grass", 0, 0, "Really black", "Tip", VT(0.25, 0.25, 0.25), false)
  568. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, Tail.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  569. table.insert(TAIL, WLD)
  570. LASTPART = Tail
  571. local Tail = CreatePart(3, Weapon, "Grass", 0, 0, "Really black", "Tip", VT(0.4, 0.45, 0.4), false)
  572. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, Tail.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  573. table.insert(TAIL, WLD)
  574. LASTPART = Tail
  575. local Tail = CreatePart(3, Weapon, "Grass", 0, 0, "Really black", "Tip", VT(0.15, 0.35, 0.15), false)
  576. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, Tail.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  577. table.insert(TAIL, WLD)
  578. CreateNeonCircle(Head, CF(0, -1.15, 0.1), 0.16, true, "Daisy orange", "Neon", 0.05, 0.05)
  579. local BODY = {}
  580. for _, c in pairs(Character:GetDescendants()) do
  581. if c:IsA("BasePart") then
  582. table.insert(BODY, {
  583. c,
  584. c.Parent,
  585. c.Material,
  586. c.Color
  587. })
  588. elseif c:IsA("JointInstance") then
  589. table.insert(BODY, {
  590. c,
  591. c.Parent,
  592. nil,
  593. nil
  594. })
  595. end
  596. end
  597. for _, c in pairs(Weapon:GetChildren()) do
  598. if c.ClassName == "Part" then
  599. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  600. end
  601. end
  602.  
  603.  
  604. for _, c in pairs(Character:GetDescendants()) do
  605. if c:IsA("BasePart") then
  606. table.insert(BODY, {
  607. c,
  608. c.Parent,
  609. c.Material,
  610. c.Color
  611. })
  612. elseif c:IsA("JointInstance") then
  613. table.insert(BODY, {
  614. c,
  615. c.Parent,
  616. nil,
  617. nil
  618. })
  619. end
  620. end
  621.  
  622. for e = 1, #BODY do
  623. if BODY[e] ~= nil then
  624. do
  625. local STUFF = BODY[e]
  626. local PART = STUFF[1]
  627. local PARENT = STUFF[2]
  628. local MATERIAL = STUFF[3]
  629. local COLOR = STUFF[4]
  630. PART.AncestryChanged:Connect(function()
  631. if PART.ClassName == "Part" then
  632. PART.Material = MATERIAL
  633. PART.Color = COLOR
  634. end
  635. PART.Parent = PARENT
  636. end)
  637. end
  638. end
  639. end
  640. function refit()
  641. Weapon.Parent = Character
  642. Character.Parent = workspace
  643. for e = 1, #BODY do
  644. if BODY[e] ~= nil then
  645. local STUFF = BODY[e]
  646. local PART = STUFF[1]
  647. local PARENT = STUFF[2]
  648. local MATERIAL = STUFF[3]
  649. local COLOR = STUFF[4]
  650. if PART.Parent ~= PARENT then
  651. Humanoid:remove()
  652. if PART.ClassName == "Part" then
  653. PART.Material = MATERIAL
  654. PART.Color = COLOR
  655. end
  656. PART.Parent = PARENT
  657. Humanoid = IT("Humanoid", Character)
  658. end
  659. end
  660. end
  661. end
  662. local SKILLTEXTCOLOR = C3(0, 0, 0)
  663. local SKILLFONT = "SciFi"
  664. local SKILLTEXTSIZE = 7
  665. Weapon.Parent = Character
  666. Humanoid.Died:connect(function()
  667. refit()
  668. end)
  669. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  670. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  671. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Extreme Offset", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  672. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eon Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  673. function StatLabel(CFRAME, TEXT, COLOR)
  674. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  675. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  676. local BODYGYRO = IT("BodyGyro", STATPART)
  677. game:GetService("Debris"):AddItem(STATPART, 5)
  678. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  679. BILLBOARDGUI.Adornee = STATPART
  680. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  681. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  682. BILLBOARDGUI.AlwaysOnTop = false
  683. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  684. TEXTLABEL.BackgroundTransparency = 1
  685. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  686. TEXTLABEL.Text = TEXT
  687. TEXTLABEL.Font = SKILLFONT
  688. TEXTLABEL.FontSize = "Size42"
  689. TEXTLABEL.TextColor3 = COLOR
  690. TEXTLABEL.TextStrokeTransparency = 0
  691. TEXTLABEL.TextScaled = true
  692. TEXTLABEL.TextWrapped = true
  693. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  694. for i = 1, 50 do
  695. Swait()
  696. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  697. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  698. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  699. end
  700. THEPART.Parent = nil
  701. end), STATPART, TEXTLABEL)
  702. end
  703. function ApplyDamage(Humanoid, Damage, TorsoPart)
  704. local defence = Instance.new("BoolValue", Humanoid.Parent)
  705. defence.Name = "HitBy" .. Player.Name
  706. game:GetService("Debris"):AddItem(defence, 0.001)
  707. Damage = Damage * DAMAGEMULTIPLIER
  708. if Humanoid.Health ~= 0 then
  709. local CritChance = MRANDOM(1, 100)
  710. if Damage > Humanoid.Health then
  711. Damage = math.ceil(Humanoid.Health)
  712. if Damage == 0 then
  713. Damage = 0.1
  714. end
  715. end
  716. Humanoid.Health = Humanoid.Health - Damage
  717. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  718. end
  719. end
  720. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  721. local CHILDREN = workspace:GetDescendants()
  722. for index, CHILD in pairs(CHILDREN) do
  723. if CHILD.ClassName == "Model" and CHILD ~= Character then
  724. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  725. if HUM then
  726. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  727. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  728. if INSTAKILL == true then
  729. CHILD:BreakJoints()
  730. else
  731. local DMG = MRANDOM(MINDMG, MAXDMG)
  732. ApplyDamage(HUM, DMG, TORSO)
  733. end
  734. if FLING > 0 then
  735. for _, c in pairs(CHILD:GetChildren()) do
  736. if c:IsA("BasePart") then
  737. local bv = Instance.new("BodyVelocity")
  738. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  739. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  740. bv.Parent = c
  741. Debris:AddItem(bv, 0.05)
  742. end
  743. end
  744. end
  745. end
  746. end
  747. end
  748. end
  749. end
  750. function Extreme_Offset()
  751. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  752. if HITFLOOR then
  753. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  754. CreateSound("1295446488", Torso, 5, 1)
  755. for i = 1, 5 do
  756. WACKYEFFECT({
  757. Time = MRANDOM(15, 35),
  758. EffectType = "Round Slash",
  759. Size = VT(0, 0, 0),
  760. Size2 = VT(0.3, 0, 0.3),
  761. Transparency = 0.5,
  762. Transparency2 = 1,
  763. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  764. MoveToPos = nil,
  765. RotationX = MRANDOM(-50, 50) / 10,
  766. RotationY = MRANDOM(-50, 50) / 10,
  767. RotationZ = MRANDOM(-50, 50) / 10,
  768. Material = "Neon",
  769. Color = C3(1, 1, 1),
  770. SoundID = nil,
  771. SoundPitch = nil,
  772. SoundVolume = nil
  773. })
  774. end
  775. ATTACK = true
  776. Rooted = true
  777. UNANCHOR = false
  778. RootPart.Anchored = true
  779. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  780. for i = 1, 5 do
  781. WACKYEFFECT({
  782. Time = MRANDOM(15, 35),
  783. EffectType = "Round Slash",
  784. Size = VT(0, 0, 0),
  785. Size2 = VT(0.3, 0, 0.3),
  786. Transparency = 0.5,
  787. Transparency2 = 1,
  788. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  789. MoveToPos = nil,
  790. RotationX = MRANDOM(-50, 50) / 10,
  791. RotationY = MRANDOM(-50, 50) / 10,
  792. RotationZ = MRANDOM(-50, 50) / 10,
  793. Material = "Neon",
  794. Color = C3(1, 1, 1),
  795. SoundID = nil,
  796. SoundPitch = nil,
  797. SoundVolume = nil
  798. })
  799. end
  800. for i = 0, 0.2, 0.1 / Animation_Speed do
  801. Swait()
  802. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  806. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  808. end
  809. for i = 0, 1, 0.1 / Animation_Speed do
  810. Swait()
  811. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  817. end
  818. for i = 1, 10 do
  819. Swait()
  820. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  821. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  822. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  823. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  824. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  825. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  826. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  827. end
  828. for i = 0, 0.2, 0.1 / Animation_Speed do
  829. Swait()
  830. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  834. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  836. end
  837. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  838. if HITFLOOR then
  839. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  840. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  841. for index, CHILD in pairs(CHILDREN) do
  842. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  843. for i = 1, 5 do
  844. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  845. CHILD:remove()
  846. end
  847. end
  848. end
  849. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  850. SOUNDPART.CFrame = CF(HITPOS)
  851. Debris:AddItem(SOUNDPART, 5)
  852. CreateSound("130972023", SOUNDPART, 6, 3)
  853. CreateSound("182765513", SOUNDPART, 6, 1)
  854. WACKYEFFECT({
  855. EffectType = "Ring",
  856. Size = VT(0, 0, 0),
  857. Size2 = VT(1, 1, 0),
  858. Transparency = 0.7,
  859. Transparency2 = 1,
  860. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  861. MoveToPos = nil,
  862. RotationX = 0,
  863. RotationY = 0,
  864. RotationZ = 0,
  865. Material = "Neon",
  866. Color = C3(1, 1, 1),
  867. SoundID = nil,
  868. SoundPitch = nil,
  869. SoundVolume = nil
  870. })
  871. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  872. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  873. for index, CHILD in pairs(CHILDREN) do
  874. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  875. for i = 1, 5 do
  876. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  877. CHILD:remove()
  878. end
  879. end
  880. end
  881. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  882. SOUNDPART.CFrame = CF(HITPOS)
  883. Debris:AddItem(SOUNDPART, 5)
  884. CreateSound("130972023", SOUNDPART, 6, 3)
  885. CreateSound("182765513", SOUNDPART, 6, 1)
  886. WACKYEFFECT({
  887. EffectType = "Ring",
  888. Size = VT(0, 0, 0),
  889. Size2 = VT(1, 1, 0),
  890. Transparency = 0.7,
  891. Transparency2 = 1,
  892. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  893. MoveToPos = nil,
  894. RotationX = 0,
  895. RotationY = 0,
  896. RotationZ = 0,
  897. Material = "Neon",
  898. Color = C3(1, 1, 1),
  899. SoundID = nil,
  900. SoundPitch = nil,
  901. SoundVolume = nil
  902. })
  903. elseif HITFLOOR.Anchored == false then
  904. if HITFLOOR.Parent ~= workspace then
  905. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  906. for index, CHILD in pairs(CHILDREN) do
  907. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  908. for i = 1, 5 do
  909. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  910. end
  911. CHILD:remove()
  912. end
  913. end
  914. else
  915. for i = 1, 5 do
  916. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  917. end
  918. HITFLOOR:remove()
  919. end
  920. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  921. SOUNDPART.CFrame = CF(HITPOS)
  922. Debris:AddItem(SOUNDPART, 5)
  923. CreateSound("130972023", SOUNDPART, 10, 3)
  924. CreateSound("178452217", SOUNDPART, 6, 1)
  925. WACKYEFFECT({
  926. EffectType = "Ring",
  927. Size = VT(0, 0, 0),
  928. Size2 = VT(1, 1, 0),
  929. Transparency = 0.7,
  930. Transparency2 = 1,
  931. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  932. MoveToPos = nil,
  933. RotationX = 0,
  934. RotationY = 0,
  935. RotationZ = 0,
  936. Material = "Neon",
  937. Color = C3(1, 1, 1),
  938. SoundID = nil,
  939. SoundPitch = nil,
  940. SoundVolume = nil
  941. })
  942. else
  943. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  944. SOUNDPART.CFrame = CF(HITPOS)
  945. Debris:AddItem(SOUNDPART, 5)
  946. CreateSound("130972023", SOUNDPART, 10, 1)
  947. CreateSound("130972023", SOUNDPART, 6, 0.7)
  948. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  949. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  950. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  951. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  952. for i = 1, 5 do
  953. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  954. end
  955. for i = 1, 5 do
  956. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  957. end
  958. end
  959. end
  960. for i = 0, 1.2, 0.1 / Animation_Speed do
  961. Swait()
  962. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  968. end
  969. ATTACK = false
  970. Rooted = false
  971. UNANCHOR = true
  972. RootPart.Anchored = false
  973. end
  974. end
  975. function Eon_Fire()
  976. ATTACK = true
  977. Rooted = true
  978. local GYRO = IT("BodyGyro", RootPart)
  979. GYRO.D = 15
  980. GYRO.P = 2000
  981. GYRO.MaxTorque = VT(0, 4000000, 0)
  982. CreateSound("341301115", Head, 5, 1.1)
  983. CreateSound("93724183", Head, 6, 1)
  984. for i = 1, 200 do
  985. Swait()
  986. WACKYEFFECT({
  987. Time = MRANDOM(5, 15),
  988. EffectType = "Round Slash",
  989. Size = VT(0, 0, 0),
  990. Size2 = VT(0.12, 0, 0.12),
  991. Transparency = 0.5,
  992. Transparency2 = 1,
  993. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  994. MoveToPos = nil,
  995. RotationX = MRANDOM(-50, 50) / 50,
  996. RotationY = MRANDOM(-50, 50) / 10,
  997. RotationZ = MRANDOM(-50, 50) / 50,
  998. Material = "Neon",
  999. Color = C3(1, 0, 0),
  1000. SoundID = nil,
  1001. SoundPitch = nil,
  1002. SoundVolume = nil
  1003. })
  1004. WACKYEFFECT({
  1005. Time = MRANDOM(5, 15),
  1006. EffectType = "Round Slash",
  1007. Size = VT(0, 0, 0),
  1008. Size2 = VT(0.1, 0, 0.1),
  1009. Transparency = 0.5,
  1010. Transparency2 = 1,
  1011. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  1012. MoveToPos = nil,
  1013. RotationX = MRANDOM(-50, 50) / 50,
  1014. RotationY = MRANDOM(-50, 50) / 10,
  1015. RotationZ = MRANDOM(-50, 50) / 50,
  1016. Material = "Neon",
  1017. Color = C3(1, 0, 0),
  1018. SoundID = nil,
  1019. SoundPitch = nil,
  1020. SoundVolume = nil
  1021. })
  1022. WACKYEFFECT({
  1023. Time = MRANDOM(5, 15),
  1024. EffectType = "Round Slash",
  1025. Size = VT(0, 0, 0),
  1026. Size2 = VT(0.16, 0, 0.16),
  1027. Transparency = 0.5,
  1028. Transparency2 = 1,
  1029. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  1030. MoveToPos = nil,
  1031. RotationX = MRANDOM(-50, 50) / 50,
  1032. RotationY = MRANDOM(-50, 50) / 10,
  1033. RotationZ = MRANDOM(-50, 50) / 50,
  1034. Material = "Neon",
  1035. Color = C3(1, 0, 0),
  1036. SoundID = nil,
  1037. SoundPitch = nil,
  1038. SoundVolume = nil
  1039. })
  1040. WACKYEFFECT({
  1041. Time = 5,
  1042. EffectType = "Sphere",
  1043. Size = VT(i, i, i) / 150,
  1044. Size2 = VT(0, 0, 0),
  1045. Transparency = 0.5,
  1046. Transparency2 = 1,
  1047. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1048. MoveToPos = nil,
  1049. RotationX = 0,
  1050. RotationY = 0,
  1051. RotationZ = 0,
  1052. Material = "Neon",
  1053. Color = C3(1, 0, 0),
  1054. SoundID = nil,
  1055. SoundPitch = nil,
  1056. SoundVolume = nil
  1057. })
  1058. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1059. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1060. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1061. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  1062. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  1063. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1064. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1065. end
  1066. GYRO:remove()
  1067. for i = 0, 0.3, 0.1 / Animation_Speed do
  1068. Swait()
  1069. WACKYEFFECT({
  1070. Time = 25,
  1071. EffectType = "Sphere",
  1072. Size = VT(200, 200, 200) / 150,
  1073. Size2 = VT(0, 0, 0),
  1074. Transparency = 0.5,
  1075. Transparency2 = 1,
  1076. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1077. MoveToPos = nil,
  1078. RotationX = 0,
  1079. RotationY = 0,
  1080. RotationZ = 0,
  1081. Material = "Neon",
  1082. Color = C3(1, 0, 0),
  1083. SoundID = nil,
  1084. SoundPitch = nil,
  1085. SoundVolume = nil
  1086. })
  1087. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1093. end
  1094. coroutine.resume(coroutine.create(function()
  1095. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  1096. MakeForm(FIREBALL, "Ball")
  1097. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  1098. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  1099. for i = 1, 500 do
  1100. Swait()
  1101. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1102. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  1103. if HITFLOOR ~= nil then
  1104. break
  1105. end
  1106. end
  1107. CreateSound(325132788, Effects, 8, 1, false)
  1108. for i = 1, 120 do
  1109. Swait()
  1110. WACKYEFFECT({
  1111. Time = 85,
  1112. EffectType = "Sphere",
  1113. Size = FIREBALL.Size,
  1114. Size2 = VT(0, 1000, 0),
  1115. Transparency = 0.5,
  1116. Transparency2 = 1,
  1117. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1118. MoveToPos = nil,
  1119. RotationX = MRANDOM(-50, 50) / 10,
  1120. RotationY = MRANDOM(-50, 50) / 10,
  1121. RotationZ = MRANDOM(-50, 50) / 10,
  1122. Material = "Neon",
  1123. Color = C3(1, 0, 0),
  1124. SoundID = nil,
  1125. SoundPitch = nil,
  1126. SoundVolume = nil
  1127. })
  1128. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  1129. end
  1130. Swait(5)
  1131. ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
  1132. for i = 1, 10 do
  1133. WACKYEFFECT({
  1134. Time = 85 + 5 * i,
  1135. EffectType = "Slash",
  1136. Size = VT(3, 0, 3),
  1137. Size2 = VT(12, 0, 12),
  1138. Transparency = 0.5,
  1139. Transparency2 = 1,
  1140. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1141. MoveToPos = nil,
  1142. RotationX = MRANDOM(-50, 50) / 50,
  1143. RotationY = MRANDOM(-50, 50) / 10,
  1144. RotationZ = MRANDOM(-50, 50) / 50,
  1145. Material = "Neon",
  1146. Color = C3(1, 1, 1),
  1147. SoundID = nil,
  1148. SoundPitch = nil,
  1149. SoundVolume = nil
  1150. })
  1151. WACKYEFFECT({
  1152. Time = 185 + 5 * i,
  1153. EffectType = "Swirl",
  1154. Size = VT(15, 15, 15),
  1155. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  1156. Transparency = 0.5,
  1157. Transparency2 = 1,
  1158. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1159. MoveToPos = nil,
  1160. RotationX = MRANDOM(-50, 50) / 50,
  1161. RotationY = MRANDOM(-50, 50) / 10,
  1162. RotationZ = MRANDOM(-50, 50) / 50,
  1163. Material = "Neon",
  1164. Color = C3(1, 0.5, 0.5),
  1165. SoundID = nil,
  1166. SoundPitch = nil,
  1167. SoundVolume = nil
  1168. })
  1169. WACKYEFFECT({
  1170. Time = 285 + 5 * i,
  1171. EffectType = "Round Slash",
  1172. Size = VT(3, 0, 3),
  1173. Size2 = VT(12, 0, 12),
  1174. Transparency = 0.5,
  1175. Transparency2 = 1,
  1176. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1177. MoveToPos = nil,
  1178. RotationX = MRANDOM(-50, 50) / 50,
  1179. RotationY = MRANDOM(-50, 50) / 10,
  1180. RotationZ = MRANDOM(-50, 50) / 50,
  1181. Material = "Neon",
  1182. Color = C3(1, 0, 0),
  1183. SoundID = nil,
  1184. SoundPitch = nil,
  1185. SoundVolume = nil
  1186. })
  1187. WACKYEFFECT({
  1188. Time = 285 + 5 * i,
  1189. EffectType = "Sphere",
  1190. Size = VT(650, 650, 650),
  1191. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  1192. Transparency = 0.5,
  1193. Transparency2 = 1,
  1194. CFrame = FIREBALL.CFrame,
  1195. MoveToPos = nil,
  1196. RotationX = 0,
  1197. RotationY = 0,
  1198. RotationZ = 0,
  1199. Material = "Neon",
  1200. Color = C3(1, 0, 0),
  1201. SoundID = nil,
  1202. SoundPitch = 0,
  1203. SoundVolume = 0
  1204. })
  1205. end
  1206. wait(1)
  1207. WACKYEFFECT({
  1208. Time = 75,
  1209. EffectType = "Sphere",
  1210. Size = VT(350, 350, 350),
  1211. Size2 = VT(4500, 4500, 4500),
  1212. Transparency = 0.8,
  1213. Transparency2 = 1,
  1214. CFrame = FIREBALL.CFrame,
  1215. MoveToPos = nil,
  1216. RotationX = 0,
  1217. RotationY = 0,
  1218. RotationZ = 0,
  1219. Material = "Neon",
  1220. Color = C3(1, 1, 1),
  1221. SoundID = nil,
  1222. SoundPitch = 0,
  1223. SoundVolume = 0
  1224. })
  1225. for i = 1, 15 do
  1226. Swait()
  1227. ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
  1228. WACKYEFFECT({
  1229. Time = 85,
  1230. EffectType = "Sphere",
  1231. Size = VT(75, 75, 75),
  1232. Size2 = VT(0, 2500, 0),
  1233. Transparency = 0.5,
  1234. Transparency2 = 1,
  1235. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1236. MoveToPos = nil,
  1237. RotationX = MRANDOM(-50, 50) / 10,
  1238. RotationY = MRANDOM(-50, 50) / 10,
  1239. RotationZ = MRANDOM(-50, 50) / 10,
  1240. Material = "Neon",
  1241. Color = C3(1, 0, 0),
  1242. SoundID = nil,
  1243. SoundPitch = nil,
  1244. SoundVolume = nil
  1245. })
  1246. end
  1247. FIREBALL:remove()
  1248. end))
  1249. WACKYEFFECT({
  1250. Time = 25,
  1251. EffectType = "Ring",
  1252. Size = VT(0, 0, 0),
  1253. Size2 = VT(3.75, 3.75, 0),
  1254. Transparency = 0.7,
  1255. Transparency2 = 1,
  1256. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1257. MoveToPos = nil,
  1258. RotationX = 0,
  1259. RotationY = 0,
  1260. RotationZ = 0,
  1261. Material = "Neon",
  1262. Color = C3(1, 0, 0),
  1263. SoundID = nil,
  1264. SoundPitch = nil,
  1265. SoundVolume = nil
  1266. })
  1267. WACKYEFFECT({
  1268. Time = 50,
  1269. EffectType = "Ring",
  1270. Size = VT(0, 0, 0),
  1271. Size2 = VT(15, 15, 0),
  1272. Transparency = 0.7,
  1273. Transparency2 = 1,
  1274. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1275. MoveToPos = nil,
  1276. RotationX = 0,
  1277. RotationY = 0,
  1278. RotationZ = 0,
  1279. Material = "Neon",
  1280. Color = C3(1, 0, 0),
  1281. SoundID = nil,
  1282. SoundPitch = nil,
  1283. SoundVolume = nil
  1284. })
  1285. for i = 0, 0.3, 0.1 / Animation_Speed do
  1286. Swait()
  1287. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1291. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1292. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1293. end
  1294. ATTACK = false
  1295. Rooted = false
  1296. end
  1297. function Eon_Anatomy()
  1298. ATTACK = true
  1299. Rooted = false
  1300. for i = 0, 1, 0.1 / Animation_Speed do
  1301. Swait()
  1302. 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)
  1303. 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)
  1304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1306. 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)
  1307. 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)
  1308. end
  1309. ATTACK = false
  1310. Rooted = false
  1311. end
  1312. function MouseDown(Mouse)
  1313. if ATTACK == false then
  1314. end
  1315. end
  1316. function MouseUp(Mouse)
  1317. HOLD = false
  1318. end
  1319. function KeyDown(Key)
  1320. KEYHOLD = true
  1321. if Key == "z" and ATTACK == false then
  1322. Extreme_Offset()
  1323. end
  1324. if Key == "b" and ATTACK == false then
  1325. Eon_Fire()
  1326. end
  1327. if Key ~= "c" or ATTACK == false then
  1328. Eon_Anatomy()
  1329. end
  1330. if Key ~= "v" or ATTACK == false then
  1331. end
  1332. if Key ~= "x" or ATTACK == false then
  1333. end
  1334. end
  1335. function KeyUp(Key)
  1336. KEYHOLD = false
  1337. end
  1338. Mouse.Button1Down:connect(function(NEWKEY)
  1339. MouseDown(NEWKEY)
  1340. end)
  1341. Mouse.Button1Up:connect(function(NEWKEY)
  1342. MouseUp(NEWKEY)
  1343. end)
  1344. Mouse.KeyDown:connect(function(NEWKEY)
  1345. KeyDown(NEWKEY)
  1346. end)
  1347. Mouse.KeyUp:connect(function(NEWKEY)
  1348. KeyUp(NEWKEY)
  1349. end)
  1350. function unanchor()
  1351. if UNANCHOR == true then
  1352. RootPart.Anchored = false
  1353. end
  1354. local CHILDREN = Character:GetDescendants()
  1355. for index, CHILD in pairs(CHILDREN) do
  1356. if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
  1357. CHILD.Anchored = false
  1358. end
  1359. end
  1360. end
  1361. Humanoid.Changed:connect(function(Jump)
  1362. if Jump == "Jump" and Disable_Jump == true then
  1363. Humanoid.Jump = false
  1364. end
  1365. end)
  1366. while true do
  1367. Swait()
  1368. script.Parent = WEAPONGUI
  1369. ANIMATE.Parent = nil
  1370. if Humanoid then
  1371. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1372. IDLEANIMATION:Play()
  1373. end
  1374. for T = 1, #TAIL do
  1375. if TAIL[T] ~= nil then
  1376. TAIL[T].C1 = Clerp(TAIL[T].C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(3.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1377. end
  1378. end
  1379. SINE = SINE + CHANGE
  1380. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1381. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1382. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
  1383. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1384. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1385. 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)
  1386. 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)
  1387. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1388. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1389. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1390. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1391. 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)
  1392. 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)
  1393. 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)
  1394. end
  1395. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1396. ANIM = "Jump"
  1397. if ATTACK == false then
  1398. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1399. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1400. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1401. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1402. 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)
  1403. 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)
  1404. end
  1405. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1406. ANIM = "Fall"
  1407. if ATTACK == false then
  1408. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1409. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1410. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1411. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1412. 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)
  1413. 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)
  1414. end
  1415. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1416. ANIM = "Idle"
  1417. if ATTACK == false then
  1418. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1423. 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)
  1424. end
  1425. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1426. ANIM = "Walk"
  1427. if ATTACK == false then
  1428. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1429. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1430. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  1431. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  1432. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1433. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1434. end
  1435. end
  1436. unanchor()
  1437.  
  1438. Humanoid.MaxHealth = "inf"
  1439. Humanoid.Health = "inf"
  1440. if Rooted == false then
  1441. Disable_Jump = false
  1442. Humanoid.WalkSpeed = Speed
  1443. elseif Rooted == true then
  1444. Disable_Jump = true
  1445. Humanoid.WalkSpeed = 0
  1446. end
  1447. BLINKLOOP = BLINKLOOP + 1
  1448. if BLINKLOOP >= 650 then
  1449. BLINKLOOP = 0
  1450. Blink()
  1451. end
  1452. sick.Parent = Torso
  1453. sick.Playing = true
  1454. sick.Volume = 1
  1455. sick.Pitch = 0.9
  1456. if Head:FindFirstChild("face") and ATTACK == false then
  1457. Head.face.Texture = "rbxassetid://429340009"
  1458. end
  1459. refit()
  1460. Humanoid.Name = MRANDOM(100000000, 999999999)
  1461. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement