Advertisement
Christoffer07700Extr

easdas

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