Advertisement
Zebula_The_Scripter

Untitled

Jul 9th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.44 KB | None | 0 0
  1.  
  2. wait(1/60)
  3.  
  4.  
  5. --// Shortcut Variables \\--
  6. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  7. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  8. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  9. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  10. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  11. local R3 = {N=Region3.new}
  12. local De = S.Debris
  13. local WS = workspace
  14. local Lght = S.Lighting
  15. local RepS = S.ReplicatedStorage
  16. local IN = Instance.new
  17. local Plrs = S.Players
  18.  
  19. local Black = C3.N(0,0,0)
  20. local White = C3.N(1,1,1)
  21.  
  22. function NumSeq(...)
  23. local tab = {...}
  24. local Sequence = {}
  25. for _,v in next, tab do
  26. table.insert(Sequence,NumberSequenceKeypoint.new(unpack(v)))
  27. end
  28. if(tab[#tab][1] ~= 1)then
  29. local final = tab[#tab]
  30. table.insert(Sequence,NumberSequenceKeypoint.new(1,final[2],final[3]))
  31. end
  32. return NumberSequence.new(Sequence)
  33. end
  34.  
  35.  
  36. CS3 = function(r,g,b)
  37. return ColorSequence.new(Color3.fromRGB(r,g,b))
  38. end
  39.  
  40. --// Initializing \\--
  41. local Plr = Plrs.LocalPlayer
  42. local Char = Plr.Character
  43. local Hum = Char:FindFirstChildOfClass'Humanoid'
  44. local RArm = Char["Right Arm"]
  45. local LArm = Char["Left Arm"]
  46. local RLeg = Char["Right Leg"]
  47. local LLeg = Char["Left Leg"]
  48. local Root = Char:FindFirstChild'HumanoidRootPart'
  49. local Torso = Char.Torso
  50. local Head = Char.Head
  51. local NeutralAnims = true
  52. local Attack = false
  53. local Debounces = {Debounces={}}
  54. local Mouse = Plr:GetMouse()
  55. local Hit = {}
  56. local Sine = 0
  57. local Change = 1
  58. local Combo = 1
  59.  
  60. local Effects = IN("Folder",Char)
  61. Effects.Name = "Effects"
  62.  
  63.  
  64. --// Debounce System \\--
  65.  
  66.  
  67. function Debounces:New(name,cooldown)
  68. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  69. setmetatable(aaaaa,{__index = Debounces})
  70. Debounces.Debounces[name] = aaaaa
  71. return aaaaa
  72. end
  73.  
  74. function Debounces:Use(overrideUsable)
  75. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  76. if(self.Usable or overrideUsable)then
  77. self.Usable = false
  78. self.CoolingDown = true
  79. local LastUse = time()
  80. self.LastUse = LastUse
  81. delay(self.Cooldown or 2,function()
  82. if(self.LastUse == LastUse)then
  83. self.CoolingDown = false
  84. self.Usable = true
  85. end
  86. end)
  87. end
  88. end
  89.  
  90. function Debounces:Get(name)
  91. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  92. for i,v in next, Debounces.Debounces do
  93. if(i == name)then
  94. return v;
  95. end
  96. end
  97. end
  98.  
  99. function Debounces:GetProgressPercentage()
  100. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  101. if(self.CoolingDown and not self.Usable)then
  102. return math.max(
  103. math.floor(
  104. (
  105. (time()-self.LastUse)/self.Cooldown or 2
  106. )*100
  107. )
  108. )
  109. else
  110. return 100
  111. end
  112. end
  113.  
  114. --// Instance Creation Functions \\--
  115.  
  116. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  117. local Sound = IN("Sound")
  118. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  119. Sound.Pitch = pitch or 1
  120. Sound.Volume = volume or 1
  121. Sound.Looped = looped or false
  122. if(autoPlay)then
  123. coroutine.wrap(function()
  124. repeat wait() until Sound.IsLoaded
  125. Sound.Playing = autoPlay or false
  126. end)()
  127. end
  128. if(not looped and effect)then
  129. Sound.Stopped:connect(function()
  130. Sound.Volume = 0
  131. Sound:destroy()
  132. end)
  133. elseif(effect)then
  134. warn("Sound can't be looped and a sound effect!")
  135. end
  136. Sound.Parent =parent or Torso
  137. return Sound
  138. end
  139. function Part(parent,color,material,size,cframe,anchored,cancollide)
  140. local part = IN("Part")
  141. part.Parent = parent or Char
  142. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  143. part.Material = material or Enum.Material.SmoothPlastic
  144. part.TopSurface,part.BottomSurface=10,10
  145. part.Size = size or V3.N(1,1,1)
  146. part.CFrame = cframe or CF.N(0,0,0)
  147. part.CanCollide = cancollide or false
  148. part.Anchored = anchored or false
  149. return part
  150. end
  151.  
  152. function Weld(part0,part1,c0,c1)
  153. local weld = IN("Weld")
  154. weld.Parent = part0
  155. weld.Part0 = part0
  156. weld.Part1 = part1
  157. weld.C0 = c0 or CF.N()
  158. weld.C1 = c1 or CF.N()
  159. return weld
  160. end
  161.  
  162. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  163. local part = IN("SpecialMesh")
  164. part.MeshId = meshid or ""
  165. part.TextureId = textid or ""
  166. part.Scale = scale or V3.N(1,1,1)
  167. part.Offset = offset or V3.N(0,0,0)
  168. part.MeshType = meshtype or Enum.MeshType.Sphere
  169. part.Parent = parent
  170. return part
  171. end
  172.  
  173. NewInstance = function(instance,parent,properties)
  174. local inst = Instance.new(instance)
  175. inst.Parent = parent
  176. if(properties)then
  177. for i,v in next, properties do
  178. pcall(function() inst[i] = v end)
  179. end
  180. end
  181. return inst;
  182. end
  183.  
  184. function Clone(instance,parent,properties)
  185. local inst = instance:Clone()
  186. inst.Parent = parent
  187. if(properties)then
  188. for i,v in next, properties do
  189. pcall(function() inst[i] = v end)
  190. end
  191. end
  192. return inst;
  193. end
  194.  
  195. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  196. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  197. local Sound = IN("Sound")
  198. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  199. Sound.Pitch = pitch or 1
  200. Sound.Volume = volume or 1
  201. Sound.Looped = looped or false
  202. if(autoPlay)then
  203. coroutine.wrap(function()
  204. repeat wait() until Sound.IsLoaded
  205. Sound.Playing = autoPlay or false
  206. end)()
  207. end
  208. if(not looped and effect)then
  209. Sound.Stopped:connect(function()
  210. Sound.Volume = 0
  211. soundPart:destroy()
  212. end)
  213. elseif(effect)then
  214. warn("Sound can't be looped and a sound effect!")
  215. end
  216. Sound.Parent = soundPart
  217. return Sound
  218. end
  219.  
  220.  
  221. --// Extended ROBLOX tables \\--
  222. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  223. --// Require stuff \\--
  224. function CamShake(who,times,intense,origin)
  225. coroutine.wrap(function()
  226. if(script:FindFirstChild'CamShake')then
  227. local cam = script.CamShake:Clone()
  228. cam:WaitForChild'intensity'.Value = intense
  229. cam:WaitForChild'times'.Value = times
  230.  
  231. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  232. cam.Parent = who
  233. wait()
  234. cam.Disabled = false
  235. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  236. local intensity = intense
  237. local cam = workspace.CurrentCamera
  238. for i = 1, times do
  239. local camDistFromOrigin
  240. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  241. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  242. elseif(typeof(origin) == 'Vector3')then
  243. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  244. end
  245. if(camDistFromOrigin)then
  246. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  247. end
  248. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  249. swait()
  250. end
  251. end
  252. end)()
  253. end
  254.  
  255. function CamShakeAll(times,intense,origin)
  256. for _,v in next, Plrs:players() do
  257. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  258. end
  259. end
  260.  
  261. function ServerScript(code)
  262. if(script:FindFirstChild'Loadstring')then
  263. local load = script.Loadstring:Clone()
  264. load:WaitForChild'Sauce'.Value = code
  265. load.Disabled = false
  266. load.Parent = workspace
  267. elseif(NS and typeof(NS) == 'function')then
  268. NS(code,workspace)
  269. else
  270. warn("no serverscripts lol")
  271. end
  272. end
  273.  
  274. function RunLocal(where,code)
  275. ServerScript([[
  276. wait()
  277. script.Parent=nil
  278. if(not _G.Http)then _G.Http = game:service'HttpService' end
  279.  
  280. local Http = _G.Http or game:service'HttpService'
  281.  
  282. local source = ]].."[["..code.."]]"..[[
  283. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  284. local asd = Http:PostAsync(link,source)
  285. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  286. local ID = Http:JSONDecode(asd).Result.Require_ID
  287. local vs = require(ID).VORTH_SCRIPT
  288. vs.Parent = game.]]..where:GetFullName()
  289. )
  290. end
  291.  
  292. --// Customization \\--
  293.  
  294. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  295. local Remove_Hats = false
  296. local Remove_Clothing = false
  297. local PlayerSize = 1
  298. local DamageColor = BrickColor.new(Plr.UserId == 5719877 and 'Dark indigo' or 'Crimson')
  299. local God = false
  300. local Muted = false
  301.  
  302. local WalkSpeed = 0
  303.  
  304. Hum.WalkSpeed = WalkSpeed
  305. --// Weapon and GUI creation, and Character Customization \\--
  306.  
  307. New = function(Object, Parent, Name, Data)
  308. local Object = Instance.new(Object)
  309. for Index, Value in pairs(Data or {}) do
  310. Object[Index] = Value
  311. end
  312. Object.Parent = Parent
  313. Object.Name = Name
  314. if(Object:IsA'BasePart' and Plr.UserId == 5719877 and tostring(Object.BrickColor):lower():find"crimson")then
  315. Object.Color = BrickColor.new'Dark indigo'.Color
  316. end
  317. return Object
  318. end
  319.  
  320. --// Stop animations \\--
  321. for _,v in next, Hum:GetPlayingAnimationTracks() do
  322. v:Stop();
  323. end
  324.  
  325. pcall(game.Destroy,Char:FindFirstChild'Animate')
  326. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  327.  
  328. --// Joints \\--
  329.  
  330. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  331. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  332. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  333. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  334. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  335. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  336. local HW = NewInstance('Motor',Handle,{Part0=RArm,Part1=Handle,C0=CF.N(0,-1,0)*CF.A(M.R(-90),0,0)})
  337.  
  338.  
  339. local LSC0 = LS.C0
  340. local RSC0 = RS.C0
  341. local NKC0 = NK.C0
  342. local LHC0 = LH.C0
  343. local RHC0 = RH.C0
  344. local RJC0 = RJ.C0
  345.  
  346. --// Artificial HB \\--
  347.  
  348. local ArtificialHB = IN("BindableEvent", script)
  349. ArtificialHB.Name = "Heartbeat"
  350.  
  351. script:WaitForChild("Heartbeat")
  352.  
  353. local tf = 0
  354. local allowframeloss = false
  355. local tossremainder = false
  356. local lastframe = tick()
  357. local frame = 1/Frame_Speed
  358. ArtificialHB:Fire()
  359.  
  360. game:GetService("RunService").Heartbeat:connect(function(s, p)
  361. tf = tf + s
  362. if tf >= frame then
  363. if allowframeloss then
  364. script.Heartbeat:Fire()
  365. lastframe = tick()
  366. else
  367. for i = 1, math.floor(tf / frame) do
  368. ArtificialHB:Fire()
  369. end
  370. lastframe = tick()
  371. end
  372. if tossremainder then
  373. tf = 0
  374. else
  375. tf = tf - frame * math.floor(tf / frame)
  376. end
  377. end
  378. end)
  379.  
  380. function swait(num)
  381. if num == 0 or num == nil then
  382. ArtificialHB.Event:wait()
  383. else
  384. for i = 0, num do
  385. ArtificialHB.Event:wait()
  386. end
  387. end
  388. end
  389.  
  390. --// Chat Function \\--
  391. -- Thanks Sugarie \\--
  392. function chatfunc(text)
  393. local chat = coroutine.wrap(function()
  394. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  395. Char:FindFirstChild("TalkingBillBoard"):destroy()
  396. end
  397. local naeeym2 = Instance.new("BillboardGui",Char)
  398. naeeym2.Size = UDim2.new(0,100,0,40)
  399. naeeym2.StudsOffset = Vector3.new(0,3,0)
  400. naeeym2.Adornee = Head
  401. naeeym2.Name = "TalkingBillBoard"
  402. local tecks2 = Instance.new("TextLabel",naeeym2)
  403. tecks2.BackgroundTransparency = 1
  404. tecks2.BorderSizePixel = 0
  405. tecks2.Text = ""
  406. tecks2.Font = "Fantasy"
  407. tecks2.FontSize = "Size24"
  408. tecks2.TextStrokeTransparency = 0
  409. tecks2.TextColor3 = (Plr.UserId == 5719877 and BrickColor.new'Dark indigo'.Color or Color3.new(.6,0,0))
  410. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  411. tecks2.Size = UDim2.new(1,0,0.5,0)
  412.  
  413. coroutine.resume(coroutine.create(function()
  414. while tecks2 ~= nil do
  415. swait(1.5)
  416. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  417. end
  418. end))
  419. for i = 1,string.len(text),1 do
  420. Sound(Head,565939471,1,1,false,true,true)
  421. tecks2.Text = string.sub(text,1,i)
  422. swait(0.3)
  423. end
  424. swait(60)
  425. for i = 1, 5 do
  426. swait(.02)
  427. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  428. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  429. tecks2.TextTransparency = tecks2.TextTransparency + .2
  430. end
  431. naeeym2:Destroy()
  432. end)
  433. chat()
  434. end
  435.  
  436.  
  437.  
  438. --// Effect Function(s) \\--
  439.  
  440. function WingsColor(c)
  441. if(Char:FindFirstChild'LeftWing')then
  442. for _,v in next, Char.LeftWing:children() do
  443. if(v:IsA'BasePart')then
  444. v[typeof(c) == 'Color3' and 'Color' or 'BrickColor'] = c
  445. end
  446. end
  447. end
  448. if(Char:FindFirstChild'Halo')then
  449. for _,v in next, Char.Halo:children() do
  450. if(v:IsA'BasePart')then
  451. v[typeof(c) == 'Color3' and 'Color' or 'BrickColor'] = c
  452. end
  453. end
  454. end
  455. end
  456.  
  457.  
  458.  
  459. function Bezier(startpos, pos2, pos3, endpos, t)
  460. local A = startpos:lerp(pos2, t)
  461. local B = pos2:lerp(pos3, t)
  462. local C = pos3:lerp(endpos, t)
  463. local lerp1 = A:lerp(B, t)
  464. local lerp2 = B:lerp(C, t)
  465. local cubic = lerp1:lerp(lerp2, t)
  466. return cubic
  467. end
  468.  
  469. function SphereFX(duration,color,scale,pos,endScale,increment)
  470. return Effect{
  471. Effect='ResizeAndFade',
  472. Color=color,
  473. Size=scale,
  474. Mesh={MeshType=Enum.MeshType.Sphere},
  475. CFrame=pos,
  476. FXSettings={
  477. EndSize=endScale,
  478. EndIsIncrement=increment
  479. }
  480. }
  481. end
  482.  
  483. function BlastFX(duration,color,scale,pos,endScale,increment)
  484. return Effect{
  485. Effect='ResizeAndFade',
  486. Color=color,
  487. Size=scale,
  488. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  489. CFrame=pos,
  490. FXSettings={
  491. EndSize=endScale,
  492. EndIsIncrement=increment
  493. }
  494. }
  495. end
  496.  
  497. function BlockFX(duration,color,scale,pos,endScale,increment)
  498. return Effect{
  499. Effect='ResizeAndFade',
  500. Color=color,
  501. Size=scale,
  502. CFrame=pos,
  503. FXSettings={
  504. EndSize=endScale,
  505. EndIsIncrement=increment
  506. }
  507. }
  508. end
  509.  
  510. function ShootBullet(data)
  511. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  512. local Size = data.Size or V3.N(2,2,2)
  513. local Color = data.Color or BrickColor.new'Crimson'
  514. local StudsPerFrame = data.Speed or 10
  515. local Shape = data.Shape or 'Ball'
  516. local Frames = data.Frames or 160
  517. local Pos = data.Origin or Torso.CFrame
  518. local Direction = data.Direction or Mouse.Hit
  519. local Material = data.Material or Enum.Material.Neon
  520. local OnHit = data.HitFunction or function(hit,pos)
  521. Effect{
  522. Effect='ResizeAndFade',
  523. Color=Color,
  524. Size=V3.N(10,10,10),
  525. Mesh={MeshType=Enum.MeshType.Sphere},
  526. CFrame=CF.N(pos),
  527. FXSettings={
  528. EndSize=V3.N(.05,.05,.05),
  529. EndIsIncrement=true
  530. }
  531. }
  532. for i = 1, 5 do
  533. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  534. Effect{
  535. Effect='Fade',
  536. Frames=65,
  537. Size=V3.N(5,5,10),
  538. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  539. Mesh = {MeshType=Enum.MeshType.Sphere},
  540. Material=Enum.Material.Neon,
  541. Color=Color,
  542. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  543. }
  544. end
  545. AOEDamage(pos,10,15,30,0,'Normal',10,4)
  546. end
  547.  
  548. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  549. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  550. if(Shape == 'Ball')then
  551. BMesh.MeshType = Enum.MeshType.Sphere
  552. elseif(Shape == 'Head')then
  553. BMesh.MeshType = Enum.MeshType.Head
  554. elseif(Shape == 'Cylinder')then
  555. BMesh.MeshType = Enum.MeshType.Cylinder
  556. end
  557.  
  558. coroutine.wrap(function()
  559. for i = 1, Frames+1 do
  560. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  561. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  562. if(hit)then
  563. OnHit(hit,pos,norm,dist)
  564. break;
  565. end
  566. swait()
  567. end
  568. Bullet:destroy()
  569. end)()
  570.  
  571. end
  572.  
  573. function Zap(data)
  574. local sCF,eCF = data.StartCFrame,data.EndCFrame
  575. assert(sCF,"You need a start CFrame!")
  576. assert(eCF,"You need an end CFrame!")
  577. local parts = data.PartCount or 15
  578. local zapRot = data.ZapRotation or {-5,5}
  579. local startThick = data.StartSize or 3;
  580. local endThick = data.EndSize or startThick/2;
  581. local color = data.Color or BrickColor.new'Electric blue'
  582. local delay = data.Delay or 35
  583. local delayInc = data.DelayInc or 0
  584. local lastLightning;
  585. local MagZ = (sCF.p - eCF.p).magnitude
  586. local thick = startThick
  587. local inc = (startThick/parts)-(endThick/parts)
  588.  
  589. for i = 1, parts do
  590. local pos = sCF.p
  591. if(lastLightning)then
  592. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  593. end
  594. delay = delay + delayInc
  595. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  596. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  597. if(parts == i)then
  598. local MagZ = (pos-eCF.p).magnitude
  599. zapPart.Size = V3.N(endThick,endThick,MagZ)
  600. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  601. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  602. else
  603. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  604. end
  605.  
  606. lastLightning = zapPart
  607. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  608.  
  609. thick=thick-inc
  610.  
  611. end
  612. end
  613.  
  614. function Zap2(data)
  615. local Color = data.Color or BrickColor.new'Electric blue'
  616. local StartPos = data.Start or Torso.Position
  617. local EndPos = data.End or Mouse.Hit.p
  618. local SegLength = data.SegL or 2
  619. local Thicc = data.Thickness or 0.5
  620. local Fades = data.Fade or 45
  621. local Parent = data.Parent or Effects
  622. local MaxD = data.MaxDist or 200
  623. local Branch = data.Branches or false
  624. local Material = data.Material or Enum.Material.Neon
  625. local Raycasts = data.Raycasts or false
  626. local Offset = data.Offset or {0,360}
  627. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  628. if((StartPos-EndPos).magnitude > MaxD)then
  629. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  630. end
  631. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  632. if(Raycasts)then
  633. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  634. end
  635. local segments = dist/SegLength
  636. local model = IN("Model",Parent)
  637. model.Name = 'Lightning'
  638. local Last;
  639. for i = 1, segments do
  640. local size = (segments-i)/25
  641. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  642. if(AddMesh)then IN("CylinderMesh",prt) end
  643. if(Last and math.floor(segments) == i)then
  644. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  645. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  646. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  647. elseif(not Last)then
  648. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  649. else
  650. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  651. end
  652. Last = prt
  653. if(Branch)then
  654. local choice = M.RNG(1,7+((segments-i)*2))
  655. if(choice == 1)then
  656. local LastB;
  657. for i2 = 1,M.RNG(2,5) do
  658. local size2 = ((segments-i)/35)/i2
  659. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  660. if(AddMesh)then IN("CylinderMesh",prt) end
  661. if(not LastB)then
  662. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  663. else
  664. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  665. end
  666. LastB = prt
  667. end
  668. end
  669. end
  670. end
  671. if(Fades > 0)then
  672. coroutine.wrap(function()
  673. for i = 1, Fades do
  674. for _,v in next, model:children() do
  675. if(v:IsA'BasePart')then
  676. v.Transparency = (i/Fades)
  677. end
  678. end
  679. swait()
  680. end
  681. model:destroy()
  682. end)()
  683. else
  684. S.Debris:AddItem(model,.01)
  685. end
  686. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  687. end
  688.  
  689. function Tween(obj,props,time,easing,direction,repeats,backwards)
  690. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  691. local tween = S.TweenService:Create(obj, info, props)
  692.  
  693. tween:Play()
  694. end
  695.  
  696. function Effect(data)
  697. local FX = data.Effect or 'ResizeAndFade'
  698. local Parent = data.Parent or Effects
  699. local Color = data.Color or C3.N(0,0,0)
  700. local Size = data.Size or V3.N(1,1,1)
  701. local MoveDir = data.MoveDirection or nil
  702. local MeshData = data.Mesh or nil
  703. local SndData = data.Sound or nil
  704. local Frames = data.Frames or 45
  705. local Manual = data.Manual or nil
  706. local Material = data.Material or nil
  707. local CFra = data.CFrame or Torso.CFrame
  708. local Settings = data.FXSettings or {}
  709. local Shape = data.Shape or Enum.PartType.Block
  710. local Snd,Prt,Msh;
  711. local RotInc = data.RotInc or {0,0,0}
  712. if(typeof(RotInc) == 'number')then
  713. RotInc = {RotInc,RotInc,RotInc}
  714. end
  715. coroutine.wrap(function()
  716. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  717. Prt = Manual
  718. else
  719. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  720. Prt.Shape = Shape
  721. end
  722. if(typeof(MeshData) == 'table')then
  723. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  724. elseif(typeof(MeshData) == 'Instance')then
  725. Msh = MeshData:Clone()
  726. Msh.Parent = Prt
  727. elseif(Shape == Enum.PartType.Block)then
  728. Msh = Mesh(Prt,Enum.MeshType.Brick)
  729. end
  730. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  731. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  732. end
  733. if(Snd)then
  734. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  735. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  736. end
  737. Size = (Msh and Msh.Scale or Size)
  738. local endSize = (Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  739. local growX,growY,growZ = Size.X-endSize.X,Size.Y-endSize.Y,Size.Z-endSize.Z
  740. local grow = V3.N(growX,growY,growZ)
  741. local MoveSpeed = nil;
  742. if(MoveDir)then
  743. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  744. end
  745. if(FX ~= 'Arc')then
  746. for Frame = 1, Frames do
  747. if(FX == "Fade")then
  748. Prt.Transparency = (Frame/Frames)
  749. elseif(FX == "Resize")then
  750. if(not Settings.EndSize)then
  751. Settings.EndSize = V3.N(0,0,0)
  752. end
  753. if(Settings.EndIsIncrement)then
  754. if(Msh)then
  755. Msh.Scale = Msh.Scale + Settings.EndSize
  756. else
  757. Prt.Size = Prt.Size + Settings.EndSize
  758. end
  759. else
  760. if(Msh)then
  761. Msh.Scale = Msh.Scale - grow/Frames
  762. else
  763. Prt.Size = Prt.Size - grow/Frames
  764. end
  765. end
  766. elseif(FX == "ResizeAndFade")then
  767. if(not Settings.EndSize)then
  768. Settings.EndSize = V3.N(0,0,0)
  769. end
  770. if(Settings.EndIsIncrement)then
  771. if(Msh)then
  772. Msh.Scale = Msh.Scale + Settings.EndSize
  773. else
  774. Prt.Size = Prt.Size + Settings.EndSize
  775. end
  776. else
  777. if(Msh)then
  778. Msh.Scale = Msh.Scale - grow/Frames
  779. else
  780. Prt.Size = Prt.Size - grow/Frames
  781. end
  782. end
  783. Prt.Transparency = (Frame/Frames)
  784. end
  785. if(Settings.RandomizeCFrame)then
  786. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  787. else
  788. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  789. end
  790. if(MoveDir and MoveSpeed)then
  791. local Orientation = Prt.Orientation
  792. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  793. Prt.Orientation = Orientation
  794. end
  795. swait()
  796. end
  797. Prt:destroy()
  798. else
  799. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  800. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  801. if(start and endP)then
  802. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  803. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  804. for Frame = 0, 1, (Settings.Speed or 0.01) do
  805. if(Settings.Home)then
  806. endP = Settings.Home.CFrame
  807. end
  808. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  809. end
  810. if(Settings.RemoveOnGoal)then
  811. Prt:destroy()
  812. end
  813. else
  814. Prt:destroy()
  815. assert(start,"You need a start position!")
  816. assert(endP,"You need a start position!")
  817. end
  818. end
  819. end)()
  820. return Prt,Msh,Snd
  821. end
  822. function SoulSteal(whom)
  823. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  824. print(torso)
  825. if(torso and torso:IsA'BasePart')then
  826. local Model = Instance.new("Model",Effects)
  827. Model.Name = whom.Name.."'s Soul"
  828. whom:BreakJoints()
  829. local Soul = Part(Model,BrickColor.new(Plr.UserId == 5719877 and "Dark indigo" or "Really red"),'Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  830. Soul.Name = 'Head'
  831. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  832. Effect{
  833. Effect="Arc",
  834. Manual = Soul,
  835. FXSettings={
  836. Start=torso.CFrame,
  837. Home = Torso,
  838. RemoveOnGoal = true,
  839. }
  840. }
  841. local lastPoint = Soul.CFrame.p
  842.  
  843. for i = 0, 1, 0.01 do
  844. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  845. local mag = (lastPoint - Soul.Position).magnitude
  846. Effect{
  847. Effect = "Fade",
  848. CFrame = point * CF.N(0, mag/2, 0),
  849. Size = V3.N(.5,mag+.5,.5),
  850. Color = Soul.BrickColor
  851. }
  852. lastPoint = Soul.CFrame.p
  853. swait()
  854. end
  855. for i = 1, 5 do
  856. Effect{
  857. Effect="Fade",
  858. Color = BrickColor.new((Plr.UserId == 5719877 and "Dark indigo" or "Really red")),
  859. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  860. }
  861. end
  862. end
  863. end
  864.  
  865. --// Other Functions \\ --
  866.  
  867. function CastRay(startPos,endPos,range,ignoreList)
  868. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  869. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  870. return part,pos,norm,(pos and (startPos-pos).magnitude)
  871. end
  872.  
  873. function getRegion(point,range,ignore)
  874. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  875. end
  876.  
  877. function clerp(startCF,endCF,alpha)
  878. return startCF:lerp(endCF, alpha)
  879. end
  880.  
  881. function GetTorso(char)
  882. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  883. end
  884.  
  885.  
  886. function ShowDamage(Pos, Text, Time, Color)
  887. coroutine.wrap(function()
  888. local Rate = (1 / Frame_Speed)
  889. local Pos = (Pos or Vector3.new(0, 0, 0))
  890. local Text = (Text or "")
  891. local Time = (Time or 2)
  892. local Color = (Color or Color3.new(1, 0, 1))
  893. local EffectPart = NewInstance("Part",Effects,{
  894. Material=Enum.Material.SmoothPlastic,
  895. Reflectance = 0,
  896. Transparency = 1,
  897. BrickColor = BrickColor.new(Color),
  898. Name = "Effect",
  899. Size = Vector3.new(0,0,0),
  900. Anchored = true,
  901. CFrame = CF.N(Pos)
  902. })
  903. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  904. Size = UDim2.new(1.25, 0, 1.25, 0),
  905. Adornee = EffectPart,
  906. })
  907. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  908. BackgroundTransparency = 1,
  909. Size = UDim2.new(1, 0, 1, 0),
  910. Text = Text,
  911. Font = "Bodoni",
  912. TextColor3 = Color,
  913. TextStrokeColor3 = Color3.new(0,0,0),
  914. TextStrokeTransparency=0,
  915. TextScaled = true,
  916. })
  917. S.Debris:AddItem(EffectPart, (Time))
  918. EffectPart.Parent = workspace
  919. delay(0, function()
  920. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  921. local Frames = (Time / Rate)
  922. for Frame = 1, Frames do
  923. swait()
  924. local Percent = (Frame / Frames)
  925. TextLabel.TextTransparency = Percent
  926. TextLabel.TextStrokeTransparency = Percent
  927. end
  928. if EffectPart and EffectPart.Parent then
  929. EffectPart:Destroy()
  930. end
  931. end) end)()
  932. end
  933.  
  934. function Kill(who)
  935. who:BreakJoints();
  936. for _,v in next, who:GetDescendants() do
  937. if(v:IsA'BasePart')then
  938. v.Color = Black;
  939. v.Material = Enum.Material.Glass
  940. local emitter = NewInstance("ParticleEmitter",v,{Color=ColorSequence.new(Plr.UserId == 5719877 and BrickColor.new'Dark indigo'.Color or C3.RGB(158,0,0)),LightEmission=1,Size=NumberSequence.new(.5),Texture="rbxasset://textures/particles/sparkles_main.dds",Transparency=NumberSequence.new(0.275,1),ZOffset=1,Speed=NumberRange.new(0),Lifetime=NumberRange.new(1),Rate=500,})
  941. local rek = NewInstance("BodyVelocity",v,{maxForce=V3.N(math.huge,math.huge,math.huge),P=3000,Velocity=V3.N(M.RNG(-35,35),0,M.RNG(-35,35))})
  942. v.Anchored = false
  943. v.CanCollide = false
  944.  
  945. delay(1, function()
  946. Tween(v,{Transparency=1},1,Enum.EasingStyle.Quad)
  947. rek:destroy()
  948. local rek = NewInstance("BodyVelocity",v,{maxForce=V3.N(math.huge,math.huge,math.huge),P=3000,Velocity=V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5))})
  949. emitter.Enabled = false
  950. emitter.Speed = NumberRange.new(5,10)
  951. emitter.Acceleration = V3.N(0,10,0)
  952. S.Debris:AddItem(v,3)
  953. end)
  954.  
  955. elseif(v:IsA'Decal' or v:IsA'Clothing')then
  956. v:destroy()
  957. elseif(v:IsA'Humanoid')then
  958. v:destroy()
  959. end
  960. end
  961. end
  962.  
  963. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult,magical,...)
  964. if(who)then
  965. local wha = {...}
  966. local IgnoreDB = (wha) and (wha)[1] and (wha)[1] == true
  967. if(IgnoreDB == true or IgnoreDB == false)then table.remove(wha,1) end
  968. local origin = (wha) and (wha)[1]
  969. if(typeof(origin) ~= 'Instance')then origin = Root end
  970. if(origin ~= nil)then table.remove(wha,1) end
  971. local hum = who:FindFirstChildOfClass'Humanoid'
  972. local Damage = M.RNG(minDam,maxDam)
  973. local canHit = true
  974. if(hum)then
  975. for _, p in pairs(Hit) do
  976. if p[1] == hum then
  977. if(time() - p[2] < .2) then
  978. canHit = false
  979. else
  980. Hit[_] = nil
  981. end
  982. end
  983. end
  984. local player = S.Players:GetPlayerFromCharacter(who)
  985. if((not player or player.UserId ~= 5719877) and (canHit or IgnoreDB))then
  986. table.insert(Hit,{hum,time()})
  987.  
  988. if(hum.Health >= 1e5)then
  989. if(who:FindFirstChild'Head' and hum.Health > 0)then
  990. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  991. end
  992. Kill(who)
  993. else
  994. hum.MaxHealth = 100
  995.  
  996. if(Type == "Fire")then
  997. --idk..
  998. else
  999. local c = Instance.new("ObjectValue",hum)
  1000. c.Name = "creator"
  1001. c.Value = Plr
  1002. game:service'Debris':AddItem(c,0.35)
  1003. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  1004. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1005. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  1006. end
  1007. hum.Health = hum.Health - Damage*(critMult or 2)
  1008. else
  1009. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1010. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  1011. end
  1012. hum.Health = hum.Health - Damage
  1013. end
  1014. if(hum.Health <= 0 and magical)then
  1015. Kill(who)
  1016. end
  1017. if(Type == 'Knockback' and GetTorso(who))then
  1018. local up = (...) and wha and unpack(wha) or 1
  1019. print(up)
  1020. local bfos = Instance.new("BodyVelocity",GetTorso(who))
  1021. bfos.P = 20000
  1022. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1023. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * Knock)
  1024. S.Debris:AddItem(bfos,.5)
  1025. elseif(Type == 'Knockup' and GetTorso(who))then
  1026. local bfos = Instance.new("BodyVelocity",GetTorso(who))
  1027. bfos.P = 20000
  1028. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1029. bfos.Velocity = Vector3.new(0,Knock,0)
  1030. S.Debris:AddItem(bfos,.5)
  1031. elseif(Type == "Electric")then
  1032. if(M.RNG(1,100) >= critChance)then
  1033. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1034. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  1035. end
  1036. local asd = hum.WalkSpeed/2
  1037. hum.WalkSpeed = asd
  1038. local paralyzed = true
  1039. coroutine.wrap(function()
  1040. while paralyzed do
  1041. swait(25)
  1042. if(M.RNG(1,25) == 1)then
  1043. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1044. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  1045. end
  1046. hum.PlatformStand = true
  1047. end
  1048. end
  1049. end)()
  1050. delay(4, function()
  1051. paralyzed = false
  1052. hum.WalkSpeed = hum.WalkSpeed + asd
  1053. end)
  1054. end
  1055.  
  1056. elseif(Type == 'Knockdown' and GetTorso(who))then
  1057. local rek = GetTorso(who)
  1058. hum.PlatformStand = true
  1059. delay(1,function()
  1060. hum.PlatformStand = false
  1061. end)
  1062. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1063. local bodvol = NewInstance("BodyVelocity",rek,{
  1064. velocity = angle * Knock,
  1065. P = 5000,
  1066. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1067. })
  1068. local rl = NewInstance("BodyAngularVelocity",rek,{
  1069. P = 3000,
  1070. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1071. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1072. })
  1073. game:GetService("Debris"):AddItem(bodvol, .5)
  1074. game:GetService("Debris"):AddItem(rl, .5)
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081. end
  1082.  
  1083. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult,magical,...)
  1084. local hit = {}
  1085. for _,v in next, getRegion(where,range,{Char}) do
  1086. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1087. hit[v.Parent] = true
  1088. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult,magical,...)
  1089. end
  1090. end
  1091. end
  1092.  
  1093. function AOEHeal(where,range,amount)
  1094. local healed = {}
  1095. for _,v in next, getRegion(where,range,{Char}) do
  1096. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1097. if(hum and not healed[hum])then
  1098. hum.Health = hum.Health + amount
  1099. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1100. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1101. end
  1102. end
  1103. end
  1104. end
  1105.  
  1106. function CamShake(who,times,intense,origin)
  1107. coroutine.wrap(function()
  1108. if(script:FindFirstChild'CamShake')then
  1109. local cam = script.CamShake:Clone()
  1110. cam:WaitForChild'intensity'.Value = intense
  1111. cam:WaitForChild'times'.Value = times
  1112.  
  1113. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1114. cam.Parent = who
  1115. wait()
  1116. cam.Disabled = false
  1117. elseif(who and (who == Plr or who == Char or who:IsDescendantOf(Plr)))then
  1118. local intensity = intense
  1119. local cam = workspace.CurrentCamera
  1120. for i = 1, times do
  1121. local camDistFromOrigin
  1122. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1123. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1124. elseif(typeof(origin) == 'Vector3')then
  1125. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1126. end
  1127. if(camDistFromOrigin)then
  1128. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1129. end
  1130. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  1131. swait()
  1132. end
  1133. end
  1134. end)()
  1135. end
  1136.  
  1137. function CamShakeAll(times,intense,origin)
  1138. for _,v in next, Plrs:players() do
  1139. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1140. end
  1141. end
  1142.  
  1143. function ServerScript(code)
  1144. if(script:FindFirstChild'Loadstring')then
  1145. local load = script.Loadstring:Clone()
  1146. load:WaitForChild'Sauce'.Value = code
  1147. load.Disabled = false
  1148. load.Parent = workspace
  1149. elseif(NS and typeof(NS) == 'function')then
  1150. NS(code,workspace)
  1151. else
  1152. warn("no serverscripts lol")
  1153. end
  1154. end
  1155.  
  1156. function LocalOnPlayer(who,code)
  1157. ServerScript([[
  1158. wait()
  1159. script.Parent=nil
  1160. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1161.  
  1162. local Http = _G.Http or game:service'HttpService'
  1163.  
  1164. local source = ]].."[["..code.."]]"..[[
  1165. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1166. local asd = Http:PostAsync(link,source)
  1167. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1168. local ID = Http:JSONDecode(asd).Result.Require_ID
  1169. local vs = require(ID).VORTH_SCRIPT
  1170. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1171. ]])
  1172. end
  1173.  
  1174.  
  1175. --// Intro \\--
  1176. for _,v in next, Scythe:children() do
  1177. if(v:IsA'BasePart')then
  1178. v.Transparency = 1
  1179. end
  1180. end
  1181.  
  1182. pcall(function() Char.ReaperShadowHead.ShadowHeadss.Transparency = 1 end)
  1183. pcall(function() Char.ReaperShadowHead.Eye1.Transparency = 1 end)
  1184. pcall(function() Char.ReaperShadowHead.Eye2.Transparency = 1 end)
  1185. local ShadowHead;
  1186. for i = 0, 6, 0.1 do
  1187. swait()
  1188. Hum.WalkSpeed = WalkSpeed
  1189. Sine = Sine + .75
  1190. local Alpha = .1
  1191. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629413966+.05*M.C(Sine/8), -4.88442311e-07, 1, 5.09317033e-11, 0, -4.35882441e-11, 0.999980271, -0.00628614612, 0, 0.00628616195, 0.999982595),Alpha)
  1192. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488243, -0.990815699-.05*M.C(Sine/8), 0.0216228105, 0.999878287, -2.22119922e-09, 0.0156120937, -9.81379053e-05, 0.999980271, 0.00628539547, -0.0156118199, -0.00628614612, 0.999860764),Alpha)
  1193. RH.C0 = clerp(RH.C0,CFrame.new(0.498538375, -0.990979612-.05*M.C(Sine/8), 0.0154671557, 0.986496866, 1.87209643e-08, -0.163780421, 0.00102892693, 0.999980271, 0.00619763741, 0.163777411, -0.00628245994, 0.986478508),Alpha)
  1194. LS.C0 = clerp(LS.C0,CFrame.new(-1.4262656, 0.582470179+.05*M.C(Sine/8), 0.0189987384, 0.986158848, 0.165066898, 0.0156112732, -0.165180489, 0.986243367, 0.00628170185, -0.0143596325, -0.00877342932, 0.999859571)*CF.A(M.R(0-7*M.S(Sine/16)),0,M.R(0-5*M.C(Sine/16))),Alpha)
  1195. RS.C0 = clerp(RS.C0,CFrame.new(1.48594272, 0.540132999+.05*M.C(Sine/8), -0.0262069479, 0.992103875, -0.124443792, 0.0156112732, 0.124359176, 0.992217422, 0.00628170185, -0.0162715111, -0.00429068506, 0.999859571)*CF.A(M.R(0-5*M.C(Sine/18)),0,M.R(0+5*M.C(Sine/16))),Alpha)
  1196. NK.C0 = clerp(NK.C0,CFrame.new(6.19958155e-06, 1.49894857, -0.0144036785, 1, 3.67697794e-07, -1.62981451e-07, -3.56478267e-07, 0.997964799, 0.0637683496, 1.8440187e-07, -0.0637684688, 0.997967064),Alpha)
  1197. end
  1198.  
  1199. if(not Char:FindFirstChild'ReaperShadowHead')then
  1200. ShadowHead = New("Part",Char,"ShadowHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1201. sMeshA = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.3, 1.5, 1.3),})
  1202. sWeld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1203. else
  1204. ShadowHead = Char.ReaperShadowHead.ShadowHeadss
  1205. end
  1206.  
  1207. for i = 1,0,-.05 do
  1208. swait()
  1209. ShadowHead.Transparency = i
  1210. end
  1211.  
  1212. coroutine.wrap(function()
  1213. for i = 14,23,.025 do
  1214. swait()
  1215. S.Lighting.ClockTime = i
  1216. end
  1217. end)()
  1218.  
  1219.  
  1220. for i = 0, 1.4, 0.1 do
  1221. swait()
  1222. Hum.WalkSpeed = WalkSpeed
  1223. local Alpha = .2
  1224. RJ.C0 = clerp(RJ.C0,CFrame.new(-5.96680536e-08, -1.24488032, -0.0140914526, 1, 5.09317033e-11, 0, -4.35882441e-11, 0.999980271, -0.00628614612, 0, 0.00628616195, 0.999982595),Alpha)
  1225. LH.C0 = clerp(LH.C0,CFrame.new(-0.511937857, 0.254114032, -0.975690305, 0.999878287, -2.22119922e-09, 0.0156120937, -9.81379053e-05, 0.999980271, 0.00628539547, -0.0156118199, -0.00628614612, 0.999860764),Alpha)
  1226. RH.C0 = clerp(RH.C0,CFrame.new(0.528363287, -1.4723922, -0.890294552, 0.983243644, 0.13018477, 0.127608106, -0.134980977, 0.049440749, 0.98961395, 0.122523762, -0.990257561, 0.0661848485),Alpha)
  1227. LS.C0 = clerp(LS.C0,CFrame.new(-1.33000612, 0.396337628, -0.239367515, 0.81851691, -0.512586653, 0.259393871, 0.397494763, 0.179335862, -0.899909258, 0.414763331, 0.839699447, 0.35054028),Alpha)
  1228. RS.C0 = clerp(RS.C0,CFrame.new(1.45876408, 0.535963595, -0.0257564057, 0.983761489, -0.178801253, 0.0156112732, 0.178723007, 0.983879447, 0.00628170185, -0.016482804, -0.00338959182, 0.999859571),Alpha)
  1229. NK.C0 = clerp(NK.C0,CFrame.new(6.61337572e-06, 1.39598942, -0.556828141, 1.00000012, -1.76951289e-07, 2.05822289e-07, -2.04090611e-08, 0.706629395, 0.707583785, -2.70083547e-07, -0.707584679, 0.70663023),Alpha)
  1230. end
  1231.  
  1232. Sound(Torso,137463716,.3,1,false,true,true)
  1233.  
  1234. CamShakeAll(200,250,Torso)
  1235.  
  1236. for i = 1, 100 do
  1237. Hum.WalkSpeed = WalkSpeed
  1238. Effect{
  1239. Effect='ResizeAndFade',
  1240. Color=Black,
  1241. Size=V3.N(.5,1,.5),
  1242. Material=Enum.Material.Neon,
  1243. Mesh={MeshType=Enum.MeshType.Sphere},
  1244. Frames=50,
  1245. CFrame=Root.CFrame*CF.N(M.RNG(-7,7),-2.5,M.RNG(-7,7)),
  1246. FXSettings = {
  1247. EndSize = V3.N(.5,15,.5)
  1248. }
  1249. }
  1250. swait(.6)
  1251. Effect{
  1252. Effect='ResizeAndFade',
  1253. Color=Black,
  1254. Size=V3.N(1,2,1),
  1255. Material=Enum.Material.Neon,
  1256. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976',Offset=V3.N(0,0,-.125)},
  1257. Frames=50,
  1258. RotInc={0,M.R(2),0},
  1259. CFrame=Root.CFrame*CF.N(0,-2.5,0),
  1260. FXSettings = {
  1261. EndSize = V3.N(15,1,15)
  1262. }
  1263. }
  1264. swait(.6)
  1265. end
  1266. swait(120)
  1267. for i = 0, 1.4, 0.1 do
  1268. swait()
  1269. Hum.WalkSpeed = WalkSpeed
  1270. local Alpha = .1
  1271. RJ.C0 = clerp(RJ.C0,CFrame.new(-5.96680536e-08, -1.24488032, -0.0140914526, 1, 5.09317033e-11, 0, -4.35882441e-11, 0.999980271, -0.00628614612, 0, 0.00628616195, 0.999982595),Alpha)
  1272. LH.C0 = clerp(LH.C0,CFrame.new(-0.511937857, 0.254114032, -0.975690305, 0.999878287, -2.22119922e-09, 0.0156120937, -9.81379053e-05, 0.999980271, 0.00628539547, -0.0156118199, -0.00628614612, 0.999860764),Alpha)
  1273. RH.C0 = clerp(RH.C0,CFrame.new(0.528363287, -1.4723922, -0.890294552, 0.983243644, 0.13018477, 0.127608106, -0.134980977, 0.049440749, 0.98961395, 0.122523762, -0.990257561, 0.0661848485),Alpha)
  1274. LS.C0 = clerp(LS.C0,CFrame.new(-1.33000612, 0.396337628, -0.239367515, 0.81851691, -0.512586653, 0.259393871, 0.397494763, 0.179335862, -0.899909258, 0.414763331, 0.839699447, 0.35054028),Alpha)
  1275. RS.C0 = clerp(RS.C0,CFrame.new(1.45876408, 0.535963595, -0.0257564057, 0.983761489, -0.178801253, 0.0156112732, 0.178723007, 0.983879447, 0.00628170185, -0.016482804, -0.00338959182, 0.999859571),Alpha)
  1276. NK.C0 = clerp(NK.C0,CFrame.new(0.00933877565, 1.47889042, 0.0403728262, 0.999878168, 1.87209643e-08, 0.015611317, -9.80963086e-05, 0.999980271, 0.00628170185, -0.0156110264, -0.00628245994, 0.999859571),Alpha)
  1277. end
  1278. Sound(Torso,743521450,1,1,false,true,true)
  1279. pcall(function() Char.ReaperShadowHead.Eye2.Transparency = 0 end)
  1280. for i = 1, 4 do
  1281. Effect{
  1282. Effect='ResizeAndFade',
  1283. Color = ShadowHead.Parent and ShadowHead.Parent:FindFirstChild'Eye2' and ShadowHead.Parent:FindFirstChild'Eye2'.Color or BrickColor.new(Plr.UserId == 5719877 and "Dark indigo" or "Really red"),
  1284. Material = Enum.Material.Neon,
  1285. Size = V3.N(1,1,1),
  1286. Mesh = {MeshType=Enum.MeshType.Sphere},
  1287. CFrame=Head.CFrame*CF.N(-0.2, 0.2, -0.3)*CF.A(0,0,M.R(i*90)),
  1288. FXSettings={
  1289. EndSize=V3.N(.05,5,.05),
  1290. }
  1291. }
  1292. end
  1293.  
  1294. swait(120)
  1295. local Pemitter = Instance.new("ParticleEmitter",EmitPart)
  1296. Pemitter.Color = ColorSequence.new(Color3.new(0,0,0))
  1297. Pemitter.Size = NumberSequence.new(.5)
  1298. Pemitter.Texture = "rbxassetid://243344623"
  1299. Pemitter.Transparency = NumberSequence.new(0,1)
  1300. Pemitter.Acceleration = Vector3.new(0,4,0)
  1301. Pemitter.Lifetime = NumberRange.new(1)
  1302. Pemitter.Rate = 100
  1303. Pemitter.Rotation = NumberRange.new(0,360)
  1304. Pemitter.RotSpeed = NumberRange.new(100)
  1305. Pemitter.Speed = NumberRange.new(0)
  1306. --
  1307. WingsColor(Black)
  1308. if(ShadowHead.Parent.Name ~= 'ReaperShadowHead')then ShadowHead:destroy() end
  1309.  
  1310. Sound(Torso,168586621,.5,1,false,true,true)
  1311.  
  1312. AOEDamage(Torso.Position,60,1,10,100,'Knockback',0,1,true,100)
  1313.  
  1314. CamShakeAll(32,250,Torso)
  1315. pcall(function() Char.ReaperShadowHead.Eye1.Transparency = 0 end)
  1316. if(Plr.UserId == 5719877)then
  1317. pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.RGB(36,12,80) end)
  1318. pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.RGB(36,12,80) end)
  1319. end
  1320.  
  1321. pcall(function()
  1322. coroutine.wrap(function()
  1323. local a = Char.ReaperShadowHead.Eye1:FindFirstChildOfClass'SpecialMesh'
  1324. local b = Char.ReaperShadowHead.Eye2:FindFirstChildOfClass'SpecialMesh'
  1325. repeat wait(2)
  1326. Tween(a,{Scale=V3.N(1,.1,1)},.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,true)
  1327. Tween(b,{Scale=V3.N(1,.1,1)},.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,true)
  1328. until nil
  1329. end)()
  1330. end)
  1331.  
  1332. coroutine.wrap(function()
  1333. repeat
  1334. swait()
  1335. WingsColor(Black)
  1336. until nil
  1337. end)()
  1338. Effect{
  1339. Effect='ResizeAndFade',
  1340. Color=Black,
  1341. Size=V3.N(1,2,1),
  1342. Material=Enum.Material.Neon,
  1343. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976',Offset=V3.N(0,0,-.125)},
  1344. Frames=75,
  1345. RotInc={0,M.R(2),0},
  1346. CFrame=Root.CFrame*CF.N(0,-2.5,0),
  1347. FXSettings = {
  1348. EndSize = V3.N(45,30,45)
  1349. }
  1350. }
  1351.  
  1352. Effect{
  1353. Effect='ResizeAndFade',
  1354. Color=Black,
  1355. Size=V3.N(1.25,2.25,1.25),
  1356. Material=Enum.Material.Neon,
  1357. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976',Offset=V3.N(0,0,-.125)},
  1358. Frames=75,
  1359. RotInc={0,M.R(-4),0},
  1360. CFrame=Root.CFrame*CF.N(0,-2.5,0),
  1361. FXSettings = {
  1362. EndSize = V3.N(45.25,30.25,45.25)
  1363. }
  1364. }
  1365.  
  1366.  
  1367. for i = 0, 12, 0.1 do
  1368. swait()
  1369. Hum.WalkSpeed = WalkSpeed
  1370. Sine = Sine + .75
  1371. local Alpha = .1
  1372. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629413966+.05*M.C(Sine/8), -4.88442311e-07, 1, 5.09317033e-11, 0, -4.35882441e-11, 0.999980271, -0.00628614612, 0, 0.00628616195, 0.999982595),Alpha)
  1373. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488243, -0.990815699-.05*M.C(Sine/8), 0.0216228105, 0.999878287, -2.22119922e-09, 0.0156120937, -9.81379053e-05, 0.999980271, 0.00628539547, -0.0156118199, -0.00628614612, 0.999860764),Alpha)
  1374. RH.C0 = clerp(RH.C0,CFrame.new(0.498538375, -0.990979612-.05*M.C(Sine/8), 0.0154671557, 0.986496866, 1.87209643e-08, -0.163780421, 0.00102892693, 0.999980271, 0.00619763741, 0.163777411, -0.00628245994, 0.986478508),Alpha)
  1375. LS.C0 = clerp(LS.C0,CFrame.new(-1.4262656, 0.582470179+.05*M.C(Sine/8), 0.0189987384, 0.986158848, 0.165066898, 0.0156112732, -0.165180489, 0.986243367, 0.00628170185, -0.0143596325, -0.00877342932, 0.999859571)*CF.A(M.R(0-7*M.S(Sine/16)),0,M.R(0-5*M.C(Sine/16))),Alpha)
  1376. RS.C0 = clerp(RS.C0,CFrame.new(1.48594272, 0.540132999+.05*M.C(Sine/8), -0.0262069479, 0.992103875, -0.124443792, 0.0156112732, 0.124359176, 0.992217422, 0.00628170185, -0.0162715111, -0.00429068506, 0.999859571)*CF.A(M.R(0-5*M.C(Sine/18)),0,M.R(0+5*M.C(Sine/16))),Alpha)
  1377. NK.C0 = clerp(NK.C0,CFrame.new(6.19958155e-06, 1.49894857, -0.0144036785, 1, 3.67697794e-07, -1.62981451e-07, -3.56478267e-07, 0.997964799, 0.0637683496, 1.8440187e-07, -0.0637684688, 0.997967064),Alpha)
  1378. end
  1379.  
  1380. for i = 0, 4, 0.1 do
  1381. swait()
  1382. local Alpha = .1
  1383. RJ.C0 = clerp(RJ.C0,CFrame.new(2.74488765e-13, 0.00628770282, -5.28903911e-07, 1.00000012, 4.36557457e-11, 0, -4.36557457e-11, 0.999980271, -0.00628614705, 0, 0.00628614752, 0.999980211),Alpha)
  1384. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488452, -0.990810454, 0.0216208361, 0.999878168, -2.22921415e-09, 0.0156120919, -9.81376725e-05, 0.999980271, 0.00628538104, -0.0156117827, -0.00628614705, 0.999858379),Alpha)
  1385. RH.C0 = clerp(RH.C0,CFrame.new(0.498536468, -0.990973771, 0.0154611906, 0.999878168, -2.22921415e-09, 0.0156120919, -9.81376725e-05, 0.999980271, 0.00628538104, -0.0156117827, -0.00628614705, 0.999858379),Alpha)
  1386. LS.C0 = clerp(LS.C0,CFrame.new(-1.44763875, 0.567244649, 0.019428825, 0.992014706, 0.125152826, 0.0156120332, -0.125262916, 0.992103755, 0.00628231093, -0.0147025064, -0.00818775315, 0.999858379),Alpha)
  1387. RS.C0 = clerp(RS.C0,CFrame.new(1.11417818, 0.317672819, -0.0190038979, 0.635636926, -0.77183044, 0.0156120332, 0.77184689, 0.635777533, 0.00628231093, -0.0147746578, 0.00805683061, 0.999858379),Alpha)
  1388. NK.C0 = clerp(NK.C0,CFrame.new(0.108724356, 1.45798552, -0.138908237, 0.511199892, 0.160948887, -0.844257236, 0.117269851, 0.960059941, 0.254032701, 0.8514238, -0.228867367, 0.471908092),Alpha)
  1389. HW.C0 = clerp(HW.C0,CFrame.new(0.676509261, 0.226546526, 0.215793028, 0.305675745, 0.442692071, -0.842962742, -0.269992471, 0.889299512, 0.369121492, 0.913053453, 0.114762112, 0.39136073),Alpha)
  1390. end
  1391. for i = 1, 0, -.05 do
  1392. for _,v in next, Scythe:children() do
  1393. if(v:IsA'BasePart' and v ~= Hitbox)then
  1394. v.Transparency = i
  1395. end
  1396. end
  1397. swait()
  1398. end
  1399.  
  1400. for _,v in next, Scythe:children() do
  1401. if(v:IsA'BasePart' and v ~= Hitbox)then
  1402. v.Transparency = 0
  1403. end
  1404. end
  1405.  
  1406. WalkSpeed = 10
  1407.  
  1408. --// Attack Functions \\--
  1409.  
  1410. function Punch()
  1411. Attack = true
  1412. NeutralAnims = false
  1413. for i = 0, 1, 0.1 do
  1414. swait()
  1415. local Alpha = .3
  1416. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0789514706, 0.00628891867, -0.0925023109, 0.0533091128, 0.0062750699, 0.998562098, 3.09625534e-06, 0.999981046, -0.006284073, -0.998584211, 0.000337963982, 0.0533076562),Alpha)
  1417. LH.C0 = clerp(LH.C0,CFrame.new(-0.496490628, -0.990814447, 0.0215878114, 0.999878347, 4.62079406e-08, 0.0156166591, -9.81283374e-05, 0.99998033, 0.00628320919, -0.0156163946, -0.00628389511, 0.999858499),Alpha)
  1418. RH.C0 = clerp(RH.C0,CFrame.new(0.498514563, -0.990978837, 0.0154212704, 0.999878347, 4.62079406e-08, 0.0156166591, -9.81283374e-05, 0.99998033, 0.00628320919, -0.0156163946, -0.00628389511, 0.999858499),Alpha)
  1419. LS.C0 = clerp(LS.C0,CFrame.new(-0.956101894, 0.564983606, -0.87824589, 0.422763139, -0.88666755, 0.187330216, 0.154130876, -0.133350402, -0.979010463, 0.89303726, 0.442762941, 0.0802871212),Alpha)
  1420. RS.C0 = clerp(RS.C0,CFrame.new(1.33429492, 0.392465949, -0.0583952218, 0.203448325, -0.978246927, 0.0405244008, 0.972459793, 0.197091028, -0.124407344, 0.113714136, 0.0647188276, 0.99140358),Alpha)
  1421. NK.C0 = clerp(NK.C0,CFrame.new(-0.0831892416, 1.49950659, 0.0740900636, 0.0533089638, 0.0574148037, -0.996932089, 0.00627471274, 0.998307765, 0.05782938, 0.998562157, -0.00933811814, 0.052857995),Alpha)
  1422. HW.C0 = clerp(HW.C0,CFrame.new(0.676506758, 0.226543918, 0.21578081, 0.305678427, 0.442688584, -0.842963517, -0.269992143, 0.88930124, 0.369117767, 0.913052797, 0.114762299, 0.391362607),Alpha)
  1423. end
  1424. PunchT.Enabled = true
  1425. Sound(LArm,536642316,1,2,false,true,true)
  1426. for i = 0, 1, 0.1 do
  1427. swait()
  1428. local Alpha = .3
  1429. AOEDamage(LArm.Position,2,15,30,0,'Normal',10,2,false)
  1430. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00304359547, 0.00628888234, 0.0436883941, -0.0405170843, -0.00627878495, -0.999162614, -3.05456138e-06, 0.999981046, -0.0062838071, 0.999184728, -0.000251606398, -0.0405159071),Alpha)
  1431. LH.C0 = clerp(LH.C0,CFrame.new(-0.496490449, -0.990814805, 0.0215896256, 0.999878109, 0, 0.0156217292, -9.8165794e-05, 0.99998033, 0.0062831589, -0.0156214274, -0.00628392445, 0.999858379),Alpha)
  1432. RH.C0 = clerp(RH.C0,CFrame.new(0.498522311, -0.990979552, 0.0154257081, 0.999878109, 0, 0.0156217292, -9.8165794e-05, 0.99998033, 0.0062831589, -0.0156214274, -0.00628392445, 0.999858379),Alpha)
  1433. LS.C0 = clerp(LS.C0,CFrame.new(-1.25896621, 0.507555962, 0.0405550376, 0.0249361806, 0.982360721, -0.185325593, -0.0769668072, -0.182946414, -0.980105519, -0.996721864, 0.0387040041, 0.0710471869),Alpha)
  1434. RS.C0 = clerp(RS.C0,CFrame.new(1.33430004, 0.392463893, -0.0583999716, 0.203448817, -0.97824645, 0.0405278131, 0.972459912, 0.197091326, -0.124406442, 0.11371246, 0.064722009, 0.991403401),Alpha)
  1435. NK.C0 = clerp(NK.C0,CFrame.new(-0.0487540588, 1.49897563, -0.0104950108, -0.0405169129, -0.0574492738, 0.997531652, -0.00627914304, 0.99834168, 0.0572407991, -0.999162734, -0.00394439697, -0.040809989),Alpha)
  1436. HW.C0 = clerp(HW.C0,CFrame.new(0.676505685, 0.226552293, 0.215783596, 0.305677891, 0.442688406, -0.842963934, -0.269994408, 0.889300883, 0.369116426, 0.913052142, 0.114764839, 0.391363055),Alpha)
  1437. end
  1438. PunchT.Enabled = false
  1439. Attack = false
  1440. NeutralAnims = true
  1441. Combo = 2
  1442. end
  1443.  
  1444. function Kick()
  1445. Attack = true
  1446. NeutralAnims = false
  1447. KickT.Enabled = true
  1448. WalkSpeed = 2
  1449. for i = 0, 1, 0.1 do
  1450. swait()
  1451. local Alpha = .3
  1452. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00529359467, -0.0957253724, -0.476031482, 0.999953091, -0.00882441457, 0.00507242884, 0.00444904482, 0.827165425, 0.561945021, -0.00915619731, -0.56189549, 0.827164888),Alpha)
  1453. LH.C0 = clerp(LH.C0,CFrame.new(-0.497548699, -0.995493114, -0.112597167, 0.999888778, 0.00444900105, 0.0142405648, 0.00432288321, 0.827161849, -0.561947286, -0.0142793562, 0.561946273, 0.827050626),Alpha)
  1454. RH.C0 = clerp(RH.C0,CFrame.new(0.498985589, -0.892218173, 0.0456022024, 0.99987781, -0.00899596326, 0.012781553, -9.7240074e-05, 0.814164102, 0.580635071, -0.0156296529, -0.580565333, 0.814063787),Alpha)
  1455. LS.C0 = clerp(LS.C0,CFrame.new(-1.45120275, 0.577238321, 0.0194108374, 0.983973265, 0.177630454, 0.0156233013, -0.177745238, 0.984056652, 0.00627993234, -0.0142587181, -0.00895620324, 0.99985826),Alpha)
  1456. RS.C0 = clerp(RS.C0,CFrame.new(1.33430183, 0.39246124, -0.0583900288, 0.203447983, -0.97824645, 0.0405309275, 0.972459853, 0.197089955, -0.124409124, 0.113714546, 0.0647254884, 0.991402984),Alpha)
  1457. NK.C0 = clerp(NK.C0,CFrame.new(-0.00189875509, 1.49909914, 0.0100648999, 0.9999699, 0.000446120102, -0.00775879063, 4.95645872e-05, 0.99796474, 0.0637695193, 0.00777144916, -0.0637679845, 0.99793452),Alpha)
  1458. HW.C0 = clerp(HW.C0,CFrame.new(0.676504672, 0.226539731, 0.215754136, 0.305676967, 0.442690551, -0.842963159, -0.269992441, 0.889300168, 0.369119704, 0.913053036, 0.114762299, 0.391361624),Alpha)
  1459. end
  1460.  
  1461. Sound(RLeg,536642316,1,2,false,true,true)
  1462. for i = 0, 1, 0.1 do
  1463. swait()
  1464. AOEDamage(RLeg.Position,2,15,30,0,'Normal',10,2,false)
  1465. local Alpha = .3
  1466. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00722559355, -0.249281824, 0.325759679, 0.999966681, 0.0056294878, 0.0067008147, -0.00280297617, 0.931340098, -0.364145935, -0.00829232018, 0.364114493, 0.931323826),Alpha)
  1467. LH.C0 = clerp(LH.C0,CFrame.new(-0.497003227, -0.808224082, -0.0438566208, 0.999882162, -0.00280300085, 0.0151045416, -0.00288998778, 0.931339145, 0.364141613, -0.0150881391, -0.364142269, 0.931221247),Alpha)
  1468. RH.C0 = clerp(RH.C0,CFrame.new(0.49894613, -1.23073387, 0.0456367731, 0.99987793, 0.012976733, 0.00871029124, -9.59954341e-05, 0.562405646, -0.826861501, -0.0156286769, 0.826759636, 0.562338233),Alpha)
  1469. LS.C0 = clerp(LS.C0,CFrame.new(-1.4511981, 0.5772475, 0.0194011405, 0.983972013, 0.177638128, 0.0156237073, -0.177752912, 0.984055161, 0.00628091441, -0.0142588606, -0.00895743817, 0.99985832),Alpha)
  1470. RS.C0 = clerp(RS.C0,CFrame.new(1.33430433, 0.39245528, -0.0584036149, 0.203451529, -0.978246152, 0.0405242294, 0.972458541, 0.197093993, -0.124412477, 0.113718912, 0.0647200271, 0.991402864),Alpha)
  1471. NK.C0 = clerp(NK.C0,CFrame.new(-0.00189117086, 1.49909687, 0.0100582615, 0.9999699, 0.000451112981, -0.00776725356, 4.51168817e-05, 0.997964799, 0.0637689829, 0.00778021105, -0.0637674183, 0.997934639),Alpha)
  1472. HW.C0 = clerp(HW.C0,CFrame.new(0.676509142, 0.226537436, 0.215762958, 0.305677801, 0.442690402, -0.842962921, -0.269996017, 0.889299929, 0.369117856, 0.913051724, 0.114765473, 0.3913638),Alpha)
  1473. end
  1474. WalkSpeed = 10
  1475. KickT.Enabled = false
  1476. Attack = false
  1477. NeutralAnims = true
  1478. Combo = 3
  1479. end
  1480.  
  1481. function Spin_Scythe()
  1482. Attack = true
  1483. NeutralAnims = false
  1484. SlashT.Enabled = true
  1485. for i = 0, 1, 0.1 do
  1486. swait()
  1487. local Alpha = .3
  1488. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00444369018, 0.00629113195, 0.101713151, 0.0195403937, 0.0062817093, 0.999792278, 3.06150469e-06, 0.99998033, -0.00628294982, -0.999814987, 0.000125763705, 0.0195400435),Alpha)
  1489. LH.C0 = clerp(LH.C0,CFrame.new(-0.496482044, -0.990811586, 0.0216401666, 0.999878228, 0, 0.015617365, -9.8122182e-05, 0.99998033, 0.00628212467, -0.0156170577, -0.00628288975, 0.999858439),Alpha)
  1490. RH.C0 = clerp(RH.C0,CFrame.new(0.498526812, -0.990976453, 0.0154717192, 0.999878228, 0, 0.015617365, -9.8122182e-05, 0.99998033, 0.00628212467, -0.0156170577, -0.00628288975, 0.999858439),Alpha)
  1491. LS.C0 = clerp(LS.C0,CFrame.new(-1.56110322, 0.536371112, 0.021401234, 0.96306026, 0.26883316, 0.0156157482, -0.268955141, 0.963132203, 0.00628496706, -0.0133504234, -0.0102527365, 0.999858379),Alpha)
  1492. RS.C0 = clerp(RS.C0,CFrame.new(1.25914538, 0.465895861, -0.0174790788, 0.0534170046, -0.997989595, 0.0341100171, 0.99850744, 0.0529925451, -0.0132293571, 0.0113951834, 0.0347657688, 0.99933064),Alpha)
  1493. NK.C0 = clerp(NK.C0,CFrame.new(0.1067672, 1.49899662, -0.00705452403, 0.019540213, 0.0574855059, -0.998160839, 0.00628135167, 0.998319268, 0.0576175004, 0.999792278, -0.00739560742, 0.0191463307),Alpha)
  1494. HW.C0 = clerp(HW.C0,CFrame.new(-0.20473817, -0.976805627, -2.4829669, -1.00000012, -1.86264515e-09, -4.60762095e-10, -3.55407613e-11, 1.92904554e-06, -0.99999994, 0, -1.00000024, -1.92915309e-06),Alpha)
  1495. end
  1496. coroutine.wrap(function()
  1497. repeat swait()
  1498. AOEDamage(Hitbox.Position,2,20,45,'Normal',0,25,2,true)
  1499. until not Attack
  1500. end)()
  1501. HW.C1 = CF.N(0,-1.2,0)
  1502. for a = 1, 3 do
  1503. Sound(Hitbox,62339698,.5,2,false,true,true)
  1504. --PlaySnd(ClawDashSnd,HandlePart)
  1505. for i = 0, 350, 25 do
  1506. swait()
  1507. HW.C0 = CF.fEA(M.R(-i),0,0)
  1508. end
  1509. end
  1510. HW.C1 = CF.N()
  1511. Attack = false
  1512. NeutralAnims = true
  1513. SlashT.Enabled =false
  1514. Combo = 4
  1515. end
  1516.  
  1517. function Smash()
  1518. Attack = true
  1519. NeutralAnims = false
  1520. local Active = true
  1521. coroutine.wrap(function()
  1522. repeat swait()
  1523. AOEDamage(Hitbox.Position,2,20,45,'Normal',0,25,2,true)
  1524. until not Active
  1525. end)()
  1526. for i = 0, 1, 0.1 do
  1527. swait()
  1528. local Alpha = .3
  1529. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00199523382, -0.0805450231, 0.127762675, 1.00000024, 0.00228078687, -0.000182923861, -0.00228199991, 0.988302112, -0.152492076, -0.000167017803, 0.152492911, 0.988310456),Alpha)
  1530. LH.C0 = clerp(LH.C0,CFrame.new(-0.496401608, -0.91178906, 0.0269002318, 0.99988097, -0.00228199991, 0.0154450079, -0.0001002106, 0.988302112, 0.152509913, -0.0156124048, -0.152492076, 0.988187075),Alpha)
  1531. RH.C0 = clerp(RH.C0,CFrame.new(0.498625368, -0.910582304, 0.0206506848, 0.99988097, -0.00228199991, 0.0154450079, -0.0001002106, 0.988302112, 0.152509913, -0.0156124048, -0.152492076, 0.988187075),Alpha)
  1532. LS.C0 = clerp(LS.C0,CFrame.new(-0.546162367, 0.920914531, -0.420199156, 0.948534131, -0.316357106, -0.0141890598, -0.292467386, -0.857963502, -0.422328979, 0.121433057, 0.404743224, -0.906331718),Alpha)
  1533. RS.C0 = clerp(RS.C0,CFrame.new(0.676435173, 1.05489874, -0.363975257, 0.908406317, 0.366589606, 0.201022446, 0.417750508, -0.776536345, -0.471673697, -0.0168094635, 0.512448609, -0.858553469),Alpha)
  1534. NK.C0 = clerp(NK.C0,CFrame.new(9.05999332e-06, 1.49894691, -0.0143974051, 1, 5.82076609e-11, 0, -1.45519152e-11, 0.997964799, 0.0637693182, 0, -0.0637693331, 0.99796474),Alpha)
  1535. HW.C0 = clerp(HW.C0,CFrame.new(-0.14871791, -0.529287696, -1.42314053, -0.930846035, -4.50015068e-06, 0.365411818, -0.349368632, 0.293066084, -0.889974117, -0.107085794, -0.956092298, -0.272800893),Alpha)
  1536. end
  1537. repeat swait()
  1538. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1539. until hitfloor
  1540. WalkSpeed = 0
  1541. Hum.JumpPower = 0
  1542. Sound(Hitbox,62339698,.3,2,false,true,true)
  1543. for i = 0, 1, 0.1 do
  1544. swait()
  1545. local Alpha = .3
  1546. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00811180193, -1.00093806, -0.519590676, 1, -0.00242613931, -0.000173866749, 0.00242500077, 0.988869131, 0.148768216, -0.000189000741, -0.148769096, 0.988877892),Alpha)
  1547. LH.C0 = clerp(LH.C0,CFrame.new(-0.502352417, 0.0719482899, -0.36048314, 0.999881089, 0.00242500077, 0.0154230241, -0.000103260259, 0.988869131, -0.148788825, -0.0156122074, 0.148768216, 0.98875457),Alpha)
  1548. RH.C0 = clerp(RH.C0,CFrame.new(0.496492803, -1.52589762, -0.111477256, 0.999878228, -0.0146477707, 0.00540301111, -0.000103216058, 0.339860469, 0.940475941, -0.0156121422, -0.940361977, 0.339817584),Alpha)
  1549. LS.C0 = clerp(LS.C0,CFrame.new(-0.72667861, 0.365247965, -0.462653339, 0.946573675, -0.322109699, 0.0156161264, 0.322384953, 0.946385086, -0.0205740202, -0.00815176871, 0.024509253, 0.999666572),Alpha)
  1550. RS.C0 = clerp(RS.C0,CFrame.new(0.492744535, 0.277959853, -0.608404338, 0.905526519, 0.35676235, 0.22965765, -0.376292914, 0.925347328, 0.0462170765, -0.196024567, -0.128269315, 0.972173631),Alpha)
  1551. NK.C0 = clerp(NK.C0,CFrame.new(1.57362392e-05, 1.49894822, -0.0143816993, 1.00000024, 4.07453626e-10, 0, 3.20142135e-10, 0.997964859, 0.0637664497, 0, -0.0637664497, 0.997965097),Alpha)
  1552. HW.C0 = clerp(HW.C0,CFrame.new(-0.148718655, -0.52928853, -1.42314029, -0.930842996, -1.2665987e-05, 0.365419656, -0.349378467, 0.293065071, -0.889970601, -0.107080489, -0.956092477, -0.272801965),Alpha)
  1553. end
  1554. Hitbox.Anchored = true
  1555. Effect{
  1556. Effect='ResizeAndFade',
  1557. Color=Black,
  1558. Size=V3.N(1,2,1),
  1559. Material=Enum.Material.Neon,
  1560. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976',Offset=V3.N(0,0,-.125)},
  1561. Frames=120,
  1562. RotInc={0,M.R(2),0},
  1563. CFrame=Hitbox.CFrame*CF.N(0,0,0)*CF.A(M.R(90),0,0),
  1564. FXSettings = {
  1565. EndSize = V3.N(25,30,25)
  1566. }
  1567. }
  1568. Effect{
  1569. Effect='ResizeAndFade',
  1570. Color=Black,
  1571. Size=V3.N(1.25,2.25,1.25),
  1572. Material=Enum.Material.Neon,
  1573. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976',Offset=V3.N(0,0,-.125)},
  1574. Frames=120,
  1575. RotInc={0,M.R(-4),0},
  1576. CFrame=Hitbox.CFrame*CF.N(0,0,0)*CF.A(M.R(90),0,0),
  1577. FXSettings = {
  1578. EndSize = V3.N(25.25,30.25,25.25)
  1579. }
  1580. }
  1581. CamShakeAll(45,450,Hitbox.Position)
  1582. Active = false
  1583. AOEDamage(Hitbox.Position,25.25,45,85,100,'Knockback',25,2,true,true,100)
  1584. for i = 0, 1, 0.1 do
  1585. swait()
  1586. local Alpha = .3
  1587. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00811180193, -1.00093806, -0.519590676, 1, -0.00242613931, -0.000173866749, 0.00242500077, 0.988869131, 0.148768216, -0.000189000741, -0.148769096, 0.988877892),Alpha)
  1588. LH.C0 = clerp(LH.C0,CFrame.new(-0.502352417, 0.0719482899, -0.36048314, 0.999881089, 0.00242500077, 0.0154230241, -0.000103260259, 0.988869131, -0.148788825, -0.0156122074, 0.148768216, 0.98875457),Alpha)
  1589. RH.C0 = clerp(RH.C0,CFrame.new(0.496492803, -1.52589762, -0.111477256, 0.999878228, -0.0146477707, 0.00540301111, -0.000103216058, 0.339860469, 0.940475941, -0.0156121422, -0.940361977, 0.339817584),Alpha)
  1590. LS.C0 = clerp(LS.C0,CFrame.new(-0.72667861, 0.365247965, -0.462653339, 0.946573675, -0.322109699, 0.0156161264, 0.322384953, 0.946385086, -0.0205740202, -0.00815176871, 0.024509253, 0.999666572),Alpha)
  1591. RS.C0 = clerp(RS.C0,CFrame.new(0.492744535, 0.277959853, -0.608404338, 0.905526519, 0.35676235, 0.22965765, -0.376292914, 0.925347328, 0.0462170765, -0.196024567, -0.128269315, 0.972173631),Alpha)
  1592. NK.C0 = clerp(NK.C0,CFrame.new(1.57362392e-05, 1.49894822, -0.0143816993, 1.00000024, 4.07453626e-10, 0, 3.20142135e-10, 0.997964859, 0.0637664497, 0, -0.0637664497, 0.997965097),Alpha)
  1593. HW.C0 = clerp(HW.C0,CFrame.new(-0.148718655, -0.52928853, -1.42314029, -0.930842996, -1.2665987e-05, 0.365419656, -0.349378467, 0.293065071, -0.889970601, -0.107080489, -0.956092477, -0.272801965),Alpha)
  1594. end
  1595. Hitbox.Anchored = false
  1596. WalkSpeed = 10
  1597. Hum.JumpPower = 50
  1598. Attack = false
  1599. NeutralAnims = true
  1600. Combo = 1
  1601. end
  1602.  
  1603. function CarnageSaw()
  1604. Attack = true
  1605. NeutralAnims = false
  1606. chatfunc"Carnage Saw."
  1607. for i = 0, 1, 0.1 do
  1608. swait()
  1609. local Alpha = .3
  1610. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00166031998, 0.00629009586, 0.011258143, 0.958218634, -0.00179760705, -0.286043704, -8.72771693e-07, 0.999981046, -0.00628719619, 0.286049575, 0.00602470944, 0.958202064),Alpha)
  1611. LH.C0 = clerp(LH.C0,CFrame.new(-0.496496171, -0.99081707, 0.0215899553, 0.999878109, 0, 0.0156224966, -9.81757184e-05, 0.99998033, 0.00628349604, -0.0156221688, -0.00628426159, 0.99985832),Alpha)
  1612. RH.C0 = clerp(RH.C0,CFrame.new(0.498510689, -0.990981698, 0.0154126342, 0.999878109, 0, 0.0156224966, -9.81757184e-05, 0.99998033, 0.00628349604, -0.0156221688, -0.00628426159, 0.99985832),Alpha)
  1613. LS.C0 = clerp(LS.C0,CFrame.new(-0.873806179, 0.397600949, -0.503744602, 0.554795325, -0.815766454, -0.16348508, 0.18635428, 0.313351184, -0.931173205, 0.810847938, 0.486144245, 0.325867295),Alpha)
  1614. RS.C0 = clerp(RS.C0,CFrame.new(1.33429587, 0.392459571, -0.0584158525, 0.203444242, -0.978247643, 0.040526405, 0.972460866, 0.19708696, -0.124406032, 0.113712654, 0.0647200197, 0.99140352),Alpha)
  1615. NK.C0 = clerp(NK.C0,CFrame.new(-0.00623096712, 1.4988898, -0.0245094746, 0.958218753, -0.0164463911, 0.285576135, -0.00179796375, 0.997980893, 0.0635067299, -0.286043525, -0.0613668934, 0.956255496),Alpha)
  1616. HW.C0 = clerp(HW.C0,CFrame.new(0.676512122, 0.226547047, 0.215798661, 0.30567646, 0.442693174, -0.842962027, -0.269994497, 0.889298856, 0.36912173, 0.913052678, 0.114763223, 0.391362309),Alpha)
  1617. end
  1618. local StudsPerFrame = 1
  1619. for i = -2,2,2 do
  1620.  
  1621. local cfaa = (CF.N(Root.CFrame.p,Root.CFrame.lookVector))*CF.N(0,0,-1)
  1622. local dir = Root.CFrame*CF.N(0,0,-1000000).p
  1623. local saw = Part(Effects,BrickColor.new(Plr.UserId == 5719877 and "Dark indigo" or "Really red"),Enum.Material.Neon,V3.N(3,3,.4),cfaa*CF.A(M.R(-90),0,0),true,false)
  1624. CreateTrailObj(saw,(Plr.UserId == 5719877 and "Dark indigo" or "Really red"),(Plr.UserId == 5719877 and "Dark indigo" or "Really red"),0,0).Enabled = true
  1625. Sound(saw,248088589,1,2,true,false,true)
  1626. Sound(saw,536642316,1,2,false,true,true)
  1627. local mesh = Mesh(saw,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,2),V3.N())
  1628. coroutine.wrap(function()
  1629. for fr = 0, 180 do
  1630. saw.CFrame = CF.N(saw.CFrame.p,dir)*CF.N(i/20,0,-StudsPerFrame)*CF.A(M.R(-90),0,0)*CF.A(0,0,M.R(fr*4))
  1631. AOEDamage(saw.Position,3,1,1,60,'Knockback',0,1,true,saw)
  1632. swait()
  1633. end
  1634. saw:destroy()
  1635. AOEDamage(saw.Position,4,25,50,60,'Knockback',10,4,true)
  1636. Effect{
  1637. Effect='ResizeAndFade',
  1638. Color=BrickColor.new(Plr.UserId == 5719877 and "Dark indigo" or "Crimson"),
  1639. Size=V3.N(2,2,2),
  1640. Mesh={MeshType=Enum.MeshType.Sphere},
  1641. CFrame=saw.CFrame,
  1642. FXSettings={
  1643. EndSize=V3.N(.05,.05,.05),
  1644. EndIsIncrement=true
  1645. }
  1646. }
  1647. for i = 1, 5 do
  1648. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1649. Effect{
  1650. Effect='Fade',
  1651. Frames=65,
  1652. Size=V3.N(2,2,4),
  1653. CFrame=CF.N(saw.CFrame*angles*CF.N(0,0,-2).p,saw.CFrame.p),
  1654. Mesh = {MeshType=Enum.MeshType.Sphere},
  1655. Material=Enum.Material.Neon,
  1656. Color=BrickColor.new(Plr.UserId == 5719877 and "Dark indigo" or "Crimson"),
  1657. MoveDirection=CF.N(saw.CFrame*angles*CF.N(0,0,-50).p,saw.CFrame.p).p,
  1658. }
  1659. end
  1660. end)()
  1661. end
  1662. for i = 0, 1, 0.1 do
  1663. swait()
  1664. local Alpha = .3
  1665. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0120823281, 0.00629023649, -0.0454679728, 0.975261807, 0.00138908508, 0.221064806, 6.77514436e-07, 0.999981046, -0.00628646137, -0.221070215, 0.00613104552, 0.975244701),Alpha)
  1666. LH.C0 = clerp(LH.C0,CFrame.new(-0.496495157, -0.99081707, 0.0215903148, 0.999878049, 0, 0.0156247914, -9.81779303e-05, 0.99998033, 0.00628271, -0.0156244934, -0.00628347602, 0.99985826),Alpha)
  1667. RH.C0 = clerp(RH.C0,CFrame.new(0.49850738, -0.990981698, 0.0154126538, 0.999878049, 0, 0.0156247914, -9.81779303e-05, 0.99998033, 0.00628271, -0.0156244934, -0.00628347602, 0.99985826),Alpha)
  1668. LS.C0 = clerp(LS.C0,CFrame.new(-1.39933538, 0.65219146, -0.0398524441, 0.0447849482, 0.985531449, -0.163469523, -0.336975813, -0.139140502, -0.931175351, -0.940447569, 0.0967878923, 0.325868785),Alpha)
  1669. RS.C0 = clerp(RS.C0,CFrame.new(1.33429313, 0.39245826, -0.0584200248, 0.20344235, -0.978247762, 0.0405284315, 0.972461164, 0.197084755, -0.1244075, 0.113713816, 0.0647220761, 0.991403103),Alpha)
  1670. NK.C0 = clerp(NK.C0,CFrame.new(0.00283931568, 1.49924982, 0.0327365696, 0.975261748, 0.0127110416, -0.22070463, 0.00138872874, 0.997974694, 0.0636128932, 0.221065, -0.0623458065, 0.97326988),Alpha)
  1671. HW.C0 = clerp(HW.C0,CFrame.new(0.676513791, 0.22654593, 0.2158079, 0.305676162, 0.442694992, -0.842961133, -0.269993126, 0.889297962, 0.369124174, 0.913052976, 0.114761189, 0.391361833),Alpha)
  1672. end
  1673. Attack = false
  1674. NeutralAnims = true
  1675. end
  1676.  
  1677. function LayWaste()
  1678. Attack = true
  1679. NeutralAnims = false
  1680. chatfunc("Lay waste.")
  1681. for i = 0, 1, 0.1 do
  1682. swait()
  1683. local Alpha = .3
  1684. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00304359547, 0.00628888234, 0.0436883941, -0.0405170843, -0.00627878495, -0.999162614, -3.05456138e-06, 0.999981046, -0.0062838071, 0.999184728, -0.000251606398, -0.0405159071),Alpha)
  1685. LH.C0 = clerp(LH.C0,CFrame.new(-0.496490449, -0.990814805, 0.0215896256, 0.999878109, 0, 0.0156217292, -9.8165794e-05, 0.99998033, 0.0062831589, -0.0156214274, -0.00628392445, 0.999858379),Alpha)
  1686. RH.C0 = clerp(RH.C0,CFrame.new(0.498522311, -0.990979552, 0.0154257081, 0.999878109, 0, 0.0156217292, -9.8165794e-05, 0.99998033, 0.0062831589, -0.0156214274, -0.00628392445, 0.999858379),Alpha)
  1687. LS.C0 = clerp(LS.C0,CFrame.new(-1.25896621, 0.507555962, 0.0405550376, 0.0249361806, 0.982360721, -0.185325593, -0.0769668072, -0.182946414, -0.980105519, -0.996721864, 0.0387040041, 0.0710471869),Alpha)
  1688. RS.C0 = clerp(RS.C0,CFrame.new(1.33430004, 0.392463893, -0.0583999716, 0.203448817, -0.97824645, 0.0405278131, 0.972459912, 0.197091326, -0.124406442, 0.11371246, 0.064722009, 0.991403401),Alpha)
  1689. NK.C0 = clerp(NK.C0,CFrame.new(-0.0487540588, 1.49897563, -0.0104950108, -0.0405169129, -0.0574492738, 0.997531652, -0.00627914304, 0.99834168, 0.0572407991, -0.999162734, -0.00394439697, -0.040809989),Alpha)
  1690. HW.C0 = clerp(HW.C0,CFrame.new(0.676505685, 0.226552293, 0.215783596, 0.305677891, 0.442688406, -0.842963934, -0.269994408, 0.889300883, 0.369116426, 0.913052142, 0.114764839, 0.391363055),Alpha)
  1691. end
  1692. Sound(LArm,137463716,.3,5,false,true,true)
  1693. for i = 0, 1, .1 do
  1694. swait(6)
  1695. for i = 1, 3 do
  1696. --[[Effect{
  1697. Effect='ResizeAndFade',
  1698. Frames=15,
  1699. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://3270017'},
  1700. Color=Black,
  1701. Size=V3.N(10,10,1),
  1702. CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.fEA(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),
  1703. FXSettings={
  1704. EndSize=V3.N(5,5,0)
  1705. }
  1706. }]]
  1707. local what = Part(Effects,Black,Enum.Material.Neon,V3.N(1,1,1),LArm.CFrame*CF.N(0,-1,0)*CF.fEA(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),true,false)
  1708. local mesh = Mesh(what,Enum.MeshType.FileMesh,'rbxassetid://3270017',"",V3.N(10,10,1),V3.N())
  1709. coroutine.wrap(function()
  1710. for i = 0, 15 do
  1711. local wa = i/15
  1712. swait()
  1713. what.Transparency = wa
  1714. mesh.Scale = V3.N(10-wa*5,10-wa*5,1-wa)
  1715. end
  1716. end)()
  1717. end
  1718. end
  1719. swait(60)
  1720. local EffectPart = Instance.new("Part",Effects)
  1721. EffectPart.Size = Vector3.new(1,1,1)
  1722. EffectPart.Anchored = true
  1723. EffectPart.Color = Black
  1724. local mehs1 = Instance.new("SpecialMesh",EffectPart)
  1725. mehs1.MeshType = "Sphere"
  1726. mehs1.Scale = Vector3.new(10,10,10)
  1727.  
  1728.  
  1729.  
  1730. local hit,pos,norm,dist = CastRay(LArm.CFrame*CF.N(0,-1,0).p,Mouse.Hit.p,1024)
  1731. EffectPart.CFrame = CF.N(pos)
  1732.  
  1733. local part = Part(Effects,Black,Enum.Material.Neon,V3.N(5,5,dist),CF.N(LArm.CFrame*CF.N(0,-1,0).p,pos)*CF.N(0,0,-dist/2),true,false)
  1734. local meshla = Mesh(part,Enum.MeshType.Brick)
  1735.  
  1736. Root.CFrame = CF.N(Root.Position,V3.N(Mouse.Hit.X,Root.CFrame.Y,Mouse.Hit.Z))
  1737. if(S.UserInputService:IsKeyDown(Enum.KeyCode.X))then
  1738. local asdie = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1739. local asd = Part(Effects,Black,Enum.Material.Neon,V3.N(6,6,6),LArm.CFrame*CF.N(0,-1,0)*asdie,true,false)
  1740.  
  1741. local asdaa = CF.A(M.RRNG(-4,4),M.RRNG(-4,4),M.RRNG(-4,4))
  1742. local snd = Sound(LArm,162246683,.8,2,true,false,true)
  1743. Sound(LArm,162246701,.8,2,false,true,true)
  1744. repeat swait()
  1745. asdie = asdie * asdaa
  1746. asd.CFrame = LArm.CFrame*CF.N(0,-1,0)*asdie
  1747. Root.CFrame = CF.N(Root.Position,V3.N(Mouse.Hit.X,Root.CFrame.Y,Mouse.Hit.Z))
  1748. hit,pos,norm,dist = CastRay(LArm.CFrame*CF.N(0,-1,0).p,Mouse.Hit.p,1024)
  1749. part.Size = V3.N(5,5,dist)
  1750. part.CFrame = CF.N(LArm.CFrame*CF.N(0,-1,0).p,pos)*CF.N(0,0,-dist/2)
  1751. CamShakeAll(25,100,pos)
  1752. AOEDamage(pos,15,30,65,25,'Knockback',25,2,true,25)
  1753.  
  1754. EffectPart.CFrame = CF.N(pos)
  1755. for i = 1, 3 do
  1756. Effect{
  1757. Effect='ResizeAndFade',
  1758. Frames=30,
  1759. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://3270017'},
  1760. Color=Black,
  1761. Size=V3.N(0,0,0),
  1762. CFrame=CF.N(pos)*CF.fEA(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),
  1763. FXSettings={
  1764. EndSize=V3.N(80,80,1)
  1765. }
  1766. }
  1767. --[[local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1768. Effect{
  1769. Effect='Fade',
  1770. Frames=65,
  1771. Size=V3.N(10,10,15),
  1772. CFrame=CF.N(EffectPart.CFrame*angles*CF.N(0,0,-10).p,EffectPart.CFrame.p),
  1773. Mesh = {MeshType=Enum.MeshType.Sphere},
  1774. Material=Enum.Material.Neon,
  1775. Color=Black,
  1776. MoveDirection=CF.N(EffectPart.CFrame*angles*CF.N(0,0,-50).p,EffectPart.CFrame.p).p,
  1777. }]]
  1778. end
  1779.  
  1780. until not S.UserInputService:IsKeyDown(Enum.KeyCode.X)
  1781. asd:destroy()
  1782. snd:Stop()
  1783. snd:Destroy()
  1784. Sound(LArm,178452221,.5,2,false,true,true)
  1785. else
  1786. CamShakeAll(60,300,pos)
  1787. AOEDamage(pos,15,30,65,25,'Knockback',25,2,true,25)
  1788. Sound(LArm,178452221,.5,2,false,true,true)
  1789. end
  1790.  
  1791. for i = 1, 3 do
  1792. Effect{
  1793. Effect='ResizeAndFade',
  1794. Frames=30,
  1795. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://3270017'},
  1796. Color=Black,
  1797. Size=V3.N(0,0,0),
  1798. CFrame=CF.N(pos)*CF.fEA(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),
  1799. FXSettings={
  1800. EndSize=V3.N(80,80,1)
  1801. }
  1802. }
  1803. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  1804. Effect{
  1805. Effect='Fade',
  1806. Frames=65,
  1807. Size=V3.N(10,10,15),
  1808. CFrame=CF.N(EffectPart.CFrame*angles*CF.N(0,0,-10).p,EffectPart.CFrame.p),
  1809. Mesh = {MeshType=Enum.MeshType.Sphere},
  1810. Material=Enum.Material.Neon,
  1811. Color=Black,
  1812. MoveDirection=CF.N(EffectPart.CFrame*angles*CF.N(0,0,-50).p,EffectPart.CFrame.p).p,
  1813. }
  1814. end
  1815.  
  1816. coroutine.wrap(function()
  1817. for i = 1, 10 do
  1818. swait(.6)
  1819. mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5)
  1820. EffectPart.Transparency = EffectPart.Transparency + .1
  1821. meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0)
  1822. part.Transparency = part.Transparency + .1
  1823. end
  1824. ----
  1825. EffectPart:destroy()
  1826. part:Destroy()
  1827. end)()
  1828.  
  1829. Attack = false
  1830. NeutralAnims = true
  1831.  
  1832. end
  1833.  
  1834. --// Wrap it all up \\--
  1835. Mouse.Button1Down:connect(function()
  1836. if(Attack)then return end
  1837. if(Combo == 1)then Punch()
  1838. elseif(Combo == 2)then Kick()
  1839. elseif(Combo == 3)then Spin_Scythe()
  1840. elseif(Combo == 4)then Smash()
  1841. end
  1842. end)
  1843. Mouse.KeyDown:connect(function(k)
  1844. if(Attack)then return end
  1845. if(k == 'z')then CarnageSaw() end
  1846. if(k == 'x')then LayWaste() end
  1847. end)
  1848.  
  1849.  
  1850.  
  1851. while true do
  1852. swait()
  1853. Sine = Sine + Change
  1854.  
  1855. if(God)then
  1856. Hum.MaxHealth = 1e100
  1857. Hum.Health = 1e100
  1858. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1859. Hum.Name = M.RNG()*100
  1860. end
  1861.  
  1862. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1863. S.Lighting.ClockTime = 23
  1864. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1865. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 16 and "Walk" or "Run") or hitfloor and "Idle")
  1866. if(not Effects or not Effects.Parent)then
  1867. Effects = IN("Model",Char)
  1868. Effects.Name = "Effects"
  1869. end
  1870. if(State == 'Run')then
  1871. local wsVal = 20 / (Hum.WalkSpeed/16)
  1872. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1873. Change = 3
  1874. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1875. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1876. elseif(State == 'Walk')then
  1877. local wsVal = 16 / (Hum.WalkSpeed/16)
  1878. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1879. Change = 3
  1880. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1881. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1882.  
  1883. else
  1884. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1885. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1886. end
  1887.  
  1888. Hum.WalkSpeed = WalkSpeed
  1889.  
  1890. if(NeutralAnims)then
  1891. if(State == 'Idle')then
  1892. local Alpha = .1
  1893. Change = .75
  1894. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0161979627, 0.00629048189+.05*M.C(Sine/16), 0.0263271146, 0.967543304, 0.00158750638, 0.252711803, 7.73640579e-07, 0.99998033, -0.00628472166, -0.252717555, 0.00608088495, 0.967527032),Alpha)
  1895. LH.C0 = clerp(LH.C0,CFrame.new(-0.496488541, -0.990815997-.05*M.C(Sine/16), 0.0215871073, 0.999878109, 0, 0.0156181455, -9.81093617e-05, 0.99998033, 0.00628099358, -0.0156178474, -0.00628175866, 0.999858379),Alpha)
  1896. RH.C0 = clerp(RH.C0,CFrame.new(0.498514056, -0.990980744-.05*M.C(Sine/16), 0.0154198771, 0.999878109, 0, 0.0156181455, -9.81093617e-05, 0.99998033, 0.00628099358, -0.0156178474, -0.00628175866, 0.999858379),Alpha)
  1897. LS.C0 = clerp(LS.C0,CFrame.new(-1.45119536, 0.577232122, 0.0193972234, 0.983973324, 0.177630529, 0.0156178325, -0.177745119, 0.984056711, 0.00627315417, -0.01425457, -0.00894861668, 0.999858439)*CF.A(M.R(0-7*M.S(Sine/16)),0,M.R(0-5*M.C(Sine/16))),Alpha)
  1898. RS.C0 = clerp(RS.C0,CFrame.new(1.33430505, 0.39246124, -0.058414869, 0.203444913, -0.978247464, 0.0405245572, 0.972460449, 0.197087735, -0.124407738, 0.113714635, 0.0647187084, 0.991403341)*CF.A(M.R(0-5*M.C(Sine/16)),0,M.R(0+5*M.C(Sine/16))),Alpha)
  1899. NK.C0 = clerp(NK.C0,CFrame.new(-0.00775345881, 1.4987644, -0.0438027829, 0.967543304, 0.0145306382, -0.252299607, 0.0015871498, 0.99797684, 0.0635627732, 0.252711982, -0.0619003437, 0.965565085)*CF.A(M.R(0+5*M.C(Sine/16)),0,0),Alpha)
  1900. HW.C0 = clerp(HW.C0,CFrame.new(0.676509261, 0.226546526, 0.215793028, 0.305675745, 0.442692071, -0.842962742, -0.269992471, 0.889299512, 0.369121492, 0.913053453, 0.114762112, 0.39136073),Alpha)
  1901.  
  1902. -- idle
  1903. elseif(State == 'Run')then
  1904. local wsVal = 20 / (Hum.WalkSpeed/16)
  1905. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1906. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1907. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1908. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  1909. RS.C0 = clerp(RS.C0,CFrame.new(1.33431649, 0.392460525, -0.0583885461, 0.203443095, -0.978248179, 0.0405152142, 0.972460985, 0.197087184, -0.124404751, 0.113713697, 0.0647087693, 0.991404116),Alpha)
  1910. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1911. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1912. HW.C0 = clerp(HW.C0,CFrame.new(0.676507235, 0.226549655, 0.215789661, 0.305676669, 0.44269371, -0.84296149, -0.26999855, 0.889298022, 0.369120419, 0.913051248, 0.114766926, 0.391364247),Alpha)
  1913.  
  1914. elseif(State == 'Walk')then
  1915. local wsVal = 16 / (Hum.WalkSpeed/16)
  1916. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1917. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1918. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1919. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.1*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1920. RS.C0 = clerp(RS.C0,CFrame.new(1.33431649, 0.392460525, -0.0583885461, 0.203443095, -0.978248179, 0.0405152142, 0.972460985, 0.197087184, -0.124404751, 0.113713697, 0.0647087693, 0.991404116),Alpha)
  1921. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1922. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1923. HW.C0 = clerp(HW.C0,CFrame.new(0.676507235, 0.226549655, 0.215789661, 0.305676669, 0.44269371, -0.84296149, -0.26999855, 0.889298022, 0.369120419, 0.913051248, 0.114766926, 0.391364247),Alpha)
  1924.  
  1925. elseif(State == 'Jump')then
  1926. local Alpha = .1
  1927. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1928. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1929. RS.C0 = clerp(RS.C0,CFrame.new(1.33431649, 0.392460525, -0.0583885461, 0.203443095, -0.978248179, 0.0405152142, 0.972460985, 0.197087184, -0.124404751, 0.113713697, 0.0647087693, 0.991404116),Alpha)
  1930. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1931. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1932. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1933. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1934. HW.C0 = clerp(HW.C0,CFrame.new(0.676507235, 0.226549655, 0.215789661, 0.305676669, 0.44269371, -0.84296149, -0.26999855, 0.889298022, 0.369120419, 0.913051248, 0.114766926, 0.391364247),Alpha)
  1935.  
  1936. elseif(State == 'Fall')then
  1937. local Alpha = .1
  1938. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1939. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1940. RS.C0 = clerp(RS.C0,CFrame.new(1.33431649, 0.392460525, -0.0583885461, 0.203443095, -0.978248179, 0.0405152142, 0.972460985, 0.197087184, -0.124404751, 0.113713697, 0.0647087693, 0.991404116),Alpha)
  1941. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1942. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1943. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1944. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1945. HW.C0 = clerp(HW.C0,CFrame.new(0.676507235, 0.226549655, 0.215789661, 0.305676669, 0.44269371, -0.84296149, -0.26999855, 0.889298022, 0.369120419, 0.913051248, 0.114766926, 0.391364247),Alpha)
  1946.  
  1947. elseif(State == 'Paralyzed')then
  1948. -- paralyzed
  1949. elseif(State == 'Sit')then
  1950. -- sit
  1951. end
  1952. end
  1953.  
  1954. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement