Advertisement
NoHackJustStevePlayz

Untitled

Oct 20th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.37 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. --//=================================\\
  146. --|| SOME TAG EDIT
  147. --\\=================================//
  148.  
  149. Player = owner
  150. Character = Player.Character
  151. local txt = Instance.new("BillboardGui", Character)
  152. txt.Adornee = Character.Head
  153. txt.Name = "_status"
  154. txt.Size = UDim2.new(2, 0, 1.2, 0)
  155. txt.StudsOffset = Vector3.new(-9, 8, 0)
  156. local text = Instance.new("TextLabel", txt)
  157. text.Size = UDim2.new(10, 0, 7, 0)
  158. text.FontSize = "Size24"
  159. text.TextScaled = true
  160. text.TextTransparency = 0
  161. text.BackgroundTransparency = 1
  162. text.TextTransparency = 0
  163. text.TextStrokeTransparency = 0
  164. text.Font = "Antique"
  165. text.TextStrokeColor3 = Color3.new(1,0,0)
  166. text.Text = "Chara"
  167.  
  168. -- Created by Nebula_Zorua --
  169. -- Your DeTERMINATION --
  170. -- Y o u a c t l i k e y o u h a v e a c h o i c e. =) --
  171. -- Discord: Nebula the Zorua#6969
  172. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  173.  
  174.  
  175. --// Initializing \\--
  176. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  177. local Plrs = S.Players
  178. local Plr = Plrs.LocalPlayer
  179. local Char = Plr.Character
  180. local Hum = Char:FindFirstChildOfClass'Humanoid'
  181. local RArm = Char["Right Arm"]
  182. local LArm = Char["Left Arm"]
  183. local RLeg = Char["Right Leg"]
  184. local LLeg = Char["Left Leg"]
  185. local Root = Char:FindFirstChild'HumanoidRootPart'
  186. local Torso = Char.Torso
  187. local Head = Char.Head
  188. local NeutralAnims = true
  189. local Attack = false
  190. local BloodPuddles = {}
  191. local Effects = {}
  192. local Debounces = {Debounces={}}
  193. local Mouse = Plr:GetMouse()
  194. local Hit = {}
  195. local Sine = 0
  196. local Change = 1
  197. local Souls = 0
  198. --// Debounce System \\--
  199.  
  200.  
  201. function Debounces:New(name,cooldown)
  202. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  203. setmetatable(aaaaa,{__index = Debounces})
  204. Debounces.Debounces[name] = aaaaa
  205. return aaaaa
  206. end
  207.  
  208. function Debounces:Use(overrideUsable)
  209. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  210. if(self.Usable or overrideUsable)then
  211. self.Usable = false
  212. self.CoolingDown = true
  213. local LastUse = time()
  214. self.LastUse = LastUse
  215. delay(self.Cooldown or 2,function()
  216. if(self.LastUse == LastUse)then
  217. self.CoolingDown = false
  218. self.Usable = true
  219. end
  220. end)
  221. end
  222. end
  223.  
  224. function Debounces:Get(name)
  225. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  226. for i,v in next, Debounces.Debounces do
  227. if(i == name)then
  228. return v;
  229. end
  230. end
  231. end
  232.  
  233. function Debounces:GetProgressPercentage()
  234. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  235. if(self.CoolingDown and not self.Usable)then
  236. return math.max(
  237. math.floor(
  238. (
  239. (time()-self.LastUse)/self.Cooldown or 2
  240. )*100
  241. )
  242. )
  243. else
  244. return 100
  245. end
  246. end
  247.  
  248. --// Shortcut Variables \\--
  249. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  250. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  251. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  252. 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}
  253. local R3 = {N=Region3.new}
  254. local De = S.Debris
  255. local WS = workspace
  256. local Lght = S.Lighting
  257. local RepS = S.ReplicatedStorage
  258. local IN = Instance.new
  259. local CSK = ColorSequenceKeypoint.new
  260. local CS = ColorSequence.new
  261. --// Instance Creation Functions \\--
  262.  
  263. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  264. local Sound = IN("Sound")
  265. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  266. Sound.Pitch = pitch or 1
  267. Sound.Volume = volume or 1
  268. Sound.Looped = looped or false
  269. if(autoPlay)then
  270. coroutine.wrap(function()
  271. repeat wait() until Sound.IsLoaded
  272. Sound.Playing = autoPlay or false
  273. end)()
  274. end
  275. if(not looped and effect)then
  276. Sound.Stopped:connect(function()
  277. Sound.Volume = 0
  278. Sound:destroy()
  279. end)
  280. elseif(effect)then
  281. warn("Sound can't be looped and a sound effect!")
  282. end
  283. Sound.Parent =parent or Torso
  284. return Sound
  285. end
  286. function Part(parent,color,material,size,cframe,anchored,cancollide)
  287. local part = IN("Part")
  288. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  289. part.Material = (material or Enum.Material.SmoothPlastic)
  290. part.TopSurface,part.BottomSurface=10,10
  291. part.Size = (size or V3.N(1,1,1))
  292. part.CFrame = (cframe or CF.N(0,0,0))
  293. part.Anchored = (anchored or false)
  294. part.CanCollide = (cancollide or false)
  295. part.Parent = (parent or Char)
  296. return part
  297. end
  298. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  299. local part = IN("SpecialMesh")
  300. part.MeshId = meshid or ""
  301. part.TextureId = textid or ""
  302. part.Scale = scale or V3.N(1,1,1)
  303. part.Offset = offset or V3.N(0,0,0)
  304. part.MeshType = meshtype or Enum.MeshType.Sphere
  305. part.Parent = parent
  306. return part
  307. end
  308.  
  309. NewInstance = function(instance,parent,properties)
  310. local inst = Instance.new(instance,parent)
  311. if(properties)then
  312. for i,v in next, properties do
  313. pcall(function() inst[i] = v end)
  314. end
  315. end
  316. return inst;
  317. end
  318.  
  319.  
  320.  
  321. --// Extended ROBLOX tables \\--
  322. 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})
  323. --// Customization \\--
  324.  
  325. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  326. local Remove_Hats = false
  327. local Remove_Clothing = true
  328. local PlayerSize = 1
  329. local DamageColor = BrickColor.new'Really red'
  330. local MusicID = 935501955
  331. local WalkSpeed = 8
  332. local MaxSouls = 100
  333. local MaxHealth = 500
  334.  
  335.  
  336. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  337.  
  338. --// Weapon and GUI creation, and Character Customization \\--
  339.  
  340. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  341. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  342. local Effects = IN("Folder",Char)
  343. Effects.Name = "Effects"
  344.  
  345. Hum.MaxHealth = MaxHealth
  346. Hum.Health = MaxHealth
  347.  
  348. local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
  349. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  350. local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  351. local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  352.  
  353. local KTrail = NewInstance("Trail",Knife,{
  354. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  355. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  356. Color=CS(C3.N(1,0,0)),
  357. Enabled=false,
  358. Transparency=NumberSequence.new(0,1),
  359. Lifetime=1.25,
  360. })
  361. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  362. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  363.  
  364. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  365.  
  366.  
  367. Hum.DisplayDistanceType = 'None'
  368.  
  369. local naeeym2 = IN("BillboardGui",Char)
  370. naeeym2.AlwaysOnTop = true
  371. naeeym2.Size = UDim2.new(5,35,2,15)
  372. naeeym2.StudsOffset = V3.N(0,2.5,0)
  373. naeeym2.Adornee = Char.Head
  374. naeeym2.Name = "Name"
  375. naeeym2.PlayerToHideFrom = Plr
  376. local tecks2 = IN("TextLabel",naeeym2)
  377. tecks2.BackgroundTransparency = 1
  378. tecks2.TextScaled = true
  379. tecks2.BorderSizePixel = 0
  380. tecks2.Text = "Chara"
  381. tecks2.Font = Enum.Font.Bodoni
  382. tecks2.TextSize = 30
  383. tecks2.TextStrokeTransparency = 0
  384. tecks2.TextColor3 = C3.N(0,0,0)
  385. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  386. tecks2.Size = UDim2.new(1,0,0.5,0)
  387. tecks2.Parent = naeeym2
  388.  
  389.  
  390. IN("Shirt",Char)
  391. IN("Pants",Char)
  392.  
  393. Hum.WalkSpeed = WalkSpeed
  394. if(PlayerSize ~= 1)then
  395. for _,v in next, Char:GetDescendats() do
  396. if(v:IsA'BasePart')then
  397. v.Size = v.Size * PlayerSize
  398. end
  399. end
  400. end
  401.  
  402.  
  403. for i = 1, 35 do
  404. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  405. FACE.Transparency = 0+(i-1)/35.2
  406. FACE.Name = 'ShadowFace'
  407. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  408. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  409. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  410. end
  411.  
  412. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  413. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  414. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  415.  
  416. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  417. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  418. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  419.  
  420.  
  421. pcall(function()
  422. Char.LeftWing:destroy()
  423. Char.ReaperShadowHead:destroy()
  424. end)
  425.  
  426.  
  427. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  428. Music.Name = 'Music'
  429.  
  430. --// Stop animations \\--
  431. for _,v in next, Hum:GetPlayingAnimationTracks() do
  432. v:Stop();
  433. end
  434.  
  435. pcall(game.Destroy,Char:FindFirstChild'Animate')
  436. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  437.  
  438. --// Joints \\--
  439.  
  440. 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)})
  441. 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)})
  442. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  443. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  444. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  445. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  446. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  447. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  448.  
  449. local LSC0 = LS.C0
  450. local RSC0 = RS.C0
  451. local NKC0 = NK.C0
  452. local LHC0 = LH.C0
  453. local RHC0 = RH.C0
  454. local RJC0 = RJ.C0
  455.  
  456. --// Artificial HB \\--
  457.  
  458. local ArtificialHB = IN("BindableEvent", script)
  459. ArtificialHB.Name = "Heartbeat"
  460.  
  461. script:WaitForChild("Heartbeat")
  462.  
  463. local tf = 0
  464. local allowframeloss = false
  465. local tossremainder = false
  466. local lastframe = tick()
  467. local frame = 1/Frame_Speed
  468. ArtificialHB:Fire()
  469.  
  470. game:GetService("RunService").Heartbeat:connect(function(s, p)
  471. tf = tf + s
  472. if tf >= frame then
  473. if allowframeloss then
  474. script.Heartbeat:Fire()
  475. lastframe = tick()
  476. else
  477. for i = 1, math.floor(tf / frame) do
  478. ArtificialHB:Fire()
  479. end
  480. lastframe = tick()
  481. end
  482. if tossremainder then
  483. tf = 0
  484. else
  485. tf = tf - frame * math.floor(tf / frame)
  486. end
  487. end
  488. end)
  489.  
  490. function swait(num)
  491. if num == 0 or num == nil then
  492. ArtificialHB.Event:wait()
  493. else
  494. for i = 0, num do
  495. ArtificialHB.Event:wait()
  496. end
  497. end
  498. end
  499.  
  500.  
  501. --// Effect Function(s) \\--
  502.  
  503. function Bezier(startpos, pos2, pos3, endpos, t)
  504. local A = startpos:lerp(pos2, t)
  505. local B = pos2:lerp(pos3, t)
  506. local C = pos3:lerp(endpos, t)
  507. local lerp1 = A:lerp(B, t)
  508. local lerp2 = B:lerp(C, t)
  509. local cubic = lerp1:lerp(lerp2, t)
  510. return cubic
  511. end
  512.  
  513. function Tween(obj,props,time,easing,direction,repeats,backwards)
  514. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  515. local tween = S.TweenService:Create(obj, info, props)
  516.  
  517. tween:Play()
  518. end
  519.  
  520. local FXTable = {}
  521.  
  522. coroutine.resume(coroutine.create(function()
  523. while true do
  524. for i = 1, #FXTable do
  525. local data = FXTable[i]
  526. if(data)then
  527. local Frame = data.Frame
  528. local FX = data.Effect or 'ResizeAndFade'
  529. local Parent = data.Parent or Effects
  530. local Color = data.Color or C3.N(0,0,0)
  531. local Size = data.Size or V3.N(1,1,1)
  532. local MoveDir = data.MoveDirection or nil
  533. local MeshData = data.Mesh or nil
  534. local SndData = data.Sound or nil
  535. local Frames = data.Frames or 45
  536. local CFra = data.CFrame or Torso.CFrame
  537. local Settings = data.FXSettings or {}
  538. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  539. local grow = data.Grow
  540.  
  541. local MoveSpeed = nil;
  542. if(MoveDir)then
  543. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  544. end
  545. if(FX ~= 'Arc')then
  546. Frame = Frame + 1
  547. if(FX == "Fade")then
  548. Prt.Transparency = (Frame/Frames)
  549. elseif(FX == "Resize")then
  550. if(not Settings.EndSize)then
  551. Settings.EndSize = V3.N(0,0,0)
  552. end
  553. if(Settings.EndIsIncrement)then
  554. if(Msh)then
  555. Msh.Scale = Msh.Scale + Settings.EndSize
  556. else
  557. Prt.Size = Prt.Size + Settings.EndSize
  558. end
  559. else
  560. if(Msh)then
  561. Msh.Scale = Msh.Scale - grow/Frames
  562. else
  563. Prt.Size = Prt.Size - grow/Frames
  564. end
  565. end
  566. elseif(FX == "ResizeAndFade")then
  567. if(not Settings.EndSize)then
  568. Settings.EndSize = V3.N(0,0,0)
  569. end
  570. if(Settings.EndIsIncrement)then
  571. if(Msh)then
  572. Msh.Scale = Msh.Scale + Settings.EndSize
  573. else
  574. Prt.Size = Prt.Size + Settings.EndSize
  575. end
  576. else
  577. if(Msh)then
  578. Msh.Scale = Msh.Scale - grow/Frames
  579. else
  580. Prt.Size = Prt.Size - grow/Frames
  581. end
  582. end
  583. Prt.Transparency = (Frame/Frames)
  584. end
  585. if(Settings.RandomizeCFrame)then
  586. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  587. end
  588. if(MoveDir and MoveSpeed)then
  589. local Orientation = Prt.Orientation
  590. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  591. Prt.Orientation = Orientation
  592. end
  593. if(Prt.Transparency >= 1 or Frame >= Frames)then
  594. Prt:destroy()
  595. table.remove(FXTable,i)
  596. else
  597. data.Frame = Frame
  598. end
  599. else
  600. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  601. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  602. if(start and endP)then
  603. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  604. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  605. Frame = Frame + (Settings.Speed or 0.01)
  606. if(Settings.Home)then
  607. endP = Settings.Home.CFrame
  608. end
  609. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  610. if(Prt.Transparency >= 1 or Frame >= Frames)then
  611. if(Settings.RemoveOnGoal)then
  612. Prt:destroy()
  613. end
  614. end
  615. else
  616. Prt:destroy()
  617. end
  618. end
  619. end
  620. end
  621. swait()
  622. end
  623. end))
  624.  
  625. function Effect(data)
  626. local FX = data.Effect or 'ResizeAndFade'
  627. local Parent = data.Parent or Effects
  628. local Color = data.Color or C3.N(0,0,0)
  629. local Size = data.Size or V3.N(1,1,1)
  630. local MoveDir = data.MoveDirection or nil
  631. local MeshData = data.Mesh or nil
  632. local SndData = data.Sound or nil
  633. local Frames = data.Frames or 45
  634. local Manual = data.Manual or nil
  635. local Material = data.Material or nil
  636. local CFra = data.CFrame or Torso.CFrame
  637. local Settings = data.FXSettings or {}
  638. local Shape = data.Shape or Enum.PartType.Block
  639. local Snd,Prt,Msh;
  640. coroutine.wrap(function()
  641. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  642. Prt = Manual
  643. else
  644. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  645. Prt.Shape = Shape
  646. end
  647. if(typeof(MeshData) == 'table')then
  648. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  649. elseif(typeof(MeshData) == 'Instance')then
  650. Msh = MeshData:Clone()
  651. Msh.Parent = Prt
  652. elseif(Shape == Enum.PartType.Block)then
  653. Msh = Mesh(Prt,Enum.MeshType.Brick)
  654. end
  655. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  656. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  657. end
  658. if(Snd)then
  659. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  660. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  661. end
  662. Size = (Msh and Msh.Scale or Size)
  663. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  664.  
  665. local MoveSpeed = nil;
  666. if(MoveDir)then
  667. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  668. end
  669. if(FX ~= 'Arc')then
  670. for Frame = 1, Frames do
  671. if(FX == "Fade")then
  672. Prt.Transparency = (Frame/Frames)
  673. elseif(FX == "Resize")then
  674. if(not Settings.EndSize)then
  675. Settings.EndSize = V3.N(0,0,0)
  676. end
  677. if(Settings.EndIsIncrement)then
  678. if(Msh)then
  679. Msh.Scale = Msh.Scale + Settings.EndSize
  680. else
  681. Prt.Size = Prt.Size + Settings.EndSize
  682. end
  683. else
  684. if(Msh)then
  685. Msh.Scale = Msh.Scale - grow/Frames
  686. else
  687. Prt.Size = Prt.Size - grow/Frames
  688. end
  689. end
  690. elseif(FX == "ResizeAndFade")then
  691. if(not Settings.EndSize)then
  692. Settings.EndSize = V3.N(0,0,0)
  693. end
  694. if(Settings.EndIsIncrement)then
  695. if(Msh)then
  696. Msh.Scale = Msh.Scale + Settings.EndSize
  697. else
  698. Prt.Size = Prt.Size + Settings.EndSize
  699. end
  700. else
  701. if(Msh)then
  702. Msh.Scale = Msh.Scale - grow/Frames
  703. else
  704. Prt.Size = Prt.Size - grow/Frames
  705. end
  706. end
  707. Prt.Transparency = (Frame/Frames)
  708. end
  709. if(Settings.RandomizeCFrame)then
  710. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  711. end
  712. if(MoveDir and MoveSpeed)then
  713. local Orientation = Prt.Orientation
  714. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  715. Prt.Orientation = Orientation
  716. end
  717. swait()
  718. end
  719. Prt:destroy()
  720. else
  721. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  722. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  723. if(start and endP)then
  724. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  725. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  726. for Frame = 0, 1, (Settings.Speed or 0.01) do
  727. if(Settings.Home)then
  728. endP = Settings.Home.CFrame
  729. end
  730. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  731. end
  732. if(Settings.RemoveOnGoal)then
  733. Prt:destroy()
  734. end
  735. else
  736. Prt:destroy()
  737. assert(start,"You need a start position!")
  738. assert(endP,"You need a start position!")
  739. end
  740. end
  741. end)()
  742. return Prt,Msh,Snd
  743. end
  744.  
  745.  
  746.  
  747. function SoulSteal(whom,human)
  748. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  749. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  750. if(torso and torso:IsA'BasePart' and alive == true)then
  751. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  752. whom:BreakJoints()
  753. local Model = IN("Model",Effects)
  754. warn('Soul stolen from '..whom.Name)
  755. Model.Name = whom.Name.."'s Soul"
  756. local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  757. Soul.CanCollide=false
  758. Mesh(Soul,Enum.MeshType.Sphere)
  759. Soul.Name = 'Head'
  760. if(whom.Name == 'CKbackup')then
  761. Soul.Color = C3.N(1,1,1)
  762. local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
  763. end
  764. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  765. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  766. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  767. local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
  768. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  769.  
  770. local turdso = Soul:Clone()
  771. turdso.Name = "Torso"
  772. turdso.CanCollide = false
  773. turdso.Anchored = true
  774. turdso.CFrame = Soul.CFrame
  775. turdso.Parent = Model
  776. turdso.Size = V3.N()
  777. turdso.Transparency=1
  778. local Distance = math.huge
  779. repeat
  780. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  781. turdso.CFrame = Soul.CFrame
  782. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  783. swait()
  784. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  785. if(Soul.Parent and Hoom.Health > 0)then
  786. Model:destroy()
  787. Effect{
  788. Effect="ResizeAndFade",
  789. Mesh={Enum.MeshType.Sphere},
  790. Color = Soul.Color,
  791. CFrame=Torso.CFrame,
  792. Size=V3.N(3,3,3),
  793. Material=Enum.Material.Neon,
  794. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  795. FXSettings={
  796. EndSize=V3.N(6,6,6),
  797. }
  798. }
  799. Souls = Souls + (human and 1 or .1)
  800. warn("Souls: "..Souls)
  801. MaxHealth = MaxHealth + Hoom.Health
  802. Hum.Health = Hum.Health + Hoom.Health
  803. for i = 1, 5 do
  804. Effect{
  805. Effect="Fade",
  806. Color = Soul.Color,
  807. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  808. }
  809. end
  810. else
  811.  
  812. warn("Soul destroyed!")
  813. for i = 1, 5 do
  814. Effect{
  815. Effect="Fade",
  816. Color = Soul.Color,
  817. CFrame=Soul.CFrame,
  818. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  819. }
  820. end
  821. Effect{
  822. Effect="ResizeAndFade",
  823. Mesh={Enum.MeshType.Sphere},
  824. Sound={SoundId=444667859,Pitch=1,Volume=5},
  825. Color = Soul.Color,
  826. CFrame=Soul.CFrame,
  827. Size=V3.N(3,3,3),
  828. Material=Enum.Material.Neon,
  829. FXSettings={
  830. EndSize=V3.N(6,6,6),
  831. }
  832. }
  833. Model:destroy()
  834. end
  835. end
  836. end
  837.  
  838. --// Other Functions \\ --
  839.  
  840. function getRegion(point,range,ignore)
  841. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  842. end
  843.  
  844. function clerp(startCF,endCF,alpha)
  845. return startCF:lerp(endCF, alpha)
  846. end
  847.  
  848. function GetTorso(char)
  849. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  850. end
  851.  
  852. function ShowDamage(Pos, Text, Time, Color)
  853. coroutine.wrap(function()
  854. local Rate = (1 / Frame_Speed)
  855. local Pos = (Pos or Vector3.new(0, 0, 0))
  856. local Text = (Text or "")
  857. local Time = (Time or 2)
  858. local Color = (Color or Color3.new(1, 0, 1))
  859. local EffectPart = NewInstance("Part",Effects,{
  860. Material=Enum.Material.SmoothPlastic,
  861. Reflectance = 0,
  862. Transparency = 1,
  863. BrickColor = BrickColor.new(Color),
  864. Name = "Effect",
  865. Size = Vector3.new(0,0,0),
  866. Anchored = true,
  867. CFrame = CF.N(Pos)
  868. })
  869. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  870. Size = UDim2.new(1.25, 0, 1.25, 0),
  871. Adornee = EffectPart,
  872. })
  873. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  874. BackgroundTransparency = 1,
  875. Size = UDim2.new(1, 0, 1, 0),
  876. Text = Text,
  877. Font = "Arcade",
  878. TextColor3 = Color,
  879. TextStrokeColor3 = Color3.new(0,0,0),
  880. TextStrokeTransparency=0,
  881. TextScaled = true,
  882. })
  883. S.Debris:AddItem(EffectPart, (Time))
  884. EffectPart.Parent = workspace
  885. delay(0, function()
  886. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  887. local Frames = (Time / Rate)
  888. for Frame = 1, Frames do
  889. swait()
  890. local Percent = (Frame / Frames)
  891. TextLabel.TextTransparency = Percent
  892. TextLabel.TextStrokeTransparency = Percent
  893. end
  894. if EffectPart and EffectPart.Parent then
  895. EffectPart:Destroy()
  896. end
  897. end) end)()
  898. end
  899.  
  900. function Kill(whom)
  901. if(whom.Name ~= 'Nebula_Zorua')then
  902. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  903. coroutine.wrap(SoulSteal)(whom,isPlr)
  904. for _,v in next, whom:children() do
  905. if(v:IsA'BasePart')then
  906. v.Parent = Effects
  907. v:ClearAllChildren()
  908. v.Anchored = true
  909. v.CanCollide = false
  910. v.Transparency = 1
  911. local dust = NewInstance("ParticleEmitter",v,{
  912. Color = ColorSequence.new(C3.N(1,1,1)),
  913. LightEmission=0,
  914. LightInfluence=1,
  915. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  916. Texture="rbxassetid://284205403",
  917. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  918. Lifetime = NumberRange.new(1),
  919. Rate=150,
  920. Acceleration = V3.N(0,10,0),
  921. Speed = NumberRange.new(5),
  922. Enabled = true
  923. })
  924. delay(1, function()
  925. dust.Enabled = false
  926. S.Debris:AddItem(v,2)
  927. end)
  928. end
  929. end
  930. else
  931. warn"nope. nawt happenin'"
  932. end
  933. end
  934.  
  935. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  936. if(who)then
  937. local hum = who:FindFirstChildOfClass'Humanoid'
  938. local Damage = M.RNG(minDam,maxDam)
  939. local canHit = true
  940. if(hum)then
  941. for _, p in pairs(Hit) do
  942. if p[1] == hum then
  943. if(time() - p[2] < 0.4) then
  944. canHit = false
  945. else
  946. Hit[_] = nil
  947. end
  948. end
  949. end
  950. if(canHit)then
  951. table.insert(Hit,{hum,time()})
  952. if(GetTorso(who))then
  953. Sound(GetTorso(who),406913243,1,10,false,true,true)
  954. end
  955. if(hum.Health >= math.huge)then
  956. Kill(who)
  957. if(who:FindFirstChild'Head' and hum.Health > 0)then
  958. 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", 3, DamageColor.Color)
  959. end
  960. else
  961. local player = S.Players:GetPlayerFromCharacter(who)
  962. if(Type == "Fire")then
  963. --idk..
  964. else
  965. local c = Instance.new("ObjectValue",hum)
  966. c.Name = "creator"
  967. c.Value = Plr
  968. game:service'Debris':AddItem(c,0.35)
  969. local Crit = false
  970. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  971. Crit = true
  972. Damage = Damage*(critMult or 2)
  973. end
  974. Damage = Damage*((Souls/5)+1)
  975. if(who:FindFirstChild'Head' and hum.Health > 0)then
  976. 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 and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color))
  977. end
  978.  
  979. if(hum.Health - Damage <= 0)then
  980. Kill(who)
  981. else
  982. hum.Health = hum.Health - Damage
  983. if(Type == 'Knockback' and GetTorso(who))then
  984. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  985. local body = NewInstance('BodyVelocity',GetTorso(who),{
  986. P = 500,
  987. maxForce = V3.N(math.huge,0,math.huge),
  988. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  989. })
  990. game:service'Debris':AddItem(body,.5)
  991. elseif(Type == "Electric")then
  992. if(M.RNG(1,100) >= critChance)then
  993. if(who:FindFirstChild'Head' and hum.Health > 0)then
  994. 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]", 3, BrickColor.new"New Yeller".Color)
  995. end
  996. local asd = hum.WalkSpeed/2
  997. hum.WalkSpeed = asd
  998. local paralyzed = true
  999. coroutine.wrap(function()
  1000. while paralyzed do
  1001. swait(25)
  1002. if(M.RNG(1,25) == 1)then
  1003. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1004. 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]", 3, BrickColor.new"New Yeller".Color)
  1005. end
  1006. hum.PlatformStand = true
  1007. end
  1008. end
  1009. end)()
  1010. delay(4, function()
  1011. paralyzed = false
  1012. hum.WalkSpeed = hum.WalkSpeed + asd
  1013. end)
  1014. end
  1015.  
  1016. elseif(Type == 'Knockdown' and GetTorso(who))then
  1017. local rek = GetTorso(who)
  1018. hum.PlatformStand = true
  1019. delay(1,function()
  1020. hum.PlatformStand = false
  1021. end)
  1022. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1023. local bodvol = NewInstance("BodyVelocity",rek,{
  1024. velocity = angle * Knock,
  1025. P = 5000,
  1026. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1027. })
  1028. local rl = NewInstance("BodyAngularVelocity",rek,{
  1029. P = 3000,
  1030. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1031. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1032. })
  1033. game:GetService("Debris"):AddItem(bodvol, .5)
  1034. game:GetService("Debris"):AddItem(rl, .5)
  1035. end
  1036. end
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042. end
  1043.  
  1044.  
  1045. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1046. for _,v in next, getRegion(where,range,{Char}) do
  1047. if(v.Name ~= 'Nebula_Zorua')then
  1048. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1049. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1050. end
  1051. end
  1052. end
  1053. end
  1054.  
  1055. function AOEKill(where,range)
  1056. for _,v in next, getRegion(where,range,{Char,Effects}) do
  1057. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  1058. if(v.Name ~= 'Nebula_Zorua')then
  1059. if(v.Parent and alive == true)then
  1060. coroutine.wrap(Kill)(v.Parent)
  1061. end
  1062. end
  1063. end
  1064. end
  1065.  
  1066. function AOEHeal(where,range,amount)
  1067. local healed = {}
  1068. for _,v in next, getRegion(where,range,{Char}) do
  1069. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1070. if(hum and not healed[hum])then
  1071. hum.Health = hum.Health + amount
  1072. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1073. 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)
  1074. end
  1075. end
  1076. end
  1077. end
  1078.  
  1079.  
  1080. --// Attack Functions \\--
  1081.  
  1082.  
  1083. function Slash()
  1084. Attack = true
  1085. NeutralAnims = false
  1086. local sound = Sound(Knife,437475935,1,5,false,true,false)
  1087. for i = 0, 2, 0.1 do
  1088. swait()
  1089. local Alpha = .2
  1090. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha)
  1091. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1092. RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1093. LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha)
  1094. RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha)
  1095. NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha)
  1096. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1097. end
  1098. KTrail.Enabled = true
  1099. sound:Play()
  1100. for i = 0, 2.5, 0.1 do
  1101. swait()
  1102. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  1103. local Alpha = .25
  1104. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha)
  1105. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1106. RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1107. LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha)
  1108. RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha)
  1109. NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha)
  1110. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1111. end
  1112. KTrail.Enabled = false
  1113. Attack = false
  1114. NeutralAnims = true
  1115. end
  1116.  
  1117. Mouse.Button1Down:connect(function()
  1118. if(Attack)then return end
  1119. Slash()
  1120. end)
  1121.  
  1122. Mouse.KeyDown:connect(function(k)
  1123. if(Attack)then return end
  1124. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  1125. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  1126. end)
  1127.  
  1128.  
  1129. function Refuse()
  1130. Attack = true
  1131. warn("B u t i t r e f u s e d.")
  1132. local oMH = MaxHealth
  1133. MaxHealth = "inf"
  1134. Hum.MaxHealth = "inf"
  1135. Hum.Health = "inf"
  1136. Char.Parent = nil
  1137. Hum:destroy()
  1138. if(not _G.RefusedAnimation)then
  1139. _G.RefusedAnimation = true
  1140.  
  1141.  
  1142. local Soul;
  1143. function Soul(where,decalId)
  1144. local destroy = false
  1145. local soul = NewInstance("Part",workspace)
  1146. soul.Name = "Soul"
  1147. soul.Transparency=1
  1148. soul.Size = V3.N(2,2,.05)
  1149. soul.Anchored=true
  1150. soul.CanCollide=false
  1151. soul.CFrame = where
  1152. local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  1153. local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  1154. return soul,heartF,heartB
  1155. end
  1156. local owo = Root.CFrame
  1157. local s,f,b = Soul(owo,1569347904)
  1158. swait(60)
  1159. local snd = Sound(s,862552636,1,5,false,false,false)
  1160. snd:Play()
  1161. f.Texture = "rbxassetid://1569348344"
  1162. b.Texture = "rbxassetid://1569348344"
  1163. swait(15)
  1164. snd:Stop()
  1165. swait(60)
  1166. print'lol'
  1167. for i = 0, 6, .1 do
  1168. swait()
  1169. s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  1170. end
  1171. local snd = Sound(s,862552636,1,5,false,false,false)
  1172. snd:Play()
  1173. s.CFrame = owo
  1174. f.Texture = "rbxassetid://1569347904"
  1175. b.Texture = "rbxassetid://1569347904"
  1176. swait(15)
  1177. snd:Stop()
  1178. swait(60)
  1179.  
  1180. s:destroy()
  1181. end
  1182.  
  1183. RJ.Parent = Char
  1184. LS.Parent = Char
  1185. RS.Parent = Char
  1186. LH.Parent = Char
  1187. RH.Parent = Char
  1188. NK.Parent = Char
  1189.  
  1190. LArm.Parent = Char
  1191. RArm.Parent = Char
  1192. LLeg.Parent = Char
  1193. LArm.Parent = Char
  1194. Root.Parent = Char
  1195. Torso.Parent = Char
  1196. Head.Parent = Char
  1197.  
  1198. Knife.Parent = Char
  1199. Hair.Parent = Char
  1200.  
  1201. HW.Parent = Char
  1202. HW2.Parent = Char
  1203.  
  1204.  
  1205. REye:destroy()
  1206. LEye:destroy()
  1207.  
  1208. for _,v in next, Char:children() do
  1209. if(v.Name == 'ShadowFace')then v:destroy() end
  1210. end
  1211. LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1212. LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1213. LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1214.  
  1215. REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1216. REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1217. REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1218. for i = 1, 35 do
  1219. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1220. FACE.Transparency = 0+(i-1)/35.2
  1221. FACE.Name = 'ShadowFace'
  1222. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1223. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1224. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1225. end
  1226. Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1227. ConnectHum()
  1228. MaxHealth = oMH
  1229. Hum.MaxHealth = MaxHealth
  1230. Hum.Health = MaxHealth
  1231. swait(5)
  1232. Char.Parent = workspace
  1233.  
  1234. Attack = false
  1235. end
  1236.  
  1237. function ConnectHum()
  1238. Hum.Died:connect(Refuse)
  1239. end
  1240. ConnectHum()
  1241.  
  1242.  
  1243. --// Wrap it all up \\--
  1244. while true do
  1245. swait()
  1246. Sine = Sine + Change
  1247. if(not Music)then
  1248. Music = Sound(Torso,MusicID,1,3,true,false,true)
  1249. Music.Name = 'Music'
  1250. end
  1251. Music.Pitch = 1
  1252. Music.Volume = 5
  1253. Music.SoundId = "rbxassetid://"..MusicID
  1254. Music.Parent = Torso
  1255. Music:Resume()
  1256. 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)
  1257. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1258. 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 "Walk" or hitfloor and "Idle")
  1259. if(not Effects or not Effects.Parent)then
  1260. Effects = IN("Model",Char)
  1261. Effects.Name = "Effects"
  1262. end
  1263. Hum.WalkSpeed = WalkSpeed
  1264. if(State == 'Walk')then
  1265. if(Hum.WalkSpeed >= 24)then
  1266. local wsVal = 22 / (Hum.WalkSpeed/16)
  1267. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1268. Change = 2
  1269. 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(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1270. 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(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1271. else
  1272. Change = .9
  1273. local wsVal = 8 / (Hum.WalkSpeed/8)
  1274. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1275. LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha)
  1276. RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha)
  1277. end
  1278. else
  1279. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1280. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1281. end
  1282. for _,v in next, Char:children() do
  1283. if(v:IsA'Accessory')then
  1284. v:destroy()
  1285. elseif(v:IsA'Shirt')then
  1286. v.ShirtTemplate = "rbxassetid://344089667"
  1287. elseif(v:IsA'Pants')then
  1288. v.PantsTemplate = "rbxassetid://344084364"
  1289. elseif(v:IsA'CharacterMesh')then
  1290. v:destroy()
  1291. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1292. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1293. end
  1294. end
  1295. local face = Head:FindFirstChild'face'
  1296. if(not face)then
  1297. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1298. else
  1299. face.Texture = "rbxassetid://404306534"
  1300. end
  1301. RArm.BrickColor = BrickColor.new'Pastel brown'
  1302. LArm.BrickColor = BrickColor.new'Pastel brown'
  1303. RLeg.BrickColor = BrickColor.new'Pastel brown'
  1304. LLeg.BrickColor = BrickColor.new'Pastel brown'
  1305. Torso.BrickColor = BrickColor.new'Pastel brown'
  1306. Head.BrickColor = BrickColor.new'Pastel brown'
  1307. Hum.Name = 'Chara'
  1308. if(Hum.MaxHealth ~= MaxHealth)then
  1309. Hum.MaxHealth = MaxHealth
  1310. end
  1311. Hum.DisplayDistanceType='None'
  1312. if(NeutralAnims)then
  1313. if(State == 'Idle')then
  1314. Change = 1
  1315. local Alpha = .1
  1316. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha)
  1317. LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1318. RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1319. LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -0.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha)
  1320. RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, 0.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha)
  1321. NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha)
  1322. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1323. -- idle
  1324. elseif(State == 'Walk')then
  1325. if(Hum.WalkSpeed >= 24)then
  1326. local wsVal = 22 / (Hum.WalkSpeed/16)
  1327. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1328. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha)
  1329. 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+15*M.S(Sine/wsVal))),Alpha)
  1330. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha)
  1331. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1332. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1333. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1334. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1335. else
  1336. local wsVal = 8 / (Hum.WalkSpeed/8)
  1337. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1338. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha)
  1339. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(5-5*M.S(Sine/wsVal))),Alpha)
  1340. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(-5-5*M.S(Sine/wsVal))),Alpha)
  1341. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1342. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1343. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1344. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1345. end
  1346. elseif(State == 'Jump' or State == 'Fall')then
  1347. if(Walking)then
  1348. local Alpha = .2
  1349. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1350. LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
  1351. RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
  1352. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1353. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1354. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1355. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1356. else
  1357. local Alpha = .2
  1358. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1359. LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
  1360. RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
  1361. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1362. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1363. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1364. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1365. end
  1366. elseif(State == 'Paralyzed')then
  1367. -- paralyzed
  1368. elseif(State == 'Sit')then
  1369. -- sit
  1370. end
  1371. end
  1372. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement