Advertisement
Im_Meme

Rainbow Blight

Jul 26th, 2018
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.82 KB | None | 0 0
  1.  
  2. -----------------------
  3. --[[ Name : Blight ]]--
  4. -------------------------------------------------------
  5. --A script By makhail07
  6.  
  7. --Discord Creterisk#2958
  8.  
  9. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  10. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  11. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  12. --YOU FUCKING SKIDS,
  13. --For Those who log/decompile this, If you sell or trade this,
  14. --and I find out who you are, i will take massive action.
  15.  
  16. -------------------------------------------------------
  17.  
  18. local FavIDs = {
  19. 340106355, --Nefl Crystals
  20. 927529620, --Dimension
  21. 876981900, --Fantasy
  22. 398987889, --Ordinary Days
  23. 1117396305, --Oh wait, it's you.
  24. 885996042, --Action Winter Journey
  25. 919231299, --Sprawling Idiot Effigy
  26. 743466274, --Good Day Sunshine
  27. 727411183, --Knife Fight
  28. 1402748531, --The Earth Is Counting On You!
  29. 595230126 --Robot Language
  30. }
  31.  
  32.  
  33.  
  34. --The reality of my life isn't real but a Universe -makhail07
  35. wait()
  36. local plr = game:service'Players'.LocalPlayer
  37. print('Local User is '..plr.Name)
  38. print('Blight Loaded')
  39. print('Let justice be done, though the heavens fall.')
  40. local char = plr.Character
  41. local hum = char.Humanoid
  42. local hed = char.Head
  43. local root = char.HumanoidRootPart
  44. local rootj = root.RootJoint
  45. local tors = char.Torso
  46. local ra = char["Right Arm"]
  47. local la = char["Left Arm"]
  48. local rl = char["Right Leg"]
  49. local ll = char["Left Leg"]
  50. local neck = tors["Neck"]
  51. local transs = false
  52. local mouse = plr:GetMouse()
  53. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  54. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  55. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  56. local maincolor = BrickColor.new("Really black")
  57.  
  58. -------------------------------------------------------
  59. --Start Good Stuff--
  60. -------------------------------------------------------
  61. cam = game.Workspace.CurrentCamera
  62. CF = CFrame.new
  63. angles = CFrame.Angles
  64. attack = false
  65. Euler = CFrame.fromEulerAnglesXYZ
  66. Rad = math.rad
  67. IT = Instance.new
  68. BrickC = BrickColor.new
  69. Cos = math.cos
  70. Acos = math.acos
  71. Sin = math.sin
  72. Asin = math.asin
  73. Abs = math.abs
  74. Mrandom = math.random
  75. Floor = math.floor
  76. -------------------------------------------------------
  77. --End Good Stuff--
  78. -------------------------------------------------------
  79. local BACKATTACHMENT1 = IT("Attachment", Torso)
  80. BACKATTACHMENT1.Position = Vector3.new(0.5, 0.5, 0.75)
  81. local BACKATTACHMENT2 = IT("Attachment", Torso)
  82. BACKATTACHMENT2.Position = Vector3.new(-0.5, 0.5, 0.75)
  83.  
  84. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  85. RSH, LSH = nil, nil
  86. RW = Instance.new("Weld")
  87. LW = Instance.new("Weld")
  88. RH = tors["Right Hip"]
  89. LH = tors["Left Hip"]
  90. RSH = tors["Right Shoulder"]
  91. LSH = tors["Left Shoulder"]
  92. RSH.Parent = nil
  93. LSH.Parent = nil
  94. RW.Name = "RW"
  95. RW.Part0 = tors
  96. RW.C0 = CF(1.5, 0.5, 0)
  97. RW.C1 = CF(0, 0.5, 0)
  98. RW.Part1 = ra
  99. RW.Parent = tors
  100. LW.Name = "LW"
  101. LW.Part0 = tors
  102. LW.C0 = CF(-1.5, 0.5, 0)
  103. LW.C1 = CF(0, 0.5, 0)
  104. LW.Part1 = la
  105. LW.Parent = tors
  106. Effects = {}
  107.  
  108. IT = Instance.new
  109. CF = CFrame.new
  110. VT = Vector3.new
  111. RAD = math.rad
  112. C3 = Color3.new
  113. UD2 = UDim2.new
  114. BRICKC = BrickColor.new
  115. ANGLES = CFrame.Angles
  116. EULER = CFrame.fromEulerAnglesXYZ
  117. COS = math.cos
  118. ACOS = math.acos
  119. SIN = math.sin
  120. ASIN = math.asin
  121. ABS = math.abs
  122. MRANDOM = math.random
  123. FLOOR = math.floor
  124. Animation_Speed = 3
  125.  
  126.  
  127. -------------------------------------------------------
  128. --Start HeartBeat--
  129. -------------------------------------------------------
  130. ArtificialHB = Instance.new("BindableEvent", script)
  131. ArtificialHB.Name = "Heartbeat"
  132. script:WaitForChild("Heartbeat")
  133.  
  134. frame = 1 / 60
  135. tf = 0
  136. allowframeloss = false
  137. tossremainder = false
  138.  
  139.  
  140. lastframe = tick()
  141. script.Heartbeat:Fire()
  142.  
  143.  
  144. game:GetService("RunService").Heartbeat:connect(function(s, p)
  145. tf = tf + s
  146. if tf >= frame then
  147. if allowframeloss then
  148. script.Heartbeat:Fire()
  149. lastframe = tick()
  150. else
  151. for i = 1, math.floor(tf / frame) do
  152. script.Heartbeat:Fire()
  153. end
  154. lastframe = tick()
  155. end
  156. if tossremainder then
  157. tf = 0
  158. else
  159. tf = tf - frame * math.floor(tf / frame)
  160. end
  161. end
  162. end)
  163. -------------------------------------------------------
  164. --End HeartBeat--
  165. -------------------------------------------------------
  166.  
  167. -------------------------------------------------------
  168. --Start Important Functions--
  169. -------------------------------------------------------
  170. function swait(num)
  171. if num == 0 or num == nil then
  172. game:service("RunService").Stepped:wait(0)
  173. else
  174. for i = 0, num do
  175. game:service("RunService").Stepped:wait(0)
  176. end
  177. end
  178. end
  179. function thread(f)
  180. coroutine.resume(coroutine.create(f))
  181. end
  182. function clerp(a, b, t)
  183. local qa = {
  184. QuaternionFromCFrame(a)
  185. }
  186. local qb = {
  187. QuaternionFromCFrame(b)
  188. }
  189. local ax, ay, az = a.x, a.y, a.z
  190. local bx, by, bz = b.x, b.y, b.z
  191. local _t = 1 - t
  192. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  193. end
  194. function QuaternionFromCFrame(cf)
  195. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  196. local trace = m00 + m11 + m22
  197. if trace > 0 then
  198. local s = math.sqrt(1 + trace)
  199. local recip = 0.5 / s
  200. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  201. else
  202. local i = 0
  203. if m00 < m11 then
  204. i = 1
  205. end
  206. if m22 > (i == 0 and m00 or m11) then
  207. i = 2
  208. end
  209. if i == 0 then
  210. local s = math.sqrt(m00 - m11 - m22 + 1)
  211. local recip = 0.5 / s
  212. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  213. elseif i == 1 then
  214. local s = math.sqrt(m11 - m22 - m00 + 1)
  215. local recip = 0.5 / s
  216. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  217. elseif i == 2 then
  218. local s = math.sqrt(m22 - m00 - m11 + 1)
  219. local recip = 0.5 / s
  220. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  221. end
  222. end
  223. end
  224. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  225. local xs, ys, zs = x + x, y + y, z + z
  226. local wx, wy, wz = w * xs, w * ys, w * zs
  227. local xx = x * xs
  228. local xy = x * ys
  229. local xz = x * zs
  230. local yy = y * ys
  231. local yz = y * zs
  232. local zz = z * zs
  233. 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))
  234. end
  235. function QuaternionSlerp(a, b, t)
  236. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  237. local startInterp, finishInterp
  238. if cosTheta >= 1.0E-4 then
  239. if 1 - cosTheta > 1.0E-4 then
  240. local theta = math.acos(cosTheta)
  241. local invSinTheta = 1 / Sin(theta)
  242. startInterp = Sin((1 - t) * theta) * invSinTheta
  243. finishInterp = Sin(t * theta) * invSinTheta
  244. else
  245. startInterp = 1 - t
  246. finishInterp = t
  247. end
  248. elseif 1 + cosTheta > 1.0E-4 then
  249. local theta = math.acos(-cosTheta)
  250. local invSinTheta = 1 / Sin(theta)
  251. startInterp = Sin((t - 1) * theta) * invSinTheta
  252. finishInterp = Sin(t * theta) * invSinTheta
  253. else
  254. startInterp = t - 1
  255. finishInterp = t
  256. end
  257. 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
  258. end
  259. function rayCast(Position, Direction, Range, Ignore)
  260. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  261. end
  262. local RbxUtility = LoadLibrary("RbxUtility")
  263. local Create = RbxUtility.Create
  264.  
  265. -------------------------------------------------------
  266. --Start Damage Function--
  267. -------------------------------------------------------
  268. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  269. if hit.Parent == nil then
  270. return
  271. end
  272. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  273. for _, v in pairs(hit.Parent:children()) do
  274. if v:IsA("Humanoid") then
  275. h = v
  276. end
  277. end
  278. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  279.  
  280. hit.Parent:FindFirstChild("Head"):BreakJoints()
  281. end
  282.  
  283. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  284. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  285. if hit.Parent.DebounceHit.Value == true then
  286. return
  287. end
  288. end
  289. if insta == true then
  290. hit.Parent:FindFirstChild("Head"):BreakJoints()
  291. end
  292. local c = Create("ObjectValue"){
  293. Name = "creator",
  294. Value = game:service("Players").LocalPlayer,
  295. Parent = h,
  296. }
  297. game:GetService("Debris"):AddItem(c, .5)
  298. if HitSound ~= nil and HitPitch ~= nil then
  299. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  300. end
  301. local Damage = math.random(minim, maxim)
  302. local blocked = false
  303. local block = hit.Parent:findFirstChild("Block")
  304. if block ~= nil then
  305. if block.className == "IntValue" then
  306. if block.Value > 0 then
  307. blocked = true
  308. block.Value = block.Value - 1
  309. print(block.Value)
  310. end
  311. end
  312. end
  313. if blocked == false then
  314. h.Health = h.Health - Damage
  315. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  316. else
  317. h.Health = h.Health - (Damage / 2)
  318. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  319. end
  320. if Type == "Knockdown" then
  321. local hum = hit.Parent.Humanoid
  322. hum.PlatformStand = true
  323. coroutine.resume(coroutine.create(function(HHumanoid)
  324. swait(1)
  325. HHumanoid.PlatformStand = false
  326. end), hum)
  327. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  328. local bodvol = Create("BodyVelocity"){
  329. velocity = angle * knockback,
  330. P = 5000,
  331. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  332. Parent = hit,
  333. }
  334. local rl = Create("BodyAngularVelocity"){
  335. P = 3000,
  336. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  337. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  338. Parent = hit,
  339. }
  340. game:GetService("Debris"):AddItem(bodvol, .5)
  341. game:GetService("Debris"):AddItem(rl, .5)
  342. elseif Type == "Normal" then
  343. local vp = Create("BodyVelocity"){
  344. P = 500,
  345. maxForce = Vector3.new(math.huge, 0, math.huge),
  346. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  347. }
  348. if knockback > 0 then
  349. vp.Parent = hit.Parent.Torso
  350. end
  351. game:GetService("Debris"):AddItem(vp, .5)
  352. elseif Type == "Up" then
  353. local bodyVelocity = Create("BodyVelocity"){
  354. velocity = Vector3.new(0, 20, 0),
  355. P = 5000,
  356. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  357. Parent = hit,
  358. }
  359. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  360. elseif Type == "DarkUp" then
  361. coroutine.resume(coroutine.create(function()
  362. for i = 0, 1, 0.1 do
  363. swait()
  364. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  365. end
  366. end))
  367. local bodyVelocity = Create("BodyVelocity"){
  368. velocity = Vector3.new(0, 20, 0),
  369. P = 5000,
  370. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  371. Parent = hit,
  372. }
  373. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  374. elseif Type == "Snare" then
  375. local bp = Create("BodyPosition"){
  376. P = 2000,
  377. D = 100,
  378. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  379. position = hit.Parent.Torso.Position,
  380. Parent = hit.Parent.Torso,
  381. }
  382. game:GetService("Debris"):AddItem(bp, 1)
  383. elseif Type == "Freeze" then
  384. local BodPos = Create("BodyPosition"){
  385. P = 50000,
  386. D = 1000,
  387. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  388. position = hit.Parent.Torso.Position,
  389. Parent = hit.Parent.Torso,
  390. }
  391. local BodGy = Create("BodyGyro") {
  392. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  393. P = 20e+003,
  394. Parent = hit.Parent.Torso,
  395. cframe = hit.Parent.Torso.CFrame,
  396. }
  397. hit.Parent.Torso.Anchored = true
  398. coroutine.resume(coroutine.create(function(Part)
  399. swait(1.5)
  400. Part.Anchored = false
  401. end), hit.Parent.Torso)
  402. game:GetService("Debris"):AddItem(BodPos, 3)
  403. game:GetService("Debris"):AddItem(BodGy, 3)
  404. end
  405. local debounce = Create("BoolValue"){
  406. Name = "DebounceHit",
  407. Parent = hit.Parent,
  408. Value = true,
  409. }
  410. game:GetService("Debris"):AddItem(debounce, Delay)
  411. c = Create("ObjectValue"){
  412. Name = "creator",
  413. Value = Player,
  414. Parent = h,
  415. }
  416. game:GetService("Debris"):AddItem(c, .5)
  417. end
  418. end
  419.  
  420. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  421. local CHILDREN = workspace:GetDescendants()
  422. for index, CHILD in pairs(CHILDREN) do
  423. if CHILD.ClassName == "Model" and CHILD ~= Character then
  424. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  425. if HUM then
  426. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  427. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  428. if INSTAKILL == true then
  429. CHILD:BreakJoints()
  430. else
  431. local DMG = MRANDOM(MINDMG, MAXDMG)
  432. Damage(HUM, DMG, TORSO)
  433. end
  434. if FLING > 0 then
  435. for _, c in pairs(CHILD:GetChildren()) do
  436. if c:IsA("BasePart") then
  437. local bv = Instance.new("BodyVelocity")
  438. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  439. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  440. bv.Parent = c
  441. end
  442. end
  443. end
  444. end
  445. end
  446. end
  447. end
  448. end
  449. -------------------------------------------------------
  450. --End Damage Function--
  451. -------------------------------------------------------
  452.  
  453. -------------------------------------------------------
  454. --Start Damage Function Customization--
  455. -------------------------------------------------------
  456. function ShowDamage(Pos, Text, Time, Color)
  457. local Rate = (1 / 30)
  458. local Pos = (Pos or Vector3.new(0, 0, 0))
  459. local Text = (Text or "")
  460. local Time = (Time or 2)
  461. local Color = (Color or Color3.new(1, 0, 1))
  462. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  463. EffectPart.Anchored = true
  464. local BillboardGui = Create("BillboardGui"){
  465. Size = UDim2.new(3, 0, 3, 0),
  466. Adornee = EffectPart,
  467. Parent = EffectPart,
  468. }
  469. local TextLabel = Create("TextLabel"){
  470. BackgroundTransparency = 1,
  471. Size = UDim2.new(1, 0, 1, 0),
  472. Text = Text,
  473. Font = "Bodoni",
  474. TextColor3 = Color,
  475. TextScaled = true,
  476. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  477. Parent = BillboardGui,
  478. }
  479. game.Debris:AddItem(EffectPart, (Time))
  480. EffectPart.Parent = game:GetService("Workspace")
  481. delay(0, function()
  482. local Frames = (Time / Rate)
  483. for Frame = 1, Frames do
  484. wait(Rate)
  485. local Percent = (Frame / Frames)
  486. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  487. TextLabel.TextTransparency = Percent
  488. end
  489. if EffectPart and EffectPart.Parent then
  490. EffectPart:Destroy()
  491. end
  492. end)
  493. end
  494. -------------------------------------------------------
  495. --End Damage Function Customization--
  496. -------------------------------------------------------
  497.  
  498. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  499. for _, c in pairs(workspace:children()) do
  500. local hum = c:findFirstChild("Humanoid")
  501. if hum ~= nil then
  502. local head = c:findFirstChild("Head")
  503. if head ~= nil then
  504. local targ = head.Position - Part.Position
  505. local mag = targ.magnitude
  506. if magni >= mag and c.Name ~= plr.Name then
  507. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  508. end
  509. end
  510. end
  511. end
  512. end
  513.  
  514.  
  515. CFuncs = {
  516. Part = {
  517. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  518. local Part = Create("Part")({
  519. Parent = Parent,
  520. Reflectance = Reflectance,
  521. Transparency = Transparency,
  522. CanCollide = false,
  523. Locked = true,
  524. BrickColor = BrickColor.new(tostring(BColor)),
  525. Name = Name,
  526. Size = Size,
  527. Material = Material
  528. })
  529. RemoveOutlines(Part)
  530. return Part
  531. end
  532. },
  533. Mesh = {
  534. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  535. local Msh = Create(Mesh)({
  536. Parent = Part,
  537. Offset = OffSet,
  538. Scale = Scale
  539. })
  540. if Mesh == "SpecialMesh" then
  541. Msh.MeshType = MeshType
  542. Msh.MeshId = MeshId
  543. end
  544. return Msh
  545. end
  546. },
  547. Mesh = {
  548. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  549. local Msh = Create(Mesh)({
  550. Parent = Part,
  551. Offset = OffSet,
  552. Scale = Scale
  553. })
  554. if Mesh == "SpecialMesh" then
  555. Msh.MeshType = MeshType
  556. Msh.MeshId = MeshId
  557. end
  558. return Msh
  559. end
  560. },
  561. Weld = {
  562. Create = function(Parent, Part0, Part1, C0, C1)
  563. local Weld = Create("Weld")({
  564. Parent = Parent,
  565. Part0 = Part0,
  566. Part1 = Part1,
  567. C0 = C0,
  568. C1 = C1
  569. })
  570. return Weld
  571. end
  572. },
  573. Sound = {
  574. Create = function(id, par, vol, pit)
  575. coroutine.resume(coroutine.create(function()
  576. local S = Create("Sound")({
  577. Volume = vol,
  578. Pitch = pit or 1,
  579. SoundId = id,
  580. Parent = par or workspace
  581. })
  582. wait()
  583. S:play()
  584. game:GetService("Debris"):AddItem(S, 6)
  585. end))
  586. end
  587. },
  588. ParticleEmitter = {
  589. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  590. local fp = Create("ParticleEmitter")({
  591. Parent = Parent,
  592. Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.2,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))}),
  593. LightEmission = LightEmission,
  594. Size = Size,
  595. Texture = Texture,
  596. Transparency = Transparency,
  597. ZOffset = ZOffset,
  598. Acceleration = Accel,
  599. Drag = Drag,
  600. LockedToPart = LockedToPart,
  601. VelocityInheritance = VelocityInheritance,
  602. EmissionDirection = EmissionDirection,
  603. Enabled = Enabled,
  604. Lifetime = LifeTime,
  605. Rate = Rate,
  606. Rotation = Rotation,
  607. RotSpeed = RotSpeed,
  608. Speed = Speed,
  609. VelocitySpread = VelocitySpread
  610. })
  611. return fp
  612. end
  613. }
  614. }
  615. function RemoveOutlines(part)
  616. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  617. end
  618. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  619. local Part = Create("Part")({
  620. formFactor = FormFactor,
  621. Parent = Parent,
  622. Reflectance = Reflectance,
  623. Transparency = Transparency,
  624. CanCollide = false,
  625. Locked = true,
  626. BrickColor = BrickColor.new(tostring(BColor)),
  627. Name = Name,
  628. Size = Size,
  629. Material = Material
  630. })
  631. RemoveOutlines(Part)
  632. return Part
  633. end
  634. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  635. local Msh = Create(Mesh)({
  636. Parent = Part,
  637. Offset = OffSet,
  638. Scale = Scale
  639. })
  640. if Mesh == "SpecialMesh" then
  641. Msh.MeshType = MeshType
  642. Msh.MeshId = MeshId
  643. end
  644. return Msh
  645. end
  646. function CreateWeld(Parent, Part0, Part1, C0, C1)
  647. local Weld = Create("Weld")({
  648. Parent = Parent,
  649. Part0 = Part0,
  650. Part1 = Part1,
  651. C0 = C0,
  652. C1 = C1
  653. })
  654. return Weld
  655. end
  656.  
  657.  
  658. -------------------------------------------------------
  659. --Start Effect Function--
  660. -------------------------------------------------------
  661. EffectModel = Instance.new("Model", char)
  662. Effects = {
  663. Block = {
  664. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  665. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  666. prt.Anchored = true
  667. prt.CFrame = cframe
  668. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  669. game:GetService("Debris"):AddItem(prt, 10)
  670. if Type == 1 or Type == nil then
  671. table.insert(Effects, {
  672. prt,
  673. "Block1",
  674. delay,
  675. x3,
  676. y3,
  677. z3,
  678. msh
  679. })
  680. elseif Type == 2 then
  681. table.insert(Effects, {
  682. prt,
  683. "Block2",
  684. delay,
  685. x3,
  686. y3,
  687. z3,
  688. msh
  689. })
  690. else
  691. table.insert(Effects, {
  692. prt,
  693. "Block3",
  694. delay,
  695. x3,
  696. y3,
  697. z3,
  698. msh
  699. })
  700. end
  701. end
  702. },
  703. Sphere = {
  704. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  706. prt.Anchored = true
  707. prt.CFrame = cframe
  708. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  709. game:GetService("Debris"):AddItem(prt, 10)
  710. table.insert(Effects, {
  711. prt,
  712. "Cylinder",
  713. delay,
  714. x3,
  715. y3,
  716. z3,
  717. msh
  718. })
  719. end
  720. },
  721. Cylinder = {
  722. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  723. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  724. prt.Anchored = true
  725. prt.CFrame = cframe
  726. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  727. game:GetService("Debris"):AddItem(prt, 10)
  728. table.insert(Effects, {
  729. prt,
  730. "Cylinder",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. end
  738. },
  739. Wave = {
  740. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  741. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  742. prt.Anchored = true
  743. prt.CFrame = cframe
  744. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  745. game:GetService("Debris"):AddItem(prt, 10)
  746. table.insert(Effects, {
  747. prt,
  748. "Cylinder",
  749. delay,
  750. x3 / 60,
  751. y3 / 60,
  752. z3 / 60,
  753. msh
  754. })
  755. end
  756. },
  757. Ring = {
  758. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  759. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  760. prt.Anchored = true
  761. prt.CFrame = cframe
  762. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  763. game:GetService("Debris"):AddItem(prt, 10)
  764. table.insert(Effects, {
  765. prt,
  766. "Cylinder",
  767. delay,
  768. x3,
  769. y3,
  770. z3,
  771. msh
  772. })
  773. end
  774. },
  775. Break = {
  776. Create = function(brickcolor, cframe, x1, y1, z1)
  777. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  778. prt.Anchored = true
  779. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  780. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  781. local num = math.random(10, 50) / 1000
  782. game:GetService("Debris"):AddItem(prt, 10)
  783. table.insert(Effects, {
  784. prt,
  785. "Shatter",
  786. num,
  787. prt.CFrame,
  788. math.random() - math.random(),
  789. 0,
  790. math.random(50, 100) / 100
  791. })
  792. end
  793. },
  794. Spiral = {
  795. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  796. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  797. prt.Anchored = true
  798. prt.CFrame = cframe
  799. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  800. game:GetService("Debris"):AddItem(prt, 10)
  801. table.insert(Effects, {
  802. prt,
  803. "Cylinder",
  804. delay,
  805. x3,
  806. y3,
  807. z3,
  808. msh
  809. })
  810. end
  811. },
  812. Push = {
  813. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  814. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  815. prt.Anchored = true
  816. prt.CFrame = cframe
  817. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  818. game:GetService("Debris"):AddItem(prt, 10)
  819. table.insert(Effects, {
  820. prt,
  821. "Cylinder",
  822. delay,
  823. x3,
  824. y3,
  825. z3,
  826. msh
  827. })
  828. end
  829. }
  830. }
  831. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  832. local fp = IT("Part")
  833. fp.formFactor = formfactor
  834. fp.Parent = parent
  835. fp.Reflectance = reflectance
  836. fp.Transparency = transparency
  837. fp.CanCollide = false
  838. fp.Locked = true
  839. fp.BrickColor = brickcolor
  840. fp.Name = name
  841. fp.Size = size
  842. fp.Position = tors.Position
  843. RemoveOutlines(fp)
  844. fp.Material = "SmoothPlastic"
  845. fp:BreakJoints()
  846. return fp
  847. end
  848.  
  849. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  850. local mesh = IT(Mesh)
  851. mesh.Parent = part
  852. if Mesh == "SpecialMesh" then
  853. mesh.MeshType = meshtype
  854. if meshid ~= "nil" then
  855. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  856. end
  857. end
  858. mesh.Offset = offset
  859. mesh.Scale = scale
  860. return mesh
  861. end
  862.  
  863. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  864. local type = type
  865. local rng = Instance.new("Part", char)
  866. rng.Anchored = true
  867. rng.BrickColor = color
  868. rng.CanCollide = false
  869. rng.FormFactor = 3
  870. rng.Name = "Ring"
  871. rng.Material = "Neon"
  872. rng.Size = Vector3.new(1, 1, 1)
  873. rng.Transparency = 0
  874. rng.TopSurface = 0
  875. rng.BottomSurface = 0
  876. rng.CFrame = pos
  877. local rngm = Instance.new("SpecialMesh", rng)
  878. rngm.MeshType = MType
  879. rngm.Scale = scale
  880. local scaler2 = 1
  881. if type == "Add" then
  882. scaler2 = 1 * value
  883. elseif type == "Divide" then
  884. scaler2 = 1 / value
  885. end
  886. coroutine.resume(coroutine.create(function()
  887. for i = 0, 10 / bonuspeed, 0.1 do
  888. swait()
  889. if type == "Add" then
  890. scaler2 = scaler2 - 0.01 * value / bonuspeed
  891. elseif type == "Divide" then
  892. scaler2 = scaler2 - 0.01 / value * bonuspeed
  893. end
  894. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  895. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  896. end
  897. rng:Destroy()
  898. end))
  899. end
  900.  
  901. function Eviscerate(dude)
  902. if dude.Name ~= char then
  903. local bgf = IT("BodyGyro", dude.Head)
  904. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  905. local val = IT("BoolValue", dude)
  906. val.Name = "IsHit"
  907. local ds = coroutine.wrap(function()
  908. dude:WaitForChild("Head"):BreakJoints()
  909. wait(0.5)
  910. target = nil
  911. coroutine.resume(coroutine.create(function()
  912. for i, v in pairs(dude:GetChildren()) do
  913. if v:IsA("Accessory") then
  914. v:Destroy()
  915. end
  916. if v:IsA("Humanoid") then
  917. v:Destroy()
  918. end
  919. if v:IsA("CharacterMesh") then
  920. v:Destroy()
  921. end
  922. if v:IsA("Model") then
  923. v:Destroy()
  924. end
  925. if v:IsA("Part") or v:IsA("MeshPart") then
  926. for x, o in pairs(v:GetChildren()) do
  927. if o:IsA("Decal") then
  928. o:Destroy()
  929. end
  930. end
  931. coroutine.resume(coroutine.create(function()
  932. v.Material = "Neon"
  933. v.CanCollide = false
  934. local PartEmmit1 = IT("ParticleEmitter", v)
  935. PartEmmit1.LightEmission = 1
  936. PartEmmit1.Texture = "rbxassetid://1523916715"
  937. PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
  938. PartEmmit1.Rate = 150
  939. PartEmmit1.Lifetime = NumberRange.new(1)
  940. PartEmmit1.Size = NumberSequence.new({
  941. NumberSequenceKeypoint.new(0, 0.75, 0),
  942. NumberSequenceKeypoint.new(1, 0, 0)
  943. })
  944. PartEmmit1.Transparency = NumberSequence.new({
  945. NumberSequenceKeypoint.new(0, 0, 0),
  946. NumberSequenceKeypoint.new(1, 1, 0)
  947. })
  948. PartEmmit1.Speed = NumberRange.new(0, 0)
  949. PartEmmit1.VelocitySpread = 30000
  950. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  951. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  952. local BodPoss = IT("BodyPosition", v)
  953. BodPoss.P = 3000
  954. BodPoss.D = 1000
  955. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  956. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  957. v.Color = maincolor.Color
  958. coroutine.resume(coroutine.create(function()
  959. for i = 0, 49 do
  960. swait(1)
  961. v.Transparency = v.Transparency + 0.08
  962. end
  963. wait(0.5)
  964. PartEmmit1.Enabled = false
  965. wait(3)
  966. v:Destroy()
  967. dude:Destroy()
  968. end))
  969. end))
  970. end
  971. end
  972. end))
  973. end)
  974. ds()
  975. end
  976. end
  977.  
  978. function FindNearestHead(Position, Distance, SinglePlayer)
  979. if SinglePlayer then
  980. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  981. end
  982. local List = {}
  983. for i, v in pairs(workspace:GetChildren()) do
  984. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  985. table.insert(List, v)
  986. end
  987. end
  988. return List
  989. end
  990.  
  991. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  992. local type = type
  993. local rng = Instance.new("Part", char)
  994. rng.Anchored = true
  995. rng.BrickColor = color
  996. rng.CanCollide = false
  997. rng.FormFactor = 3
  998. rng.Name = "Ring"
  999. rng.Material = "Neon"
  1000. rng.Size = Vector3.new(1, 1, 1)
  1001. rng.Transparency = 0
  1002. rng.TopSurface = 0
  1003. rng.BottomSurface = 0
  1004. rng.CFrame = pos
  1005. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1006. local rngm = Instance.new("SpecialMesh", rng)
  1007. rngm.MeshType = MType
  1008. rngm.Scale = Vector3.new(x1, y1, z1)
  1009. local scaler2 = 1
  1010. local speeder = FastSpeed
  1011. if type == "Add" then
  1012. scaler2 = 1 * value
  1013. elseif type == "Divide" then
  1014. scaler2 = 1 / value
  1015. end
  1016. coroutine.resume(coroutine.create(function()
  1017. for i = 0, 10 / bonuspeed, 0.1 do
  1018. swait()
  1019. if type == "Add" then
  1020. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1021. elseif type == "Divide" then
  1022. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1023. end
  1024. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1025. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1026. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1027. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1028. end
  1029. rng:Destroy()
  1030. end))
  1031. end
  1032.  
  1033. function SoulSteal(dude)
  1034. if dude.Name ~= char then
  1035. local bgf = IT("BodyGyro", dude.Head)
  1036. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1037. local val = IT("BoolValue", dude)
  1038. val.Name = "IsHit"
  1039. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1040. local soulst = coroutine.wrap(function()
  1041. local soul = Instance.new("Part",dude)
  1042. soul.Size = Vector3.new(1,1,1)
  1043. soul.CanCollide = false
  1044. soul.Anchored = false
  1045. soul.Position = torso.Position
  1046. soul.Transparency = 1
  1047. local PartEmmit1 = IT("ParticleEmitter", soul)
  1048. PartEmmit1.LightEmission = 1
  1049. PartEmmit1.Texture = "rbxassetid://569507414"
  1050. PartEmmit1.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.2,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1051. PartEmmit1.Rate = 250
  1052. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1053. PartEmmit1.Size = NumberSequence.new({
  1054. NumberSequenceKeypoint.new(0, 1, 0),
  1055. NumberSequenceKeypoint.new(1, 0, 0)
  1056. })
  1057. PartEmmit1.Transparency = NumberSequence.new({
  1058. NumberSequenceKeypoint.new(0, 0, 0),
  1059. NumberSequenceKeypoint.new(1, 1, 0)
  1060. })
  1061. PartEmmit1.Speed = NumberRange.new(0, 0)
  1062. PartEmmit1.VelocitySpread = 30000
  1063. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1064. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1065. local BodPoss = IT("BodyPosition", soul)
  1066. BodPoss.P = 3000
  1067. BodPoss.D = 1000
  1068. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1069. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1070. wait(1.6)
  1071. soul.Touched:connect(function(hit)
  1072. if hit.Parent == char then
  1073. soul:Destroy()
  1074. end
  1075. end)
  1076. wait(1.2)
  1077. while soul do
  1078. swait()
  1079. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1080. BodPoss.Position = tors.Position
  1081. end
  1082. end)
  1083. soulst()
  1084. end
  1085. end
  1086. function FaceMouse()
  1087. local Cam = workspace.CurrentCamera
  1088. return {
  1089. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1090. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1091. }
  1092. end
  1093. -------------------------------------------------------
  1094. --End Effect Function--
  1095. -------------------------------------------------------
  1096. function Cso(ID, PARENT, VOLUME, PITCH)
  1097. local NSound = nil
  1098. coroutine.resume(coroutine.create(function()
  1099. NSound = IT("Sound", PARENT)
  1100. NSound.Volume = VOLUME
  1101. NSound.Pitch = PITCH
  1102. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1103. swait()
  1104. NSound:play()
  1105. game:GetService("Debris"):AddItem(NSound, 10)
  1106. end))
  1107. return NSound
  1108. end
  1109. function CameraEnshaking(Length, Intensity)
  1110. coroutine.resume(coroutine.create(function()
  1111. local intensity = 1 * Intensity
  1112. local rotM = 0.01 * Intensity
  1113. for i = 0, Length, 0.1 do
  1114. swait()
  1115. intensity = intensity - 0.05 * Intensity / Length
  1116. rotM = rotM - 5.0E-4 * Intensity / Length
  1117. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1118. 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)
  1119. end
  1120. hum.CameraOffset = Vector3.new(0, 0, 0)
  1121. end))
  1122. end
  1123.  
  1124. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1125. local NEWMESH = Instance.new(MESH)
  1126. if MESH == "SpecialMesh" then
  1127. NEWMESH.MeshType = MESHTYPE
  1128. if MESHID ~= "nil" and MESHID ~= "" then
  1129. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1130. end
  1131. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1132. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1133. end
  1134. end
  1135. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1136. NEWMESH.Scale = SCALE
  1137. NEWMESH.Parent = PARENT
  1138. return NEWMESH
  1139. end
  1140.  
  1141. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1142. local NEWPART = Instance.new("Part")
  1143. NEWPART.formFactor = FORMFACTOR
  1144. NEWPART.Reflectance = REFLECTANCE
  1145. NEWPART.Transparency = TRANSPARENCY
  1146. NEWPART.CanCollide = false
  1147. NEWPART.Locked = true
  1148. NEWPART.Anchored = true
  1149. if ANCHOR == false then
  1150. NEWPART.Anchored = false
  1151. end
  1152. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1153. NEWPART.Name = NAME
  1154. NEWPART.Size = SIZE
  1155. NEWPART.Position = tors.Position
  1156. NEWPART.Material = MATERIAL
  1157. NEWPART:BreakJoints()
  1158. NEWPART.Parent = PARENT
  1159. return NEWPART
  1160. end
  1161.  
  1162. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1163. local frame = IT("Frame")
  1164. frame.BackgroundTransparency = TRANSPARENCY
  1165. frame.BorderSizePixel = BORDERSIZEPIXEL
  1166. frame.Position = POSITION
  1167. frame.Size = SIZE
  1168. frame.BackgroundColor3 = COLOR
  1169. frame.BorderColor3 = BORDERCOLOR
  1170. frame.Name = NAME
  1171. frame.Parent = PARENT
  1172. return frame
  1173. end
  1174.  
  1175. UD2 = UDim2.new
  1176.  
  1177. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1178. local label = IT("TextLabel")
  1179. label.BackgroundTransparency = 1
  1180. label.Size = UD2(1, 0, 1, 0)
  1181. label.Position = UD2(0, 0, 0, 0)
  1182. label.TextColor3 = TEXTCOLOR
  1183. label.TextStrokeTransparency = STROKETRANSPARENCY
  1184. label.TextTransparency = TRANSPARENCY
  1185. label.FontSize = TEXTFONTSIZE
  1186. label.Font = TEXTFONT
  1187. label.BorderSizePixel = BORDERSIZEPIXEL
  1188. label.TextScaled = false
  1189. label.Text = TEXT
  1190. label.Name = NAME
  1191. label.Parent = PARENT
  1192. return label
  1193. end
  1194.  
  1195. local Particle = IT("ParticleEmitter",nil)
  1196. Particle.Enabled = false
  1197. Particle.LightEmission = 0.2
  1198. Particle.Rate = 150
  1199. Particle.ZOffset = 1
  1200. Particle.Rotation = NumberRange.new(-180, 180)
  1201.  
  1202. function ParticleEmitter(Table)
  1203. local PRTCL = Particle:Clone()
  1204. local Color1 = Table.Color1 or Color3.new(1,1,1)
  1205. local Color2 = Table.Color2 or Color3.new(1,1,1)
  1206. local Speed = Table.Speed or 5
  1207. local Drag = Table.Drag or 0
  1208. local Size1 = Table.Size1 or 1
  1209. local Size2 = Table.Size2 or 5
  1210. local Lifetime1 = Table.Lifetime1 or 1
  1211. local Lifetime2 = Table.Lifetime2 or 1.5
  1212. local Parent = Table.Parent or tors
  1213. local Emit = Table.Emit or 100
  1214. local Offset = Table.Offset or 360
  1215. local Acel = Table.Acel or Vector3.new(0,0,0)
  1216. local Enabled = Table.Enabled or false
  1217. local Texture = Table.Texture or "281983280"
  1218. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  1219. local Trans1 = Table.Transparency1 or 0
  1220. local Trans2 = Table.Transparency2 or 0
  1221. PRTCL.Parent = Parent
  1222. PRTCL.RotSpeed = RotS
  1223. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  1224. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  1225. PRTCL.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.2,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1226. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1227. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1228. PRTCL.Speed = NumberRange.new(Speed)
  1229. PRTCL.VelocitySpread = Offset
  1230. PRTCL.Drag = Drag
  1231. PRTCL.Acceleration = Acel
  1232. if Enabled == false then
  1233. PRTCL:Emit(Emit)
  1234. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  1235. else
  1236. PRTCL.Enabled = true
  1237. end
  1238. return PRTCL
  1239. end
  1240. -------------------------------------------------------
  1241. --End Important Functions--
  1242. -------------------------------------------------------
  1243.  
  1244.  
  1245. -------------------------------------------------------
  1246. --Start Customization--
  1247. -------------------------------------------------------
  1248. local Player_Size = 1
  1249. if Player_Size ~= 1 then
  1250. root.Size = root.Size * Player_Size
  1251. tors.Size = tors.Size * Player_Size
  1252. hed.Size = hed.Size * Player_Size
  1253. ra.Size = ra.Size * Player_Size
  1254. la.Size = la.Size * Player_Size
  1255. rl.Size = rl.Size * Player_Size
  1256. ll.Size = ll.Size * Player_Size
  1257. ----------------------------------------------------------------------------------
  1258. rootj.Parent = root
  1259. neck.Parent = tors
  1260. RW.Parent = tors
  1261. LW.Parent = tors
  1262. RH.Parent = tors
  1263. LH.Parent = tors
  1264. ----------------------------------------------------------------------------------
  1265. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1266. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1267. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1268. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1269. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1270. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1271. ----------------------------------------------------------------------------------
  1272. 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))
  1273. 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))
  1274. 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))
  1275. 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))
  1276. --hat.Parent = Character
  1277. end
  1278. ----------------------------------------------------------------------------------
  1279. local SONG = 1066344174
  1280. local SONG2 = 0
  1281. local Music = Instance.new("Sound",tors)
  1282. Music.Volume = 2.5
  1283. Music.Looped = true
  1284. Music.Pitch = 1 --Pitcher
  1285. ----------------------------------------------------------------------------------
  1286. local equipped = false
  1287. local idle = 0
  1288. local change = 1
  1289. local val = 0
  1290. local toim = 0
  1291. local idleanim = 0.4
  1292. local sine = 0
  1293. local Sit = 1
  1294. local VALUE1 = false
  1295. local VALUE2 = false
  1296. local HOLD = false
  1297. local KEYHOLD = false
  1298. ----------------------------------------------------------------------------------
  1299. hum.WalkSpeed = 18
  1300. hum.JumpPower = 130
  1301. hum.Animator.Parent = nil
  1302. ----------------------------------------------------------------------------------
  1303. local naeeym2 = IT("BillboardGui",char)
  1304. naeeym2.AlwaysOnTop = true
  1305. naeeym2.Size = UDim2.new(5,35,2,15)
  1306. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1307. naeeym2.MaxDistance = 75
  1308. naeeym2.Adornee = hed
  1309. naeeym2.Name = "Name"
  1310. --naeeym2.PlayerToHideFrom = Player
  1311. local tecks2 = IT("TextLabel",naeeym2)
  1312. tecks2.BackgroundTransparency = 1
  1313. tecks2.TextScaled = true
  1314. tecks2.BorderSizePixel = 0
  1315. tecks2.Text = "Blight"
  1316. tecks2.Font = "Fantasy"
  1317. tecks2.TextSize = 30
  1318. tecks2.TextStrokeTransparency = 0
  1319. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  1320. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1321. tecks2.Size = UDim2.new(1,0,0.5,0)
  1322. tecks2.Parent = naeeym2
  1323. local top = Instance.new("Shirt")
  1324. top.ShirtTemplate = "rbxassetid://228794266"
  1325. top.Parent = char
  1326. top.Name = "Cloth"
  1327. local bottom = Instance.new("Pants")
  1328. bottom.PantsTemplate = "rbxassetid://228794877"
  1329. bottom.Parent = char
  1330. bottom.Name = "Cloth"
  1331. Reaper = IT("Model")
  1332. Reaper.Parent = char
  1333. Reaper.Name = "Reaper"
  1334. RHe = IT("Part")
  1335. RHe.Parent = Reaper
  1336. Light = Instance.new("PointLight",RHe)
  1337. Light.Brightness = 0.85
  1338. touchCounter = 0
  1339. local cR=255
  1340. local cG=0
  1341. local cB=0
  1342. local flg5=1 local omgidk=1
  1343. local add=7.5
  1344. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1345. if omgidk>10000 then omgidk=0 end
  1346. omgidk=omgidk+1
  1347. if cR>=255 then flg5=1 end
  1348. if cG>=255 then flg5=2 end
  1349. if cB>=255 then flg5=3 end
  1350. if flg5==1 then cR=cR-add cG=cG+add end
  1351. if flg5==2 then cG=cG-add cB=cB+add end
  1352. if flg5==3 then cB=cB-add cR=cR+add end
  1353. color=Color3.fromRGB(cR,cG,cB)
  1354. Light.Color = color
  1355. end)
  1356. touchCounter = 0
  1357. local cR=255
  1358. local cG=0
  1359. local cB=0
  1360. local flg5=1 local omgidk=1
  1361. local add=7.5
  1362. --Converted with ttyyuu12345's model to script plugin v4
  1363. function sandbox(var,func)
  1364. local env = getfenv(func)
  1365. local newenv = setmetatable({},{
  1366. __index = function(self,k)
  1367. if k=="script" then
  1368. return var
  1369. else
  1370. return env[k]
  1371. end
  1372. end,
  1373. })
  1374. setfenv(func,newenv)
  1375. return func
  1376. end
  1377. cors = {}
  1378. mas = Instance.new("Model",game:GetService("Lighting"))
  1379. ParticleEmitter2 = Instance.new("ParticleEmitter")
  1380. ParticleEmitter16 = Instance.new("ParticleEmitter")
  1381. ParticleEmitter17 = Instance.new("ParticleEmitter")
  1382. ParticleEmitter20 = Instance.new("ParticleEmitter")
  1383.  
  1384.  
  1385. ParticleEmitter2.Name = "Wing1"
  1386. ParticleEmitter2.Parent = Torso
  1387. ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  1388. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  1389. ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  1390. ParticleEmitter2.Enabled = true
  1391. ParticleEmitter2.LightEmission = 1
  1392. ParticleEmitter2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.2,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1393. ParticleEmitter2.Texture = "rbxassetid://296874871"
  1394. ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
  1395. ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
  1396. ParticleEmitter2.Rate = 300
  1397. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  1398. ParticleEmitter2.Speed = NumberRange.new(4, 4)
  1399. ParticleEmitter2.SpreadAngle = Vector2.new(50, 10)
  1400. ParticleEmitter2.VelocitySpread = 35
  1401. ParticleEmitter16.Name = "Wing2"
  1402. ParticleEmitter16.Parent = Torso
  1403. ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  1404. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  1405. ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  1406. ParticleEmitter16.Enabled = true
  1407. ParticleEmitter16.LightEmission = 1
  1408. ParticleEmitter16.Texture = "rbxassetid://296874871"
  1409. ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
  1410. ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
  1411. ParticleEmitter16.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(0,0,1)),ColorSequenceKeypoint.new(0.2,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1412. ParticleEmitter16.Rate = 300
  1413. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  1414. ParticleEmitter16.Speed = NumberRange.new(4, 4)
  1415. ParticleEmitter16.VelocitySpread = 35
  1416. ParticleEmitter16.SpreadAngle = Vector2.new(50, 10)
  1417. ParticleEmitter17.Name = "Wing1B"
  1418. ParticleEmitter17.Parent = Torso
  1419. ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  1420. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  1421. ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  1422. ParticleEmitter17.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  1423. ParticleEmitter17.Enabled = true
  1424. ParticleEmitter17.LightEmission = .5
  1425. ParticleEmitter17.ZOffset = 0.20000000298023
  1426. ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
  1427. ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  1428. ParticleEmitter17.Rate = 150
  1429. ParticleEmitter17.SpreadAngle = Vector2.new(50, 10)
  1430. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  1431. ParticleEmitter17.Speed = NumberRange.new(4, 4)
  1432. ParticleEmitter17.VelocitySpread = 35
  1433. ParticleEmitter20.Name = "Wing2B"
  1434. ParticleEmitter20.Parent = Torso
  1435. ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  1436. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  1437. ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  1438. ParticleEmitter20.Enabled = true
  1439. ParticleEmitter20.SpreadAngle = Vector2.new(50, 10)
  1440. ParticleEmitter20.LightEmission = 0.5
  1441. ParticleEmitter20.ZOffset = 0.20000000298023
  1442. ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
  1443. ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  1444. ParticleEmitter20.Rate = 150
  1445. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  1446. ParticleEmitter20.Speed = NumberRange.new(4, 4)
  1447. ParticleEmitter20.VelocitySpread = 35
  1448. ParticleEmitter20.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  1449. ParticleEmitter2.SpreadAngle = Vector2.new(50, 10)
  1450. ParticleEmitter16.SpreadAngle = Vector2.new(50, 10)
  1451. ParticleEmitter17.SpreadAngle = Vector2.new(50, 10)
  1452. ParticleEmitter20.SpreadAngle = Vector2.new(50, 10)
  1453. local WINGS1 = Torso.Wing1
  1454. WINGS1.EmissionDirection="Right"
  1455. WINGS1.Size=NumberSequence.new(2)
  1456. local WINGS1B = Torso.Wing1B
  1457. WINGS1B.EmissionDirection="Right"
  1458. WINGS1B.Size=NumberSequence.new(2)
  1459. local WINGS2 = Torso.Wing2
  1460. WINGS2.EmissionDirection="Left"
  1461. WINGS2.Size=NumberSequence.new(2)
  1462. local WINGS2B = Torso.Wing2B
  1463. WINGS2B.EmissionDirection="Left"
  1464. WINGS2B.Size=NumberSequence.new(2)
  1465. WINGS1.Parent = BACKATTACHMENT1
  1466. WINGS1.LockedToPart=true
  1467. WINGS1B.Parent = BACKATTACHMENT1
  1468. WINGS1B.LockedToPart=true
  1469. WINGS2.Parent = BACKATTACHMENT2
  1470. WINGS2.LockedToPart=true
  1471. WINGS2B.Parent = BACKATTACHMENT2
  1472. WINGS2B.LockedToPart=true
  1473. local talksound = Instance.new("Sound",char)
  1474. talksound.SoundId = "rbxassetid://187248547"
  1475. Instance.new("EchoSoundEffect", talksound).Delay = 0.1
  1476. talksound.Pitch = 0.8
  1477. talksound.Volume = 4
  1478. function chatfunc(text)
  1479. local chat = coroutine.wrap(function()
  1480. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1481. char:FindFirstChild("TalkingBillBoard"):Destroy()
  1482. end
  1483. local naeeym3 = Instance.new("BillboardGui",char)
  1484. naeeym3.Size = UDim2.new(0,100,0,40)
  1485. naeeym3.StudsOffset = Vector3.new(0,3,0)
  1486. naeeym3.Adornee = char.Head
  1487. naeeym3.Name = "TalkingBillBoard"
  1488. local tecks3 = Instance.new("TextLabel",naeeym3)
  1489. tecks3.BackgroundTransparency = 1
  1490. tecks3.BorderSizePixel = 0
  1491. tecks3.Text = ""
  1492. tecks3.Font = "Fantasy"
  1493. tecks3.TextSize = 30
  1494. tecks3.TextStrokeTransparency = 0
  1495. tecks3.TextColor3 = Color3.new(1,0,0)
  1496. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1497. tecks3.Size = UDim2.new(1,0,0.5,0)
  1498. local tecks4 = Instance.new("TextLabel",naeeym3)
  1499. tecks4.BackgroundTransparency = 1
  1500. tecks4.BorderSizePixel = 0
  1501. tecks4.Text = ""
  1502. tecks4.Font = "Fantasy"
  1503. tecks4.TextSize = 30
  1504. tecks4.TextStrokeTransparency = 0
  1505. tecks4.TextColor3 = Color3.new(1,0,0)
  1506. tecks4.TextStrokeColor3 = Color3.new(0,0,0)
  1507. tecks4.Size = UDim2.new(1,0,0.5,0)
  1508. for i = 1,string.len(text),1 do
  1509. tecks3.Text = string.sub(text,1,i)
  1510. tecks4.Text = string.sub(text,1,i)
  1511. talksound:Play()
  1512. wait(0.01)
  1513. end
  1514. wait(2)
  1515. for i = 1, 50 do
  1516. swait()
  1517. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1518. tecks3.Rotation = tecks3.Rotation - .8
  1519. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.04
  1520. tecks3.TextTransparency = tecks3.TextTransparency + .04
  1521. tecks4.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1522. tecks4.Rotation = tecks3.Rotation + .8
  1523. tecks4.TextStrokeTransparency = tecks3.TextStrokeTransparency +.04
  1524. tecks4.TextTransparency = tecks3.TextTransparency + .04
  1525. end
  1526. naeeym3:Destroy()
  1527. end)
  1528. chat()
  1529. end
  1530. function onChatted(msg)
  1531. chatfunc(msg)
  1532. end
  1533. plr.Chatted:connect(onChatted)
  1534. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1535. if omgidk>10000 then omgidk=0 end
  1536. omgidk=omgidk+1
  1537. if cR>=255 then flg5=1 end
  1538. if cG>=255 then flg5=2 end
  1539. if cB>=255 then flg5=3 end
  1540. if flg5==1 then cR=cR-add cG=cG+add end
  1541. if flg5==2 then cG=cG-add cB=cB+add end
  1542. if flg5==3 then cB=cB-add cR=cR+add end
  1543. color=Color3.fromRGB(cR,cG,cB)
  1544. WINGS1.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  1545. WINGS1B.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  1546. WINGS2B.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  1547. WINGS2.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  1548. local d = Reaper:FindFirstChild("Part")
  1549. if d then
  1550. d.Color = color
  1551. end
  1552. local d = Character:FindFirstChild("Head")
  1553. if d then
  1554. d.Color = color
  1555. end
  1556. local d = Character:FindFirstChild("Left Arm")
  1557. if d then
  1558. d.Color = color
  1559. end
  1560. local d = Character:FindFirstChild("Right Arm")
  1561. if d then
  1562. d.Color = color
  1563. end
  1564. local d = Character:FindFirstChild("Torso")
  1565. if d then
  1566. d.Color = color
  1567. end
  1568. local d = Character:FindFirstChild("Left Leg")
  1569. if d then
  1570. d.Color = color
  1571. end
  1572. local d = Character:FindFirstChild("Right Leg")
  1573. if d then
  1574. d.Color = color
  1575. end
  1576. local d = naeeym2:FindFirstChild("TextLabel")
  1577. if d then
  1578. d.TextColor3 = color
  1579. end
  1580. for i, v in pairs(char:GetChildren()) do
  1581. if v:IsA("TextLabel") and v.Name == "TalkingBillBoard" then
  1582. local d = naeeym3:FindFirstChild("TextLabel")
  1583. if d then
  1584. d.TextColor3 = color
  1585. end
  1586. end
  1587. end
  1588. end)
  1589. RHe.Locked = true
  1590. RHe.CanCollide = false
  1591. RHe.Transparency = 0
  1592. PMesh = IT("SpecialMesh")
  1593. RHe.formFactor = "Symmetric"
  1594. PMesh.MeshType = "FileMesh"
  1595. PMesh.MeshId = "rbxassetid://124631026"
  1596. PMesh.Scale = Vector3.new(3.01, 3.01, 3.01)
  1597. PMesh.Parent = RHe
  1598. local RWeld = IT("Weld")
  1599. RWeld.Parent = RHe
  1600. RWeld.Part0 = RHe
  1601. RWeld.Part1 = hed
  1602. RWeld.C0 = CF(0, 1.5, 0) * angles(0, 0, 0)
  1603. hed.face:Remove()
  1604. ----------------------------------------------------------------------------------
  1605. PlayerGui = plr.PlayerGui
  1606. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1607. WEAPONGUI.Name = "Weapon GUI"
  1608.  
  1609. local SKILLTEXTCOLOR = Color3.new(0,0,0)
  1610. local SKILLFONT = "Antique"
  1611. local SKILLTEXTSIZE = 6
  1612.  
  1613. 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")
  1614. 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")
  1615. 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")
  1616. 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")
  1617. 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")
  1618.  
  1619. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shadow's Victory", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1620. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eruption", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1621. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1622. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Death's Wish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  1623. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Shadows Whisper", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
  1624.  
  1625. local SINE = 0
  1626.  
  1627. function WACKYEFFECT(Table)
  1628. local TYPE = Table.EffectType or "Sphere"
  1629. local SIZE = Table.Size or VT(1, 1, 1)
  1630. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1631. local TRANSPARENCY = Table.Transparency or 0
  1632. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1633. local CFRAME = Table.CFrame or Torso.CFrame
  1634. local MOVEDIRECTION = Table.MoveToPos or nil
  1635. local ROTATION1 = Table.RotationX or 0
  1636. local ROTATION2 = Table.RotationY or 0
  1637. local ROTATION3 = Table.RotationZ or 0
  1638. local MATERIAL = Table.Material or "Neon"
  1639. local COLOR = Table.Color or C3(1, 1, 1)
  1640. local TIME = Table.Time or 45
  1641. local SOUNDID = Table.SoundID or nil
  1642. local SOUNDPITCH = Table.SoundPitch or nil
  1643. local SOUNDVOLUME = Table.SoundVolume or nil
  1644. coroutine.resume(coroutine.create(function()
  1645. local PLAYSSOUND = false
  1646. local SOUND
  1647. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1648. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1649. PLAYSSOUND = true
  1650. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1651. end
  1652. EFFECT.Color = COLOR
  1653. local MSH
  1654. if TYPE == "Sphere" then
  1655. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1656. elseif TYPE == "Block" then
  1657. MSH = IT("BlockMesh", EFFECT)
  1658. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1659. elseif TYPE == "Wave" then
  1660. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1661. elseif TYPE == "Ring" then
  1662. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1663. elseif TYPE == "Slash" then
  1664. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1665. elseif TYPE == "Round Slash" then
  1666. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1667. elseif TYPE == "Swirl" then
  1668. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1669. elseif TYPE == "Skull" then
  1670. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1671. elseif TYPE == "Crystal" then
  1672. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1673. end
  1674. if MSH ~= nil then
  1675. local MOVESPEED
  1676. if MOVEDIRECTION ~= nil then
  1677. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1678. end
  1679. local GROWTH = SIZE - ENDSIZE
  1680. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1681. if TYPE == "Block" then
  1682. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1683. else
  1684. EFFECT.CFrame = CFRAME
  1685. end
  1686. for LOOP = 1, TIME do
  1687. swait()
  1688. MSH.Scale = MSH.Scale - GROWTH / TIME
  1689. if TYPE == "Wave" then
  1690. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1691. end
  1692. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1693. if TYPE == "Block" then
  1694. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1695. else
  1696. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1697. end
  1698. if MOVEDIRECTION ~= nil then
  1699. local ORI = EFFECT.Orientation
  1700. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1701. EFFECT.Orientation = ORI
  1702. end
  1703. end
  1704. if PLAYSSOUND == false then
  1705. EFFECT:remove()
  1706. else
  1707. repeat
  1708. swait()
  1709. until SOUND.Playing == false
  1710. EFFECT:remove()
  1711. end
  1712. elseif PLAYSSOUND == false then
  1713. EFFECT:remove()
  1714. else
  1715. repeat
  1716. swait()
  1717. until SOUND.Playing == false
  1718. EFFECT:remove()
  1719. end
  1720. end))
  1721. end
  1722.  
  1723.  
  1724. -------------------------------------------------------
  1725. --End Customization--
  1726. -------------------------------------------------------
  1727. Player = game:GetService("Players").LocalPlayer
  1728. PlayerGui = Player.PlayerGui
  1729. Cam = workspace.CurrentCamera
  1730. Backpack = Player.Backpack
  1731. Character = Player.Character
  1732. Humanoid = Character.Humanoid
  1733. Mouse = Player:GetMouse()
  1734. RootPart = Character["HumanoidRootPart"]
  1735. Torso = Character["Torso"]
  1736. Head = Character["Head"]
  1737. RightArm = Character["Right Arm"]
  1738. LeftArm = Character["Left Arm"]
  1739. RightLeg = Character["Right Leg"]
  1740. LeftLeg = Character["Left Leg"]
  1741. RootJoint = RootPart["RootJoint"]
  1742. Neck = Torso["Neck"]
  1743. RightHip = Torso["Right Hip"]
  1744. LeftHip = Torso["Left Hip"]
  1745.  
  1746. IT = Instance.new
  1747. CF = CFrame.new
  1748. VT = Vector3.new
  1749. RAD = math.rad
  1750. C3 = Color3.new
  1751. UD2 = UDim2.new
  1752. BRICKC = BrickColor.new
  1753. ANGLES = CFrame.Angles
  1754. EULER = CFrame.fromEulerAnglesXYZ
  1755. COS = math.cos
  1756. ACOS = math.acos
  1757. SIN = math.sin
  1758. ASIN = math.asin
  1759. ABS = math.abs
  1760. MRANDOM = math.random
  1761. FLOOR = math.floor
  1762.  
  1763. Animation_Speed = 3
  1764. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1765. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1766. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1767. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1768. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1769. local CHANGE = 2 / Animation_Speed
  1770.  
  1771. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1772. local NEWPART = IT("Part")
  1773. NEWPART.formFactor = FORMFACTOR
  1774. NEWPART.Reflectance = REFLECTANCE
  1775. NEWPART.Transparency = TRANSPARENCY
  1776. NEWPART.CanCollide = false
  1777. NEWPART.Locked = true
  1778. NEWPART.Anchored = true
  1779. if ANCHOR == false then
  1780. NEWPART.Anchored = false
  1781. end
  1782. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1783. NEWPART.Name = NAME
  1784. NEWPART.Size = SIZE
  1785. NEWPART.Position = Torso.Position
  1786. NEWPART.Material = MATERIAL
  1787. NEWPART:BreakJoints()
  1788. NEWPART.Parent = PARENT
  1789. return NEWPART
  1790. end
  1791.  
  1792. local function weldBetween(a, b)
  1793. local weldd = Instance.new("ManualWeld")
  1794. weldd.Part0 = a
  1795. weldd.Part1 = b
  1796. weldd.C0 = CFrame.new()
  1797. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1798. weldd.Parent = a
  1799. return weldd
  1800. end
  1801.  
  1802. function QuaternionFromCFrame(cf)
  1803. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1804. local trace = m00 + m11 + m22
  1805. if trace > 0 then
  1806. local s = math.sqrt(1 + trace)
  1807. local recip = 0.5 / s
  1808. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1809. else
  1810. local i = 0
  1811. if m11 > m00 then
  1812. i = 1
  1813. end
  1814. if m22 > (i == 0 and m00 or m11) then
  1815. i = 2
  1816. end
  1817. if i == 0 then
  1818. local s = math.sqrt(m00 - m11 - m22 + 1)
  1819. local recip = 0.5 / s
  1820. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1821. elseif i == 1 then
  1822. local s = math.sqrt(m11 - m22 - m00 + 1)
  1823. local recip = 0.5 / s
  1824. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1825. elseif i == 2 then
  1826. local s = math.sqrt(m22 - m00 - m11 + 1)
  1827. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1828. end
  1829. end
  1830. end
  1831.  
  1832. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1833. local xs, ys, zs = x + x, y + y, z + z
  1834. local wx, wy, wz = w * xs, w * ys, w * zs
  1835. local xx = x * xs
  1836. local xy = x * ys
  1837. local xz = x * zs
  1838. local yy = y * ys
  1839. local yz = y * zs
  1840. local zz = z * zs
  1841. 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))
  1842. end
  1843.  
  1844. function QuaternionSlerp(a, b, t)
  1845. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1846. local startInterp, finishInterp;
  1847. if cosTheta >= 0.0001 then
  1848. if (1 - cosTheta) > 0.0001 then
  1849. local theta = ACOS(cosTheta)
  1850. local invSinTheta = 1 / SIN(theta)
  1851. startInterp = SIN((1 - t) * theta) * invSinTheta
  1852. finishInterp = SIN(t * theta) * invSinTheta
  1853. else
  1854. startInterp = 1 - t
  1855. finishInterp = t
  1856. end
  1857. else
  1858. if (1 + cosTheta) > 0.0001 then
  1859. local theta = ACOS(-cosTheta)
  1860. local invSinTheta = 1 / SIN(theta)
  1861. startInterp = SIN((t - 1) * theta) * invSinTheta
  1862. finishInterp = SIN(t * theta) * invSinTheta
  1863. else
  1864. startInterp = t - 1
  1865. finishInterp = t
  1866. end
  1867. end
  1868. 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
  1869. end
  1870.  
  1871. function Clerp(a, b, t)
  1872. local qa = {QuaternionFromCFrame(a)}
  1873. local qb = {QuaternionFromCFrame(b)}
  1874. local ax, ay, az = a.x, a.y, a.z
  1875. local bx, by, bz = b.x, b.y, b.z
  1876. local _t = 1 - t
  1877. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1878. end
  1879.  
  1880. local S = IT("Sound")
  1881. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP, ECHO)
  1882. local NEWSOUND = nil
  1883. coroutine.resume(coroutine.create(function()
  1884. NEWSOUND = S:Clone()
  1885. NEWSOUND.Parent = PARENT
  1886. NEWSOUND.Volume = VOLUME
  1887. NEWSOUND.Pitch = PITCH
  1888. NEWSOUND.SoundId = "rbxassetid://"..ID
  1889. NEWSOUND:play()
  1890. if ECHO == true then
  1891. IT("EchoSoundEffect", NEWSOUND).Delay = 0.1
  1892. end
  1893. if DOESLOOP == true then
  1894. NEWSOUND.Looped = true
  1895. else
  1896. repeat wait(1) until NEWSOUND.Playing == false
  1897. NEWSOUND:remove()
  1898. end
  1899. end))
  1900. return NEWSOUND
  1901. end
  1902.  
  1903. function MakeForm(PART,TYPE)
  1904. if TYPE == "Cyl" then
  1905. local MSH = IT("CylinderMesh",PART)
  1906. elseif TYPE == "Ball" then
  1907. local MSH = IT("SpecialMesh",PART)
  1908. MSH.MeshType = "Sphere"
  1909. elseif TYPE == "Wedge" then
  1910. local MSH = IT("SpecialMesh",PART)
  1911. MSH.MeshType = "Wedge"
  1912. end
  1913. end
  1914.  
  1915. local EYE = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.8, 0.1), false)
  1916. MakeForm(EYE, "Ball")
  1917. EYE.CFrame = Head.CFrame * CF(0.2, 0.4, -0.82) * ANGLES(RAD(0), RAD(0), RAD(20))
  1918. local EW = weldBetween(Head, EYE)
  1919. local EYE2 = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.8, 0.1, 0.1), false)
  1920. MakeForm(EYE2, "Ball")
  1921. EYE2.CFrame = Head.CFrame * CF(0.2, 0.4, -0.82) * ANGLES(RAD(0), RAD(0), RAD(20))
  1922. local EW2 = weldBetween(Head, EYE2)
  1923. -------------------------------------------------------
  1924. --Start Attacks N Stuff--
  1925. -------------------------------------------------------
  1926. function Shadom_Circle()
  1927.  
  1928. end
  1929. function Taunt()
  1930. attack = true
  1931. hum.WalkSpeed = 0
  1932. local L = CreateSound(1278007556,Head,8,0.8,false,true)
  1933. L.EmitterSize = 25
  1934. for i = 1, 20 do
  1935. swait()
  1936. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1938. RW.C0 = Clerp(RW.C0, CF(1.4, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1939. LW.C0 = Clerp(LW.C0, CF(-1.4, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1940. RightHip.C0 = Clerp(RightHip.C0, CF(1.4, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.4, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1942. end
  1943. for i = 1, 40 do
  1944. swait()
  1945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.4, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  1947. RW.C0 = Clerp(RW.C0, CF(2.49, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1948. LW.C0 = Clerp(LW.C0, CF(-2.49, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1949. RightHip.C0 = Clerp(RightHip.C0, CF(1.4, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.4, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1951. end
  1952. attack = false
  1953. hum.WalkSpeed = 18
  1954. end
  1955. function Flame_Burst()
  1956. local target = nil
  1957. local targettorso = nil
  1958. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1959. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1960. target = mouse.Target.Parent.Humanoid
  1961. target2 = mouse.Target.Parent
  1962. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1963. end
  1964. end
  1965. if target ~= nil then
  1966. attack = true
  1967. hum.WalkSpeed = 0
  1968. for i = 0, 3.4, 0.1 do
  1969. swait()
  1970. hum.WalkSpeed = 0
  1971. 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)
  1972. 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)
  1973. 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)
  1974. 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)
  1975. 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)
  1976. 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)
  1977. end
  1978. --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"})
  1979. --targettorso:BreakJoints()
  1980. for i = 0, 3.4, 0.1 do
  1981. swait()
  1982. hum.WalkSpeed = 0
  1983. 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"})
  1984. 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)
  1985. 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)
  1986. 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)
  1987. 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)
  1988. 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)
  1989. 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)
  1990. end
  1991. for i, v in pairs(target2:GetChildren()) do
  1992. if(not char:IsAncestorOf(v))then
  1993. local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1994. local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
  1995. if(hum and hedder and hum.Health > 0)then
  1996. Eviscerate(v.Parent)
  1997. end
  1998. end
  1999. end
  2000. attack = false
  2001. hum.WalkSpeed = 18
  2002. end
  2003. end
  2004. function Ritual()
  2005. attack = true
  2006. hum.WalkSpeed = 0
  2007. VALUE2 = true
  2008. repeat
  2009. ---Pose1
  2010. for i = 0, 2.6, 0.1 do
  2011. swait()
  2012. hum.WalkSpeed = 0
  2013. 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)
  2014. 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)
  2015. 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)
  2016. 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)
  2017. 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)
  2018. 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)
  2019. end
  2020. for i = 0, 3.4, 0.1 do
  2021. swait()
  2022. hum.WalkSpeed = 0
  2023. 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)
  2024. 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)
  2025. 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)
  2026. 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)
  2027. 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)
  2028. 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)
  2029. end
  2030. ---Pose2
  2031. for i = 0, 2.6, 0.1 do
  2032. swait()
  2033. hum.WalkSpeed = 0
  2034. 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)
  2035. 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)
  2036. 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)
  2037. 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)
  2038. 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)
  2039. 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)
  2040. end
  2041. for i = 0, 3.4, 0.1 do
  2042. swait()
  2043. hum.WalkSpeed = 0
  2044. 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)
  2045. 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)
  2046. 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)
  2047. 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)
  2048. 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)
  2049. 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)
  2050. end
  2051. until VALUE2 == false
  2052. attack = false
  2053. hum.WalkSpeed = 18
  2054. end
  2055.  
  2056. function trans()
  2057. if transs == false then
  2058. attack = true
  2059. hum.WalkSpeed = 0
  2060. for i = 0, 3.4, 0.1 do
  2061. swait()
  2062. hum.WalkSpeed = 0
  2063. 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)
  2064. 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)
  2065. 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)
  2066. 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)
  2067. 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)
  2068. 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)
  2069. end
  2070. WINGS2.Enabled = false
  2071. WINGS2B.Enabled = false
  2072. EYE.BrickColor = BrickColor.Red()
  2073. EYE2.BrickColor = BrickColor.Red()
  2074. --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"})
  2075. --targettorso:BreakJoints()
  2076. for i = 0, 3.4, 0.1 do
  2077. swait()
  2078. hum.WalkSpeed = 0
  2079. 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"})
  2080. 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)
  2081. 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)
  2082. 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)
  2083. 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)
  2084. 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)
  2085. 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)
  2086. end
  2087. attack = false
  2088. hum.WalkSpeed = 18
  2089. end
  2090. transs = true
  2091. end
  2092.  
  2093. function backtrans()
  2094. if transs == true then
  2095. attack = true
  2096. hum.WalkSpeed = 0
  2097. for i = 0, 3.4, 0.1 do
  2098. swait()
  2099. hum.WalkSpeed = 0
  2100. 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)
  2101. 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)
  2102. 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)
  2103. 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)
  2104. 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)
  2105. 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)
  2106. end
  2107. WINGS2.Enabled = true
  2108. WINGS2B.Enabled = true
  2109. EYE.BrickColor = BrickColor.new("Gold")
  2110. EYE2.BrickColor = BrickColor.new("Gold")
  2111. --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"})
  2112. --targettorso:BreakJoints()
  2113. for i = 0, 3.4, 0.1 do
  2114. swait()
  2115. hum.WalkSpeed = 0
  2116. 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"})
  2117. 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)
  2118. 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)
  2119. 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)
  2120. 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)
  2121. 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)
  2122. 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)
  2123. end
  2124. attack = false
  2125. hum.WalkSpeed = 18
  2126. end
  2127. transs = false
  2128. end
  2129.  
  2130. function G()
  2131. attack = true
  2132. CreateSound(1537955136, Torso, 5, 1, false)
  2133. for i = 0, 0.3, 0.1 / Animation_Speed do
  2134. swait()
  2135. RootPart.CFrame = RootPart.CFrame * CF(0, 0, 0.015)
  2136. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
  2137. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
  2138. RW.C0 = Clerp(RW.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2139. LW.C0 = Clerp(LW.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2140. end
  2141. CreateSound(242076158,RightArm, 7, 0.7, false)
  2142. for i = 0, 1, 0.1 / Animation_Speed do
  2143. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2145. RW.C0 = Clerp(RW.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2146. end
  2147. local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Tornado", VT(5, 22.5, 5))
  2148. MakeForm(TORNADOBASE, "Ball")
  2149. TORNADOBASE.Mesh.Scale = VT(1, 8, 1)
  2150. local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Tornado", VT(0, 0, 0))
  2151. CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6, 135, 6), VT(0, 0, 0))
  2152. local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Tornado", VT(0, 0, 0))
  2153. CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6, 135, 6), VT(0, 0, 0))
  2154. CreateSound(415700134, TORNADOBASE, 3, 0.5, true)
  2155. coroutine.resume(coroutine.create(function()
  2156. local FRAME = RootPart.CFrame * CF(0, -5, -0.5)
  2157. for E = 1, 185 do
  2158. swait()
  2159. FRAME = FRAME * CF(0, 0, -0.8)
  2160. TORNADOBASE.CFrame = FRAME * CF(0, TORNADOBASE.Size.Y / 2, 0)
  2161. SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E * 5), RAD(0))
  2162. SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
  2163. for i = 1, math.ceil(TORNADOBASE.Size.Y / 6) do
  2164. ApplyAoE(TORNADOBASE.CFrame * CF(0, TORNADOBASE.Size.Y / 2, 0) * CF(0, -i * 6, 0).p, 8, 2, 3, -35, 0)
  2165. end
  2166. WACKYEFFECT({
  2167. Time = 5,
  2168. EffectType = "Wave",
  2169. Size = VT(10, 8, 10),
  2170. Size2 = VT(0, 0, 0),
  2171. Transparency = 0,
  2172. Transparency2 = 1,
  2173. CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E * 5), RAD(0)),
  2174. MoveToPos = nil,
  2175. RotationX = 0,
  2176. RotationY = 5,
  2177. RotationZ = 0,
  2178. Material = "Neon",
  2179. Color = TORNADOBASE.Color,
  2180. SoundID = nil,
  2181. SoundPitch = MRANDOM(6, 8) / 10,
  2182. SoundVolume = 2
  2183. })
  2184. end
  2185. for i = 1, 15 do
  2186. swait()
  2187. TORNADOBASE.Transparency = i / 15
  2188. SWIRL.Transparency = i / 15
  2189. SWIRL2.Transparency = i / 15
  2190. SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i * 5), RAD(0))
  2191. SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i * 15), RAD(0))
  2192. end
  2193. TORNADOBASE:remove()
  2194. SWIRL:remove()
  2195. SWIRL2:remove()
  2196. end))
  2197. for i = 0, 1, 0.1 / Animation_Speed do
  2198. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2200. RW.C0 = Clerp(RW.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2201. end
  2202. attack = false
  2203.  
  2204. end
  2205.  
  2206. -------------------------------------------------------
  2207. --End Attacks N Stuff--
  2208. -------------------------------------------------------
  2209. mouse.KeyDown:connect(function(key)
  2210. if (VALUE1 == false and attack == false) or VALUE2 == true then
  2211. if key == "q" then
  2212. if VALUE2 == false then
  2213. Ritual()
  2214. elseif VALUE2 == true then
  2215. VALUE2 = false
  2216. end
  2217. end
  2218. end
  2219. if attack == false then
  2220. if key == 't' then
  2221. chatfunc("You prolong the inevitable.")
  2222. Cso("907332040", hed, 10, 1.1)
  2223. elseif key == 'z' then
  2224. Shadom_Circle()
  2225. elseif key == 'f' then
  2226. Taunt()
  2227. elseif key == 'b' then
  2228. Flame_Burst()
  2229. elseif key == 'e' then
  2230. trans()
  2231. elseif key == 'r' then
  2232. backtrans()
  2233. elseif key == 'G' then
  2234. G()
  2235. end
  2236. end
  2237. end)
  2238.  
  2239. mouse.KeyDown:connect(function(key)
  2240. if string.byte(key) == 48 then
  2241. Swing = 2
  2242. hum.WalkSpeed = 38.82
  2243. end
  2244. end)
  2245. mouse.KeyUp:connect(function(key)
  2246. if string.byte(key) == 48 then
  2247. Swing = 1
  2248. hum.WalkSpeed = 18
  2249. end
  2250. end)
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257. -------------------------------------------------------
  2258. --Start Animations--
  2259. -------------------------------------------------------
  2260. while true do
  2261. swait()
  2262. sine = sine + change
  2263. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2264. local velderp = root.Velocity.y
  2265. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2266. if transs == false then
  2267. if equipped == true or equipped == false then
  2268. if attack == false then
  2269. idle = idle + 1
  2270. else
  2271. idle = 0
  2272. end
  2273. if 1 < root.Velocity.y and hitfloor == nil then
  2274. Anim = "Jump"
  2275. if attack == false then
  2276. 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)
  2277. 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)
  2278. 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)
  2279. 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)
  2280. 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)
  2281. 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)
  2282. end
  2283. elseif -1 > root.Velocity.y and hitfloor == nil then
  2284. Anim = "Fall"
  2285. if attack == false then
  2286. 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)
  2287. 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)
  2288. 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)
  2289. 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)
  2290. 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)
  2291. 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)
  2292. end
  2293. elseif torvel < 1 and hitfloor ~= nil then
  2294. Anim = "Idle"
  2295. change = 1
  2296. if attack == false then
  2297. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  2298. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  2299. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15)
  2300. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15)
  2301. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1)
  2302. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1)
  2303. end
  2304. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2305. Anim = "Walk"
  2306. change = 1
  2307. if attack == false then
  2308. 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)
  2309. 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)
  2310. 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)
  2311. 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)
  2312. 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)
  2313. 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)
  2314. end
  2315. elseif torvel >= 25 and hitfloor ~= nil then
  2316. Anim = "Sprint"
  2317. change = 1.35
  2318. if attack == false then
  2319. 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)
  2320. 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)
  2321. 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)
  2322. 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)
  2323. 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)
  2324. 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)
  2325. end
  2326. end
  2327. end
  2328. end
  2329.  
  2330. if transs == true then
  2331. if equipped == true or equipped == false then
  2332. if attack == false then
  2333. idle = idle + 1
  2334. else
  2335. idle = 0
  2336. end
  2337. if 1 < root.Velocity.y and hitfloor == nil then
  2338. Anim = "Jump"
  2339. if attack == false then
  2340. 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)
  2341. 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)
  2342. 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)
  2343. 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)
  2344. 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)
  2345. 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)
  2346. end
  2347. elseif -1 > root.Velocity.y and hitfloor == nil then
  2348. Anim = "Fall"
  2349. if attack == false then
  2350. 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)
  2351. 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)
  2352. 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)
  2353. 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)
  2354. 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)
  2355. 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)
  2356. end
  2357. elseif torvel < 1 and hitfloor ~= nil then
  2358. Anim = "Idle"
  2359. change = 1
  2360. if attack == false then
  2361. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2362. tors.Neck.C0 = clerp(tors.Neck.C0, necko *CF(0, 0, 0 + ((1* Player_Size) - 1))* angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
  2363. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
  2364. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  2365. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-7.5 * Sin(sine / 20)), Rad(25 + 7.5 * Sin(sine / 20))), 0.1)
  2366. 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(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
  2367. end
  2368. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2369. Anim = "Walk"
  2370. change = 1
  2371. if attack == false then
  2372. 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)
  2373. 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)
  2374. 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)
  2375. 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)
  2376. 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)
  2377. 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)
  2378. end
  2379. elseif torvel >= 25 and hitfloor ~= nil then
  2380. Anim = "Sprint"
  2381. change = 1.35
  2382. if attack == false then
  2383. 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)
  2384. 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)
  2385. 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)
  2386. 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)
  2387. 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)
  2388. 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)
  2389. end
  2390. end
  2391. end
  2392. end
  2393. for _, c in pairs(char:GetChildren()) do
  2394. if c.ClassName == "Part" and c.Name ~= "Detail" and c.Name ~= "Add-ons" then
  2395. c.Material = "Fabric"
  2396. if c:FindFirstChildOfClass("ParticleEmitter") then
  2397. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2398. end
  2399. if c ~= hed then
  2400. c.Color = Color3.new(0, 0, 0)
  2401. else
  2402. c.Color = Color3.new(0, 0, 0)
  2403. end
  2404. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2405. c:remove()
  2406. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2407. c:remove()
  2408. end
  2409. end
  2410. local ACCEL1 = Vector3.new(10, 2 - 6 * Cos(sine / 24), -4 - 2 * Cos(sine / 24))
  2411. local ACCEL2 = Vector3.new(-10, 2 - 6 * Cos(sine / 24), -4 - 2 * Cos(sine / 24))
  2412. WINGS1.Acceleration = ACCEL1
  2413. WINGS1B.Acceleration = ACCEL1
  2414. WINGS2.Acceleration = ACCEL2
  2415. WINGS2B.Acceleration = ACCEL2
  2416.  
  2417. Music.SoundId = "rbxassetid://"..SONG
  2418. Music.Looped = true
  2419. Music.Pitch = 1
  2420. Music.Volume = 5
  2421. Music.Parent = tors
  2422. Music:Resume()
  2423. if 0 < #Effects then
  2424. for e = 1, #Effects do
  2425. if Effects[e] ~= nil then
  2426. local Thing = Effects[e]
  2427. if Thing ~= nil then
  2428. local Part = Thing[1]
  2429. local Mode = Thing[2]
  2430. local Delay = Thing[3]
  2431. local IncX = Thing[4]
  2432. local IncY = Thing[5]
  2433. local IncZ = Thing[6]
  2434. if 1 >= Thing[1].Transparency then
  2435. if Thing[2] == "Block1" then
  2436. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2437. local Mesh = Thing[1].Mesh
  2438. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2440. elseif Thing[2] == "Block2" then
  2441. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2442. local Mesh = Thing[7]
  2443. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2444. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2445. elseif Thing[2] == "Block3" then
  2446. 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)
  2447. local Mesh = Thing[7]
  2448. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2449. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2450. elseif Thing[2] == "Cylinder" then
  2451. local Mesh = Thing[1].Mesh
  2452. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2453. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2454. elseif Thing[2] == "Blood" then
  2455. local Mesh = Thing[7]
  2456. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2457. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2458. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2459. elseif Thing[2] == "Elec" then
  2460. local Mesh = Thing[1].Mesh
  2461. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2462. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2463. elseif Thing[2] == "Disappear" then
  2464. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2465. elseif Thing[2] == "Shatter" then
  2466. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2467. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2468. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2469. Thing[6] = Thing[6] + Thing[5]
  2470. end
  2471. else
  2472. Part.Parent = nil
  2473. table.remove(Effects, e)
  2474. end
  2475. end
  2476. end
  2477. end
  2478. end
  2479. end
  2480. -------------------------------------------------------
  2481. --End Animations And Script--
  2482. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement