Advertisement
yabagaba

Untitled

Jun 23rd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.79 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. for _, c in pairs(Weapon:GetChildren()) do
  580. if c.ClassName == "Part" then
  581. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  582. end
  583. end
  584. local SKILLTEXTCOLOR = C3(0, 0, 0)
  585. local SKILLFONT = "SciFi"
  586. local SKILLTEXTSIZE = 7
  587. Weapon.Parent = Character
  588. Humanoid.Died:connect(function()
  589. ATTACK = true
  590. end)
  591. 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")
  592. 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")
  593. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Extreme Offset", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  594. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eon Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  595. function StatLabel(CFRAME, TEXT, COLOR)
  596. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  597. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  598. local BODYGYRO = IT("BodyGyro", STATPART)
  599. game:GetService("Debris"):AddItem(STATPART, 5)
  600. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  601. BILLBOARDGUI.Adornee = STATPART
  602. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  603. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  604. BILLBOARDGUI.AlwaysOnTop = false
  605. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  606. TEXTLABEL.BackgroundTransparency = 1
  607. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  608. TEXTLABEL.Text = TEXT
  609. TEXTLABEL.Font = SKILLFONT
  610. TEXTLABEL.FontSize = "Size42"
  611. TEXTLABEL.TextColor3 = COLOR
  612. TEXTLABEL.TextStrokeTransparency = 0
  613. TEXTLABEL.TextScaled = true
  614. TEXTLABEL.TextWrapped = true
  615. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  616. for i = 1, 50 do
  617. Swait()
  618. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  619. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  620. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  621. end
  622. THEPART.Parent = nil
  623. end), STATPART, TEXTLABEL)
  624. end
  625. function ApplyDamage(Humanoid, Damage, TorsoPart)
  626. local defence = Instance.new("BoolValue", Humanoid.Parent)
  627. defence.Name = "HitBy" .. Player.Name
  628. game:GetService("Debris"):AddItem(defence, 0.001)
  629. Damage = Damage * DAMAGEMULTIPLIER
  630. if Humanoid.Health ~= 0 then
  631. local CritChance = MRANDOM(1, 100)
  632. if Damage > Humanoid.Health then
  633. Damage = math.ceil(Humanoid.Health)
  634. if Damage == 0 then
  635. Damage = 0.1
  636. end
  637. end
  638. Humanoid.Health = Humanoid.Health - Damage
  639. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  640. end
  641. end
  642. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  643. local CHILDREN = workspace:GetDescendants()
  644. for index, CHILD in pairs(CHILDREN) do
  645. if CHILD.ClassName == "Model" and CHILD ~= Character then
  646. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  647. if HUM then
  648. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  649. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  650. if INSTAKILL == true then
  651. CHILD:BreakJoints()
  652. else
  653. local DMG = MRANDOM(MINDMG, MAXDMG)
  654. ApplyDamage(HUM, DMG, TORSO)
  655. end
  656. if FLING > 0 then
  657. for _, c in pairs(CHILD:GetChildren()) do
  658. if c:IsA("BasePart") then
  659. local bv = Instance.new("BodyVelocity")
  660. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  661. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  662. bv.Parent = c
  663. Debris:AddItem(bv, 0.05)
  664. end
  665. end
  666. end
  667. end
  668. end
  669. end
  670. end
  671. end
  672. function Extreme_Offset()
  673. 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)
  674. if HITFLOOR then
  675. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  676. CreateSound("1295446488", Torso, 5, 1)
  677. for i = 1, 5 do
  678. WACKYEFFECT({
  679. Time = MRANDOM(15, 35),
  680. EffectType = "Round Slash",
  681. Size = VT(0, 0, 0),
  682. Size2 = VT(0.3, 0, 0.3),
  683. Transparency = 0.5,
  684. Transparency2 = 1,
  685. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  686. MoveToPos = nil,
  687. RotationX = MRANDOM(-50, 50) / 10,
  688. RotationY = MRANDOM(-50, 50) / 10,
  689. RotationZ = MRANDOM(-50, 50) / 10,
  690. Material = "Neon",
  691. Color = C3(1, 1, 1),
  692. SoundID = nil,
  693. SoundPitch = nil,
  694. SoundVolume = nil
  695. })
  696. end
  697. ATTACK = true
  698. Rooted = true
  699. UNANCHOR = false
  700. RootPart.Anchored = true
  701. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  702. for i = 1, 5 do
  703. WACKYEFFECT({
  704. Time = MRANDOM(15, 35),
  705. EffectType = "Round Slash",
  706. Size = VT(0, 0, 0),
  707. Size2 = VT(0.3, 0, 0.3),
  708. Transparency = 0.5,
  709. Transparency2 = 1,
  710. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  711. MoveToPos = nil,
  712. RotationX = MRANDOM(-50, 50) / 10,
  713. RotationY = MRANDOM(-50, 50) / 10,
  714. RotationZ = MRANDOM(-50, 50) / 10,
  715. Material = "Neon",
  716. Color = C3(1, 1, 1),
  717. SoundID = nil,
  718. SoundPitch = nil,
  719. SoundVolume = nil
  720. })
  721. end
  722. for i = 0, 0.2, 0.1 / Animation_Speed do
  723. Swait()
  724. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  725. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  726. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  727. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  728. 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)
  729. 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)
  730. end
  731. for i = 0, 1, 0.1 / Animation_Speed do
  732. Swait()
  733. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  734. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  737. 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)
  738. 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)
  739. end
  740. for i = 1, 10 do
  741. Swait()
  742. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  743. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  744. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  745. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  746. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  747. 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)
  748. 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)
  749. end
  750. for i = 0, 0.2, 0.1 / Animation_Speed do
  751. Swait()
  752. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  756. 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)
  757. 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)
  758. end
  759. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  760. if HITFLOOR then
  761. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  762. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  763. for index, CHILD in pairs(CHILDREN) do
  764. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  765. for i = 1, 5 do
  766. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  767. CHILD:remove()
  768. end
  769. end
  770. end
  771. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  772. SOUNDPART.CFrame = CF(HITPOS)
  773. Debris:AddItem(SOUNDPART, 5)
  774. CreateSound("130972023", SOUNDPART, 6, 3)
  775. CreateSound("182765513", SOUNDPART, 6, 1)
  776. WACKYEFFECT({
  777. EffectType = "Ring",
  778. Size = VT(0, 0, 0),
  779. Size2 = VT(1, 1, 0),
  780. Transparency = 0.7,
  781. Transparency2 = 1,
  782. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  783. MoveToPos = nil,
  784. RotationX = 0,
  785. RotationY = 0,
  786. RotationZ = 0,
  787. Material = "Neon",
  788. Color = C3(1, 1, 1),
  789. SoundID = nil,
  790. SoundPitch = nil,
  791. SoundVolume = nil
  792. })
  793. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  794. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  795. for index, CHILD in pairs(CHILDREN) do
  796. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  797. for i = 1, 5 do
  798. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  799. CHILD:remove()
  800. end
  801. end
  802. end
  803. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  804. SOUNDPART.CFrame = CF(HITPOS)
  805. Debris:AddItem(SOUNDPART, 5)
  806. CreateSound("130972023", SOUNDPART, 6, 3)
  807. CreateSound("182765513", SOUNDPART, 6, 1)
  808. WACKYEFFECT({
  809. EffectType = "Ring",
  810. Size = VT(0, 0, 0),
  811. Size2 = VT(1, 1, 0),
  812. Transparency = 0.7,
  813. Transparency2 = 1,
  814. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  815. MoveToPos = nil,
  816. RotationX = 0,
  817. RotationY = 0,
  818. RotationZ = 0,
  819. Material = "Neon",
  820. Color = C3(1, 1, 1),
  821. SoundID = nil,
  822. SoundPitch = nil,
  823. SoundVolume = nil
  824. })
  825. elseif HITFLOOR.Anchored == false then
  826. if HITFLOOR.Parent ~= workspace then
  827. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  828. for index, CHILD in pairs(CHILDREN) do
  829. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  830. for i = 1, 5 do
  831. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  832. end
  833. CHILD:remove()
  834. end
  835. end
  836. else
  837. for i = 1, 5 do
  838. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  839. end
  840. HITFLOOR:remove()
  841. end
  842. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  843. SOUNDPART.CFrame = CF(HITPOS)
  844. Debris:AddItem(SOUNDPART, 5)
  845. CreateSound("130972023", SOUNDPART, 10, 3)
  846. CreateSound("178452217", SOUNDPART, 6, 1)
  847. WACKYEFFECT({
  848. EffectType = "Ring",
  849. Size = VT(0, 0, 0),
  850. Size2 = VT(1, 1, 0),
  851. Transparency = 0.7,
  852. Transparency2 = 1,
  853. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  854. MoveToPos = nil,
  855. RotationX = 0,
  856. RotationY = 0,
  857. RotationZ = 0,
  858. Material = "Neon",
  859. Color = C3(1, 1, 1),
  860. SoundID = nil,
  861. SoundPitch = nil,
  862. SoundVolume = nil
  863. })
  864. else
  865. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  866. SOUNDPART.CFrame = CF(HITPOS)
  867. Debris:AddItem(SOUNDPART, 5)
  868. CreateSound("130972023", SOUNDPART, 10, 1)
  869. CreateSound("130972023", SOUNDPART, 6, 0.7)
  870. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  871. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  872. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  873. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  874. for i = 1, 5 do
  875. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  876. end
  877. for i = 1, 5 do
  878. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  879. end
  880. end
  881. end
  882. for i = 0, 1.2, 0.1 / Animation_Speed do
  883. Swait()
  884. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  888. 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)
  889. 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)
  890. end
  891. ATTACK = false
  892. Rooted = false
  893. UNANCHOR = true
  894. RootPart.Anchored = false
  895. end
  896. end
  897. function Eon_Fire()
  898. ATTACK = true
  899. Rooted = true
  900. local GYRO = IT("BodyGyro", RootPart)
  901. GYRO.D = 15
  902. GYRO.P = 2000
  903. GYRO.MaxTorque = VT(0, 4000000, 0)
  904. CreateSound("341301115", Head, 5, 1.1)
  905. CreateSound("93724183", Head, 6, 1)
  906. for i = 1, 200 do
  907. Swait()
  908. WACKYEFFECT({
  909. Time = MRANDOM(5, 15),
  910. EffectType = "Round Slash",
  911. Size = VT(0, 0, 0),
  912. Size2 = VT(0.12, 0, 0.12),
  913. Transparency = 0.5,
  914. Transparency2 = 1,
  915. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  916. MoveToPos = nil,
  917. RotationX = MRANDOM(-50, 50) / 50,
  918. RotationY = MRANDOM(-50, 50) / 10,
  919. RotationZ = MRANDOM(-50, 50) / 50,
  920. Material = "Neon",
  921. Color = C3(1, 0, 0),
  922. SoundID = nil,
  923. SoundPitch = nil,
  924. SoundVolume = nil
  925. })
  926. WACKYEFFECT({
  927. Time = MRANDOM(5, 15),
  928. EffectType = "Round Slash",
  929. Size = VT(0, 0, 0),
  930. Size2 = VT(0.1, 0, 0.1),
  931. Transparency = 0.5,
  932. Transparency2 = 1,
  933. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  934. MoveToPos = nil,
  935. RotationX = MRANDOM(-50, 50) / 50,
  936. RotationY = MRANDOM(-50, 50) / 10,
  937. RotationZ = MRANDOM(-50, 50) / 50,
  938. Material = "Neon",
  939. Color = C3(1, 0, 0),
  940. SoundID = nil,
  941. SoundPitch = nil,
  942. SoundVolume = nil
  943. })
  944. WACKYEFFECT({
  945. Time = MRANDOM(5, 15),
  946. EffectType = "Round Slash",
  947. Size = VT(0, 0, 0),
  948. Size2 = VT(0.16, 0, 0.16),
  949. Transparency = 0.5,
  950. Transparency2 = 1,
  951. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  952. MoveToPos = nil,
  953. RotationX = MRANDOM(-50, 50) / 50,
  954. RotationY = MRANDOM(-50, 50) / 10,
  955. RotationZ = MRANDOM(-50, 50) / 50,
  956. Material = "Neon",
  957. Color = C3(1, 0, 0),
  958. SoundID = nil,
  959. SoundPitch = nil,
  960. SoundVolume = nil
  961. })
  962. WACKYEFFECT({
  963. Time = 5,
  964. EffectType = "Sphere",
  965. Size = VT(i, i, i) / 150,
  966. Size2 = VT(0, 0, 0),
  967. Transparency = 0.5,
  968. Transparency2 = 1,
  969. CFrame = Head.CFrame * CF(0, -0.25, -1),
  970. MoveToPos = nil,
  971. RotationX = 0,
  972. RotationY = 0,
  973. RotationZ = 0,
  974. Material = "Neon",
  975. Color = C3(1, 0, 0),
  976. SoundID = nil,
  977. SoundPitch = nil,
  978. SoundVolume = nil
  979. })
  980. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  981. 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)
  982. 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)
  983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  985. 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)
  986. 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)
  987. end
  988. GYRO:remove()
  989. for i = 0, 0.3, 0.1 / Animation_Speed do
  990. Swait()
  991. WACKYEFFECT({
  992. Time = 25,
  993. EffectType = "Sphere",
  994. Size = VT(200, 200, 200) / 150,
  995. Size2 = VT(0, 0, 0),
  996. Transparency = 0.5,
  997. Transparency2 = 1,
  998. CFrame = Head.CFrame * CF(0, -0.25, -1),
  999. MoveToPos = nil,
  1000. RotationX = 0,
  1001. RotationY = 0,
  1002. RotationZ = 0,
  1003. Material = "Neon",
  1004. Color = C3(1, 0, 0),
  1005. SoundID = nil,
  1006. SoundPitch = nil,
  1007. SoundVolume = nil
  1008. })
  1009. 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)
  1010. 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)
  1011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1012. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1013. 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)
  1014. 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)
  1015. end
  1016. coroutine.resume(coroutine.create(function()
  1017. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  1018. MakeForm(FIREBALL, "Ball")
  1019. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  1020. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  1021. for i = 1, 500 do
  1022. Swait()
  1023. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1024. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  1025. if HITFLOOR ~= nil then
  1026. break
  1027. end
  1028. end
  1029. CreateSound(325132788, Effects, 8, 1, false)
  1030. for i = 1, 120 do
  1031. Swait()
  1032. WACKYEFFECT({
  1033. Time = 85,
  1034. EffectType = "Sphere",
  1035. Size = FIREBALL.Size,
  1036. Size2 = VT(0, 1000, 0),
  1037. Transparency = 0.5,
  1038. Transparency2 = 1,
  1039. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1040. MoveToPos = nil,
  1041. RotationX = MRANDOM(-50, 50) / 10,
  1042. RotationY = MRANDOM(-50, 50) / 10,
  1043. RotationZ = MRANDOM(-50, 50) / 10,
  1044. Material = "Neon",
  1045. Color = C3(1, 0, 0),
  1046. SoundID = nil,
  1047. SoundPitch = nil,
  1048. SoundVolume = nil
  1049. })
  1050. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  1051. end
  1052. Swait(5)
  1053. ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
  1054. for i = 1, 10 do
  1055. WACKYEFFECT({
  1056. Time = 85 + 5 * i,
  1057. EffectType = "Slash",
  1058. Size = VT(3, 0, 3),
  1059. Size2 = VT(12, 0, 12),
  1060. Transparency = 0.5,
  1061. Transparency2 = 1,
  1062. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1063. MoveToPos = nil,
  1064. RotationX = MRANDOM(-50, 50) / 50,
  1065. RotationY = MRANDOM(-50, 50) / 10,
  1066. RotationZ = MRANDOM(-50, 50) / 50,
  1067. Material = "Neon",
  1068. Color = C3(1, 1, 1),
  1069. SoundID = nil,
  1070. SoundPitch = nil,
  1071. SoundVolume = nil
  1072. })
  1073. WACKYEFFECT({
  1074. Time = 185 + 5 * i,
  1075. EffectType = "Swirl",
  1076. Size = VT(15, 15, 15),
  1077. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  1078. Transparency = 0.5,
  1079. Transparency2 = 1,
  1080. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1081. MoveToPos = nil,
  1082. RotationX = MRANDOM(-50, 50) / 50,
  1083. RotationY = MRANDOM(-50, 50) / 10,
  1084. RotationZ = MRANDOM(-50, 50) / 50,
  1085. Material = "Neon",
  1086. Color = C3(1, 0.5, 0.5),
  1087. SoundID = nil,
  1088. SoundPitch = nil,
  1089. SoundVolume = nil
  1090. })
  1091. WACKYEFFECT({
  1092. Time = 285 + 5 * i,
  1093. EffectType = "Round Slash",
  1094. Size = VT(3, 0, 3),
  1095. Size2 = VT(12, 0, 12),
  1096. Transparency = 0.5,
  1097. Transparency2 = 1,
  1098. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1099. MoveToPos = nil,
  1100. RotationX = MRANDOM(-50, 50) / 50,
  1101. RotationY = MRANDOM(-50, 50) / 10,
  1102. RotationZ = MRANDOM(-50, 50) / 50,
  1103. Material = "Neon",
  1104. Color = C3(1, 0, 0),
  1105. SoundID = nil,
  1106. SoundPitch = nil,
  1107. SoundVolume = nil
  1108. })
  1109. WACKYEFFECT({
  1110. Time = 285 + 5 * i,
  1111. EffectType = "Sphere",
  1112. Size = VT(650, 650, 650),
  1113. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  1114. Transparency = 0.5,
  1115. Transparency2 = 1,
  1116. CFrame = FIREBALL.CFrame,
  1117. MoveToPos = nil,
  1118. RotationX = 0,
  1119. RotationY = 0,
  1120. RotationZ = 0,
  1121. Material = "Neon",
  1122. Color = C3(1, 0, 0),
  1123. SoundID = nil,
  1124. SoundPitch = 0,
  1125. SoundVolume = 0
  1126. })
  1127. end
  1128. wait(1)
  1129. WACKYEFFECT({
  1130. Time = 75,
  1131. EffectType = "Sphere",
  1132. Size = VT(350, 350, 350),
  1133. Size2 = VT(4500, 4500, 4500),
  1134. Transparency = 0.8,
  1135. Transparency2 = 1,
  1136. CFrame = FIREBALL.CFrame,
  1137. MoveToPos = nil,
  1138. RotationX = 0,
  1139. RotationY = 0,
  1140. RotationZ = 0,
  1141. Material = "Neon",
  1142. Color = C3(1, 1, 1),
  1143. SoundID = nil,
  1144. SoundPitch = 0,
  1145. SoundVolume = 0
  1146. })
  1147. for i = 1, 15 do
  1148. Swait()
  1149. ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
  1150. WACKYEFFECT({
  1151. Time = 85,
  1152. EffectType = "Sphere",
  1153. Size = VT(75, 75, 75),
  1154. Size2 = VT(0, 2500, 0),
  1155. Transparency = 0.5,
  1156. Transparency2 = 1,
  1157. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1158. MoveToPos = nil,
  1159. RotationX = MRANDOM(-50, 50) / 10,
  1160. RotationY = MRANDOM(-50, 50) / 10,
  1161. RotationZ = MRANDOM(-50, 50) / 10,
  1162. Material = "Neon",
  1163. Color = C3(1, 0, 0),
  1164. SoundID = nil,
  1165. SoundPitch = nil,
  1166. SoundVolume = nil
  1167. })
  1168. end
  1169. FIREBALL:remove()
  1170. end))
  1171. WACKYEFFECT({
  1172. Time = 25,
  1173. EffectType = "Ring",
  1174. Size = VT(0, 0, 0),
  1175. Size2 = VT(3.75, 3.75, 0),
  1176. Transparency = 0.7,
  1177. Transparency2 = 1,
  1178. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1179. MoveToPos = nil,
  1180. RotationX = 0,
  1181. RotationY = 0,
  1182. RotationZ = 0,
  1183. Material = "Neon",
  1184. Color = C3(1, 0, 0),
  1185. SoundID = nil,
  1186. SoundPitch = nil,
  1187. SoundVolume = nil
  1188. })
  1189. WACKYEFFECT({
  1190. Time = 50,
  1191. EffectType = "Ring",
  1192. Size = VT(0, 0, 0),
  1193. Size2 = VT(15, 15, 0),
  1194. Transparency = 0.7,
  1195. Transparency2 = 1,
  1196. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1197. MoveToPos = nil,
  1198. RotationX = 0,
  1199. RotationY = 0,
  1200. RotationZ = 0,
  1201. Material = "Neon",
  1202. Color = C3(1, 0, 0),
  1203. SoundID = nil,
  1204. SoundPitch = nil,
  1205. SoundVolume = nil
  1206. })
  1207. for i = 0, 0.3, 0.1 / Animation_Speed do
  1208. Swait()
  1209. 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)
  1210. 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)
  1211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1213. 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)
  1214. 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)
  1215. end
  1216. ATTACK = false
  1217. Rooted = false
  1218. end
  1219. function Eon_Anatomy()
  1220. ATTACK = true
  1221. Rooted = false
  1222. for i = 0, 1, 0.1 / Animation_Speed do
  1223. Swait()
  1224. 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)
  1225. 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)
  1226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1228. 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)
  1229. 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)
  1230. end
  1231. ATTACK = false
  1232. Rooted = false
  1233. end
  1234. function MouseDown(Mouse)
  1235. if ATTACK == false then
  1236. end
  1237. end
  1238. function MouseUp(Mouse)
  1239. HOLD = false
  1240. end
  1241. function KeyDown(Key)
  1242. KEYHOLD = true
  1243. if Key == "z" and ATTACK == false then
  1244. Extreme_Offset()
  1245. end
  1246. if Key == "b" and ATTACK == false then
  1247. Eon_Fire()
  1248. end
  1249. if Key ~= "c" or ATTACK == false then
  1250. end
  1251. if Key ~= "v" or ATTACK == false then
  1252. end
  1253. if Key ~= "x" or ATTACK == false then
  1254. end
  1255. end
  1256. function KeyUp(Key)
  1257. KEYHOLD = false
  1258. end
  1259. Mouse.Button1Down:connect(function(NEWKEY)
  1260. MouseDown(NEWKEY)
  1261. end)
  1262. Mouse.Button1Up:connect(function(NEWKEY)
  1263. MouseUp(NEWKEY)
  1264. end)
  1265. Mouse.KeyDown:connect(function(NEWKEY)
  1266. KeyDown(NEWKEY)
  1267. end)
  1268. Mouse.KeyUp:connect(function(NEWKEY)
  1269. KeyUp(NEWKEY)
  1270. end)
  1271. function unanchor()
  1272. if UNANCHOR == true then
  1273. RootPart.Anchored = false
  1274. end
  1275. local CHILDREN = Character:GetDescendants()
  1276. for index, CHILD in pairs(CHILDREN) do
  1277. if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
  1278. CHILD.Anchored = false
  1279. end
  1280. end
  1281. end
  1282. Humanoid.Changed:connect(function(Jump)
  1283. if Jump == "Jump" and Disable_Jump == true then
  1284. Humanoid.Jump = false
  1285. end
  1286. end)
  1287. while true do
  1288. Swait()
  1289. ANIMATE.Parent = nil
  1290. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1291. Humanoid = IT("Humanoid",Character)
  1292. end
  1293. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1294. v:Stop();
  1295. end
  1296. SINE = SINE + CHANGE
  1297. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1298. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1299. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1300. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1301. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1302. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1303. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1304. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1305. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1306. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1307. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1308. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1309. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1310. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1311. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1312. end
  1313. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1314. ANIM = "Jump"
  1315. if ATTACK == false then
  1316. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1318. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1319. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1320. 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)
  1321. 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)
  1322. end
  1323. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1324. ANIM = "Fall"
  1325. if ATTACK == false then
  1326. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1330. 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)
  1331. 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)
  1332. end
  1333. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1334. ANIM = "Idle"
  1335. if ATTACK == false then
  1336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  1338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. if MRANDOM(1,100) == 1 then
  1343. VALUE1 = true
  1344. for i = 1, 75 do
  1345. Swait()
  1346. sick.Pitch = 0.8
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(25), RAD(MRANDOM(-25,25))), 1 / Animation_Speed)
  1348. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1349. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1350. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1351. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1352. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1353. end
  1354. sick.Pitch = 1
  1355. VALUE1 = false
  1356. end
  1357. end
  1358. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1359. ANIM = "Walk"
  1360. WALK = WALK + 1 / Animation_Speed
  1361. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / SIZE)) then
  1362. WALK = 0
  1363. if WALKINGANIM == true then
  1364. WALKINGANIM = false
  1365. elseif WALKINGANIM == false then
  1366. WALKINGANIM = true
  1367. end
  1368. end
  1369. if ATTACK == false then
  1370. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1371. 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)
  1372. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(45), RAD(5)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1373. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(150), RAD(-45), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1374. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1375. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1376. end
  1377. end
  1378. unanchor()
  1379. Humanoid.MaxHealth = "inf"
  1380. Humanoid.Health = "inf"
  1381. if Rooted == false then
  1382. Disable_Jump = false
  1383. Humanoid.WalkSpeed = Speed
  1384. elseif Rooted == true then
  1385. Disable_Jump = true
  1386. Humanoid.WalkSpeed = 0
  1387. end
  1388. BLINKLOOP = BLINKLOOP + 1
  1389. if BLINKLOOP >= 650 then
  1390. BLINKLOOP = 0
  1391. Blink()
  1392. end
  1393. sick.Parent = Torso
  1394. sick.Playing = true
  1395. sick.Volume = 1
  1396. sick.Pitch = 0.9
  1397. if Head:FindFirstChild("face") and ATTACK == false then
  1398. Head.face.Texture = "rbxassetid://429340009"
  1399. end
  1400. Humanoid.Name = MRANDOM(100000000, 999999999)
  1401. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement