Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.36 KB | None | 0 0
  1. if (game:GetService('RunService'):IsServer()) then return error('This script cannot be ran server-sided, please use hl/',0); end;
  2.  
  3. local FavIDs = {
  4. 340106355, --Nefl Crystals
  5. 927529620, --Dimension
  6. 876981900, --Fantasy
  7. 398987889, --Ordinary Days
  8. 1117396305, --Oh wait, it's you.
  9. 885996042, --Action Winter Journey
  10. 919231299, --Sprawling Idiot Effigy
  11. 743466274, --Good Day Sunshine
  12. 727411183, --Knife Fight
  13. 1402748531, --The Earth Is Counting On You!
  14. 595230126 --Robot Language
  15. }
  16.  
  17.  
  18.  
  19. --The reality of my life isn't real but a Universe -makhail07
  20. wait()
  21. local plr = game:service'Players'.LocalPlayer
  22. print('Local User is '..plr.Name)
  23. print('Blight Loaded')
  24. print('Let justice be done, though the heavens fall.')
  25. local char = plr.Character
  26. local hum = char.Humanoid
  27. local hed = char.Head
  28. local root = char.HumanoidRootPart
  29. local rootj = root.RootJoint
  30. local tors = char.Torso
  31. local ra = char["Right Arm"]
  32. local la = char["Left Arm"]
  33. local rl = char["Right Leg"]
  34. local ll = char["Left Leg"]
  35. local neck = tors["Neck"]
  36. local mouse = plr:GetMouse()
  37. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  38. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  39. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  40. local maincolor = BrickColor.new("Really black")
  41.  
  42. -------------------------------------------------------
  43. --Start Good Stuff--
  44. -------------------------------------------------------
  45. cam = game.Workspace.CurrentCamera
  46. CF = CFrame.new
  47. angles = CFrame.Angles
  48. attack = false
  49. Euler = CFrame.fromEulerAnglesXYZ
  50. Rad = math.rad
  51. IT = Instance.new
  52. BrickC = BrickColor.new
  53. Cos = math.cos
  54. Acos = math.acos
  55. Sin = math.sin
  56. Asin = math.asin
  57. Abs = math.abs
  58. Mrandom = math.random
  59. Floor = math.floor
  60. -------------------------------------------------------
  61. --End Good Stuff--
  62. -------------------------------------------------------
  63. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  64. RSH, LSH = nil, nil
  65. RW = Instance.new("Weld")
  66. LW = Instance.new("Weld")
  67. RH = tors["Right Hip"]
  68. LH = tors["Left Hip"]
  69. RSH = tors["Right Shoulder"]
  70. LSH = tors["Left Shoulder"]
  71. RSH.Parent = nil
  72. LSH.Parent = nil
  73. RW.Name = "RW"
  74. RW.Part0 = tors
  75. RW.C0 = CF(1.5, 0.5, 0)
  76. RW.C1 = CF(0, 0.5, 0)
  77. RW.Part1 = ra
  78. RW.Parent = tors
  79. LW.Name = "LW"
  80. LW.Part0 = tors
  81. LW.C0 = CF(-1.5, 0.5, 0)
  82. LW.C1 = CF(0, 0.5, 0)
  83. LW.Part1 = la
  84. LW.Parent = tors
  85. Effects = {}
  86. -------------------------------------------------------
  87. --Start HeartBeat--
  88. -------------------------------------------------------
  89. ArtificialHB = Instance.new("BindableEvent", script)
  90. ArtificialHB.Name = "Heartbeat"
  91. script:WaitForChild("Heartbeat")
  92.  
  93. frame = 1 / 60
  94. tf = 0
  95. allowframeloss = false
  96. tossremainder = false
  97.  
  98.  
  99. lastframe = tick()
  100. script.Heartbeat:Fire()
  101.  
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.Heartbeat:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.Heartbeat:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122. -------------------------------------------------------
  123. --End HeartBeat--
  124. -------------------------------------------------------
  125.  
  126. -------------------------------------------------------
  127. --Start Important Functions--
  128. -------------------------------------------------------
  129. function swait(num)
  130. if num == 0 or num == nil then
  131. game:service("RunService").Stepped:wait(0)
  132. else
  133. for i = 0, num do
  134. game:service("RunService").Stepped:wait(0)
  135. end
  136. end
  137. end
  138. function thread(f)
  139. coroutine.resume(coroutine.create(f))
  140. end
  141. function clerp(a, b, t)
  142. local qa = {
  143. QuaternionFromCFrame(a)
  144. }
  145. local qb = {
  146. QuaternionFromCFrame(b)
  147. }
  148. local ax, ay, az = a.x, a.y, a.z
  149. local bx, by, bz = b.x, b.y, b.z
  150. local _t = 1 - t
  151. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  152. end
  153. function QuaternionFromCFrame(cf)
  154. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  155. local trace = m00 + m11 + m22
  156. if trace > 0 then
  157. local s = math.sqrt(1 + trace)
  158. local recip = 0.5 / s
  159. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  160. else
  161. local i = 0
  162. if m00 < m11 then
  163. i = 1
  164. end
  165. if m22 > (i == 0 and m00 or m11) then
  166. i = 2
  167. end
  168. if i == 0 then
  169. local s = math.sqrt(m00 - m11 - m22 + 1)
  170. local recip = 0.5 / s
  171. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  172. elseif i == 1 then
  173. local s = math.sqrt(m11 - m22 - m00 + 1)
  174. local recip = 0.5 / s
  175. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  176. elseif i == 2 then
  177. local s = math.sqrt(m22 - m00 - m11 + 1)
  178. local recip = 0.5 / s
  179. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  180. end
  181. end
  182. end
  183. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  184. local xs, ys, zs = x + x, y + y, z + z
  185. local wx, wy, wz = w * xs, w * ys, w * zs
  186. local xx = x * xs
  187. local xy = x * ys
  188. local xz = x * zs
  189. local yy = y * ys
  190. local yz = y * zs
  191. local zz = z * zs
  192. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  193. end
  194. function QuaternionSlerp(a, b, t)
  195. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  196. local startInterp, finishInterp
  197. if cosTheta >= 1.0E-4 then
  198. if 1 - cosTheta > 1.0E-4 then
  199. local theta = math.acos(cosTheta)
  200. local invSinTheta = 1 / Sin(theta)
  201. startInterp = Sin((1 - t) * theta) * invSinTheta
  202. finishInterp = Sin(t * theta) * invSinTheta
  203. else
  204. startInterp = 1 - t
  205. finishInterp = t
  206. end
  207. elseif 1 + cosTheta > 1.0E-4 then
  208. local theta = math.acos(-cosTheta)
  209. local invSinTheta = 1 / Sin(theta)
  210. startInterp = Sin((t - 1) * theta) * invSinTheta
  211. finishInterp = Sin(t * theta) * invSinTheta
  212. else
  213. startInterp = t - 1
  214. finishInterp = t
  215. end
  216. 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
  217. end
  218. function rayCast(Position, Direction, Range, Ignore)
  219. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  220. end
  221. local RbxUtility = LoadLibrary("RbxUtility")
  222. local Create = RbxUtility.Create
  223.  
  224. -------------------------------------------------------
  225. --Start Damage Function--
  226. -------------------------------------------------------
  227. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  228. if hit.Parent == nil then
  229. return
  230. end
  231. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  232. for _, v in pairs(hit.Parent:children()) do
  233. if v:IsA("Humanoid") then
  234. h = v
  235. end
  236. end
  237. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  238.  
  239. hit.Parent:FindFirstChild("Head"):BreakJoints()
  240. end
  241.  
  242. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  243. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  244. if hit.Parent.DebounceHit.Value == true then
  245. return
  246. end
  247. end
  248. if insta == true then
  249. hit.Parent:FindFirstChild("Head"):BreakJoints()
  250. end
  251. local c = Create("ObjectValue"){
  252. Name = "creator",
  253. Value = game:service("Players").LocalPlayer,
  254. Parent = h,
  255. }
  256. game:GetService("Debris"):AddItem(c, .5)
  257. if HitSound ~= nil and HitPitch ~= nil then
  258. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  259. end
  260. local Damage = math.random(minim, maxim)
  261. local blocked = false
  262. local block = hit.Parent:findFirstChild("Block")
  263. if block ~= nil then
  264. if block.className == "IntValue" then
  265. if block.Value > 0 then
  266. blocked = true
  267. block.Value = block.Value - 1
  268. print(block.Value)
  269. end
  270. end
  271. end
  272. if blocked == false then
  273. h.Health = h.Health - Damage
  274. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  275. else
  276. h.Health = h.Health - (Damage / 2)
  277. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  278. end
  279. if Type == "Knockdown" then
  280. local hum = hit.Parent.Humanoid
  281. hum.PlatformStand = true
  282. coroutine.resume(coroutine.create(function(HHumanoid)
  283. swait(1)
  284. HHumanoid.PlatformStand = false
  285. end), hum)
  286. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  287. local bodvol = Create("BodyVelocity"){
  288. velocity = angle * knockback,
  289. P = 5000,
  290. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  291. Parent = hit,
  292. }
  293. local rl = Create("BodyAngularVelocity"){
  294. P = 3000,
  295. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  296. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  297. Parent = hit,
  298. }
  299. game:GetService("Debris"):AddItem(bodvol, .5)
  300. game:GetService("Debris"):AddItem(rl, .5)
  301. elseif Type == "Normal" then
  302. local vp = Create("BodyVelocity"){
  303. P = 500,
  304. maxForce = Vector3.new(math.huge, 0, math.huge),
  305. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  306. }
  307. if knockback > 0 then
  308. vp.Parent = hit.Parent.Torso
  309. end
  310. game:GetService("Debris"):AddItem(vp, .5)
  311. elseif Type == "Up" then
  312. local bodyVelocity = Create("BodyVelocity"){
  313. velocity = Vector3.new(0, 20, 0),
  314. P = 5000,
  315. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  316. Parent = hit,
  317. }
  318. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  319. elseif Type == "DarkUp" then
  320. coroutine.resume(coroutine.create(function()
  321. for i = 0, 1, 0.1 do
  322. swait()
  323. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  324. end
  325. end))
  326. local bodyVelocity = Create("BodyVelocity"){
  327. velocity = Vector3.new(0, 20, 0),
  328. P = 5000,
  329. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  330. Parent = hit,
  331. }
  332. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  333. elseif Type == "Snare" then
  334. local bp = Create("BodyPosition"){
  335. P = 2000,
  336. D = 100,
  337. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  338. position = hit.Parent.Torso.Position,
  339. Parent = hit.Parent.Torso,
  340. }
  341. game:GetService("Debris"):AddItem(bp, 1)
  342. elseif Type == "Freeze" then
  343. local BodPos = Create("BodyPosition"){
  344. P = 50000,
  345. D = 1000,
  346. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  347. position = hit.Parent.Torso.Position,
  348. Parent = hit.Parent.Torso,
  349. }
  350. local BodGy = Create("BodyGyro") {
  351. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  352. P = 20e+003,
  353. Parent = hit.Parent.Torso,
  354. cframe = hit.Parent.Torso.CFrame,
  355. }
  356. hit.Parent.Torso.Anchored = true
  357. coroutine.resume(coroutine.create(function(Part)
  358. swait(1.5)
  359. Part.Anchored = false
  360. end), hit.Parent.Torso)
  361. game:GetService("Debris"):AddItem(BodPos, 3)
  362. game:GetService("Debris"):AddItem(BodGy, 3)
  363. end
  364. local debounce = Create("BoolValue"){
  365. Name = "DebounceHit",
  366. Parent = hit.Parent,
  367. Value = true,
  368. }
  369. game:GetService("Debris"):AddItem(debounce, Delay)
  370. c = Create("ObjectValue"){
  371. Name = "creator",
  372. Value = Player,
  373. Parent = h,
  374. }
  375. game:GetService("Debris"):AddItem(c, .5)
  376. end
  377. end
  378. -------------------------------------------------------
  379. --End Damage Function--
  380. -------------------------------------------------------
  381.  
  382. -------------------------------------------------------
  383. --Start Damage Function Customization--
  384. -------------------------------------------------------
  385. function ShowDamage(Pos, Text, Time, Color)
  386. local Rate = (1 / 30)
  387. local Pos = (Pos or Vector3.new(0, 0, 0))
  388. local Text = (Text or "")
  389. local Time = (Time or 2)
  390. local Color = (Color or Color3.new(1, 0, 1))
  391. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  392. EffectPart.Anchored = true
  393. local BillboardGui = Create("BillboardGui"){
  394. Size = UDim2.new(3, 0, 3, 0),
  395. Adornee = EffectPart,
  396. Parent = EffectPart,
  397. }
  398. local TextLabel = Create("TextLabel"){
  399. BackgroundTransparency = 1,
  400. Size = UDim2.new(1, 0, 1, 0),
  401. Text = Text,
  402. Font = "Bodoni",
  403. TextColor3 = Color,
  404. TextScaled = true,
  405. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  406. Parent = BillboardGui,
  407. }
  408. game.Debris:AddItem(EffectPart, (Time))
  409. EffectPart.Parent = game:GetService("Workspace")
  410. delay(0, function()
  411. local Frames = (Time / Rate)
  412. for Frame = 1, Frames do
  413. wait(Rate)
  414. local Percent = (Frame / Frames)
  415. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  416. TextLabel.TextTransparency = Percent
  417. end
  418. if EffectPart and EffectPart.Parent then
  419. EffectPart:Destroy()
  420. end
  421. end)
  422. end
  423. -------------------------------------------------------
  424. --End Damage Function Customization--
  425. -------------------------------------------------------
  426.  
  427. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  428. for _, c in pairs(workspace:children()) do
  429. local hum = c:findFirstChild("Humanoid")
  430. if hum ~= nil then
  431. local head = c:findFirstChild("Head")
  432. if head ~= nil then
  433. local targ = head.Position - Part.Position
  434. local mag = targ.magnitude
  435. if magni >= mag and c.Name ~= plr.Name then
  436. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  437. end
  438. end
  439. end
  440. end
  441. end
  442.  
  443.  
  444. CFuncs = {
  445. Part = {
  446. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  447. local Part = Create("Part")({
  448. Parent = Parent,
  449. Reflectance = Reflectance,
  450. Transparency = Transparency,
  451. CanCollide = false,
  452. Locked = true,
  453. BrickColor = BrickColor.new(tostring(BColor)),
  454. Name = Name,
  455. Size = Size,
  456. Material = Material
  457. })
  458. RemoveOutlines(Part)
  459. return Part
  460. end
  461. },
  462. Mesh = {
  463. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  464. local Msh = Create(Mesh)({
  465. Parent = Part,
  466. Offset = OffSet,
  467. Scale = Scale
  468. })
  469. if Mesh == "SpecialMesh" then
  470. Msh.MeshType = MeshType
  471. Msh.MeshId = MeshId
  472. end
  473. return Msh
  474. end
  475. },
  476. Mesh = {
  477. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  478. local Msh = Create(Mesh)({
  479. Parent = Part,
  480. Offset = OffSet,
  481. Scale = Scale
  482. })
  483. if Mesh == "SpecialMesh" then
  484. Msh.MeshType = MeshType
  485. Msh.MeshId = MeshId
  486. end
  487. return Msh
  488. end
  489. },
  490. Weld = {
  491. Create = function(Parent, Part0, Part1, C0, C1)
  492. local Weld = Create("Weld")({
  493. Parent = Parent,
  494. Part0 = Part0,
  495. Part1 = Part1,
  496. C0 = C0,
  497. C1 = C1
  498. })
  499. return Weld
  500. end
  501. },
  502. Sound = {
  503. Create = function(id, par, vol, pit)
  504. coroutine.resume(coroutine.create(function()
  505. local S = Create("Sound")({
  506. Volume = vol,
  507. Pitch = pit or 1,
  508. SoundId = id,
  509. Parent = par or workspace
  510. })
  511. wait()
  512. S:play()
  513. game:GetService("Debris"):AddItem(S, 6)
  514. end))
  515. end
  516. },
  517. ParticleEmitter = {
  518. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  519. local fp = Create("ParticleEmitter")({
  520. Parent = Parent,
  521. Color = ColorSequence.new(Color1, Color2),
  522. LightEmission = LightEmission,
  523. Size = Size,
  524. Texture = Texture,
  525. Transparency = Transparency,
  526. ZOffset = ZOffset,
  527. Acceleration = Accel,
  528. Drag = Drag,
  529. LockedToPart = LockedToPart,
  530. VelocityInheritance = VelocityInheritance,
  531. EmissionDirection = EmissionDirection,
  532. Enabled = Enabled,
  533. Lifetime = LifeTime,
  534. Rate = Rate,
  535. Rotation = Rotation,
  536. RotSpeed = RotSpeed,
  537. Speed = Speed,
  538. VelocitySpread = VelocitySpread
  539. })
  540. return fp
  541. end
  542. }
  543. }
  544. function RemoveOutlines(part)
  545. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  546. end
  547. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  548. local Part = Create("Part")({
  549. formFactor = FormFactor,
  550. Parent = Parent,
  551. Reflectance = Reflectance,
  552. Transparency = Transparency,
  553. CanCollide = false,
  554. Locked = true,
  555. BrickColor = BrickColor.new(tostring(BColor)),
  556. Name = Name,
  557. Size = Size,
  558. Material = Material
  559. })
  560. RemoveOutlines(Part)
  561. return Part
  562. end
  563. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  564. local Msh = Create(Mesh)({
  565. Parent = Part,
  566. Offset = OffSet,
  567. Scale = Scale
  568. })
  569. if Mesh == "SpecialMesh" then
  570. Msh.MeshType = MeshType
  571. Msh.MeshId = MeshId
  572. end
  573. return Msh
  574. end
  575. function CreateWeld(Parent, Part0, Part1, C0, C1)
  576. local Weld = Create("Weld")({
  577. Parent = Parent,
  578. Part0 = Part0,
  579. Part1 = Part1,
  580. C0 = C0,
  581. C1 = C1
  582. })
  583. return Weld
  584. end
  585.  
  586.  
  587. -------------------------------------------------------
  588. --Start Effect Function--
  589. -------------------------------------------------------
  590. EffectModel = Instance.new("Model", char)
  591. Effects = {
  592. Block = {
  593. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  594. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  595. prt.Anchored = true
  596. prt.CFrame = cframe
  597. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  598. game:GetService("Debris"):AddItem(prt, 10)
  599. if Type == 1 or Type == nil then
  600. table.insert(Effects, {
  601. prt,
  602. "Block1",
  603. delay,
  604. x3,
  605. y3,
  606. z3,
  607. msh
  608. })
  609. elseif Type == 2 then
  610. table.insert(Effects, {
  611. prt,
  612. "Block2",
  613. delay,
  614. x3,
  615. y3,
  616. z3,
  617. msh
  618. })
  619. else
  620. table.insert(Effects, {
  621. prt,
  622. "Block3",
  623. delay,
  624. x3,
  625. y3,
  626. z3,
  627. msh
  628. })
  629. end
  630. end
  631. },
  632. Sphere = {
  633. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  634. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  635. prt.Anchored = true
  636. prt.CFrame = cframe
  637. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  638. game:GetService("Debris"):AddItem(prt, 10)
  639. table.insert(Effects, {
  640. prt,
  641. "Cylinder",
  642. delay,
  643. x3,
  644. y3,
  645. z3,
  646. msh
  647. })
  648. end
  649. },
  650. Cylinder = {
  651. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  652. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  653. prt.Anchored = true
  654. prt.CFrame = cframe
  655. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  656. game:GetService("Debris"):AddItem(prt, 10)
  657. table.insert(Effects, {
  658. prt,
  659. "Cylinder",
  660. delay,
  661. x3,
  662. y3,
  663. z3,
  664. msh
  665. })
  666. end
  667. },
  668. Wave = {
  669. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  670. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  671. prt.Anchored = true
  672. prt.CFrame = cframe
  673. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  674. game:GetService("Debris"):AddItem(prt, 10)
  675. table.insert(Effects, {
  676. prt,
  677. "Cylinder",
  678. delay,
  679. x3 / 60,
  680. y3 / 60,
  681. z3 / 60,
  682. msh
  683. })
  684. end
  685. },
  686. Ring = {
  687. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  688. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  689. prt.Anchored = true
  690. prt.CFrame = cframe
  691. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  692. game:GetService("Debris"):AddItem(prt, 10)
  693. table.insert(Effects, {
  694. prt,
  695. "Cylinder",
  696. delay,
  697. x3,
  698. y3,
  699. z3,
  700. msh
  701. })
  702. end
  703. },
  704. Break = {
  705. Create = function(brickcolor, cframe, x1, y1, z1)
  706. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  707. prt.Anchored = true
  708. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  709. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. local num = math.random(10, 50) / 1000
  711. game:GetService("Debris"):AddItem(prt, 10)
  712. table.insert(Effects, {
  713. prt,
  714. "Shatter",
  715. num,
  716. prt.CFrame,
  717. math.random() - math.random(),
  718. 0,
  719. math.random(50, 100) / 100
  720. })
  721. end
  722. },
  723. Spiral = {
  724. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  725. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  726. prt.Anchored = true
  727. prt.CFrame = cframe
  728. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  729. game:GetService("Debris"):AddItem(prt, 10)
  730. table.insert(Effects, {
  731. prt,
  732. "Cylinder",
  733. delay,
  734. x3,
  735. y3,
  736. z3,
  737. msh
  738. })
  739. end
  740. },
  741. Push = {
  742. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  743. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  744. prt.Anchored = true
  745. prt.CFrame = cframe
  746. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  747. game:GetService("Debris"):AddItem(prt, 10)
  748. table.insert(Effects, {
  749. prt,
  750. "Cylinder",
  751. delay,
  752. x3,
  753. y3,
  754. z3,
  755. msh
  756. })
  757. end
  758. }
  759. }
  760. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  761. local fp = IT("Part")
  762. fp.formFactor = formfactor
  763. fp.Parent = parent
  764. fp.Reflectance = reflectance
  765. fp.Transparency = transparency
  766. fp.CanCollide = false
  767. fp.Locked = true
  768. fp.BrickColor = brickcolor
  769. fp.Name = name
  770. fp.Size = size
  771. fp.Position = tors.Position
  772. RemoveOutlines(fp)
  773. fp.Material = "SmoothPlastic"
  774. fp:BreakJoints()
  775. return fp
  776. end
  777.  
  778. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  779. local mesh = IT(Mesh)
  780. mesh.Parent = part
  781. if Mesh == "SpecialMesh" then
  782. mesh.MeshType = meshtype
  783. if meshid ~= "nil" then
  784. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  785. end
  786. end
  787. mesh.Offset = offset
  788. mesh.Scale = scale
  789. return mesh
  790. end
  791.  
  792. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  793. local type = type
  794. local rng = Instance.new("Part", char)
  795. rng.Anchored = true
  796. rng.BrickColor = color
  797. rng.CanCollide = false
  798. rng.FormFactor = 3
  799. rng.Name = "Ring"
  800. rng.Material = "Neon"
  801. rng.Size = Vector3.new(1, 1, 1)
  802. rng.Transparency = 0
  803. rng.TopSurface = 0
  804. rng.BottomSurface = 0
  805. rng.CFrame = pos
  806. local rngm = Instance.new("SpecialMesh", rng)
  807. rngm.MeshType = MType
  808. rngm.Scale = scale
  809. local scaler2 = 1
  810. if type == "Add" then
  811. scaler2 = 1 * value
  812. elseif type == "Divide" then
  813. scaler2 = 1 / value
  814. end
  815. coroutine.resume(coroutine.create(function()
  816. for i = 0, 10 / bonuspeed, 0.1 do
  817. swait()
  818. if type == "Add" then
  819. scaler2 = scaler2 - 0.01 * value / bonuspeed
  820. elseif type == "Divide" then
  821. scaler2 = scaler2 - 0.01 / value * bonuspeed
  822. end
  823. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  824. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  825. end
  826. rng:Destroy()
  827. end))
  828. end
  829.  
  830. function Eviscerate(dude)
  831. if dude.Name ~= char then
  832. local bgf = IT("BodyGyro", dude.Head)
  833. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  834. local val = IT("BoolValue", dude)
  835. val.Name = "IsHit"
  836. local ds = coroutine.wrap(function()
  837. dude:WaitForChild("Head"):BreakJoints()
  838. wait(0.5)
  839. target = nil
  840. coroutine.resume(coroutine.create(function()
  841. for i, v in pairs(dude:GetChildren()) do
  842. if v:IsA("Accessory") then
  843. v:Destroy()
  844. end
  845. if v:IsA("Humanoid") then
  846. v:Destroy()
  847. end
  848. if v:IsA("CharacterMesh") then
  849. v:Destroy()
  850. end
  851. if v:IsA("Model") then
  852. v:Destroy()
  853. end
  854. if v:IsA("Part") or v:IsA("MeshPart") then
  855. for x, o in pairs(v:GetChildren()) do
  856. if o:IsA("Decal") then
  857. o:Destroy()
  858. end
  859. end
  860. coroutine.resume(coroutine.create(function()
  861. v.Material = "Neon"
  862. v.CanCollide = false
  863. local PartEmmit1 = IT("ParticleEmitter", v)
  864. PartEmmit1.LightEmission = 1
  865. PartEmmit1.Texture = "rbxassetid://1523916715"
  866. PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
  867. PartEmmit1.Rate = 150
  868. PartEmmit1.Lifetime = NumberRange.new(1)
  869. PartEmmit1.Size = NumberSequence.new({
  870. NumberSequenceKeypoint.new(0, 0.75, 0),
  871. NumberSequenceKeypoint.new(1, 0, 0)
  872. })
  873. PartEmmit1.Transparency = NumberSequence.new({
  874. NumberSequenceKeypoint.new(0, 0, 0),
  875. NumberSequenceKeypoint.new(1, 1, 0)
  876. })
  877. PartEmmit1.Speed = NumberRange.new(0, 0)
  878. PartEmmit1.VelocitySpread = 30000
  879. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  880. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  881. local BodPoss = IT("BodyPosition", v)
  882. BodPoss.P = 3000
  883. BodPoss.D = 1000
  884. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  885. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  886. v.Color = maincolor.Color
  887. coroutine.resume(coroutine.create(function()
  888. for i = 0, 49 do
  889. swait(1)
  890. v.Transparency = v.Transparency + 0.08
  891. end
  892. wait(0.5)
  893. PartEmmit1.Enabled = false
  894. wait(3)
  895. v:Destroy()
  896. dude:Destroy()
  897. end))
  898. end))
  899. end
  900. end
  901. end))
  902. end)
  903. ds()
  904. end
  905. end
  906.  
  907. function FindNearestHead(Position, Distance, SinglePlayer)
  908. if SinglePlayer then
  909. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  910. end
  911. local List = {}
  912. for i, v in pairs(workspace:GetChildren()) do
  913. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  914. table.insert(List, v)
  915. end
  916. end
  917. return List
  918. end
  919.  
  920. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  921. local type = type
  922. local rng = Instance.new("Part", char)
  923. rng.Anchored = true
  924. rng.BrickColor = color
  925. rng.CanCollide = false
  926. rng.FormFactor = 3
  927. rng.Name = "Ring"
  928. rng.Material = "Neon"
  929. rng.Size = Vector3.new(1, 1, 1)
  930. rng.Transparency = 0
  931. rng.TopSurface = 0
  932. rng.BottomSurface = 0
  933. rng.CFrame = pos
  934. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  935. local rngm = Instance.new("SpecialMesh", rng)
  936. rngm.MeshType = MType
  937. rngm.Scale = Vector3.new(x1, y1, z1)
  938. local scaler2 = 1
  939. local speeder = FastSpeed
  940. if type == "Add" then
  941. scaler2 = 1 * value
  942. elseif type == "Divide" then
  943. scaler2 = 1 / value
  944. end
  945. coroutine.resume(coroutine.create(function()
  946. for i = 0, 10 / bonuspeed, 0.1 do
  947. swait()
  948. if type == "Add" then
  949. scaler2 = scaler2 - 0.01 * value / bonuspeed
  950. elseif type == "Divide" then
  951. scaler2 = scaler2 - 0.01 / value * bonuspeed
  952. end
  953. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  954. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  955. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  956. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  957. end
  958. rng:Destroy()
  959. end))
  960. end
  961.  
  962. function SoulSteal(dude)
  963. if dude.Name ~= char then
  964. local bgf = IT("BodyGyro", dude.Head)
  965. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  966. local val = IT("BoolValue", dude)
  967. val.Name = "IsHit"
  968. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  969. local soulst = coroutine.wrap(function()
  970. local soul = Instance.new("Part",dude)
  971. soul.Size = Vector3.new(1,1,1)
  972. soul.CanCollide = false
  973. soul.Anchored = false
  974. soul.Position = torso.Position
  975. soul.Transparency = 1
  976. local PartEmmit1 = IT("ParticleEmitter", soul)
  977. PartEmmit1.LightEmission = 1
  978. PartEmmit1.Texture = "rbxassetid://569507414"
  979. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  980. PartEmmit1.Rate = 250
  981. PartEmmit1.Lifetime = NumberRange.new(1.6)
  982. PartEmmit1.Size = NumberSequence.new({
  983. NumberSequenceKeypoint.new(0, 1, 0),
  984. NumberSequenceKeypoint.new(1, 0, 0)
  985. })
  986. PartEmmit1.Transparency = NumberSequence.new({
  987. NumberSequenceKeypoint.new(0, 0, 0),
  988. NumberSequenceKeypoint.new(1, 1, 0)
  989. })
  990. PartEmmit1.Speed = NumberRange.new(0, 0)
  991. PartEmmit1.VelocitySpread = 30000
  992. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  993. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  994. local BodPoss = IT("BodyPosition", soul)
  995. BodPoss.P = 3000
  996. BodPoss.D = 1000
  997. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  998. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  999. wait(1.6)
  1000. soul.Touched:connect(function(hit)
  1001. if hit.Parent == char then
  1002. soul:Destroy()
  1003. end
  1004. end)
  1005. wait(1.2)
  1006. while soul do
  1007. swait()
  1008. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1009. BodPoss.Position = tors.Position
  1010. end
  1011. end)
  1012. soulst()
  1013. end
  1014. end
  1015. function FaceMouse()
  1016. local Cam = workspace.CurrentCamera
  1017. return {
  1018. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1019. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1020. }
  1021. end
  1022. -------------------------------------------------------
  1023. --End Effect Function--
  1024. -------------------------------------------------------
  1025. function Cso(ID, PARENT, VOLUME, PITCH)
  1026. local NSound = nil
  1027. coroutine.resume(coroutine.create(function()
  1028. NSound = IT("Sound", PARENT)
  1029. NSound.Volume = VOLUME
  1030. NSound.Pitch = PITCH
  1031. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1032. swait()
  1033. NSound:play()
  1034. game:GetService("Debris"):AddItem(NSound, 10)
  1035. end))
  1036. return NSound
  1037. end
  1038. function CameraEnshaking(Length, Intensity)
  1039. coroutine.resume(coroutine.create(function()
  1040. local intensity = 1 * Intensity
  1041. local rotM = 0.01 * Intensity
  1042. for i = 0, Length, 0.1 do
  1043. swait()
  1044. intensity = intensity - 0.05 * Intensity / Length
  1045. rotM = rotM - 5.0E-4 * Intensity / Length
  1046. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1047. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1048. end
  1049. hum.CameraOffset = Vector3.new(0, 0, 0)
  1050. end))
  1051. end
  1052.  
  1053. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1054. local NEWMESH = Instance.new(MESH)
  1055. if MESH == "SpecialMesh" then
  1056. NEWMESH.MeshType = MESHTYPE
  1057. if MESHID ~= "nil" and MESHID ~= "" then
  1058. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1059. end
  1060. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1061. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1062. end
  1063. end
  1064. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1065. NEWMESH.Scale = SCALE
  1066. NEWMESH.Parent = PARENT
  1067. return NEWMESH
  1068. end
  1069.  
  1070. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1071. local NEWPART = Instance.new("Part")
  1072. NEWPART.formFactor = FORMFACTOR
  1073. NEWPART.Reflectance = REFLECTANCE
  1074. NEWPART.Transparency = TRANSPARENCY
  1075. NEWPART.CanCollide = false
  1076. NEWPART.Locked = true
  1077. NEWPART.Anchored = true
  1078. if ANCHOR == false then
  1079. NEWPART.Anchored = false
  1080. end
  1081. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1082. NEWPART.Name = NAME
  1083. NEWPART.Size = SIZE
  1084. NEWPART.Position = tors.Position
  1085. NEWPART.Material = MATERIAL
  1086. NEWPART:BreakJoints()
  1087. NEWPART.Parent = PARENT
  1088. return NEWPART
  1089. end
  1090.  
  1091. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1092. local frame = IT("Frame")
  1093. frame.BackgroundTransparency = TRANSPARENCY
  1094. frame.BorderSizePixel = BORDERSIZEPIXEL
  1095. frame.Position = POSITION
  1096. frame.Size = SIZE
  1097. frame.BackgroundColor3 = COLOR
  1098. frame.BorderColor3 = BORDERCOLOR
  1099. frame.Name = NAME
  1100. frame.Parent = PARENT
  1101. return frame
  1102. end
  1103.  
  1104. UD2 = UDim2.new
  1105.  
  1106. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1107. local label = IT("TextLabel")
  1108. label.BackgroundTransparency = 1
  1109. label.Size = UD2(1, 0, 1, 0)
  1110. label.Position = UD2(0, 0, 0, 0)
  1111. label.TextColor3 = TEXTCOLOR
  1112. label.TextStrokeTransparency = STROKETRANSPARENCY
  1113. label.TextTransparency = TRANSPARENCY
  1114. label.FontSize = TEXTFONTSIZE
  1115. label.Font = TEXTFONT
  1116. label.BorderSizePixel = BORDERSIZEPIXEL
  1117. label.TextScaled = false
  1118. label.Text = TEXT
  1119. label.Name = NAME
  1120. label.Parent = PARENT
  1121. return label
  1122. end
  1123.  
  1124. local Particle = IT("ParticleEmitter",nil)
  1125. Particle.Enabled = false
  1126. Particle.LightEmission = 0.2
  1127. Particle.Rate = 150
  1128. Particle.ZOffset = 1
  1129. Particle.Rotation = NumberRange.new(-180, 180)
  1130.  
  1131. function ParticleEmitter(Table)
  1132. local PRTCL = Particle:Clone()
  1133. local Color1 = Table.Color1 or Color3.new(1,1,1)
  1134. local Color2 = Table.Color2 or Color3.new(1,1,1)
  1135. local Speed = Table.Speed or 5
  1136. local Drag = Table.Drag or 0
  1137. local Size1 = Table.Size1 or 1
  1138. local Size2 = Table.Size2 or 5
  1139. local Lifetime1 = Table.Lifetime1 or 1
  1140. local Lifetime2 = Table.Lifetime2 or 1.5
  1141. local Parent = Table.Parent or tors
  1142. local Emit = Table.Emit or 100
  1143. local Offset = Table.Offset or 360
  1144. local Acel = Table.Acel or Vector3.new(0,0,0)
  1145. local Enabled = Table.Enabled or false
  1146. local Texture = Table.Texture or "281983280"
  1147. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  1148. local Trans1 = Table.Transparency1 or 0
  1149. local Trans2 = Table.Transparency2 or 0
  1150. PRTCL.Parent = Parent
  1151. PRTCL.RotSpeed = RotS
  1152. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  1153. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  1154. PRTCL.Color = ColorSequence.new(Color1,Color2)
  1155. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1156. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1157. PRTCL.Speed = NumberRange.new(Speed)
  1158. PRTCL.VelocitySpread = Offset
  1159. PRTCL.Drag = Drag
  1160. PRTCL.Acceleration = Acel
  1161. if Enabled == false then
  1162. PRTCL:Emit(Emit)
  1163. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  1164. else
  1165. PRTCL.Enabled = true
  1166. end
  1167. return PRTCL
  1168. end
  1169. -------------------------------------------------------
  1170. --End Important Functions--
  1171. -------------------------------------------------------
  1172.  
  1173.  
  1174. -------------------------------------------------------
  1175. --Start Customization--
  1176. -------------------------------------------------------
  1177. local Player_Size = 1.4
  1178. if Player_Size ~= 1 then
  1179. root.Size = root.Size * Player_Size
  1180. tors.Size = tors.Size * Player_Size
  1181. hed.Size = hed.Size * Player_Size
  1182. ra.Size = ra.Size * Player_Size
  1183. la.Size = la.Size * Player_Size
  1184. rl.Size = rl.Size * Player_Size
  1185. ll.Size = ll.Size * Player_Size
  1186. ----------------------------------------------------------------------------------
  1187. rootj.Parent = root
  1188. neck.Parent = tors
  1189. RW.Parent = tors
  1190. LW.Parent = tors
  1191. RH.Parent = tors
  1192. LH.Parent = tors
  1193. ----------------------------------------------------------------------------------
  1194. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1195. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1196. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1197. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1198. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1199. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1200. ----------------------------------------------------------------------------------
  1201. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1202. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1203. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1204. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1205. --hat.Parent = Character
  1206. end
  1207. ----------------------------------------------------------------------------------
  1208. local SONG = 1066344174
  1209. local SONG2 = 0
  1210. local Music = Instance.new("Sound",tors)
  1211. Music.Volume = 2.5
  1212. Music.Looped = true
  1213. Music.Pitch = 1 --Pitcher
  1214. ----------------------------------------------------------------------------------
  1215. local equipped = false
  1216. local idle = 0
  1217. local change = 1
  1218. local val = 0
  1219. local toim = 0
  1220. local idleanim = 0.4
  1221. local sine = 0
  1222. local Sit = 1
  1223. local VALUE1 = false
  1224. local VALUE2 = false
  1225. local HOLD = false
  1226. local KEYHOLD = false
  1227. ----------------------------------------------------------------------------------
  1228. hum.WalkSpeed = 18
  1229. hum.JumpPower = 130
  1230. hum.Animator.Parent = nil
  1231. ----------------------------------------------------------------------------------
  1232. local naeeym2 = IT("BillboardGui",char)
  1233. naeeym2.AlwaysOnTop = true
  1234. naeeym2.Size = UDim2.new(5,35,2,15)
  1235. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1236. naeeym2.MaxDistance = 75
  1237. naeeym2.Adornee = hed
  1238. naeeym2.Name = "Name"
  1239. --naeeym2.PlayerToHideFrom = Player
  1240. local tecks2 = IT("TextLabel",naeeym2)
  1241. tecks2.BackgroundTransparency = 1
  1242. tecks2.TextScaled = true
  1243. tecks2.BorderSizePixel = 0
  1244. tecks2.Text = "Blight"
  1245. tecks2.Font = "Fantasy"
  1246. tecks2.TextSize = 30
  1247. tecks2.TextStrokeTransparency = 0
  1248. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  1249. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1250. tecks2.Size = UDim2.new(1,0,0.5,0)
  1251. tecks2.Parent = naeeym2
  1252. local top = Instance.new("Shirt")
  1253. top.ShirtTemplate = "rbxassetid://228794266"
  1254. top.Parent = char
  1255. top.Name = "Cloth"
  1256. local bottom = Instance.new("Pants")
  1257. bottom.PantsTemplate = "rbxassetid://228794877"
  1258. bottom.Parent = char
  1259. bottom.Name = "Cloth"
  1260. Reaper = IT("Model")
  1261. Reaper.Parent = char
  1262. Reaper.Name = "Reaper"
  1263. RHe = IT("Part")
  1264. RHe.Parent = Reaper
  1265. RHe.BrickColor = BrickColor.new("Really black")
  1266. RHe.Locked = true
  1267. RHe.CanCollide = false
  1268. RHe.Transparency = 0
  1269. PMesh = IT("SpecialMesh")
  1270. RHe.formFactor = "Symmetric"
  1271. PMesh.MeshType = "FileMesh"
  1272. PMesh.MeshId = "rbxassetid://124631026"
  1273. PMesh.TextureId = "rbxassetid://151576107"
  1274. PMesh.Scale = Vector3.new(3.01, 3.01, 3.01)
  1275. PMesh.Parent = RHe
  1276. local RWeld = IT("Weld")
  1277. RWeld.Parent = RHe
  1278. RWeld.Part0 = RHe
  1279. RWeld.Part1 = hed
  1280. RWeld.C0 = CF(0, 1.5, 0) * angles(0, 0, 0)
  1281. hed.face:Remove()
  1282. ----------------------------------------------------------------------------------
  1283. PlayerGui = plr.PlayerGui
  1284. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1285. WEAPONGUI.Name = "Weapon GUI"
  1286.  
  1287. local SKILLTEXTCOLOR = Color3.new(0,0,0)
  1288. local SKILLFONT = "Antique"
  1289. local SKILLTEXTSIZE = 6
  1290.  
  1291. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
  1292. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
  1293. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
  1294. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
  1295. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
  1296.  
  1297. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shadow's Victory", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1298. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eruption", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1299. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1300. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Death's Wish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  1301. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Shadows Whisper", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
  1302. -------------------------------------------------------
  1303. --End Customization--
  1304. -------------------------------------------------------
  1305.  
  1306.  
  1307. -------------------------------------------------------
  1308. --Start Attacks N Stuff--
  1309. -------------------------------------------------------
  1310. function Shadom_Circle()
  1311.  
  1312. end
  1313. function Flame_Burst()
  1314. local target = nil
  1315. local targettorso = nil
  1316. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1317. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1318. target = mouse.Target.Parent.Humanoid
  1319. target2 = mouse.Target.Parent
  1320. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1321. end
  1322. end
  1323. if target ~= nil then
  1324. attack = true
  1325. hum.WalkSpeed = 0
  1326. for i = 0, 3.4, 0.1 do
  1327. swait()
  1328. hum.WalkSpeed = 0
  1329. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
  1330. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
  1331. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1332. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1333. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-15), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1334. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1335. end
  1336. --ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
  1337. --targettorso:BreakJoints()
  1338. for i = 0, 3.4, 0.1 do
  1339. swait()
  1340. hum.WalkSpeed = 0
  1341. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
  1342. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
  1343. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
  1344. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1345. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1346. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1347. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1348. end
  1349. for i, v in pairs(target2:GetChildren()) do
  1350. if(not char:IsAncestorOf(v))then
  1351. local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1352. local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
  1353. if(hum and hedder and hum.Health > 0)then
  1354. Eviscerate(v.Parent)
  1355. end
  1356. end
  1357. end
  1358. attack = false
  1359. hum.WalkSpeed = 18
  1360. end
  1361. end
  1362. function Ritual()
  1363. attack = true
  1364. hum.WalkSpeed = 0
  1365. VALUE2 = true
  1366. repeat
  1367. ---Pose1
  1368. for i = 0, 2.6, 0.1 do
  1369. swait()
  1370. hum.WalkSpeed = 0
  1371. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  1372. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
  1373. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1374. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1375. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1376. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
  1377. end
  1378. for i = 0, 3.4, 0.1 do
  1379. swait()
  1380. hum.WalkSpeed = 0
  1381. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  1382. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  1383. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.3 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1384. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1385. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1386. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1387. end
  1388. ---Pose2
  1389. for i = 0, 2.6, 0.1 do
  1390. swait()
  1391. hum.WalkSpeed = 0
  1392. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  1393. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
  1394. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1395. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1396. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1397. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
  1398. end
  1399. for i = 0, 3.4, 0.1 do
  1400. swait()
  1401. hum.WalkSpeed = 0
  1402. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  1403. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  1404. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1405. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.3 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1406. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1407. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1408. end
  1409. until VALUE2 == false
  1410. attack = false
  1411. hum.WalkSpeed = 18
  1412. end
  1413. -------------------------------------------------------
  1414. --End Attacks N Stuff--
  1415. -------------------------------------------------------
  1416. mouse.KeyDown:connect(function(key)
  1417. if (VALUE1 == false and attack == false) or VALUE2 == true then
  1418. if key == "q" then
  1419. if VALUE2 == false then
  1420. Ritual()
  1421. elseif VALUE2 == true then
  1422. VALUE2 = false
  1423. end
  1424. end
  1425. end
  1426. if attack == false then
  1427. if key == 't' then
  1428. Cso("907332040", hed, 10, 1.1)
  1429. elseif key == 'z' then
  1430. Shadom_Circle()
  1431. elseif key == 'b' then
  1432. Flame_Burst()
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. mouse.KeyDown:connect(function(key)
  1438. if string.byte(key) == 48 then
  1439. Swing = 2
  1440. hum.WalkSpeed = 38.82
  1441. end
  1442. end)
  1443. mouse.KeyUp:connect(function(key)
  1444. if string.byte(key) == 48 then
  1445. Swing = 1
  1446. hum.WalkSpeed = 18
  1447. end
  1448. end)
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455. -------------------------------------------------------
  1456. --Start Animations--
  1457. -------------------------------------------------------
  1458. while true do
  1459. swait()
  1460. sine = sine + change
  1461. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1462. local velderp = root.Velocity.y
  1463. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1464. if equipped == true or equipped == false then
  1465. if attack == false then
  1466. idle = idle + 1
  1467. else
  1468. idle = 0
  1469. end
  1470. if 1 < root.Velocity.y and hitfloor == nil then
  1471. Anim = "Jump"
  1472. if attack == false then
  1473. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1474. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1475. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1476. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1477. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1478. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1479. end
  1480. elseif -1 > root.Velocity.y and hitfloor == nil then
  1481. Anim = "Fall"
  1482. if attack == false then
  1483. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-24), Rad(0), Rad(0)), 0.15)
  1484. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1485. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(50)), 0.15)
  1486. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(40)), 0.15)
  1487. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(75 + 4.5 * Sin(sine / 20))), 0.1)
  1488. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-75 - 4.5 * Sin(sine / 20))), 0.1)
  1489. end
  1490. elseif torvel < 1 and hitfloor ~= nil then
  1491. Anim = "Idle"
  1492. change = 1
  1493. if attack == false then
  1494. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1495. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
  1496. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1497. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1498. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  1499. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
  1500. end
  1501. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1502. Anim = "Walk"
  1503. change = 1
  1504. if attack == false then
  1505. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1506. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1507. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, 0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size) * angles(Rad(-15 - 35 * 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)
  1508. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -0.8 * Player_Size + 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, -0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size) * angles(Rad(-15 + 35 * 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)
  1509. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(65) * Cos(sine / 7), Rad(-.6), Rad(15 + 4.5 * Sin(sine / 12))), 0.1)
  1510. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-65) * Cos(sine / 7), Rad(-.6), Rad(-15 - 4.5 * Sin(sine / 12))), 0.1)
  1511. end
  1512. elseif torvel >= 25 and hitfloor ~= nil then
  1513. Anim = "Sprint"
  1514. change = 1.35
  1515. if attack == false then
  1516. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1517. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1518. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * 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)
  1519. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * 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)
  1520. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1521. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1522. end
  1523. end
  1524. end
  1525. for _, c in pairs(char:GetChildren()) do
  1526. if c.ClassName == "Part" and c.Name ~= "Detail" and c.Name ~= "Add-ons" then
  1527. c.Material = "Fabric"
  1528. if c:FindFirstChildOfClass("ParticleEmitter") then
  1529. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1530. end
  1531. if c ~= hed then
  1532. c.Color = Color3.new(0, 0, 0)
  1533. else
  1534. c.Color = Color3.new(0, 0, 0)
  1535. end
  1536. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1537. c:remove()
  1538. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1539. c:remove()
  1540. end
  1541. end
  1542. Music.SoundId = "rbxassetid://"..SONG
  1543. Music.Looped = true
  1544. Music.Pitch = 1
  1545. Music.Volume = 5
  1546. Music.Parent = tors
  1547. Music:Resume()
  1548. if 0 < #Effects then
  1549. for e = 1, #Effects do
  1550. if Effects[e] ~= nil then
  1551. local Thing = Effects[e]
  1552. if Thing ~= nil then
  1553. local Part = Thing[1]
  1554. local Mode = Thing[2]
  1555. local Delay = Thing[3]
  1556. local IncX = Thing[4]
  1557. local IncY = Thing[5]
  1558. local IncZ = Thing[6]
  1559. if 1 >= Thing[1].Transparency then
  1560. if Thing[2] == "Block1" then
  1561. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1562. local Mesh = Thing[1].Mesh
  1563. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1564. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1565. elseif Thing[2] == "Block2" then
  1566. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1567. local Mesh = Thing[7]
  1568. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1569. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1570. elseif Thing[2] == "Block3" then
  1571. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1572. local Mesh = Thing[7]
  1573. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1574. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1575. elseif Thing[2] == "Cylinder" then
  1576. local Mesh = Thing[1].Mesh
  1577. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1578. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1579. elseif Thing[2] == "Blood" then
  1580. local Mesh = Thing[7]
  1581. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1582. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1583. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1584. elseif Thing[2] == "Elec" then
  1585. local Mesh = Thing[1].Mesh
  1586. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1587. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1588. elseif Thing[2] == "Disappear" then
  1589. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1590. elseif Thing[2] == "Shatter" then
  1591. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1592. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1593. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1594. Thing[6] = Thing[6] + Thing[5]
  1595. end
  1596. else
  1597. Part.Parent = nil
  1598. table.remove(Effects, e)
  1599. end
  1600. end
  1601. end
  1602. end
  1603. end
  1604. end
  1605. -------------------------------------------------------
  1606. --End Animations And Script--
  1607. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement