Advertisement
Axelpuff

Blight FE

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