Advertisement
NikaForever

Untitled

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