Advertisement
Xxxtamloveeif02xxX

YOU ARE SKID!

Jun 16th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. local PurpleFloatyCube = Instance.new("Part", char)
  1070. PurpleFloatyCube.CanCollide = false
  1071. PurpleFloatyCube.BrickColor = BrickC("Crimson")
  1072. PurpleFloatyCube.Size = Vector3.new(0.75, 0.75, 0.75)
  1073. PurpleFloatyCube.Material = "Neon"
  1074. PurpleFloatyCube.TopSurface = Enum.SurfaceType.Smooth
  1075. PurpleFloatyCube.BottomSurface = Enum.SurfaceType.Smooth
  1076. local BodyPosition = Instance.new("BodyPosition", PurpleFloatyCube)
  1077.  
  1078. function WWeld(a, b, acf)
  1079. local we = Instance.new("Weld", a)
  1080. we.Part0 = a
  1081. we.Part1 = b
  1082. we.C0 = acf
  1083. end
  1084.  
  1085. function Emitt(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang1,sprdang2,locked2part)
  1086. Emitt = IT("ParticleEmitter",parent)
  1087. Emitt.Texture = tex
  1088. Emitt.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  1089. Emitt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  1090. Emitt.LightEmission = lightem
  1091. Emitt.EmissionDirection = emdir
  1092. Emitt.Lifetime = NumberRange.new(lif)
  1093. Emitt.Rate = rate
  1094. Emitt.Speed = NumberRange.new(speed)
  1095. Emitt.RotSpeed = NumberRange.new(rotspeed)
  1096. Emitt.SpreadAngle = Vector2.new(sprdang1,sprdang2)
  1097. Emitt.LockedToPart = locked2part
  1098. return(Emitt)
  1099. end
  1100.  
  1101. 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)}
  1102.  
  1103. local color1 = Color3.fromRGB(255, 0, 0)
  1104. local color2 = Color3.fromRGB(0, 0, 0)
  1105. local color3 = Color3.fromRGB(125, 0, 0)
  1106.  
  1107. local list4 = {ColorSequenceKeypoint.new(0,color1),ColorSequenceKeypoint.new(0.959,color2),ColorSequenceKeypoint.new(1,color3)}
  1108.  
  1109. 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)}
  1110.  
  1111. 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)}
  1112.  
  1113.  
  1114. local ssjgaurak = Instance.new("ParticleEmitter",PurpleFloatyCube)
  1115. ssjgaurak.Name = "aura2"
  1116. ssjgaurak.Texture = "rbxassetid://243660373"
  1117. ssjgaurak.Color = ColorSequence.new(list4)
  1118. ssjgaurak.Transparency = NumberSequence.new(list)
  1119. ssjgaurak.LightEmission = 1
  1120. ssjgaurak.Speed = NumberRange.new(0)
  1121. ssjgaurak.SpreadAngle = Vector2.new(3,6)
  1122. ssjgaurak.RotSpeed = NumberRange.new(360)
  1123. ssjgaurak.Rotation = NumberRange.new(360)
  1124. ssjgaurak.LightInfluence = 0
  1125. ssjgaurak.Size = NumberSequence.new(list6)
  1126. ssjgaurak.Lifetime = NumberRange.new(2)
  1127. ssjgaurak.Rate = 75
  1128. ssjgaurak.ZOffset = 0
  1129. ssjgaurak.Acceleration = Vector3.new(0,.01,0)
  1130. ssjgaurak.LockedToPart = true
  1131. ssjgaurak.Enabled = true
  1132.  
  1133. local ssjgaura3 = Instance.new("ParticleEmitter",ra)
  1134. ssjgaura3.Name = "aura2"
  1135. ssjgaura3.Texture = "rbxassetid://243660373"
  1136. ssjgaura3.Color = ColorSequence.new(list4)
  1137. ssjgaura3.Transparency = NumberSequence.new(list)
  1138. ssjgaura3.LightEmission = 1
  1139. ssjgaura3.LightInfluence = 0
  1140. ssjgaura3.Speed = NumberRange.new(0)
  1141. ssjgaura3.SpreadAngle = Vector2.new(0,0)
  1142. ssjgaura3.RotSpeed = NumberRange.new(0)
  1143. ssjgaura3.Rotation = NumberRange.new(0)
  1144. ssjgaura3.Size = NumberSequence.new(list5)
  1145. ssjgaura3.Lifetime = NumberRange.new(5)
  1146. ssjgaura3.Rate = 75
  1147. ssjgaura3.ZOffset = 0
  1148. ssjgaura3.Acceleration = Vector3.new(0,0.09,0)
  1149. ssjgaura3.LockedToPart = true
  1150.  
  1151. local ssjgaura4 = Instance.new("ParticleEmitter",la)
  1152. ssjgaura4.Name = "aura2"
  1153. ssjgaura4.Texture = "rbxassetid://243660373"
  1154. ssjgaura4.Color = ColorSequence.new(list4)
  1155. ssjgaura4.Transparency = NumberSequence.new(list)
  1156. ssjgaura4.LightEmission = 1
  1157. ssjgaura4.LightInfluence = 0
  1158. ssjgaura4.Speed = NumberRange.new(0)
  1159. ssjgaura4.SpreadAngle = Vector2.new(0,0)
  1160. ssjgaura4.RotSpeed = NumberRange.new(0)
  1161. ssjgaura4.Rotation = NumberRange.new(0)
  1162. ssjgaura4.Size = NumberSequence.new(list5)
  1163. ssjgaura4.Lifetime = NumberRange.new(5)
  1164. ssjgaura4.Rate = 75
  1165. ssjgaura4.ZOffset = 0
  1166. ssjgaura4.Acceleration = Vector3.new(0,0.09,0)
  1167. ssjgaura4.LockedToPart = true
  1168.  
  1169. local ssjgaurag = Instance.new("ParticleEmitter",tors)
  1170. ssjgaurag.Name = "aura2"
  1171. ssjgaurag.Texture = "rbxassetid://243660373"
  1172. ssjgaurag.Color = ColorSequence.new(list4)
  1173. ssjgaurag.Transparency = NumberSequence.new(list)
  1174. ssjgaurag.LightEmission = 1
  1175. ssjgaurag.LightInfluence = 1
  1176. ssjgaurag.Speed = NumberRange.new(0)
  1177. ssjgaurag.SpreadAngle = Vector2.new(0,0)
  1178. ssjgaurag.RotSpeed = NumberRange.new(0)
  1179. ssjgaurag.Rotation = NumberRange.new(0)
  1180. ssjgaurag.Size = NumberSequence.new(list5)
  1181. ssjgaurag.Lifetime = NumberRange.new(5)
  1182. ssjgaurag.Rate = 75
  1183. ssjgaurag.ZOffset = 0
  1184. ssjgaurag.Acceleration = Vector3.new(0,0.09,0)
  1185. ssjgaurag.LockedToPart = true
  1186.  
  1187. local ssjgaura1 = Instance.new("ParticleEmitter",rl)
  1188. ssjgaura1.Name = "aura2"
  1189. ssjgaura1.Texture = "rbxassetid://243660373"
  1190. ssjgaura1.Color = ColorSequence.new(list4)
  1191. ssjgaura1.Transparency = NumberSequence.new(list)
  1192. ssjgaura1.LightEmission = 1
  1193. ssjgaura1.LightInfluence = 0
  1194. ssjgaura1.Speed = NumberRange.new(0)
  1195. ssjgaura1.SpreadAngle = Vector2.new(0,0)
  1196. ssjgaura1.RotSpeed = NumberRange.new(0)
  1197. ssjgaura1.Rotation = NumberRange.new(0)
  1198. ssjgaura1.Size = NumberSequence.new(list5)
  1199. ssjgaura1.Lifetime = NumberRange.new(5)
  1200. ssjgaura1.Rate = 75
  1201. ssjgaura1.ZOffset = 0
  1202. ssjgaura1.Acceleration = Vector3.new(0,0.09,0)
  1203. ssjgaura1.LockedToPart = false
  1204.  
  1205. local ssjgaura2 = Instance.new("ParticleEmitter",ll)
  1206. ssjgaura2.Name = "aura2"
  1207. ssjgaura2.Texture = "rbxassetid://243660373"
  1208. ssjgaura2.Color = ColorSequence.new(list4)
  1209. ssjgaura2.Transparency = NumberSequence.new(list)
  1210. ssjgaura2.LightEmission = 1
  1211. ssjgaura2.LightInfluence = 0
  1212. ssjgaura2.Speed = NumberRange.new(0)
  1213. ssjgaura2.SpreadAngle = Vector2.new(0,0)
  1214. ssjgaura2.RotSpeed = NumberRange.new(0)
  1215. ssjgaura2.Rotation = NumberRange.new(0)
  1216. ssjgaura2.Size = NumberSequence.new(list5)
  1217. ssjgaura2.Lifetime = NumberRange.new(5)
  1218. ssjgaura2.Rate = 75
  1219. ssjgaura2.ZOffset = 0
  1220. ssjgaura2.Acceleration = Vector3.new(0,0.09,0)
  1221. ssjgaura2.LockedToPart = false
  1222.  
  1223. local DarEye = Instance.new("Part", char)
  1224. DarEye.CanCollide = false
  1225. DarEye.BrickColor = BrickC("Really black")
  1226. DarEye.Color = Color3.new(0,0,0)
  1227. DarEye.Material = "Glass"
  1228. DarEye.Size = Vector3.new(.15,.15,.15)
  1229. WWeld(DarEye, hed, CF(0.15,-0.2,0.55), CF(1,0,0))
  1230. DarEyeMesh = Instance.new("SpecialMesh", DarEye)
  1231. DarEyeMesh.MeshType = "Sphere"
  1232. DarEyeMesh.Scale = Vector3.new(0.7,1.3,0.9)
  1233. DarEye.Locked = true
  1234.  
  1235. local DarEye2 = Instance.new("Part", char)
  1236. DarEye2.CanCollide = false
  1237. DarEye2.BrickColor = BrickC("Smoky grey")
  1238. DarEye2.Material = "Neon"
  1239. DarEye2.Size = Vector3.new(.15,.15,.15)
  1240. WWeld(DarEye2, hed, CF(-0.15,-0.2,0.55), CF(1,0,0))
  1241. DarEyeMesh2 = Instance.new("SpecialMesh", DarEye2)
  1242. DarEyeMesh2.MeshType = "Sphere"
  1243. DarEyeMesh2.Scale = Vector3.new(0.7,1.3,0.9)
  1244. DarEye2.Locked = true
  1245.  
  1246. 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)
  1247. char.Shirt:Destroy()
  1248. char.Pants:Destroy()
  1249. hed.face:Remove()
  1250. for i,v in pairs(char:children()) do
  1251. if v:IsA("Hat") then
  1252. v:Destroy()
  1253. end
  1254. end
  1255. for i,v in pairs(char:children()) do
  1256. if v:IsA("Accessory") then
  1257. v:Destroy()
  1258. end
  1259. end
  1260. la.BrickColor = BrickC("Crimson")
  1261. ra.BrickColor = BrickC("Crimson")
  1262. rl.BrickColor = BrickC("Crimson")
  1263. ll.BrickColor = BrickC("Crimson")
  1264. hed.BrickColor = BrickC("Crimson")
  1265. tors.BrickColor = BrickC("Crimson")
  1266. -------------------------------------------------------
  1267. --Start Music Option--
  1268. -------------------------------------------------------
  1269. local Music = Instance.new("Sound",tors)
  1270. Music.Volume = 2.5
  1271. Music.SoundId = "rbxassetid://1494452913"
  1272. Music.Looped = true
  1273. Music.Pitch = 1 --Pitcher
  1274. Music:Play()
  1275. -------------------------------------------------------
  1276. --End Music Option--
  1277. -------------------------------------------------------
  1278.  
  1279. local naeeym2 = Instance.new("BillboardGui",char)
  1280. naeeym2.AlwaysOnTop = true
  1281. naeeym2.Size = UDim2.new(5,35,2,35)
  1282. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1283. naeeym2.Adornee = hed
  1284. naeeym2.Name = "Name"
  1285. local tecks2 = Instance.new("TextLabel",naeeym2)
  1286. tecks2.BackgroundTransparency = 1
  1287. tecks2.TextScaled = true
  1288. tecks2.BorderSizePixel = 0
  1289. tecks2.Text = "The Burning Nightmare"
  1290. tecks2.Font = "Garamond"
  1291. tecks2.TextSize = 30
  1292. tecks2.TextTransparency = 0
  1293. tecks2.TextStrokeTransparency = 0
  1294. tecks2.TextColor3 = Color3.new(0,0,0)
  1295. tecks2.TextStrokeColor3 = Color3.new(125, 0, 0)
  1296. tecks2.Size = UDim2.new(1,0,0.5,0)
  1297. tecks2.Parent = naeeym2
  1298.  
  1299. -------------------------------------------------------
  1300. --Start Attacks N Stuff--
  1301. -------------------------------------------------------
  1302. local sine=0
  1303. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1304. local Hitboxpart = Instance.new("Part", EffectModel)
  1305. RemoveOutlines(Hitboxpart)
  1306. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1307. Hitboxpart.CanCollide = false
  1308. Hitboxpart.Transparency = 1
  1309. Hitboxpart.Anchored = true
  1310. Hitboxpart.CFrame = Pose
  1311. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1312. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1313. end
  1314. wait2 = false
  1315. combo = 1
  1316. mouse.Button1Down:connect(function(key)
  1317. if attack == false then
  1318. attack = true
  1319. hum.WalkSpeed = 3.01
  1320. if combo == 1 and wait2 == false then
  1321. wait2 = true
  1322. for i = 0, 1.2, 0.1 do
  1323. swait()
  1324. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1325. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
  1326. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
  1327. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
  1328. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1329. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1330. end
  1331. Cso("138097048", ra, 3, .8)
  1332. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1333. for i = 0, 1.2, 0.1 do
  1334. swait()
  1335. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1336. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
  1337. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
  1338. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
  1339. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1340. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1341. end
  1342. combo = 2
  1343. end
  1344. if combo == 2 and wait2 == false then
  1345. wait2 = true
  1346. for i = 0, 1.2, 0.1 do
  1347. swait()
  1348. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(60)), 0.3)
  1349. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1350. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, .8) * angles(Rad(90), Rad(0), Rad(-75)), 0.1)
  1351. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1352. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1353. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1354. end
  1355. Cso("138097048", ra, 3, .8)
  1356. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1357. for i = 0, 1.2, 0.1 do
  1358. swait()
  1359. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-60)), 0.3)
  1360. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1361. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -.8) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1362. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1363. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1364. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(20), Rad(-10)), 0.3)
  1365. end
  1366. combo = 3
  1367. end
  1368. if combo == 3 and wait2 == false then
  1369. wait2 = true
  1370. for i = 0, 1.2, 0.1 do
  1371. swait()
  1372. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1373. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
  1374. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
  1375. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
  1376. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1377. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1378. end
  1379. Cso("138097048", ra, 3, .8)
  1380. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1381. for i = 0, 1.2, 0.1 do
  1382. swait()
  1383. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1384. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
  1385. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
  1386. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
  1387. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1388. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1389. end
  1390. combo = 4
  1391. end
  1392. if combo == 4 and wait2 == false then
  1393. for i = 0, 1.2, 0.1 do
  1394. swait()
  1395. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1396. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-65)), 0.1)
  1397. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(87), Rad(0), Rad(20)), 0.1)
  1398. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1399. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
  1400. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
  1401. end
  1402. Cso("138097048", ra, 3, .8)
  1403. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1404. for i = 0, 1.2, 0.1 do
  1405. swait()
  1406. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
  1407. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.1)
  1408. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(-96), Rad(0), Rad(-40)), 0.1)
  1409. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1410. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
  1411. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
  1412. end
  1413. combo = 1
  1414. end
  1415. hum.WalkSpeed = 16
  1416. wait2 = false
  1417. attack = false
  1418. end
  1419. end)
  1420. function Burning_Sphere()
  1421. attack = true
  1422. local orb = Instance.new("Part", char)
  1423. orb.Anchored = true
  1424. orb.BrickColor = BrickC("Crimson")
  1425. orb.CanCollide = false
  1426. orb.FormFactor = 3
  1427. orb.Name = "Ring"
  1428. orb.Material = "Neon"
  1429. orb.Size = Vector3.new(1, 1, 1)
  1430. orb.Transparency = 0
  1431. orb.TopSurface = 0
  1432. orb.BottomSurface = 0
  1433. local orbm = Instance.new("SpecialMesh", orb)
  1434. orbm.MeshType = "Sphere"
  1435. orbm.Name = "SizeMesh"
  1436. orbm.Scale = Vector3.new(0, 0, 0)
  1437. local scaled = 0.1
  1438. local posid = 0
  1439. for i = 0, 5, 0.1 do
  1440. swait()
  1441. scaled = scaled - 0.001
  1442. posid = posid - scaled
  1443. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1444. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1445. 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)
  1446. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. 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)
  1451. end
  1452. for i = 0, 2, 0.1 do
  1453. swait()
  1454. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1455. 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)
  1456. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-30)), 0.3)
  1457. 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)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. end
  1462. coroutine.resume(coroutine.create(function()
  1463. orb.Anchored = false
  1464. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  1465. local a = Instance.new("Part", workspace)
  1466. a.Name = "Direction"
  1467. a.Anchored = true
  1468. a.BrickColor = BrickC("Bright red")
  1469. a.Material = "Neon"
  1470. a.Transparency = 1
  1471. a.CanCollide = false
  1472. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  1473. local ignore = orb
  1474. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1475. a.BottomSurface = 10
  1476. a.TopSurface = 10
  1477. local distance = (orb.CFrame.p - position).magnitude
  1478. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1479. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  1480. orb.CFrame = a.CFrame
  1481. a:Destroy()
  1482. local bv = Instance.new("BodyVelocity")
  1483. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1484. bv.velocity = orb.CFrame.lookVector * 125
  1485. bv.Parent = orb
  1486. local hitted = false
  1487. game:GetService("Debris"):AddItem(orb, 15)
  1488. wait()
  1489. local hit = orb.Touched:connect(function(hit)
  1490. if hitted == false then
  1491. hitted = true
  1492. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1493. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  1494. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Crimson"), "Sphere")
  1495. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Crimson"), "Sphere")
  1496. for i = 0, 9 do
  1497. 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")
  1498. 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")
  1499. end
  1500. orb.Anchored = true
  1501. orb.Transparency = 1
  1502. wait(8)
  1503. orb:Destroy()
  1504. end
  1505. end)
  1506. end))
  1507. for i = 0, 1, 0.1 do
  1508. swait()
  1509. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1510. 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)
  1511. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(30)), 0.3)
  1512. 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)
  1513. 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)
  1514. 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)
  1515. 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)
  1516. end
  1517. attack = false
  1518. end
  1519. function Beamo()
  1520. attack = true
  1521. hum.WalkSpeed = 0
  1522. local Ring1 = Instance.new("Part", char)
  1523. Ring1.Anchored = true
  1524. Ring1.BrickColor = maincolor
  1525. Ring1.CanCollide = false
  1526. Ring1.FormFactor = 3
  1527. Ring1.Name = "Ring"
  1528. Ring1.Material = "Neon"
  1529. Ring1.Size = Vector3.new(1, 0.05, 1)
  1530. Ring1.Transparency = 1
  1531. Ring1.TopSurface = 0
  1532. Ring1.BottomSurface = 0
  1533. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  1534. Ring1Mesh.MeshType = "Brick"
  1535. Ring1Mesh.Name = "SizeMesh"
  1536. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  1537. local InnerRing1 = Ring1:Clone()
  1538. InnerRing1.Parent = char
  1539. InnerRing1.Transparency = 0
  1540. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  1541. InnerRing1.Size = Vector3.new(1, 1, 1)
  1542. local InnerRing1Mesh = InnerRing1.SizeMesh
  1543. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  1544. InnerRing1Mesh.MeshType = "Sphere"
  1545. Ring1:Destroy()
  1546. for i = 0, 8, 0.1 do
  1547. swait()
  1548. 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")
  1549. 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)
  1550. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1551. 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)
  1552. 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)
  1553. 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)
  1554. 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)
  1555. end
  1556. InnerRing1.Transparency = 1
  1557. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5
  1558. Cso("294188875", char, 2.3, 1)
  1559. local a = IT("Part", char)
  1560. a.Name = "Direction"
  1561. a.Anchored = true
  1562. a.BrickColor = BrickC("White")
  1563. a.Material = "Neon"
  1564. a.Transparency = 0
  1565. a.Shape = "Cylinder"
  1566. a.CanCollide = false
  1567. local a2 = IT("Part", char)
  1568. a2.Name = "Direction"
  1569. a2.Anchored = true
  1570. a2.BrickColor = BrickC("New Yeller")
  1571. a2.Color = maincolor.Color
  1572. a2.Material = "Neon"
  1573. a2.Transparency = 0.2
  1574. a2.Shape = "Cylinder"
  1575. a2.CanCollide = false
  1576. local ba = IT("Part", char)
  1577. ba.Name = "HitDirect"
  1578. ba.Anchored = true
  1579. ba.BrickColor = BrickC("Really black")
  1580. ba.Material = "Neon"
  1581. ba.Transparency = 1
  1582. ba.CanCollide = false
  1583. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1584. local ignore = char
  1585. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1586. a.BottomSurface = 9.9
  1587. a.TopSurface = 9.9
  1588. a2.BottomSurface = 10
  1589. a2.TopSurface = 10
  1590. local distance = (InnerRing1.CFrame.p - position).magnitude
  1591. a.Size = Vector3.new(distance, 1, 1)
  1592. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1593. a2.Size = Vector3.new(distance, 1, 1)
  1594. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1595. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1596. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1597. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1598. game:GetService("Debris"):AddItem(a, 20)
  1599. game:GetService("Debris"):AddItem(a2, 20)
  1600. game:GetService("Debris"):AddItem(ba, 20)
  1601. local msh = Instance.new("SpecialMesh", a)
  1602. msh.MeshType = "Cylinder"
  1603. msh.Scale = Vector3.new(1, 15, 15)
  1604. local msh2 = Instance.new("SpecialMesh", a2)
  1605. msh2.MeshType = "Cylinder"
  1606. msh2.Scale = Vector3.new(1, 25, 25)
  1607. for z = 0, 1 do
  1608. for i = 0, 4, 0.1 do
  1609. swait()
  1610. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1611. a2.Color = maincolor.Color
  1612. root.CFrame = FaceMouse()[1]
  1613. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1614. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1615. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1616. distance = (InnerRing1.CFrame.p - position).magnitude
  1617. a.Size = Vector3.new(distance, 1, 1)
  1618. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1619. a2.Size = Vector3.new(distance, 1, 1)
  1620. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1621. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1622. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1623. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1624. msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25)
  1625. msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3)
  1626. 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")
  1627. 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")
  1628. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1629. if v:FindFirstChild("Head") then
  1630. Eviscerate(v)
  1631. end
  1632. end
  1633. end
  1634. for i = 0, 4, 0.1 do
  1635. swait()
  1636. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1637. a2.Color = maincolor.Color
  1638. root.CFrame = FaceMouse()[1]
  1639. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1640. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1641. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1642. distance = (InnerRing1.CFrame.p - position).magnitude
  1643. a.Size = Vector3.new(distance, 1, 1)
  1644. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1645. a2.Size = Vector3.new(distance, 1, 1)
  1646. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1647. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1648. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1649. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1650. msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25)
  1651. msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3)
  1652. 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")
  1653. 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")
  1654. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1655. if v:FindFirstChild("Head") then
  1656. Eviscerate(v)
  1657. end
  1658. end
  1659. end
  1660. end
  1661. for i = 0, 10, 0.1 do
  1662. swait()
  1663. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1664. a2.Color = maincolor.Color
  1665. root.CFrame = FaceMouse()[1]
  1666. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1667. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1668. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1669. distance = (InnerRing1.CFrame.p - position).magnitude
  1670. a.Size = Vector3.new(distance, 1, 1)
  1671. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1672. a2.Size = Vector3.new(distance, 1, 1)
  1673. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1674. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1675. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1676. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1677. msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15)
  1678. msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2)
  1679. 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")
  1680. 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")
  1681. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1682. if v:FindFirstChild("Head") then
  1683. Eviscerate(v)
  1684. end
  1685. end
  1686. end
  1687. hum.WalkSpeed = 8
  1688. a:Destroy()
  1689. a2:Destroy()
  1690. ba:Destroy()
  1691. InnerRing1:Destroy()
  1692. attack = false
  1693. hum.CameraOffset = Vector3.new(0,0,0)
  1694. end
  1695. function Chaotic_Stomp()
  1696. attack = true
  1697. for i = 0,5.2,0.1 do
  1698. swait()
  1699. 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)
  1700. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1701. 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)
  1702. 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)
  1703. 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)
  1704. 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)
  1705. end
  1706. Cso("331666100", char, 10, .85)
  1707. coroutine.resume(coroutine.create(function()
  1708. for i = 0,3.7,0.1 do
  1709. 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")
  1710. end
  1711. end))
  1712. 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")
  1713. 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")
  1714. Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1715. Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1716. Magic(5, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1717. Magic(10, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1718. Magic(1, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, maincolor, "Sphere")
  1719. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.7)) do
  1720. if v:FindFirstChild("Head") then
  1721. Eviscerate(v)
  1722. end
  1723. end
  1724. coroutine.resume(coroutine.create(function()
  1725. for i = 0,2.8,0.1 do
  1726. swait()
  1727. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1728. end
  1729. for i = 0,1.8,0.1 do
  1730. swait()
  1731. hum.CameraOffset = Vector3.new(0,0,0)
  1732. end
  1733. end))
  1734. for i = 0,3.7,0.1 do
  1735. 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)
  1736. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1737. 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)
  1738. 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)
  1739. 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)
  1740. 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)
  1741. end
  1742. wait(.6)
  1743. attack = false
  1744. end
  1745. -------------------------------------------------------
  1746. --End Attacks N Stuff--
  1747. -------------------------------------------------------
  1748. mouse.KeyDown:connect(function(key)
  1749. if string.byte(key) == 48 then
  1750. Swing = 2
  1751. hum.WalkSpeed = 38.82
  1752. end
  1753. end)
  1754. mouse.KeyUp:connect(function(key)
  1755. if string.byte(key) == 48 then
  1756. Swing = 1
  1757. hum.WalkSpeed = 8
  1758. end
  1759. end)
  1760. mouse.KeyDown:connect(function(key)
  1761. if attack == false then
  1762. if key == 'z' then
  1763. Burning_Sphere()
  1764. elseif key == 'x' then
  1765. Beamo()
  1766. elseif key == 'c' then
  1767. Chaotic_Stomp()
  1768. end
  1769. end
  1770. end)
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779. -------------------------------------------------------
  1780. --Start Animations--
  1781. -------------------------------------------------------
  1782. local equipped = false
  1783. local idle = 0
  1784. local change = 1
  1785. local val = 0
  1786. local toim = 0
  1787. local idleanim = 0.4
  1788. hum.WalkSpeed = 8
  1789. hum.JumpPower = 57
  1790. hum.Animator.Parent = nil
  1791. while true do
  1792. swait()
  1793. sine = sine + change
  1794. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1795. local velderp = root.Velocity.y
  1796. hitfloor, posfloor = rayCast(root.Position, CF(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1797. if equipped == true or equipped == false then
  1798. if attack == false then
  1799. idle = idle + 1
  1800. else
  1801. idle = 0
  1802. end
  1803. 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")
  1804. BodyPosition.Position = hed.CFrame:pointToWorldSpace(Vector3.new(2, 1, 0))
  1805. if 1 < root.Velocity.y and hitfloor == nil then
  1806. Anim = "Jump"
  1807. if attack == false then
  1808. 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)
  1809. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1810. 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)
  1811. 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)
  1812. 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)
  1813. 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)
  1814. end
  1815. elseif -1 > root.Velocity.y and hitfloor == nil then
  1816. Anim = "Fall"
  1817. if attack == false then
  1818. 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)
  1819. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1820. 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)
  1821. 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)
  1822. 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)
  1823. 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)
  1824. end
  1825. elseif torvel < 1 and hitfloor ~= nil then
  1826. Anim = "Idle"
  1827. change = .5
  1828. if attack == false then
  1829. 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)
  1830. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  1831. 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)
  1832. 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)
  1833. 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)
  1834. 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)
  1835. end
  1836. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1837. Anim = "Walk"
  1838. change = .9
  1839. if attack == false then
  1840. 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)
  1841. 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)
  1842. 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)
  1843. 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)
  1844. 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)
  1845. 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)
  1846. end
  1847. elseif torvel >= 25 and hitfloor ~= nil then
  1848. Anim = "Sprint"
  1849. change = 1.35
  1850. if attack == false then
  1851. 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)
  1852. 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)
  1853. 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)
  1854. 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)
  1855. 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)
  1856. 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)
  1857. end
  1858. end
  1859. end
  1860. if 0 < #Effects then
  1861. for e = 1, #Effects do
  1862. if Effects[e] ~= nil then
  1863. local Thing = Effects[e]
  1864. if Thing ~= nil then
  1865. local Part = Thing[1]
  1866. local Mode = Thing[2]
  1867. local Delay = Thing[3]
  1868. local IncX = Thing[4]
  1869. local IncY = Thing[5]
  1870. local IncZ = Thing[6]
  1871. if 1 >= Thing[1].Transparency then
  1872. if Thing[2] == "Block1" then
  1873. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
  1874. local Mesh = Thing[1].Mesh
  1875. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1876. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1877. elseif Thing[2] == "Block2" then
  1878. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1879. local Mesh = Thing[7]
  1880. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1881. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1882. elseif Thing[2] == "Block3" then
  1883. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50)) + Vector3.new(0, 0.15, 0)
  1884. local Mesh = Thing[7]
  1885. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1886. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1887. elseif Thing[2] == "Cylinder" then
  1888. local Mesh = Thing[1].Mesh
  1889. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1890. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1891. elseif Thing[2] == "Blood" then
  1892. local Mesh = Thing[7]
  1893. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1894. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1895. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1896. elseif Thing[2] == "Elec" then
  1897. local Mesh = Thing[1].Mesh
  1898. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1899. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1900. elseif Thing[2] == "Disappear" then
  1901. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1902. elseif Thing[2] == "Shatter" then
  1903. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1904. Thing[4] = Thing[4] * CF(0, Thing[7], 0)
  1905. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1906. Thing[6] = Thing[6] + Thing[5]
  1907. end
  1908. else
  1909. Part.Parent = nil
  1910. table.remove(Effects, e)
  1911. end
  1912. end
  1913. end
  1914. end
  1915. end
  1916. end
  1917. -------------------------------------------------------
  1918. --End Animations And Script--
  1919. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement