Advertisement
cobblecorn

Untitled

Jun 26th, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.04 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Burning]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  9. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  10. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  11. --YOU FUCKING SKIDS,
  12. --For Those who log/decompile this, If you sell or trade this,
  13. --and I find out who you are, i will take massive action.
  14. -------------------------------------------------------
  15. Player_Size = 1
  16.  
  17. local FavIDs = {
  18. 340106355, --Nefl Crystals
  19. 927529620, --Dimension
  20. 876981900, --Fantasy
  21. 398987889, --Ordinary Days
  22. 1117396305, --Oh wait, it's you.
  23. 885996042, --Action Winter Journey
  24. 919231299, --Sprawling Idiot Effigy
  25. 743466274, --Good Day Sunshine
  26. 727411183, --Knife Fight
  27. 1402748531, --The Earth Is Counting On You!
  28. 595230126 --Robot Language
  29. }
  30.  
  31.  
  32.  
  33. --The reality of my life isn't real but a Universe -makhail07
  34. wait()
  35. local plr = game:service'Players'.LocalPlayer
  36. print('Local User is '..plr.Name)
  37. local char = plr.Character
  38. local hum = char.Humanoid
  39. local ra = char["Right Arm"]
  40. local la= char["Left Arm"]
  41. local rl= char["Right Leg"]
  42. local ll = char["Left Leg"]
  43. local hed = char.Head
  44. local root = char.HumanoidRootPart
  45. local rootj = root.RootJoint
  46. local tors = char.Torso
  47. local mouse = plr:GetMouse()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51. local maincolor = BrickColor.new("Crimson")
  52. -------------------------------------------------------
  53. --Start Invincibility--
  54. -------------------------------------------------------
  55. ff = Instance.new("ForceField",char)
  56. ff.Visible = false
  57. hum.Name = "Base"
  58. hum.MaxHealth = 1.0E298
  59. hum.Health = 1.0E298
  60. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  61. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  62. hum.MaxHealth = 1.0E298
  63. hum.Health = 1.0E298
  64. end
  65. end)
  66. -------------------------------------------------------
  67. --End Whitelist and Invincibility--
  68. -------------------------------------------------------
  69.  
  70. -------------------------------------------------------
  71. --Start Good Stuff--
  72. -------------------------------------------------------
  73. CF = CFrame.new
  74. angles = CFrame.Angles
  75. attack = false
  76. Euler = CFrame.fromEulerAnglesXYZ
  77. Rad = math.rad
  78. IT = Instance.new
  79. BrickC = BrickColor.new
  80. Cos = math.cos
  81. Acos = math.acos
  82. Sin = math.sin
  83. Asin = math.asin
  84. Abs = math.abs
  85. Mrandom = math.random
  86. Floor = math.floor
  87. -------------------------------------------------------
  88. --End Good Stuff--
  89. -------------------------------------------------------
  90. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  91. RSH, LSH = nil, nil
  92. RW = Instance.new("Weld")
  93. LW = Instance.new("Weld")
  94. RH = tors["Right Hip"]
  95. LH = tors["Left Hip"]
  96. RSH = tors["Right Shoulder"]
  97. LSH = tors["Left Shoulder"]
  98. RSH.Parent = nil
  99. LSH.Parent = nil
  100. RW.Name = "RW"
  101. RW.Part0 = tors
  102. RW.C0 = CF(1.5, 0.5, 0)
  103. RW.C1 = CF(0, 0.5, 0)
  104. RW.Part1 = ra
  105. RW.Parent = tors
  106. LW.Name = "LW"
  107. LW.Part0 = tors
  108. LW.C0 = CF(-1.5, 0.5, 0)
  109. LW.C1 = CF(0, 0.5, 0)
  110. LW.Part1 = la
  111. LW.Parent = tors
  112. Effects = {}
  113.  
  114. -------------------------------------------------------
  115. --Start HeartBeat--
  116. -------------------------------------------------------
  117. ArtificialHB = Instance.new("BindableEvent", script)
  118. ArtificialHB.Name = "Heartbeat"
  119. script:WaitForChild("Heartbeat")
  120.  
  121. frame = 1 / 60
  122. tf = 0
  123. allowframeloss = false
  124. tossremainder = false
  125.  
  126.  
  127. lastframe = tick()
  128. script.Heartbeat:Fire()
  129.  
  130.  
  131. game:GetService("RunService").Heartbeat:connect(function(s, p)
  132. tf = tf + s
  133. if tf >= frame then
  134. if allowframeloss then
  135. script.Heartbeat:Fire()
  136. lastframe = tick()
  137. else
  138. for i = 1, math.floor(tf / frame) do
  139. script.Heartbeat:Fire()
  140. end
  141. lastframe = tick()
  142. end
  143. if tossremainder then
  144. tf = 0
  145. else
  146. tf = tf - frame * math.floor(tf / frame)
  147. end
  148. end
  149. end)
  150. -------------------------------------------------------
  151. --End HeartBeat--
  152. -------------------------------------------------------
  153.  
  154. -------------------------------------------------------
  155. --Start Important Functions--
  156. -------------------------------------------------------
  157. function swait(num)
  158. if num == 0 or num == nil then
  159. game:service("RunService").Stepped:wait(0)
  160. else
  161. for i = 0, num do
  162. game:service("RunService").Stepped:wait(0)
  163. end
  164. end
  165. end
  166. function thread(f)
  167. coroutine.resume(coroutine.create(f))
  168. end
  169. function clerp(a, b, t)
  170. local qa = {
  171. QuaternionFromCFrame(a)
  172. }
  173. local qb = {
  174. QuaternionFromCFrame(b)
  175. }
  176. local ax, ay, az = a.x, a.y, a.z
  177. local bx, by, bz = b.x, b.y, b.z
  178. local _t = 1 - t
  179. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  180. end
  181. function QuaternionFromCFrame(cf)
  182. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  183. local trace = m00 + m11 + m22
  184. if trace > 0 then
  185. local s = math.sqrt(1 + trace)
  186. local recip = 0.5 / s
  187. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  188. else
  189. local i = 0
  190. if m00 < m11 then
  191. i = 1
  192. end
  193. if m22 > (i == 0 and m00 or m11) then
  194. i = 2
  195. end
  196. if i == 0 then
  197. local s = math.sqrt(m00 - m11 - m22 + 1)
  198. local recip = 0.5 / s
  199. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  200. elseif i == 1 then
  201. local s = math.sqrt(m11 - m22 - m00 + 1)
  202. local recip = 0.5 / s
  203. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  204. elseif i == 2 then
  205. local s = math.sqrt(m22 - m00 - m11 + 1)
  206. local recip = 0.5 / s
  207. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  208. end
  209. end
  210. end
  211. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  212. local xs, ys, zs = x + x, y + y, z + z
  213. local wx, wy, wz = w * xs, w * ys, w * zs
  214. local xx = x * xs
  215. local xy = x * ys
  216. local xz = x * zs
  217. local yy = y * ys
  218. local yz = y * zs
  219. local zz = z * zs
  220. return CF(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  221. end
  222. function QuaternionSlerp(a, b, t)
  223. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  224. local startInterp, finishInterp
  225. if cosTheta >= 1.0E-4 then
  226. if 1 - cosTheta > 1.0E-4 then
  227. local theta = math.acos(cosTheta)
  228. local invSinTheta = 1 / Sin(theta)
  229. startInterp = Sin((1 - t) * theta) * invSinTheta
  230. finishInterp = Sin(t * theta) * invSinTheta
  231. else
  232. startInterp = 1 - t
  233. finishInterp = t
  234. end
  235. elseif 1 + cosTheta > 1.0E-4 then
  236. local theta = math.acos(-cosTheta)
  237. local invSinTheta = 1 / Sin(theta)
  238. startInterp = Sin((t - 1) * theta) * invSinTheta
  239. finishInterp = Sin(t * theta) * invSinTheta
  240. else
  241. startInterp = t - 1
  242. finishInterp = t
  243. end
  244. 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
  245. end
  246. function rayCast(Position, Direction, Range, Ignore)
  247. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  248. end
  249. local RbxUtility = LoadLibrary("RbxUtility")
  250. local Create = RbxUtility.Create
  251.  
  252. -------------------------------------------------------
  253. --Start Damage Function--
  254. -------------------------------------------------------
  255. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  256. if hit.Parent == nil then
  257. return
  258. end
  259. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  260. for _, v in pairs(hit.Parent:children()) do
  261. if v:IsA("Humanoid") then
  262. h = v
  263. end
  264. end
  265. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  266.  
  267. hit.Parent:FindFirstChild("Head"):BreakJoints()
  268. end
  269.  
  270. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  271. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  272. if hit.Parent.DebounceHit.Value == true then
  273. return
  274. end
  275. end
  276. if insta == true then
  277. hit.Parent:FindFirstChild("Head"):BreakJoints()
  278. end
  279. local c = Create("ObjectValue"){
  280. Name = "creator",
  281. Value = game:service("Players").LocalPlayer,
  282. Parent = h,
  283. }
  284. game:GetService("Debris"):AddItem(c, .5)
  285. if HitSound ~= nil and HitPitch ~= nil then
  286. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  287. end
  288. local Damage = Mrandom(minim, maxim)
  289. local blocked = false
  290. local block = hit.Parent:findFirstChild("Block")
  291. if block ~= nil then
  292. if block.className == "IntValue" then
  293. if block.Value > 0 then
  294. blocked = true
  295. block.Value = block.Value - 1
  296. print(block.Value)
  297. end
  298. end
  299. end
  300. if blocked == false then
  301. h.Health = h.Health - Damage
  302. ShowDamage((Part.CFrame * CF(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  303. else
  304. h.Health = h.Health - (Damage / 2)
  305. ShowDamage((Part.CFrame * CF(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  306. end
  307. if Type == "Knockdown" then
  308. local hum = hit.Parent.Humanoid
  309. hum.PlatformStand = true
  310. coroutine.resume(coroutine.create(function(HHumanoid)
  311. swait(1)
  312. HHumanoid.PlatformStand = false
  313. end), hum)
  314. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  315. local bodvol = Create("BodyVelocity"){
  316. velocity = angle * knockback,
  317. P = 5000,
  318. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  319. Parent = hit,
  320. }
  321. local rl = Create("BodyAngularVelocity"){
  322. P = 3000,
  323. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  324. angularvelocity = Vector3.new(Mrandom(-10, 10), Mrandom(-10, 10), Mrandom(-10, 10)),
  325. Parent = hit,
  326. }
  327. game:GetService("Debris"):AddItem(bodvol, .5)
  328. game:GetService("Debris"):AddItem(rl, .5)
  329. elseif Type == "Normal" then
  330. local vp = Create("BodyVelocity"){
  331. P = 500,
  332. maxForce = Vector3.new(math.huge, 0, math.huge),
  333. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  334. }
  335. if knockback > 0 then
  336. vp.Parent = hit.Parent.Torso
  337. end
  338. game:GetService("Debris"):AddItem(vp, .5)
  339. elseif Type == "Up" then
  340. local bodyVelocity = Create("BodyVelocity"){
  341. velocity = Vector3.new(0, 20, 0),
  342. P = 5000,
  343. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  344. Parent = hit,
  345. }
  346. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  347. elseif Type == "DarkUp" then
  348. coroutine.resume(coroutine.create(function()
  349. for i = 0, 1, 0.1 do
  350. swait()
  351. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  352. end
  353. end))
  354. local bodyVelocity = Create("BodyVelocity"){
  355. velocity = Vector3.new(0, 20, 0),
  356. P = 5000,
  357. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  358. Parent = hit,
  359. }
  360. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  361. elseif Type == "Snare" then
  362. local bp = Create("BodyPosition"){
  363. P = 2000,
  364. D = 100,
  365. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  366. position = hit.Parent.Torso.Position,
  367. Parent = hit.Parent.Torso,
  368. }
  369. game:GetService("Debris"):AddItem(bp, 1)
  370. elseif Type == "Freeze" then
  371. local BodPos = Create("BodyPosition"){
  372. P = 50000,
  373. D = 1000,
  374. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  375. position = hit.Parent.Torso.Position,
  376. Parent = hit.Parent.Torso,
  377. }
  378. local BodGy = Create("BodyGyro") {
  379. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  380. P = 20e+003,
  381. Parent = hit.Parent.Torso,
  382. cframe = hit.Parent.Torso.CFrame,
  383. }
  384. hit.Parent.Torso.Anchored = true
  385. coroutine.resume(coroutine.create(function(Part)
  386. swait(1.5)
  387. Part.Anchored = false
  388. end), hit.Parent.Torso)
  389. game:GetService("Debris"):AddItem(BodPos, 3)
  390. game:GetService("Debris"):AddItem(BodGy, 3)
  391. end
  392. local debounce = Create("BoolValue"){
  393. Name = "DebounceHit",
  394. Parent = hit.Parent,
  395. Value = true,
  396. }
  397. game:GetService("Debris"):AddItem(debounce, Delay)
  398. c = Create("ObjectValue"){
  399. Name = "creator",
  400. Value = Player,
  401. Parent = h,
  402. }
  403. game:GetService("Debris"):AddItem(c, .5)
  404. end
  405. end
  406. -------------------------------------------------------
  407. --End Damage Function--
  408. -------------------------------------------------------
  409.  
  410. -------------------------------------------------------
  411. --Start Damage Function Customization--
  412. -------------------------------------------------------
  413. function ShowDamage(Pos, Text, Time, Color)
  414. local Rate = (1 / 30)
  415. local Pos = (Pos or Vector3.new(0, 0, 0))
  416. local Text = (Text or "")
  417. local Time = (Time or 2)
  418. local Color = (Color or Color3.new(1, 0, 1))
  419. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  420. EffectPart.Anchored = true
  421. local BillboardGui = Create("BillboardGui"){
  422. Size = UDim2.new(3, 0, 3, 0),
  423. Adornee = EffectPart,
  424. Parent = EffectPart,
  425. }
  426. local TextLabel = Create("TextLabel"){
  427. BackgroundTransparency = 1,
  428. Size = UDim2.new(1, 0, 1, 0),
  429. Text = Text,
  430. Font = "Bodoni",
  431. TextColor3 = Color,
  432. TextScaled = true,
  433. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  434. Parent = BillboardGui,
  435. }
  436. game.Debris:AddItem(EffectPart, (Time))
  437. EffectPart.Parent = game:GetService("Workspace")
  438. delay(0, function()
  439. local Frames = (Time / Rate)
  440. for Frame = 1, Frames do
  441. wait(Rate)
  442. local Percent = (Frame / Frames)
  443. EffectPart.CFrame = CF(Pos) + Vector3.new(0, Percent, 0)
  444. TextLabel.TextTransparency = Percent
  445. end
  446. if EffectPart and EffectPart.Parent then
  447. EffectPart:Destroy()
  448. end
  449. end)
  450. end
  451. -------------------------------------------------------
  452. --End Damage Function Customization--
  453. -------------------------------------------------------
  454.  
  455. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  456. for _, c in pairs(workspace:children()) do
  457. local hum = c:findFirstChild("Humanoid")
  458. if hum ~= nil then
  459. local head = c:findFirstChild("Head")
  460. if head ~= nil then
  461. local targ = head.Position - Part.Position
  462. local mag = targ.magnitude
  463. if magni >= mag and c.Name ~= plr.Name then
  464. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  465. end
  466. end
  467. end
  468. end
  469. end
  470.  
  471.  
  472. CFuncs = {
  473. Part = {
  474. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  475. local Part = Create("Part")({
  476. Parent = Parent,
  477. Reflectance = Reflectance,
  478. Transparency = Transparency,
  479. CanCollide = false,
  480. Locked = true,
  481. BrickColor = BrickColor.new(tostring(BColor)),
  482. Name = Name,
  483. Size = Size,
  484. Material = Material
  485. })
  486. RemoveOutlines(Part)
  487. return Part
  488. end
  489. },
  490. Mesh = {
  491. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  492. local Msh = Create(Mesh)({
  493. Parent = Part,
  494. Offset = OffSet,
  495. Scale = Scale
  496. })
  497. if Mesh == "SpecialMesh" then
  498. Msh.MeshType = MeshType
  499. Msh.MeshId = MeshId
  500. end
  501. return Msh
  502. end
  503. },
  504. Mesh = {
  505. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  506. local Msh = Create(Mesh)({
  507. Parent = Part,
  508. Offset = OffSet,
  509. Scale = Scale
  510. })
  511. if Mesh == "SpecialMesh" then
  512. Msh.MeshType = MeshType
  513. Msh.MeshId = MeshId
  514. end
  515. return Msh
  516. end
  517. },
  518. Weld = {
  519. Create = function(Parent, Part0, Part1, C0, C1)
  520. local Weld = Create("Weld")({
  521. Parent = Parent,
  522. Part0 = Part0,
  523. Part1 = Part1,
  524. C0 = C0,
  525. C1 = C1
  526. })
  527. return Weld
  528. end
  529. },
  530. Sound = {
  531. Create = function(id, par, vol, pit)
  532. coroutine.resume(coroutine.create(function()
  533. local S = Create("Sound")({
  534. Volume = vol,
  535. Pitch = pit or 1,
  536. SoundId = id,
  537. Parent = par or workspace
  538. })
  539. wait()
  540. S:play()
  541. game:GetService("Debris"):AddItem(S, 6)
  542. end))
  543. end
  544. },
  545. ParticleEmitter = {
  546. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  547. local fp = Create("ParticleEmitter")({
  548. Parent = Parent,
  549. Color = ColorSequence.new(Color1, Color2),
  550. LightEmission = LightEmission,
  551. Size = Size,
  552. Texture = Texture,
  553. Transparency = Transparency,
  554. ZOffset = ZOffset,
  555. Acceleration = Accel,
  556. Drag = Drag,
  557. LockedToPart = LockedToPart,
  558. VelocityInheritance = VelocityInheritance,
  559. EmissionDirection = EmissionDirection,
  560. Enabled = Enabled,
  561. Lifetime = LifeTime,
  562. Rate = Rate,
  563. Rotation = Rotation,
  564. RotSpeed = RotSpeed,
  565. Speed = Speed,
  566. VelocitySpread = VelocitySpread
  567. })
  568. return fp
  569. end
  570. }
  571. }
  572. function RemoveOutlines(part)
  573. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  574. end
  575. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  576. local Part = Create("Part")({
  577. formFactor = FormFactor,
  578. Parent = Parent,
  579. Reflectance = Reflectance,
  580. Transparency = Transparency,
  581. CanCollide = false,
  582. Locked = true,
  583. BrickColor = BrickColor.new(tostring(BColor)),
  584. Name = Name,
  585. Size = Size,
  586. Material = Material
  587. })
  588. RemoveOutlines(Part)
  589. return Part
  590. end
  591. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  592. local Msh = Create(Mesh)({
  593. Parent = Part,
  594. Offset = OffSet,
  595. Scale = Scale
  596. })
  597. if Mesh == "SpecialMesh" then
  598. Msh.MeshType = MeshType
  599. Msh.MeshId = MeshId
  600. end
  601. return Msh
  602. end
  603. function CreateWeld(Parent, Part0, Part1, C0, C1)
  604. local Weld = Create("Weld")({
  605. Parent = Parent,
  606. Part0 = Part0,
  607. Part1 = Part1,
  608. C0 = C0,
  609. C1 = C1
  610. })
  611. return Weld
  612. end
  613.  
  614.  
  615. -------------------------------------------------------
  616. --Start Effect Function--
  617. -------------------------------------------------------
  618. EffectModel = Instance.new("Model", char)
  619. Effects = {
  620. Block = {
  621. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  622. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  623. prt.Anchored = true
  624. prt.CFrame = cframe
  625. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  626. game:GetService("Debris"):AddItem(prt, 10)
  627. if Type == 1 or Type == nil then
  628. table.insert(Effects, {
  629. prt,
  630. "Block1",
  631. delay,
  632. x3,
  633. y3,
  634. z3,
  635. msh
  636. })
  637. elseif Type == 2 then
  638. table.insert(Effects, {
  639. prt,
  640. "Block2",
  641. delay,
  642. x3,
  643. y3,
  644. z3,
  645. msh
  646. })
  647. else
  648. table.insert(Effects, {
  649. prt,
  650. "Block3",
  651. delay,
  652. x3,
  653. y3,
  654. z3,
  655. msh
  656. })
  657. end
  658. end
  659. },
  660. Sphere = {
  661. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  662. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  663. prt.Anchored = true
  664. prt.CFrame = cframe
  665. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  666. game:GetService("Debris"):AddItem(prt, 10)
  667. table.insert(Effects, {
  668. prt,
  669. "Cylinder",
  670. delay,
  671. x3,
  672. y3,
  673. z3,
  674. msh
  675. })
  676. end
  677. },
  678. Cylinder = {
  679. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  680. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  681. prt.Anchored = true
  682. prt.CFrame = cframe
  683. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  684. game:GetService("Debris"):AddItem(prt, 10)
  685. table.insert(Effects, {
  686. prt,
  687. "Cylinder",
  688. delay,
  689. x3,
  690. y3,
  691. z3,
  692. msh
  693. })
  694. end
  695. },
  696. Wave = {
  697. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  698. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  699. prt.Anchored = true
  700. prt.CFrame = cframe
  701. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  702. game:GetService("Debris"):AddItem(prt, 10)
  703. table.insert(Effects, {
  704. prt,
  705. "Cylinder",
  706. delay,
  707. x3 / 60,
  708. y3 / 60,
  709. z3 / 60,
  710. msh
  711. })
  712. end
  713. },
  714. Ring = {
  715. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  716. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  717. prt.Anchored = true
  718. prt.CFrame = cframe
  719. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  720. game:GetService("Debris"):AddItem(prt, 10)
  721. table.insert(Effects, {
  722. prt,
  723. "Cylinder",
  724. delay,
  725. x3,
  726. y3,
  727. z3,
  728. msh
  729. })
  730. end
  731. },
  732. Break = {
  733. Create = function(brickcolor, cframe, x1, y1, z1)
  734. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  735. prt.Anchored = true
  736. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
  737. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. local num = Mrandom(10, 50) / 1000
  739. game:GetService("Debris"):AddItem(prt, 10)
  740. table.insert(Effects, {
  741. prt,
  742. "Shatter",
  743. num,
  744. prt.CFrame,
  745. Mrandom() - Mrandom(),
  746. 0,
  747. Mrandom(50, 100) / 100
  748. })
  749. end
  750. },
  751. Spiral = {
  752. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  753. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  754. prt.Anchored = true
  755. prt.CFrame = cframe
  756. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  757. game:GetService("Debris"):AddItem(prt, 10)
  758. table.insert(Effects, {
  759. prt,
  760. "Cylinder",
  761. delay,
  762. x3,
  763. y3,
  764. z3,
  765. msh
  766. })
  767. end
  768. },
  769. Push = {
  770. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  771. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  772. prt.Anchored = true
  773. prt.CFrame = cframe
  774. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  775. game:GetService("Debris"):AddItem(prt, 10)
  776. table.insert(Effects, {
  777. prt,
  778. "Cylinder",
  779. delay,
  780. x3,
  781. y3,
  782. z3,
  783. msh
  784. })
  785. end
  786. }
  787. }
  788. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  789. local fp = IT("Part")
  790. fp.formFactor = formfactor
  791. fp.Parent = parent
  792. fp.Reflectance = reflectance
  793. fp.Transparency = transparency
  794. fp.CanCollide = false
  795. fp.Locked = true
  796. fp.BrickColor = brickcolor
  797. fp.Name = name
  798. fp.Size = size
  799. fp.Position = tors.Position
  800. RemoveOutlines(fp)
  801. fp.Material = "SmoothPlastic"
  802. fp:BreakJoints()
  803. return fp
  804. end
  805.  
  806. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  807. local mesh = IT(Mesh)
  808. mesh.Parent = part
  809. if Mesh == "SpecialMesh" then
  810. mesh.MeshType = meshtype
  811. if meshid ~= "nil" then
  812. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  813. end
  814. end
  815. mesh.Offset = offset
  816. mesh.Scale = scale
  817. return mesh
  818. end
  819.  
  820. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  821. local type = type
  822. local rng = Instance.new("Part", char)
  823. rng.Anchored = true
  824. rng.BrickColor = color
  825. rng.CanCollide = false
  826. rng.FormFactor = 3
  827. rng.Name = "Ring"
  828. rng.Material = "Neon"
  829. rng.Size = Vector3.new(1, 1, 1)
  830. rng.Transparency = 0
  831. rng.TopSurface = 0
  832. rng.BottomSurface = 0
  833. rng.CFrame = pos
  834. local rngm = Instance.new("SpecialMesh", rng)
  835. rngm.MeshType = MType
  836. rngm.Scale = scale
  837. local scaler2 = 1
  838. if type == "Add" then
  839. scaler2 = 1 * value
  840. elseif type == "Divide" then
  841. scaler2 = 1 / value
  842. end
  843. coroutine.resume(coroutine.create(function()
  844. for i = 0, 10 / bonuspeed, 0.1 do
  845. swait()
  846. if type == "Add" then
  847. scaler2 = scaler2 - 0.01 * value / bonuspeed
  848. elseif type == "Divide" then
  849. scaler2 = scaler2 - 0.01 / value * bonuspeed
  850. end
  851. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  852. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  853. end
  854. rng:Destroy()
  855. end))
  856. end
  857.  
  858. function Eviscerate(dude)
  859. if dude.Name ~= char then
  860. local bgf = IT("BodyGyro", dude.Head)
  861. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  862. local val = IT("BoolValue", dude)
  863. val.Name = "IsHit"
  864. local ds = coroutine.wrap(function()
  865. dude:WaitForChild("Head"):BreakJoints()
  866. wait(0.5)
  867. target = nil
  868. coroutine.resume(coroutine.create(function()
  869. for i, v in pairs(dude:GetChildren()) do
  870. if v:IsA("Accessory") then
  871. v:Destroy()
  872. end
  873. if v:IsA("Humanoid") then
  874. v:Destroy()
  875. end
  876. if v:IsA("CharacterMesh") then
  877. v:Destroy()
  878. end
  879. if v:IsA("Model") then
  880. v:Destroy()
  881. end
  882. if v:IsA("Part") or v:IsA("MeshPart") then
  883. for x, o in pairs(v:GetChildren()) do
  884. if o:IsA("Decal") then
  885. o:Destroy()
  886. end
  887. end
  888. coroutine.resume(coroutine.create(function()
  889. v.Material = "Neon"
  890. v.CanCollide = false
  891. local PartEmmit1 = IT("ParticleEmitter", v)
  892. PartEmmit1.LightEmission = 1
  893. PartEmmit1.Texture = "rbxassetid://243660373"
  894. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  895. PartEmmit1.Rate = 75
  896. PartEmmit1.Lifetime = NumberRange.new(1)
  897. PartEmmit1.Size = NumberSequence.new({
  898. NumberSequenceKeypoint.new(0, 0.75, 0),
  899. NumberSequenceKeypoint.new(1, 0, 0)
  900. })
  901. PartEmmit1.Transparency = NumberSequence.new({
  902. NumberSequenceKeypoint.new(0, 0, 0),
  903. NumberSequenceKeypoint.new(1, 1, 0)
  904. })
  905. PartEmmit1.Speed = NumberRange.new(0, 0)
  906. PartEmmit1.VelocitySpread = 30000
  907. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  908. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  909. local BodPoss = IT("BodyPosition", v)
  910. BodPoss.P = 3000
  911. BodPoss.D = 1000
  912. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  913. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  914. v.Color = maincolor.Color
  915. coroutine.resume(coroutine.create(function()
  916. for i = 0, 49 do
  917. swait(1)
  918. v.Transparency = v.Transparency + 0.08
  919. end
  920. wait(0.5)
  921. PartEmmit1.Enabled = false
  922. wait(3)
  923. v:Destroy()
  924. dude:Destroy()
  925. end))
  926. end))
  927. end
  928. end
  929. end))
  930. end)
  931. ds()
  932. end
  933. end
  934.  
  935. function FindNearestHead(Position, Distance, SinglePlayer)
  936. if SinglePlayer then
  937. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  938. end
  939. local List = {}
  940. for i, v in pairs(workspace:GetChildren()) do
  941. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  942. table.insert(List, v)
  943. end
  944. end
  945. return List
  946. end
  947.  
  948. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  949. local type = type
  950. local rng = Instance.new("Part", char)
  951. rng.Anchored = true
  952. rng.BrickColor = color
  953. rng.CanCollide = false
  954. rng.FormFactor = 3
  955. rng.Name = "Ring"
  956. rng.Material = "Neon"
  957. rng.Size = Vector3.new(1, 1, 1)
  958. rng.Transparency = 0
  959. rng.TopSurface = 0
  960. rng.BottomSurface = 0
  961. rng.CFrame = pos
  962. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  963. local rngm = Instance.new("SpecialMesh", rng)
  964. rngm.MeshType = MType
  965. rngm.Scale = Vector3.new(x1, y1, z1)
  966. local scaler2 = 1
  967. local speeder = FastSpeed
  968. if type == "Add" then
  969. scaler2 = 1 * value
  970. elseif type == "Divide" then
  971. scaler2 = 1 / value
  972. end
  973. coroutine.resume(coroutine.create(function()
  974. for i = 0, 10 / bonuspeed, 0.1 do
  975. swait()
  976. if type == "Add" then
  977. scaler2 = scaler2 - 0.01 * value / bonuspeed
  978. elseif type == "Divide" then
  979. scaler2 = scaler2 - 0.01 / value * bonuspeed
  980. end
  981. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  982. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  983. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  984. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  985. end
  986. rng:Destroy()
  987. end))
  988. end
  989.  
  990. function SoulSteal(dude)
  991. if dude.Name ~= char then
  992. local bgf = IT("BodyGyro", dude.Head)
  993. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  994. local val = IT("BoolValue", dude)
  995. val.Name = "IsHit"
  996. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  997. local soulst = coroutine.wrap(function()
  998. local soul = Instance.new("Part",dude)
  999. soul.Size = Vector3.new(1,1,1)
  1000. soul.CanCollide = false
  1001. soul.Anchored = false
  1002. soul.Position = torso.Position
  1003. soul.Transparency = 1
  1004. local PartEmmit1 = IT("ParticleEmitter", soul)
  1005. PartEmmit1.LightEmission = 1
  1006. PartEmmit1.Texture = "rbxassetid://243660373"
  1007. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1008. PartEmmit1.Rate = 75
  1009. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1010. PartEmmit1.Size = NumberSequence.new({
  1011. NumberSequenceKeypoint.new(0, 1, 0),
  1012. NumberSequenceKeypoint.new(1, 0, 0)
  1013. })
  1014. PartEmmit1.Transparency = NumberSequence.new({
  1015. NumberSequenceKeypoint.new(0, 0, 0),
  1016. NumberSequenceKeypoint.new(1, 1, 0)
  1017. })
  1018. PartEmmit1.Speed = NumberRange.new(0, 0)
  1019. PartEmmit1.VelocitySpread = 30000
  1020. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1021. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1022. local BodPoss = IT("BodyPosition", soul)
  1023. BodPoss.P = 3000
  1024. BodPoss.D = 1000
  1025. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1026. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1027. wait(1.6)
  1028. soul.Touched:connect(function(hit)
  1029. if hit.Parent == char then
  1030. soul:Destroy()
  1031. end
  1032. end)
  1033. wait(1.2)
  1034. while soul do
  1035. swait()
  1036. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1037. BodPoss.Position = tors.Position
  1038. end
  1039. end)
  1040. soulst()
  1041. end
  1042. end
  1043. function FaceMouse()
  1044. local Cam = workspace.CurrentCamera
  1045. return {
  1046. CF(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1047. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1048. }
  1049. end
  1050. -------------------------------------------------------
  1051. --End Effect Function--
  1052. -------------------------------------------------------
  1053. function Cso(ID, PARENT, VOLUME, PITCH)
  1054. local NSound = nil
  1055. coroutine.resume(coroutine.create(function()
  1056. NSound = IT("Sound", PARENT)
  1057. NSound.Volume = VOLUME
  1058. NSound.Pitch = PITCH
  1059. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1060. swait()
  1061. NSound:play()
  1062. game:GetService("Debris"):AddItem(NSound, 10)
  1063. end))
  1064. return NSound
  1065. end
  1066. -------------------------------------------------------
  1067. --End Important Functions--
  1068. -------------------------------------------------------
  1069.  
  1070. local BODY = {}
  1071. for _, c in pairs(Character:GetDescendants()) do
  1072. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1073. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1074. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1075. end
  1076. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1077. elseif c:IsA("JointInstance") then
  1078. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1079. end
  1080. end
  1081. for e = 1, #BODY do
  1082. if BODY[e] ~= nil then
  1083. local STUFF = BODY[e]
  1084. local PART = STUFF[1]
  1085. local PARENT = STUFF[2]
  1086. local MATERIAL = STUFF[3]
  1087. local COLOR = STUFF[4]
  1088. local TRANSPARENCY = STUFF[5]
  1089. if PART.ClassName == "Part" and PART ~= RootPart then
  1090. PART.Material = MATERIAL
  1091. PART.Color = COLOR
  1092. PART.Transparency = TRANSPARENCY
  1093. end
  1094. PART.AncestryChanged:Connect(function()
  1095. PART.Parent = PARENT
  1096. end)
  1097. end
  1098. end
  1099. function refit()
  1100. Character.Parent = workspace
  1101. for e = 1, #BODY do
  1102. if BODY[e] ~= nil then
  1103. local STUFF = BODY[e]
  1104. local PART = STUFF[1]
  1105. local PARENT = STUFF[2]
  1106. local MATERIAL = STUFF[3]
  1107. local COLOR = STUFF[4]
  1108. local TRANSPARENCY = STUFF[5]
  1109. if PART:IsA("BasePart") and PART ~= RootPart then
  1110. PART.Material = MATERIAL
  1111. PART.Color = COLOR
  1112. PART.Transparency = TRANSPARENCY+EXTRATRANS
  1113. end
  1114. if PART.Parent ~= PARENT then
  1115. Humanoid:remove()
  1116. PART.Parent = PARENT
  1117. Humanoid = IT("Humanoid",Character)
  1118. end
  1119. end
  1120. end
  1121. end
  1122.  
  1123. Humanoid.Died:connect(function()
  1124. refit()
  1125. end)
  1126.  
  1127. local SKILLTEXTCOLOR = C3(0,0,0)
  1128. local SKILLFONT = "Antique"
  1129. local SKILLTEXTSIZE = 7
  1130.  
  1131. Humanoid.Died:connect(function()
  1132. ATTACK = true
  1133. end)
  1134.  
  1135. local PurpleFloatyCube = Instance.new("Part", char)
  1136. PurpleFloatyCube.CanCollide = false
  1137. PurpleFloatyCube.BrickColor = BrickC("Crimson")
  1138. PurpleFloatyCube.Size = Vector3.new(0.75, 0.75, 0.75)
  1139. PurpleFloatyCube.Material = "Neon"
  1140. PurpleFloatyCube.TopSurface = Enum.SurfaceType.Smooth
  1141. PurpleFloatyCube.BottomSurface = Enum.SurfaceType.Smooth
  1142. local BodyPosition = Instance.new("BodyPosition", PurpleFloatyCube)
  1143.  
  1144. function WWeld(a, b, acf)
  1145. local we = Instance.new("Weld", a)
  1146. we.Part0 = a
  1147. we.Part1 = b
  1148. we.C0 = acf
  1149. end
  1150.  
  1151. function Emitt(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang1,sprdang2,locked2part)
  1152. Emitt = IT("ParticleEmitter",parent)
  1153. Emitt.Texture = tex
  1154. Emitt.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  1155. Emitt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  1156. Emitt.LightEmission = lightem
  1157. Emitt.EmissionDirection = emdir
  1158. Emitt.Lifetime = NumberRange.new(lif)
  1159. Emitt.Rate = rate
  1160. Emitt.Speed = NumberRange.new(speed)
  1161. Emitt.RotSpeed = NumberRange.new(rotspeed)
  1162. Emitt.SpreadAngle = Vector2.new(sprdang1,sprdang2)
  1163. Emitt.LockedToPart = locked2part
  1164. return(Emitt)
  1165. end
  1166.  
  1167. local list = {NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.371,0.525,0),NumberSequenceKeypoint.new(0.775,0.579,0),NumberSequenceKeypoint.new(1,0.985,0)}
  1168.  
  1169. local color1 = Color3.fromRGB(255, 0, 0)
  1170. local color2 = Color3.fromRGB(0, 0, 0)
  1171. local color3 = Color3.fromRGB(125, 0, 0)
  1172.  
  1173. local list4 = {ColorSequenceKeypoint.new(0,color1),ColorSequenceKeypoint.new(0.959,color2),ColorSequenceKeypoint.new(1,color3)}
  1174.  
  1175. local list5 = {NumberSequenceKeypoint.new(0,0.425,0),NumberSequenceKeypoint.new(0.29,0.899,0),NumberSequenceKeypoint.new(0.59,0.955,0),NumberSequenceKeypoint.new(1,0.579,0)}
  1176.  
  1177. local list6 = {NumberSequenceKeypoint.new(0,0.429,0),NumberSequenceKeypoint.new(0.29,0.9,0),NumberSequenceKeypoint.new(0.59,0.959,0),NumberSequenceKeypoint.new(1,0.589,0)}
  1178.  
  1179.  
  1180. local ssjgaurak = Instance.new("ParticleEmitter",PurpleFloatyCube)
  1181. ssjgaurak.Name = "aura2"
  1182. ssjgaurak.Texture = "rbxassetid://243660373"
  1183. ssjgaurak.Color = ColorSequence.new(list4)
  1184. ssjgaurak.Transparency = NumberSequence.new(list)
  1185. ssjgaurak.LightEmission = 1
  1186. ssjgaurak.Speed = NumberRange.new(0)
  1187. ssjgaurak.SpreadAngle = Vector2.new(3,6)
  1188. ssjgaurak.RotSpeed = NumberRange.new(360)
  1189. ssjgaurak.Rotation = NumberRange.new(360)
  1190. ssjgaurak.LightInfluence = 0
  1191. ssjgaurak.Size = NumberSequence.new(list6)
  1192. ssjgaurak.Lifetime = NumberRange.new(2)
  1193. ssjgaurak.Rate = 75
  1194. ssjgaurak.ZOffset = 0
  1195. ssjgaurak.Acceleration = Vector3.new(0,.01,0)
  1196. ssjgaurak.LockedToPart = true
  1197. ssjgaurak.Enabled = true
  1198.  
  1199. local ssjgaura3 = Instance.new("ParticleEmitter",ra)
  1200. ssjgaura3.Name = "aura2"
  1201. ssjgaura3.Texture = "rbxassetid://243660373"
  1202. ssjgaura3.Color = ColorSequence.new(list4)
  1203. ssjgaura3.Transparency = NumberSequence.new(list)
  1204. ssjgaura3.LightEmission = 1
  1205. ssjgaura3.LightInfluence = 0
  1206. ssjgaura3.Speed = NumberRange.new(0)
  1207. ssjgaura3.SpreadAngle = Vector2.new(0,0)
  1208. ssjgaura3.RotSpeed = NumberRange.new(0)
  1209. ssjgaura3.Rotation = NumberRange.new(0)
  1210. ssjgaura3.Size = NumberSequence.new(list5)
  1211. ssjgaura3.Lifetime = NumberRange.new(5)
  1212. ssjgaura3.Rate = 75
  1213. ssjgaura3.ZOffset = 0
  1214. ssjgaura3.Acceleration = Vector3.new(0,0.09,0)
  1215. ssjgaura3.LockedToPart = true
  1216.  
  1217. local ssjgaura4 = Instance.new("ParticleEmitter",la)
  1218. ssjgaura4.Name = "aura2"
  1219. ssjgaura4.Texture = "rbxassetid://243660373"
  1220. ssjgaura4.Color = ColorSequence.new(list4)
  1221. ssjgaura4.Transparency = NumberSequence.new(list)
  1222. ssjgaura4.LightEmission = 1
  1223. ssjgaura4.LightInfluence = 0
  1224. ssjgaura4.Speed = NumberRange.new(0)
  1225. ssjgaura4.SpreadAngle = Vector2.new(0,0)
  1226. ssjgaura4.RotSpeed = NumberRange.new(0)
  1227. ssjgaura4.Rotation = NumberRange.new(0)
  1228. ssjgaura4.Size = NumberSequence.new(list5)
  1229. ssjgaura4.Lifetime = NumberRange.new(5)
  1230. ssjgaura4.Rate = 75
  1231. ssjgaura4.ZOffset = 0
  1232. ssjgaura4.Acceleration = Vector3.new(0,0.09,0)
  1233. ssjgaura4.LockedToPart = true
  1234.  
  1235. local ssjgaurag = Instance.new("ParticleEmitter",tors)
  1236. ssjgaurag.Name = "aura2"
  1237. ssjgaurag.Texture = "rbxassetid://243660373"
  1238. ssjgaurag.Color = ColorSequence.new(list4)
  1239. ssjgaurag.Transparency = NumberSequence.new(list)
  1240. ssjgaurag.LightEmission = 1
  1241. ssjgaurag.LightInfluence = 1
  1242. ssjgaurag.Speed = NumberRange.new(0)
  1243. ssjgaurag.SpreadAngle = Vector2.new(0,0)
  1244. ssjgaurag.RotSpeed = NumberRange.new(0)
  1245. ssjgaurag.Rotation = NumberRange.new(0)
  1246. ssjgaurag.Size = NumberSequence.new(list5)
  1247. ssjgaurag.Lifetime = NumberRange.new(5)
  1248. ssjgaurag.Rate = 75
  1249. ssjgaurag.ZOffset = 0
  1250. ssjgaurag.Acceleration = Vector3.new(0,0.09,0)
  1251. ssjgaurag.LockedToPart = true
  1252.  
  1253. local ssjgaura1 = Instance.new("ParticleEmitter",rl)
  1254. ssjgaura1.Name = "aura2"
  1255. ssjgaura1.Texture = "rbxassetid://243660373"
  1256. ssjgaura1.Color = ColorSequence.new(list4)
  1257. ssjgaura1.Transparency = NumberSequence.new(list)
  1258. ssjgaura1.LightEmission = 1
  1259. ssjgaura1.LightInfluence = 0
  1260. ssjgaura1.Speed = NumberRange.new(0)
  1261. ssjgaura1.SpreadAngle = Vector2.new(0,0)
  1262. ssjgaura1.RotSpeed = NumberRange.new(0)
  1263. ssjgaura1.Rotation = NumberRange.new(0)
  1264. ssjgaura1.Size = NumberSequence.new(list5)
  1265. ssjgaura1.Lifetime = NumberRange.new(5)
  1266. ssjgaura1.Rate = 75
  1267. ssjgaura1.ZOffset = 0
  1268. ssjgaura1.Acceleration = Vector3.new(0,0.09,0)
  1269. ssjgaura1.LockedToPart = false
  1270.  
  1271. local ssjgaura2 = Instance.new("ParticleEmitter",ll)
  1272. ssjgaura2.Name = "aura2"
  1273. ssjgaura2.Texture = "rbxassetid://243660373"
  1274. ssjgaura2.Color = ColorSequence.new(list4)
  1275. ssjgaura2.Transparency = NumberSequence.new(list)
  1276. ssjgaura2.LightEmission = 1
  1277. ssjgaura2.LightInfluence = 0
  1278. ssjgaura2.Speed = NumberRange.new(0)
  1279. ssjgaura2.SpreadAngle = Vector2.new(0,0)
  1280. ssjgaura2.RotSpeed = NumberRange.new(0)
  1281. ssjgaura2.Rotation = NumberRange.new(0)
  1282. ssjgaura2.Size = NumberSequence.new(list5)
  1283. ssjgaura2.Lifetime = NumberRange.new(5)
  1284. ssjgaura2.Rate = 75
  1285. ssjgaura2.ZOffset = 0
  1286. ssjgaura2.Acceleration = Vector3.new(0,0.09,0)
  1287. ssjgaura2.LockedToPart = false
  1288.  
  1289. local DarEye = Instance.new("Part", char)
  1290. DarEye.CanCollide = false
  1291. DarEye.BrickColor = BrickC("Really black")
  1292. DarEye.Color = Color3.new(0,0,0)
  1293. DarEye.Material = "Glass"
  1294. DarEye.Size = Vector3.new(.15,.15,.15)
  1295. WWeld(DarEye, hed, CF(0.15,-0.2,0.55), CF(1,0,0))
  1296. DarEyeMesh = Instance.new("SpecialMesh", DarEye)
  1297. DarEyeMesh.MeshType = "Sphere"
  1298. DarEyeMesh.Scale = Vector3.new(0.7,1.3,0.9)
  1299. DarEye.Locked = true
  1300.  
  1301. local DarEye2 = Instance.new("Part", char)
  1302. DarEye2.CanCollide = false
  1303. DarEye2.BrickColor = BrickC("Smoky grey")
  1304. DarEye2.Material = "Neon"
  1305. DarEye2.Size = Vector3.new(.15,.15,.15)
  1306. WWeld(DarEye2, hed, CF(-0.15,-0.2,0.55), CF(1,0,0))
  1307. DarEyeMesh2 = Instance.new("SpecialMesh", DarEye2)
  1308. DarEyeMesh2.MeshType = "Sphere"
  1309. DarEyeMesh2.Scale = Vector3.new(0.7,1.3,0.9)
  1310. DarEye2.Locked = true
  1311.  
  1312. Emitt(DarEye,"rbxassetid://243660373",Color3.new(1,0,0),Color3.new(0,0,0),0.1,0.1,1,"Top",0.5,5000,0.25,200,0,360,true)
  1313. char.Shirt:Destroy()
  1314. char.Pants:Destroy()
  1315. hed.face:Remove()
  1316. for i,v in pairs(char:children()) do
  1317. if v:IsA("Hat") then
  1318. v:Destroy()
  1319. end
  1320. end
  1321. for i,v in pairs(char:children()) do
  1322. if v:IsA("Accessory") then
  1323. v:Destroy()
  1324. end
  1325. end
  1326. la.BrickColor = BrickC("Crimson")
  1327. ra.BrickColor = BrickC("Crimson")
  1328. rl.BrickColor = BrickC("Crimson")
  1329. ll.BrickColor = BrickC("Crimson")
  1330. hed.BrickColor = BrickC("Crimson")
  1331. tors.BrickColor = BrickC("Crimson")
  1332. -------------------------------------------------------
  1333. --Start Music Option--
  1334. -------------------------------------------------------
  1335. local Music = Instance.new("Sound",tors)
  1336. Music.Volume = 2.5
  1337. Music.SoundId = "rbxassetid://1494452913"
  1338. Music.Looped = true
  1339. Music.Pitch = 1 --Pitcher
  1340. Music:Play()
  1341. -------------------------------------------------------
  1342. --End Music Option--
  1343. -------------------------------------------------------
  1344.  
  1345. local naeeym2 = Instance.new("BillboardGui",char)
  1346. naeeym2.AlwaysOnTop = true
  1347. naeeym2.Size = UDim2.new(5,35,2,35)
  1348. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1349. naeeym2.Adornee = hed
  1350. naeeym2.Name = "Name"
  1351. local tecks2 = Instance.new("TextLabel",naeeym2)
  1352. tecks2.BackgroundTransparency = 1
  1353. tecks2.TextScaled = true
  1354. tecks2.BorderSizePixel = 0
  1355. tecks2.Text = "The Burning Nightmare"
  1356. tecks2.Font = "Garamond"
  1357. tecks2.TextSize = 30
  1358. tecks2.TextTransparency = 0
  1359. tecks2.TextStrokeTransparency = 0
  1360. tecks2.TextColor3 = Color3.new(0,0,0)
  1361. tecks2.TextStrokeColor3 = Color3.new(125, 0, 0)
  1362. tecks2.Size = UDim2.new(1,0,0.5,0)
  1363. tecks2.Parent = naeeym2
  1364.  
  1365. -------------------------------------------------------
  1366. --Start Attacks N Stuff--
  1367. -------------------------------------------------------
  1368. local sine=0
  1369. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1370. local Hitboxpart = Instance.new("Part", EffectModel)
  1371. RemoveOutlines(Hitboxpart)
  1372. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1373. Hitboxpart.CanCollide = false
  1374. Hitboxpart.Transparency = 1
  1375. Hitboxpart.Anchored = true
  1376. Hitboxpart.CFrame = Pose
  1377. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1378. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1379. end
  1380. wait2 = false
  1381. combo = 1
  1382. mouse.Button1Down:connect(function(key)
  1383. if attack == false then
  1384. attack = true
  1385. hum.WalkSpeed = 3.01
  1386. if combo == 1 and wait2 == false then
  1387. wait2 = true
  1388. for i = 0, 1.2, 0.1 do
  1389. swait()
  1390. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1391. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
  1392. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
  1393. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
  1394. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1395. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1396. end
  1397. Cso("138097048", ra, 3, .8)
  1398. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1399. for i = 0, 1.2, 0.1 do
  1400. swait()
  1401. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1402. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
  1403. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
  1404. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
  1405. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1406. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1407. end
  1408. combo = 2
  1409. end
  1410. if combo == 2 and wait2 == false then
  1411. wait2 = true
  1412. for i = 0, 1.2, 0.1 do
  1413. swait()
  1414. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(60)), 0.3)
  1415. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1416. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, .8) * angles(Rad(90), Rad(0), Rad(-75)), 0.1)
  1417. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1418. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1419. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1420. end
  1421. Cso("138097048", ra, 3, .8)
  1422. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1423. for i = 0, 1.2, 0.1 do
  1424. swait()
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-60)), 0.3)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1427. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -.8) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1428. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1429. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1430. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(20), Rad(-10)), 0.3)
  1431. end
  1432. combo = 3
  1433. end
  1434. if combo == 3 and wait2 == false then
  1435. wait2 = true
  1436. for i = 0, 1.2, 0.1 do
  1437. swait()
  1438. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
  1440. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
  1441. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
  1442. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1443. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1444. end
  1445. Cso("138097048", ra, 3, .8)
  1446. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1447. for i = 0, 1.2, 0.1 do
  1448. swait()
  1449. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1450. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
  1451. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
  1452. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
  1453. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1454. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1455. end
  1456. combo = 4
  1457. end
  1458. if combo == 4 and wait2 == false then
  1459. for i = 0, 1.2, 0.1 do
  1460. swait()
  1461. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1462. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-65)), 0.1)
  1463. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(87), Rad(0), Rad(20)), 0.1)
  1464. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1465. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1466. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1467. end
  1468. Cso("138097048", ra, 3, .8)
  1469. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1470. for i = 0, 1.2, 0.1 do
  1471. swait()
  1472. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1473. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.1)
  1474. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(-96), Rad(0), Rad(-40)), 0.1)
  1475. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1476. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1477. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1478. end
  1479. combo = 1
  1480. end
  1481. hum.WalkSpeed = 16
  1482. wait2 = false
  1483. attack = false
  1484. end
  1485. end)
  1486. function Burning_Sphere()
  1487. attack = true
  1488. local orb = Instance.new("Part", char)
  1489. orb.Anchored = true
  1490. orb.BrickColor = BrickC("Crimson")
  1491. orb.CanCollide = false
  1492. orb.FormFactor = 3
  1493. orb.Name = "Ring"
  1494. orb.Material = "Neon"
  1495. orb.Size = Vector3.new(1, 1, 1)
  1496. orb.Transparency = 0
  1497. orb.TopSurface = 0
  1498. orb.BottomSurface = 0
  1499. local orbm = Instance.new("SpecialMesh", orb)
  1500. orbm.MeshType = "Sphere"
  1501. orbm.Name = "SizeMesh"
  1502. orbm.Scale = Vector3.new(0, 0, 0)
  1503. local scaled = 0.1
  1504. local posid = 0
  1505. for i = 0, 5, 0.1 do
  1506. swait()
  1507. scaled = scaled - 0.001
  1508. posid = posid - scaled
  1509. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1510. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1511. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-20)), 0.15)
  1512. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
  1513. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1514. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1515. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(180), Rad(-1), Rad(17 + 4.5 * Sin(sine / 20))), 0.1)
  1516. LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  1517. end
  1518. for i = 0, 2, 0.1 do
  1519. swait()
  1520. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1521. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(30)), 0.15)
  1522. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-30)), 0.3)
  1523. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1524. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1525. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(87), Rad(-1), Rad(-37 + 4.5 * Sin(sine / 20))), 0.1)
  1526. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  1527. end
  1528. coroutine.resume(coroutine.create(function()
  1529. orb.Anchored = false
  1530. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  1531. local a = Instance.new("Part", workspace)
  1532. a.Name = "Direction"
  1533. a.Anchored = true
  1534. a.BrickColor = BrickC("Bright red")
  1535. a.Material = "Neon"
  1536. a.Transparency = 1
  1537. a.CanCollide = false
  1538. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  1539. local ignore = orb
  1540. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1541. a.BottomSurface = 10
  1542. a.TopSurface = 10
  1543. local distance = (orb.CFrame.p - position).magnitude
  1544. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1545. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  1546. orb.CFrame = a.CFrame
  1547. a:Destroy()
  1548. local bv = Instance.new("BodyVelocity")
  1549. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1550. bv.velocity = orb.CFrame.lookVector * 125
  1551. bv.Parent = orb
  1552. local hitted = false
  1553. game:GetService("Debris"):AddItem(orb, 15)
  1554. wait()
  1555. local hit = orb.Touched:connect(function(hit)
  1556. if hitted == false then
  1557. hitted = true
  1558. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1559. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  1560. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Crimson"), "Sphere")
  1561. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Crimson"), "Sphere")
  1562. for i = 0, 9 do
  1563. Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Crimson"), 0, "Sphere")
  1564. Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Crimson"), 0, "Sphere")
  1565. end
  1566. orb.Anchored = true
  1567. orb.Transparency = 1
  1568. wait(8)
  1569. orb:Destroy()
  1570. end
  1571. end)
  1572. end))
  1573. for i = 0, 1, 0.1 do
  1574. swait()
  1575. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1576. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-30)), 0.15)
  1577. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(30)), 0.3)
  1578. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1579. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1580. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(87), Rad(-1), Rad(17 + 4.5 * Sin(sine / 20))), 0.1)
  1581. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  1582. end
  1583. attack = false
  1584. end
  1585. function Beamo()
  1586. attack = true
  1587. hum.WalkSpeed = 0
  1588. local Ring1 = Instance.new("Part", char)
  1589. Ring1.Anchored = true
  1590. Ring1.BrickColor = maincolor
  1591. Ring1.CanCollide = false
  1592. Ring1.FormFactor = 3
  1593. Ring1.Name = "Ring"
  1594. Ring1.Material = "Neon"
  1595. Ring1.Size = Vector3.new(1, 0.05, 1)
  1596. Ring1.Transparency = 1
  1597. Ring1.TopSurface = 0
  1598. Ring1.BottomSurface = 0
  1599. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  1600. Ring1Mesh.MeshType = "Brick"
  1601. Ring1Mesh.Name = "SizeMesh"
  1602. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  1603. local InnerRing1 = Ring1:Clone()
  1604. InnerRing1.Parent = char
  1605. InnerRing1.Transparency = 0
  1606. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  1607. InnerRing1.Size = Vector3.new(1, 1, 1)
  1608. local InnerRing1Mesh = InnerRing1.SizeMesh
  1609. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  1610. InnerRing1Mesh.MeshType = "Sphere"
  1611. Ring1:Destroy()
  1612. for i = 0, 8, 0.1 do
  1613. swait()
  1614. Aura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
  1615. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 - 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1616. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1617. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1618. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1619. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1620. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-3 + 2.5 * Sin(sine / 20))), 0.1)
  1621. end
  1622. InnerRing1.Transparency = 1
  1623. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5
  1624. Cso("294188875", char, 2.3, 1)
  1625. local a = IT("Part", char)
  1626. a.Name = "Direction"
  1627. a.Anchored = true
  1628. a.BrickColor = BrickC("White")
  1629. a.Material = "Neon"
  1630. a.Transparency = 0
  1631. a.Shape = "Cylinder"
  1632. a.CanCollide = false
  1633. local a2 = IT("Part", char)
  1634. a2.Name = "Direction"
  1635. a2.Anchored = true
  1636. a2.BrickColor = BrickC("New Yeller")
  1637. a2.Color = maincolor.Color
  1638. a2.Material = "Neon"
  1639. a2.Transparency = 0.2
  1640. a2.Shape = "Cylinder"
  1641. a2.CanCollide = false
  1642. local ba = IT("Part", char)
  1643. ba.Name = "HitDirect"
  1644. ba.Anchored = true
  1645. ba.BrickColor = BrickC("Really black")
  1646. ba.Material = "Neon"
  1647. ba.Transparency = 1
  1648. ba.CanCollide = false
  1649. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1650. local ignore = char
  1651. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1652. a.BottomSurface = 9.9
  1653. a.TopSurface = 9.9
  1654. a2.BottomSurface = 10
  1655. a2.TopSurface = 10
  1656. local distance = (InnerRing1.CFrame.p - position).magnitude
  1657. a.Size = Vector3.new(distance, 1, 1)
  1658. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1659. a2.Size = Vector3.new(distance, 1, 1)
  1660. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1661. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1662. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1663. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1664. game:GetService("Debris"):AddItem(a, 20)
  1665. game:GetService("Debris"):AddItem(a2, 20)
  1666. game:GetService("Debris"):AddItem(ba, 20)
  1667. local msh = Instance.new("SpecialMesh", a)
  1668. msh.MeshType = "Cylinder"
  1669. msh.Scale = Vector3.new(1, 15, 15)
  1670. local msh2 = Instance.new("SpecialMesh", a2)
  1671. msh2.MeshType = "Cylinder"
  1672. msh2.Scale = Vector3.new(1, 25, 25)
  1673. for z = 0, 1 do
  1674. for i = 0, 4, 0.1 do
  1675. swait()
  1676. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1677. a2.Color = maincolor.Color
  1678. root.CFrame = FaceMouse()[1]
  1679. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1680. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1681. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1682. distance = (InnerRing1.CFrame.p - position).magnitude
  1683. a.Size = Vector3.new(distance, 1, 1)
  1684. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1685. a2.Size = Vector3.new(distance, 1, 1)
  1686. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1687. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1688. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1689. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1690. msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25)
  1691. msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3)
  1692. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1693. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1694. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1695. if v:FindFirstChild("Head") then
  1696. Eviscerate(v)
  1697. end
  1698. end
  1699. end
  1700. for i = 0, 4, 0.1 do
  1701. swait()
  1702. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1703. a2.Color = maincolor.Color
  1704. root.CFrame = FaceMouse()[1]
  1705. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1706. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1707. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1708. distance = (InnerRing1.CFrame.p - position).magnitude
  1709. a.Size = Vector3.new(distance, 1, 1)
  1710. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1711. a2.Size = Vector3.new(distance, 1, 1)
  1712. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1713. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1714. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1715. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1716. msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25)
  1717. msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3)
  1718. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1719. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1720. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1721. if v:FindFirstChild("Head") then
  1722. Eviscerate(v)
  1723. end
  1724. end
  1725. end
  1726. end
  1727. for i = 0, 10, 0.1 do
  1728. swait()
  1729. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1730. a2.Color = maincolor.Color
  1731. root.CFrame = FaceMouse()[1]
  1732. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1733. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1734. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1735. distance = (InnerRing1.CFrame.p - position).magnitude
  1736. a.Size = Vector3.new(distance, 1, 1)
  1737. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1738. a2.Size = Vector3.new(distance, 1, 1)
  1739. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1740. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1741. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1742. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1743. msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15)
  1744. msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2)
  1745. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1746. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1747. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1748. if v:FindFirstChild("Head") then
  1749. Eviscerate(v)
  1750. end
  1751. end
  1752. end
  1753. hum.WalkSpeed = 8
  1754. a:Destroy()
  1755. a2:Destroy()
  1756. ba:Destroy()
  1757. InnerRing1:Destroy()
  1758. attack = false
  1759. hum.CameraOffset = Vector3.new(0,0,0)
  1760. end
  1761. function Chaotic_Stomp()
  1762. attack = true
  1763. for i = 0,5.2,0.1 do
  1764. swait()
  1765. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1766. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1767. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1768. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1769. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1770. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1771. end
  1772. Cso("331666100", char, 10, .85)
  1773. coroutine.resume(coroutine.create(function()
  1774. for i = 0,3.7,0.1 do
  1775. Aura(2.5, 0.75, "Add", root.CFrame * CF(Mrandom(-9.5, 9.5), -5, Mrandom(-9.5, 9.5)) * angles(Rad(90 + Rad(Mrandom(-45, 45))), Rad(Mrandom(-45, 45)), Rad(Mrandom(-45, 45))), 2.5, 2.5, 25, -0.025, maincolor, 0, "Brick")
  1776. end
  1777. end))
  1778. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1779. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1780. Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1781. Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1782. Magic(5, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1783. Magic(10, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1784. Magic(1, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, maincolor, "Sphere")
  1785. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.7)) do
  1786. if v:FindFirstChild("Head") then
  1787. Eviscerate(v)
  1788. end
  1789. end
  1790. coroutine.resume(coroutine.create(function()
  1791. for i = 0,2.8,0.1 do
  1792. swait()
  1793. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1794. end
  1795. for i = 0,1.8,0.1 do
  1796. swait()
  1797. hum.CameraOffset = Vector3.new(0,0,0)
  1798. end
  1799. end))
  1800. for i = 0,3.7,0.1 do
  1801. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1802. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1803. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1804. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1805. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1806. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1807. end
  1808. wait(.6)
  1809. attack = false
  1810. end
  1811. -------------------------------------------------------
  1812. --End Attacks N Stuff--
  1813. -------------------------------------------------------
  1814. mouse.KeyDown:connect(function(key)
  1815. if string.byte(key) == 48 then
  1816. Swing = 2
  1817. hum.WalkSpeed = 38.82
  1818. end
  1819. end)
  1820. mouse.KeyUp:connect(function(key)
  1821. if string.byte(key) == 48 then
  1822. Swing = 1
  1823. hum.WalkSpeed = 8
  1824. end
  1825. end)
  1826. mouse.KeyDown:connect(function(key)
  1827. if attack == false then
  1828. if key == 'z' then
  1829. Burning_Sphere()
  1830. elseif key == 'x' then
  1831. Beamo()
  1832. elseif key == 'c' then
  1833. Chaotic_Stomp()
  1834. end
  1835. end
  1836. end)
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. -------------------------------------------------------
  1846. --Start Animations--
  1847. -------------------------------------------------------
  1848. local equipped = false
  1849. local idle = 0
  1850. local change = 1
  1851. local val = 0
  1852. local toim = 0
  1853. local idleanim = 0.4
  1854. hum.WalkSpeed = 8
  1855. hum.JumpPower = 57
  1856. hum.Animator.Parent = nil
  1857. while true do
  1858. swait()
  1859. sine = sine + change
  1860. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1861. local velderp = root.Velocity.y
  1862. hitfloor, posfloor = rayCast(root.Position, CF(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1863. if equipped == true or equipped == false then
  1864. if attack == false then
  1865. idle = idle + 1
  1866. else
  1867. idle = 0
  1868. end
  1869. Aura(5, 0.3, "Add" , root.CFrame * CF(Mrandom(-9, 9), -6, Mrandom(-9, 9)) * angles(Rad(90), 0, 0), 1.5, 1.5, 10, -0.015, BrickColor.new("Really black"), 0, "Brick")
  1870. BodyPosition.Position = hed.CFrame:pointToWorldSpace(Vector3.new(2, 1, 0))
  1871. if 1 < root.Velocity.y and hitfloor == nil then
  1872. Anim = "Jump"
  1873. if attack == false then
  1874. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1875. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1876. RH.C0 = clerp(RH.C0, CF(1, -.2 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1877. LH.C0 = clerp(LH.C0, CF(-1, -.9 - 0.1 * Cos(sine / 20), -.5) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1878. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1879. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1880. end
  1881. elseif -1 > root.Velocity.y and hitfloor == nil then
  1882. Anim = "Fall"
  1883. if attack == false then
  1884. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1885. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1886. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1887. LH.C0 = clerp(LH.C0, CF(-1, -.8 - 0.1 * Cos(sine / 20), -.3) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1888. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1889. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1890. end
  1891. elseif torvel < 1 and hitfloor ~= nil then
  1892. Anim = "Idle"
  1893. change = .5
  1894. if attack == false then
  1895. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1896. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  1897. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1898. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1899. RW.C0 = clerp(RW.C0, CF(.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-1), Rad(-75 + 4.5 * Sin(sine / 20))), 0.1)
  1900. LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  1901. end
  1902. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1903. Anim = "Walk"
  1904. change = .9
  1905. if attack == false then
  1906. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  1907. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1908. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1909. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1910. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1911. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1912. end
  1913. elseif torvel >= 25 and hitfloor ~= nil then
  1914. Anim = "Sprint"
  1915. change = 1.35
  1916. if attack == false then
  1917. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1918. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1919. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1920. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1921. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1922. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1923. end
  1924. end
  1925. end
  1926. if 0 < #Effects then
  1927. for e = 1, #Effects do
  1928. if Effects[e] ~= nil then
  1929. local Thing = Effects[e]
  1930. if Thing ~= nil then
  1931. local Part = Thing[1]
  1932. local Mode = Thing[2]
  1933. local Delay = Thing[3]
  1934. local IncX = Thing[4]
  1935. local IncY = Thing[5]
  1936. local IncZ = Thing[6]
  1937. if 1 >= Thing[1].Transparency then
  1938. if Thing[2] == "Block1" then
  1939. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
  1940. local Mesh = Thing[1].Mesh
  1941. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1942. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1943. elseif Thing[2] == "Block2" then
  1944. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1945. local Mesh = Thing[7]
  1946. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1947. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1948. elseif Thing[2] == "Block3" then
  1949. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50)) + Vector3.new(0, 0.15, 0)
  1950. local Mesh = Thing[7]
  1951. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1952. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1953. elseif Thing[2] == "Cylinder" then
  1954. local Mesh = Thing[1].Mesh
  1955. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1956. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1957. elseif Thing[2] == "Blood" then
  1958. local Mesh = Thing[7]
  1959. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1960. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1961. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1962. elseif Thing[2] == "Elec" then
  1963. local Mesh = Thing[1].Mesh
  1964. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1965. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1966. elseif Thing[2] == "Disappear" then
  1967. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1968. elseif Thing[2] == "Shatter" then
  1969. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1970. Thing[4] = Thing[4] * CF(0, Thing[7], 0)
  1971. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1972. Thing[6] = Thing[6] + Thing[5]
  1973. end
  1974. else
  1975. Part.Parent = nil
  1976. table.remove(Effects, e)
  1977. end
  1978. end
  1979. end
  1980. end
  1981. end
  1982. end
  1983.  
  1984. unanchor()
  1985. Humanoid.MaxHealth = "inf"
  1986. Humanoid.Health = "inf"
  1987. Refit()
  1988. if Rooted == false then
  1989. Disable_Jump = false
  1990. Humanoid.WalkSpeed = Speed
  1991. elseif Rooted == true then
  1992. Disable_Jump = true
  1993. Humanoid.WalkSpeed = 0
  1994. end
  1995. for _, c in pairs(Character:GetDescendants()) do
  1996. if c == Head then
  1997. if c:FindFirstChild("face") then
  1998. c.face:remove()
  1999. end
  2000. end
  2001.  
  2002. -------------------------------------------------------
  2003. --End Animations And Script--
  2004. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement