Advertisement
memberhero

Glitch Filtering Enabled

Nov 27th, 2018
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.45 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- Glitch --
  3. -- Smile for the ca-aaaaaa-amera~ --
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6. -- This script has been converted to FE by iPxter
  7.  
  8.  
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  11. do
  12. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  13. script.Parent = Player.Character
  14.  
  15. --RemoteEvent for communicating
  16. local Event = Instance.new("RemoteEvent")
  17. Event.Name = "UserInput_Event"
  18.  
  19. --Fake event to make stuff like Mouse.KeyDown work
  20. local function fakeEvent()
  21. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  22. t.connect = t.Connect
  23. return t
  24. end
  25.  
  26. --Creating fake input objects with fake variables
  27. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  28. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  29. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  30. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  31. end}
  32. --Merged 2 functions into one by checking amount of arguments
  33. CAS.UnbindAction = CAS.BindAction
  34.  
  35. --This function will trigger the events that have been :Connect()'ed
  36. local function te(self,ev,...)
  37. local t = m[ev]
  38. if t and t._fakeEvent and t.Function then
  39. t.Function(...)
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=Player then return end
  47. if io.isMouse then
  48. m.Target = io.Target
  49. m.Hit = io.Hit
  50. else
  51. local b = io.UserInputState == Enum.UserInputState.Begin
  52. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  53. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  54. end
  55. for _,t in pairs(CAS.Actions) do
  56. for _,k in pairs(t.Keys) do
  57. if k==io.KeyCode then
  58. t.Function(t.Name,io.UserInputState,io)
  59. end
  60. end
  61. end
  62. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  63. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  64. end
  65. end)
  66. Event.Parent = NLS([==[
  67. local Player = game:GetService("Players").LocalPlayer
  68. local Event = script:WaitForChild("UserInput_Event")
  69.  
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local Mouse = Player:GetMouse()
  80. local h,t
  81. --Give the server mouse data 30 times every second, but only if the values changed
  82. --If player is not moving their mouse, client won't fire events
  83. while wait(1/30) do
  84. if h~=Mouse.Hit or t~=Mouse.Target then
  85. h,t=Mouse.Hit,Mouse.Target
  86. Event:FireServer({isMouse=true,Target=t,Hit=h})
  87. end
  88. end]==],Player.Character)
  89. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  90. end
  91.  
  92. --// Initializing \\--
  93. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  94. local Plrs = S.Players
  95. local Plr = owner
  96. local Char = Plr.Character
  97. local Hum = Char:FindFirstChildOfClass'Humanoid'
  98. local RArm = Char["Right Arm"]
  99. local LArm = Char["Left Arm"]
  100. local RLeg = Char["Right Leg"]
  101. local LLeg = Char["Left Leg"]
  102. local Root = Char:FindFirstChild'HumanoidRootPart'
  103. local Torso = Char.Torso
  104. local Head = Char.Head
  105. local NeutralAnims = true
  106. local Attack = false
  107. local BloodPuddles = {}
  108. local Effects = {}
  109. local Debounces = {Debounces={}}
  110.  
  111. local Hit = {}
  112. local Sine = 0
  113. local Change = 1
  114.  
  115. Hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  116. --// Debounce System \\--
  117.  
  118.  
  119. function Debounces:New(name,cooldown)
  120. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  121. setmetatable(aaaaa,{__index = Debounces})
  122. Debounces.Debounces[name] = aaaaa
  123. return aaaaa
  124. end
  125.  
  126. function Debounces:Use(overrideUsable)
  127. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  128. if(self.Usable or overrideUsable)then
  129. self.Usable = false
  130. self.CoolingDown = true
  131. local LastUse = time()
  132. self.LastUse = LastUse
  133. delay(self.Cooldown or 2,function()
  134. if(self.LastUse == LastUse)then
  135. self.CoolingDown = false
  136. self.Usable = true
  137. end
  138. end)
  139. end
  140. end
  141.  
  142. function Debounces:Get(name)
  143. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  144. for i,v in next, Debounces.Debounces do
  145. if(i == name)then
  146. return v;
  147. end
  148. end
  149. end
  150.  
  151. function Debounces:GetProgressPercentage()
  152. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  153. if(self.CoolingDown and not self.Usable)then
  154. return math.max(
  155. math.floor(
  156. (
  157. (time()-self.LastUse)/self.Cooldown or 2
  158. )*100
  159. )
  160. )
  161. else
  162. return 100
  163. end
  164. end
  165.  
  166. --// Shortcut Variables \\--
  167. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  168. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  169. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  170. 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}
  171. local R3 = {N=Region3.new}
  172. local De = S.Debris
  173. local WS = workspace
  174. local Lght = S.Lighting
  175. local RepS = S.ReplicatedStorage
  176. local IN = Instance.new
  177. --// Instance Creation Functions \\--
  178.  
  179. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  180. local Sound = IN("Sound")
  181. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  182. Sound.Pitch = pitch or 1
  183. Sound.Volume = volume or 1
  184. Sound.Looped = looped or false
  185. if(autoPlay)then
  186. coroutine.wrap(function()
  187. repeat wait() until Sound.IsLoaded
  188. Sound.Playing = autoPlay or false
  189. end)()
  190. end
  191. if(not looped and effect)then
  192. Sound.Stopped:connect(function()
  193. Sound.Volume = 0
  194. Sound:destroy()
  195. end)
  196. elseif(effect)then
  197. warn("Sound can't be looped and a sound effect!")
  198. end
  199. Sound.Parent =parent or Torso
  200. return Sound
  201. end
  202. function Part(parent,color,material,size,cframe,anchored,cancollide)
  203. local part = IN("Part")
  204. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  205. part.Material = material or Enum.Material.SmoothPlastic
  206. part.TopSurface,part.BottomSurface=10,10
  207. part.Size = size or V3.N(1,1,1)
  208. part.CFrame = cframe or CF.N(0,0,0)
  209. part.Anchored = anchored or true
  210. part.CanCollide = cancollide or false
  211. part.Parent = parent or Char
  212. return part
  213. end
  214. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  215. local part = IN("SpecialMesh")
  216. part.MeshId = meshid or ""
  217. part.TextureId = textid or ""
  218. part.Scale = scale or V3.N(1,1,1)
  219. part.Offset = offset or V3.N(0,0,0)
  220. part.MeshType = meshtype or Enum.MeshType.Sphere
  221. part.Parent = parent
  222. return part
  223. end
  224.  
  225. NewInstance = function(instance,parent,properties)
  226. local inst = Instance.new(instance,parent)
  227. if(properties)then
  228. for i,v in next, properties do
  229. pcall(function() inst[i] = v end)
  230. end
  231. end
  232. return inst;
  233. end
  234.  
  235.  
  236.  
  237. --// Extended ROBLOX tables \\--
  238. 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})
  239. --// Customization \\--
  240.  
  241. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  242. local Remove_Hats = false
  243. local Remove_Clothing = false
  244. local PlayerSize = 1
  245. local DamageColor = BrickColor.new'Institutional white'
  246. local MusicId = 1470848774
  247. local Twitching = false
  248. local ForcedTwitching = false
  249. local TwitchTime = 0
  250. local Filter = true
  251.  
  252. local TimePos = 0
  253. local ReverseTime = 0
  254. --// Weapon and GUI creation, and Character Customization \\--
  255.  
  256. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  257. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  258. local Effects = IN("Folder",Char)
  259. Effects.Name = "Effects"
  260.  
  261. Instance.ClearChildrenOfClass(Head,"Decal")
  262.  
  263. NewInstance("Decal",Head,{Texture='rbxassetid://1345127347',Face=Enum.NormalId.Front})
  264. local Music = Sound(Torso,MusicId,1,3,true,false,true)
  265.  
  266. if(PlayerSize ~= 1)then
  267. for _,v in next, Char:GetDescendats() do
  268. if(v:IsA'BasePart')then
  269. v.Size = v.Size * PlayerSize
  270. end
  271. end
  272. end
  273.  
  274. --// Stop animations \\--
  275. for _,v in next, Hum:GetPlayingAnimationTracks() do
  276. v:Stop();
  277. end
  278.  
  279. pcall(game.Destroy,Char:FindFirstChild'Animate')
  280. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  281.  
  282. --// Joints \\--
  283.  
  284. 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)})
  285. 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)})
  286. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  287. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  288. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  289. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  290.  
  291. local LSC0 = LS.C0
  292. local RSC0 = RS.C0
  293. local NKC0 = NK.C0
  294. local LHC0 = LH.C0
  295. local RHC0 = RH.C0
  296. local RJC0 = RJ.C0
  297.  
  298. --// Artificial HB \\--
  299.  
  300. local ArtificialHB = IN("BindableEvent", script)
  301. ArtificialHB.Name = "Heartbeat"
  302.  
  303. script:WaitForChild("Heartbeat")
  304.  
  305. local tf = 0
  306. local allowframeloss = false
  307. local tossremainder = false
  308. local lastframe = tick()
  309. local frame = 1/Frame_Speed
  310. ArtificialHB:Fire()
  311.  
  312. game:GetService("RunService").Heartbeat:connect(function(s, p)
  313. tf = tf + s
  314. if tf >= frame then
  315. if allowframeloss then
  316. script.Heartbeat:Fire()
  317. lastframe = tick()
  318. else
  319. for i = 1, math.floor(tf / frame) do
  320. ArtificialHB:Fire()
  321. end
  322. lastframe = tick()
  323. end
  324. if tossremainder then
  325. tf = 0
  326. else
  327. tf = tf - frame * math.floor(tf / frame)
  328. end
  329. end
  330. end)
  331.  
  332. function swait(num)
  333. if num == 0 or num == nil then
  334. ArtificialHB.Event:wait()
  335. else
  336. for i = 0, num do
  337. ArtificialHB.Event:wait()
  338. end
  339. end
  340. end
  341.  
  342.  
  343. --// Effect Function(s) \\--
  344.  
  345. local DownCharacters = {"̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣",}
  346. local UpCharacters = {"̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈́","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚",}
  347. local MidCharacters = {"̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͏","͜","͝","͞","͟","͠","͢","̸","̷","͡","҉",}
  348.  
  349. function IsUnicode(c)
  350. for i = 128, 255 do
  351. if(string.char(i) == string.char(string.byte(c)))then
  352. return true
  353. end
  354. end
  355. return false
  356. end
  357.  
  358. function IsZalgoChar(c)
  359. for i = 1, #UpCharacters do
  360. if(c == UpCharacters[i])then
  361. return true
  362. end
  363. end
  364. for i = 1, #DownCharacters do
  365. if(c == DownCharacters[i])then
  366. return true
  367. end
  368. end
  369. for i = 1, #MidCharacters do
  370. if(c == MidCharacters[i])then
  371. return true
  372. end
  373. end
  374. return false
  375. end
  376.  
  377. function Zalgo(str,up,mid,down,streng)
  378. local function rand(max)
  379. return math.floor(M.RNG() * max);
  380. end
  381. local newTxt = "";
  382. for i = 1, #str do
  383. if(not IsZalgoChar(str:sub(i,i)))then
  384. local upN,midN,downN = rand(8),rand(2),rand(8)
  385. if(streng == 2)then
  386. upN,midN,downN = rand(16)/2+1,rand(6)/2,rand(16)/2+1
  387. elseif(streng == 3)then
  388. upN,midN,downN = rand(64)/4+3,rand(16)/4+1,rand(64)/4+3
  389. end
  390. newTxt = newTxt..str:sub(i,i)
  391. if(up)then
  392. for j = 0, upN do
  393. newTxt = newTxt..UpCharacters[M.RNG(1,#UpCharacters)]
  394. end
  395. end
  396. if(mid)then
  397. for j = 0, midN do
  398. newTxt = newTxt..MidCharacters[M.RNG(1,#MidCharacters)]
  399. end
  400. end
  401. if(down)then
  402. for j = 0, downN do
  403. newTxt = newTxt..DownCharacters[M.RNG(1,#DownCharacters)]
  404. end
  405. end
  406. end
  407. end
  408. return newTxt
  409. end
  410.  
  411. function Bezier(startpos, pos2, pos3, endpos, t)
  412. local A = startpos:lerp(pos2, t)
  413. local B = pos2:lerp(pos3, t)
  414. local C = pos3:lerp(endpos, t)
  415. local lerp1 = A:lerp(B, t)
  416. local lerp2 = B:lerp(C, t)
  417. local cubic = lerp1:lerp(lerp2, t)
  418. return cubic
  419. end
  420.  
  421.  
  422. function Effect(data)
  423. local FX = data.Effect or 'Resize-AndFade'
  424. local Parent = data.Parent or Effects
  425. local Color = data.Color or C3.N(0,0,0)
  426. local Size = data.Size or V3.N(1,1,1)
  427. local MoveDir = data.MoveDirection or nil
  428. local MeshData = data.Mesh or nil
  429. local SndData = data.Sound or nil
  430. local Frames = data.Frames or 45
  431. local Manual = data.Manual or nil
  432. local Material = data.Material or nil
  433. local CFra = data.CFrame or Torso.CFrame
  434. local Settings = data.FXSettings or {}
  435. local Snd,Prt,Msh;
  436. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  437. Prt = Manual
  438. else
  439. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  440. end
  441. if(typeof(MeshData) == 'table')then
  442. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  443. elseif(typeof(MeshData) == 'Instance')then
  444. Msh = MeshData:Clone()
  445. Msh.Parent = Prt
  446. end
  447. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  448. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  449. end
  450. if(Snd)then
  451. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  452. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  453. end
  454. local MoveSpeed = nil;
  455. if(MoveDir)then
  456. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  457. end
  458. local Inc = M.RNG()-M.RNG()
  459. local Thingie = 0
  460. local Thingie2 = M.RNG(50,100)/100
  461.  
  462. coroutine.wrap(function()
  463. if(FX ~= 'Arc')then
  464. for i = 1, Frames do
  465. if(FX == 'Resize-AndFade')then
  466. if(not Settings.EndSize)then
  467. Settings.EndSize = V3.N(0,0,0)
  468. end
  469. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  470. if(Settings.EndIsIncrement)then
  471. Prt.Size = Prt.Size - Settings.EndSize
  472. else
  473. Prt.Size = Prt.Size - grow/Frames
  474. end
  475. Prt.Transparency = (i/Frames)
  476. elseif(FX == 'Resize+AndFade')then
  477. if(not Settings.EndSize)then
  478. Settings.EndSize = Size*2
  479. end
  480. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  481. if(Settings.EndIsIncrement)then
  482. Prt.Size = Prt.Size + Settings.EndSize
  483. else
  484. Prt.Size = Prt.Size + grow/Frames
  485. end
  486. Prt.Transparency = (i/Frames)
  487. elseif(FX == 'Fade')then
  488. Prt.Transparency = (i/Frames)
  489. end
  490. if(Settings.RandomizeCFrame)then
  491. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  492. end
  493. if(MoveDir and MoveSpeed)then
  494. local Orientation = Prt.Orientation
  495. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  496. Prt.Orientation = Orientation
  497. end
  498. if(swait and typeof(swait) == 'function')then
  499. swait()
  500. else
  501. wait()
  502. end
  503. end
  504. Prt:destroy()
  505. else
  506. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  507. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  508. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  509. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  510. assert(start ~= nil,"You need to specify a start point!")
  511. assert(endP ~= nil,"You need to specify an end point!")
  512. for i = 0, 1, Settings.Speed or 0.01 do
  513. if(Settings.Home)then
  514. endP = Settings.Home.CFrame
  515. end
  516. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  517. if(swait and typeof(swait) == 'function')then
  518. swait()
  519. else
  520. wait()
  521. end
  522. end
  523. if(Settings.RemoveOnGoal)then
  524. Prt:destroy()
  525. end
  526. end
  527. end)()
  528. return Prt,Msh,Snd
  529. end
  530.  
  531.  
  532. function SoulSteal(whom)
  533. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  534. print(torso)
  535. if(torso and torso:IsA'BasePart')then
  536. local Model = Instance.new("Model",Effects)
  537. Model.Name = whom.Name.."'s Soul"
  538. whom:BreakJoints()
  539. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  540. Soul.Name = 'Head'
  541. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  542. Effect{
  543. Effect="Arc",
  544. Manual = Soul,
  545. FXSettings={
  546. Start=torso.CFrame,
  547. Home = Torso,
  548. RemoveOnGoal = true,
  549. }
  550. }
  551. local lastPoint = Soul.CFrame.p
  552.  
  553. for i = 0, 1, 0.01 do
  554. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  555. local mag = (lastPoint - Soul.Position).magnitude
  556. Effect{
  557. Effect = "Fade",
  558. CFrame = point * CF.N(0, mag/2, 0),
  559. Size = V3.N(.5,mag+.5,.5),
  560. Color = Soul.BrickColor
  561. }
  562. lastPoint = Soul.CFrame.p
  563. swait()
  564. end
  565. for i = 1, 5 do
  566. Effect{
  567. Effect="Fade",
  568. Color = BrickColor.new'Really red',
  569. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  570. }
  571. end
  572. end
  573. end
  574.  
  575. --// Other Functions \\ --
  576.  
  577. function getRegion(point,range,ignore)
  578. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  579. end
  580.  
  581. function clerp(startCF,endCF,alpha)
  582. return startCF:lerp(endCF, alpha)
  583. end
  584.  
  585. function GetTorso(char)
  586. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  587. end
  588.  
  589. function RandomEnum(enum)
  590. local t = enum:GetEnumItems()
  591. if(#t < 1)then t = 1 end
  592. local choice = M.RNG(1,#t)
  593. return t[choice]
  594. end
  595.  
  596. function Chat(text)
  597. coroutine.wrap(function()
  598. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  599. Char:FindFirstChild("TalkingBillBoard"):destroy()
  600. end
  601. local oText = text;
  602. text = ""
  603. for i = 1, #oText do
  604. local lol = M.RNG(1,24)
  605. if(lol == 1 or lol == 2)then
  606. text = text..(oText:sub(i,i):upper())
  607. elseif(lol == 3 or lol == 4)then
  608. text = text..Zalgo(oText:sub(i,i),M.RNG(1,2) == 1,true,M.RNG(1,2) == 1,M.RNG(1,3))
  609. elseif(lol == 5 or lol == 6)then
  610. text = text.." "..(oText:sub(i,i):lower())
  611. elseif(lol == 7)then
  612. text = text..(string.rep(oText:sub(i,i):lower(),M.RNG(5,9)))
  613. else
  614. text = text..(oText:sub(i,i):lower())
  615. end
  616. end
  617. local Bill = Instance.new("BillboardGui",Char)
  618. Bill.Size = UDim2.new(0,100,0,40)
  619. Bill.StudsOffset = Vector3.new(0,3,0)
  620. Bill.Adornee = Char.Head
  621. Bill.Name = "TalkingBillBoard"
  622. local Hehe = Instance.new("TextLabel",Bill)
  623. Hehe.BackgroundTransparency = 1
  624. Hehe.BorderSizePixel = 0
  625. Hehe.Text = ""
  626. Hehe.Font = "Bodoni"
  627. Hehe.TextSize = 40
  628. Hehe.TextStrokeTransparency = 0
  629. Hehe.Size = UDim2.new(1,0,0.5,0)
  630. coroutine.resume(coroutine.create(function()
  631. while Hehe ~= nil do
  632. swait()
  633. Hehe.Font = RandomEnum(Enum.Font)
  634. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  635. Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15))
  636. local aa = math.random(0, 255)/255
  637. local bb = math.random(0, 255)/255
  638. Hehe.TextColor3 = C3.N(aa,aa,aa)
  639. Hehe.TextStrokeColor3 = C3.N(bb,bb,bb)
  640. end
  641. end))
  642. for i = 1,string.len(text),1 do
  643. if(not IsZalgoChar(text:sub(i,i)) and not IsUnicode(text:sub(i,i)))then swait(5) end
  644. Hehe.Text = string.sub(text,1,i)
  645. end
  646. swait(90)
  647. for i = 0, 1, .025 do
  648. swait()
  649. Hehe.TextStrokeTransparency = i
  650. Hehe.TextTransparency = i
  651. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  652. end
  653. Bill:Destroy()
  654. end)()
  655. end
  656.  
  657. function ShowDamage(Pos, Text, Time, Color)
  658. coroutine.wrap(function()
  659. local Pos = (Pos or Vector3.new(0, 0, 0))
  660. local Text = (Text or "")
  661. local Time = (Time or 2)
  662. local Color = (Color or Color3.new(1, 0, 1))
  663. local EffectPart = NewInstance("Part",Effects,{
  664. Material=Enum.Material.SmoothPlastic,
  665. Reflectance = 0,
  666. Transparency = 1,
  667. BrickColor = BrickColor.new(Color),
  668. Name = "Effect",
  669. Size = Vector3.new(0,0,0),
  670. Anchored = true
  671. })
  672. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  673. Size = UDim2.new(1.25, 0, 1.25, 0),
  674. Adornee = EffectPart,
  675. })
  676. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  677. BackgroundTransparency = 1,
  678. Size = UDim2.new(1, 0, 1, 0),
  679. Text = Text,
  680. Font = "Arial",
  681. TextColor3 = Color,
  682. TextStrokeColor3 = Color3.new(0,0,0),
  683. TextStrokeTransparency=0,
  684. TextScaled = true,
  685. })
  686. EffectPart.Parent = game:GetService("Workspace")
  687. delay(0, function()
  688. local Frames = (Time / (1/Frame_Speed))
  689. for Frame = 1, Frames do
  690. swait()
  691. local Percent = (Frame / Frames)
  692. EffectPart.CFrame = CF.N(Pos+ V3.N(0, Percent, 0)) * CF.A(0,0,M.RRNG(-90,90))
  693. TextLabel.Rotation = M.RNG(-6,6)
  694. TextLabel.Position = UDim2.new(M.RNG(-1,1)/10,M.RNG(-1,1)/10,.05,M.RNG(-1,1)/10)
  695. end
  696. for i = 0, 1, .025 do
  697. swait()
  698. TextLabel.TextStrokeTransparency = i
  699. TextLabel.TextTransparency = i
  700. TextLabel.Position = UDim2.new(M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10)
  701. end
  702. if EffectPart and EffectPart.Parent then
  703. EffectPart:Destroy()
  704. end
  705. end) end)()
  706. end
  707.  
  708.  
  709. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  710. if(who)then
  711. local hum = who:FindFirstChildOfClass'Humanoid'
  712. local Damage = M.RNG(minDam,maxDam)
  713. local canHit = true
  714. if(hum)then
  715. for _, p in pairs(Hit) do
  716. if p[1] == hum then
  717. if(time() - p[2] < 0.1) then
  718. canHit = false
  719. else
  720. Hit[_] = nil
  721. end
  722. end
  723. end
  724. if(canHit)then
  725. if(hum.Health >= math.huge)then
  726. who:BreakJoints()
  727. if(who:FindFirstChild'Head' and hum.Health > 0)then
  728. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  729. end
  730. else
  731. local player = S.Players:GetPlayerFromCharacter(who)
  732. if(Type == "Fire")then
  733. --idk..
  734. else
  735. local c = Instance.new("ObjectValue",hum)
  736. c.Name = "creator"
  737. c.Value = Plr
  738. game:service'Debris':AddItem(c,0.35)
  739. if(M.RNG(1,100) <= (critChance or 0))then
  740. if(who:FindFirstChild'Head' and hum.Health > 0)then
  741. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  742. end
  743. hum.Health = hum.Health - Damage*(critMult or 2)
  744. else
  745. if(who:FindFirstChild'Head' and hum.Health > 0)then
  746. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
  747. end
  748. hum.Health = hum.Health - Damage
  749. end
  750. if(Type == 'Knockback' and GetTorso(who))then
  751. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  752. local body = NewInstance('BodyVelocity',GetTorso(who),{
  753. P = 500,
  754. maxForce = V3.N(math.huge,0,math.huge),
  755. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  756. })
  757. game:service'Debris':AddItem(body,.5)
  758. elseif(Type == 'Knockdown' and GetTorso(who))then
  759. local rek = GetTorso(who)
  760. print(rek)
  761. hum.PlatformStand = true
  762. delay(1,function()
  763. hum.PlatformStand = false
  764. end)
  765. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  766. local bodvol = NewInstance("BodyVelocity",rek,{
  767. velocity = angle * Knock,
  768. P = 5000,
  769. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  770. })
  771. local rl = NewInstance("BodyAngularVelocity",rek,{
  772. P = 3000,
  773. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  774. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  775. })
  776. game:GetService("Debris"):AddItem(bodvol, .5)
  777. game:GetService("Debris"):AddItem(rl, .5)
  778. end
  779. end
  780. end
  781. end
  782. table.insert(Hit,{hum,time()})
  783. end
  784. end
  785. end
  786.  
  787. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  788. for _,v in next, getRegion(where,range,{Char}) do
  789. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  790. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  791. end
  792. end
  793. end
  794. function AOEHeal(where,range,amount)
  795. local healed = {}
  796. for _,v in next, getRegion(where,range,{Char}) do
  797. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  798. if(hum and not healed[hum])then
  799. hum.Health = hum.Health + amount
  800. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  801. 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)
  802. end
  803. end
  804. end
  805. end
  806.  
  807. --// Wrap it all up \\--
  808. plr = owner
  809. Character = plr.Character
  810. Humanoid = Character.Humanoid
  811. function cantdie()
  812. Humanoid:SetStateEnabled("Dead",false)
  813. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  814. end
  815. cantdie()
  816. pcall(function()
  817. Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White'
  818. Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White'
  819. end)
  820. Plr.Chatted:connect(function(text)
  821. if(text == "/e filter")then
  822. Filter = not Filter
  823. else
  824. if(Filter)then
  825. local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(text,Plr) end)
  826. if(not succ)then
  827. text = string.rep("_",#text)
  828. end
  829. Chat(text)
  830. else
  831. Chat(text)
  832. end
  833. end
  834. end)
  835.  
  836. coroutine.wrap(function()
  837. while true do
  838. swait(M.RNG(0,50)/100)
  839. if(NeutralAnims and not Twitching)then
  840. local GlitchEffect = M.RNG(1,200)
  841. if(GlitchEffect == 1)then
  842. TwitchTime = time()
  843. Twitching = true
  844. TimePos = Music.TimePosition
  845. for _,v in next, Char:children() do
  846. if(v:IsA'BasePart')then
  847. Effect{
  848. Effect='Fade',
  849. Color = BrickColor.Random(),
  850. Material = RandomEnum(Enum.Material),
  851. Size = v.Size + V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100),
  852. CFrame=v.CFrame * CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RNG(-15,15)),
  853. Frames = M.RNG(35,120)
  854. }
  855. end
  856. end
  857. end
  858. end
  859. if(not ForcedTwitching and time()-TwitchTime > M.RNG(150,350)/100)then
  860. Twitching = false
  861. end
  862. end
  863. end)()
  864.  
  865.  
  866. while true do
  867. swait()
  868. Sine = Sine + Change
  869. Music.Parent = Char
  870. Music.Playing = true
  871. Music.Volume = 2
  872. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
  873. local State = ((math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) and "Walk" or "Idle")
  874. local wsVal = 28 / (Hum.WalkSpeed/16)
  875. if(State == 'Walk')then
  876. Change = 3
  877. RH.C1 = clerp(RH.C1,CF.N(0,1,0)*CF.N(0,0-.5*M.S(Sine/wsVal),.05+.15*M.C(Sine/wsVal))*CF.A(M.R(0+60*M.C(Sine/wsVal)+-M.S(Sine/wsVal)),0,0),.2*(Hum.WalkSpeed/16))
  878. LH.C1 = clerp(LH.C1,CF.N(0,1,0)*CF.N(0,0+.5*M.S(Sine/wsVal),.05-.15*M.C(Sine/wsVal))*CF.A(M.R(0-60*M.C(Sine/wsVal)+M.S(Sine/wsVal)),0,0),.2*(Hum.WalkSpeed/16))
  879. else
  880. RH.C1 = clerp(RH.C1,CF.N(0,1,0),.1)
  881. LH.C1 = clerp(LH.C1,CF.N(0,1,0),.1)
  882. end
  883. if(not Twitching)then
  884. pcall(function()
  885. Char.ReaperShadowHead.Eye1.Material = Enum.Material.Neon
  886. Char.ReaperShadowHead.Eye2.Material = Enum.Material.Neon
  887. end)
  888. Hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  889. Music.Pitch = 1
  890. local lol = {0,3}
  891. local lol2 = {-1,1}
  892. RS.C1 = CF.N(0,.5,0)*CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  893. LS.C1 = CF.N(0,.5,0)*CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  894. NK.C1 = CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  895. else
  896. pcall(function()
  897. Char.ReaperShadowHead.Eye1.Material = RandomEnum(Enum.Material)
  898. Char.ReaperShadowHead.Eye2.Material = RandomEnum(Enum.Material)
  899. end)
  900. Hum.DisplayDistanceType = RandomEnum(Enum.HumanoidDisplayDistanceType)
  901. Music.Pitch = 1.25
  902. if(time()-ReverseTime >= 1)then
  903. Music.TimePosition = TimePos
  904. ReverseTime = time()
  905. for _,v in next, Char:children() do
  906. if(v:IsA'BasePart')then
  907. Effect{
  908. Effect='Fade',
  909. Color = BrickColor.Random(),
  910. Material = RandomEnum(Enum.Material),
  911. Size = v.Size + V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100),
  912. CFrame=v.CFrame * CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RNG(-15,15)),
  913. Frames = M.RNG(35,120)
  914. }
  915. end
  916. end
  917. end
  918. local lol = {5,12}
  919. local lol2 = {-16,8}
  920. RS.C1 = CF.N(0,.5,0)*CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  921. LS.C1 = CF.N(0,.5,0)*CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  922. NK.C1 = CF.N(M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100,M.RNG(unpack(lol))/100)*CF.A(M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)),M.RRNG(unpack(lol2)))
  923. end
  924. if(NeutralAnims)then
  925. if(Twitching)then
  926. if(State == 'Walk')then
  927. local Alpha = .3
  928. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20649757e-13, 0.00629579648, 1.42956924e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-7*M.S(Sine/(wsVal))),0),Alpha)
  929. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.99082166, 0.0216114372, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  930. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990985215, 0.0154614942, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  931. LS.C0 = clerp(LS.C0,CFrame.new(-1.39200604, 0.795008898, -0.00658137258, 0.819051921, 0.573506355, 0.0156119522, -0.573645532, 0.819079638, 0.0062854127, -0.00918270461, -0.0141038094, 0.999858022)*CF.A(0,0,M.RRNG(-25,45)),Alpha)
  932. RS.C0 = clerp(RS.C0,CFrame.new(1.32559943, 0.709226727, 0.00863117818, 0.819051921, -0.573506355, 0.0156119522, 0.573484719, 0.819192171, 0.0062854127, -0.0163939148, 0.00380513305, 0.999858022)*CF.A(0,0,M.RRNG(-45,25)),Alpha)
  933. NK.C0 = clerp(NK.C0,CFrame.new(4.20771539e-06, 1.49895704, -0.0143941138, 0.902309358, -0.0976699144, -0.419878155, 0.104237564, 0.994525492, -0.00733707333, 0.418296129, -0.0371467769, 0.907550335)*CF.A(M.RRNG(-5,15),M.RRNG(-5,15),M.RRNG(-5,15)),Alpha)
  934. else
  935. local Alpha = .3
  936. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20649757e-13, 0.00629579648, 1.42956924e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  937. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.99082166, 0.0216114372, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  938. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990985215, 0.0154614942, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  939. LS.C0 = clerp(LS.C0,CFrame.new(-1.39200604, 0.795008898, -0.00658137258, 0.819051921, 0.573506355, 0.0156119522, -0.573645532, 0.819079638, 0.0062854127, -0.00918270461, -0.0141038094, 0.999858022)*CF.A(0,0,M.RRNG(-25,45)),Alpha)
  940. RS.C0 = clerp(RS.C0,CFrame.new(1.32559943, 0.709226727, 0.00863117818, 0.819051921, -0.573506355, 0.0156119522, 0.573484719, 0.819192171, 0.0062854127, -0.0163939148, 0.00380513305, 0.999858022)*CF.A(0,0,M.RRNG(-45,25)),Alpha)
  941. NK.C0 = clerp(NK.C0,CFrame.new(4.20771539e-06, 1.49895704, -0.0143941138, 0.902309358, -0.0976699144, -0.419878155, 0.104237564, 0.994525492, -0.00733707333, 0.418296129, -0.0371467769, 0.907550335)*CF.A(M.RRNG(-5,15),M.RRNG(-5,15),M.RRNG(-5,15)),Alpha)
  942. end
  943. else
  944. if(State == 'Idle')then
  945. local Alpha = .3
  946. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0055502113, 0.046844326, -0.355196595, 0.999991238, -0.00595695665, -0.00113933254, 0.0059490581, 0.926876307, 0.37534529, -0.00117987115, -0.375341475, 0.926886022),Alpha)
  947. LH.C0 = clerp(LH.C0,CFrame.new(-0.497515112, -1.09223986, -0.0431248844, 0.984844744, 0.00594900129, 0.173336849, 0.0596322678, 0.926867485, -0.370622098, -0.162865102, 0.375341654, 0.91246587),Alpha)
  948. RH.C0 = clerp(RH.C0,CFrame.new(0.497499257, -1.09597111, -0.0500149131, 0.991716266, 0.00594900129, -0.128311232, -0.0536306985, 0.926867485, -0.371538013, 0.116717227, 0.375341654, 0.919508636),Alpha)
  949. LS.C0 = clerp(LS.C0,CFrame.new(-1.12519193, 0.738982558, -0.468318224, 0.769806862, -0.638114333, -0.014411577, -0.591974616, -0.705338001, -0.389954329, 0.238670424, 0.308720797, -0.920721531),Alpha)
  950. RS.C0 = clerp(RS.C0,CFrame.new(1.20966697, 0.671781361, -0.540282011, 0.762095451, 0.647304416, -0.014411577, 0.591827035, -0.70546186, -0.389954329, -0.262585998, 0.288653284, -0.920721531),Alpha)
  951. NK.C0 = clerp(NK.C0,CFrame.new(-0.00318176579, 1.58153725, -0.218282402, 0.99997586, -0.00669310382, -0.00194420572, 0.00678409031, 0.87074405, 0.49168992, -0.00159802474, -0.491691202, 0.870768249),Alpha)
  952. elseif(State == 'Walk')then
  953. local Alpha = .3
  954. RJ.C0 = clerp(RJ.C0,CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-7*M.S(Sine/(wsVal))),0),Alpha)
  955. LS.C0 = clerp(LS.C0,CFrame.new(-1.12519193, 0.738982558, -0.468318224, 0.769806862, -0.638114333, -0.014411577, -0.591974616, -0.705338001, -0.389954329, 0.238670424, 0.308720797, -0.920721531),Alpha)
  956. RS.C0 = clerp(RS.C0,CFrame.new(1.20966697, 0.671781361, -0.540282011, 0.762095451, 0.647304416, -0.014411577, 0.591827035, -0.70546186, -0.389954329, -0.262585998, 0.288653284, -0.920721531),Alpha)
  957. NK.C0 = clerp(NK.C0,CFrame.new(-0.00318176579, 1.58153725, -0.218282402, 0.99997586, -0.00669310382, -0.00194420572, 0.00678409031, 0.87074405, 0.49168992, -0.00159802474, -0.491691202, 0.870768249),Alpha)
  958. LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
  959. RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
  960. end
  961. end
  962. end
  963. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement