PiterMosskva_TV

aaa

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