Advertisement
DarkScriptZEditors

Untitled

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