Advertisement
Goo345

Untitled

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