Advertisement
Guest User

JVFUJHKDJBSVJDKILOPN

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