Advertisement
REX_THE_LEAKER

Blight [FE]

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