Awooslayer699

Untitled

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