Advertisement
DarkScriptZEditors

Glitch

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