Advertisement
Guest User

chara test

a guest
Jun 17th, 2018
1,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.89 KB | None | 0 0
  1.  
  2. PASTEBIN
  3. new paste
  4. API tools faq
  5.  
  6. Guest User
  7. -
  8. Public Pastes
  9.  
  10. Untitled6 sec ago
  11. Untitled10 sec ago
  12. Untitled10 sec ago
  13. Untitled11 sec ago
  14. Untitled14 sec ago
  15. Untitled18 sec ago
  16. Untitled19 sec ago
  17. Untitled22 sec ago
  18.  
  19. daily pastebin goal
  20. 90%
  21. help support pastebin
  22. SHARE
  23. TWEET
  24. Untitled
  25. a guest Apr 1st, 2018 31,345 Never
  26. Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  27. rawdownloadcloneembedreportprint text 45.04 KB
  28.  
  29. -- Created by Nebula_Zorua --
  30. -- Your DeTERMINATION --
  31. -- Y o u a c t l i k e y o u h a v e a c h o i c e. =) --
  32. -- Discord: Nebula the Zorua#6969
  33. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  34.  
  35.  
  36. --// Initializing \\--
  37. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  38. local Plrs = S.Players
  39. local Plr = Plrs.LocalPlayer
  40. local Char = Plr.Character
  41. local Hum = Char:FindFirstChildOfClass'Humanoid'
  42. local RArm = Char["Right Arm"]
  43. local LArm = Char["Left Arm"]
  44. local RLeg = Char["Right Leg"]
  45. local LLeg = Char["Left Leg"]
  46. local Root = Char:FindFirstChild'HumanoidRootPart'
  47. local Torso = Char.Torso
  48. local Head = Char.Head
  49. local NeutralAnims = true
  50. local Attack = false
  51. local BloodPuddles = {}
  52. local Effects = {}
  53. local Debounces = {Debounces={}}
  54. local Mouse = Plr:GetMouse()
  55. local Hit = {}
  56. local Sine = 0
  57. local Change = 1
  58. local Souls = 0
  59. --// Debounce System \\--
  60.  
  61.  
  62. function Debounces:New(name,cooldown)
  63. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  64. setmetatable(aaaaa,{__index = Debounces})
  65. Debounces.Debounces[name] = aaaaa
  66. return aaaaa
  67. end
  68.  
  69. function Debounces:Use(overrideUsable)
  70. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  71. if(self.Usable or overrideUsable)then
  72. self.Usable = false
  73. self.CoolingDown = true
  74. local LastUse = time()
  75. self.LastUse = LastUse
  76. delay(self.Cooldown or 2,function()
  77. if(self.LastUse == LastUse)then
  78. self.CoolingDown = false
  79. self.Usable = true
  80. end
  81. end)
  82. end
  83. end
  84.  
  85. function Debounces:Get(name)
  86. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  87. for i,v in next, Debounces.Debounces do
  88. if(i == name)then
  89. return v;
  90. end
  91. end
  92. end
  93.  
  94. function Debounces:GetProgressPercentage()
  95. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  96. if(self.CoolingDown and not self.Usable)then
  97. return math.max(
  98. math.floor(
  99. (
  100. (time()-self.LastUse)/self.Cooldown or 2
  101. )*100
  102. )
  103. )
  104. else
  105. return 100
  106. end
  107. end
  108.  
  109. --// Shortcut Variables \\--
  110. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  111. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  112. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  113. 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}
  114. local R3 = {N=Region3.new}
  115. local De = S.Debris
  116. local WS = workspace
  117. local Lght = S.Lighting
  118. local RepS = S.ReplicatedStorage
  119. local IN = Instance.new
  120. local CSK = ColorSequenceKeypoint.new
  121. local CS = ColorSequence.new
  122. --// Instance Creation Functions \\--
  123.  
  124. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  125. local Sound = IN("Sound")
  126. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  127. Sound.Pitch = pitch or 1
  128. Sound.Volume = volume or 1
  129. Sound.Looped = looped or false
  130. if(autoPlay)then
  131. coroutine.wrap(function()
  132. repeat wait() until Sound.IsLoaded
  133. Sound.Playing = autoPlay or false
  134. end)()
  135. end
  136. if(not looped and effect)then
  137. Sound.Stopped:connect(function()
  138. Sound.Volume = 0
  139. Sound:destroy()
  140. end)
  141. elseif(effect)then
  142. warn("Sound can't be looped and a sound effect!")
  143. end
  144. Sound.Parent =parent or Torso
  145. return Sound
  146. end
  147. function Part(parent,color,material,size,cframe,anchored,cancollide)
  148. local part = IN("Part")
  149. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  150. part.Material = (material or Enum.Material.SmoothPlastic)
  151. part.TopSurface,part.BottomSurface=10,10
  152. part.Size = (size or V3.N(1,1,1))
  153. part.CFrame = (cframe or CF.N(0,0,0))
  154. part.Anchored = (anchored or false)
  155. part.CanCollide = (cancollide or false)
  156. part.Parent = (parent or Char)
  157. return part
  158. end
  159. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  160. local part = IN("SpecialMesh")
  161. part.MeshId = meshid or ""
  162. part.TextureId = textid or ""
  163. part.Scale = scale or V3.N(1,1,1)
  164. part.Offset = offset or V3.N(0,0,0)
  165. part.MeshType = meshtype or Enum.MeshType.Sphere
  166. part.Parent = parent
  167. return part
  168. end
  169.  
  170. NewInstance = function(instance,parent,properties)
  171. local inst = Instance.new(instance,parent)
  172. if(properties)then
  173. for i,v in next, properties do
  174. pcall(function() inst[i] = v end)
  175. end
  176. end
  177. return inst;
  178. end
  179.  
  180.  
  181.  
  182. --// Extended ROBLOX tables \\--
  183. 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})
  184. --// Customization \\--
  185.  
  186. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  187. local Remove_Hats = false
  188. local Remove_Clothing = true
  189. local PlayerSize = 1
  190. local DamageColor = BrickColor.new'Really red'
  191. local MusicID = 935501955
  192. local WalkSpeed = 8
  193. local MaxSouls = 100
  194. local MaxHealth = 500
  195.  
  196.  
  197. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  198.  
  199. --// Weapon and GUI creation, and Character Customization \\--
  200.  
  201. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  202. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  203. local Effects = IN("Folder",Char)
  204. Effects.Name = "Effects"
  205.  
  206. Hum.MaxHealth = MaxHealth
  207. Hum.Health = MaxHealth
  208.  
  209. 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)})
  210. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  211. 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)})
  212. 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)})
  213.  
  214. local KTrail = NewInstance("Trail",Knife,{
  215. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  216. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  217. Color=CS(C3.N(1,0,0)),
  218. Enabled=false,
  219. Transparency=NumberSequence.new(0,1),
  220. Lifetime=1.25,
  221. })
  222. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  223. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  224.  
  225. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  226.  
  227.  
  228. Hum.DisplayDistanceType = 'None'
  229.  
  230. local naeeym2 = IN("BillboardGui",Char)
  231. naeeym2.AlwaysOnTop = true
  232. naeeym2.Size = UDim2.new(5,35,2,15)
  233. naeeym2.StudsOffset = V3.N(0,2.5,0)
  234. naeeym2.Adornee = Char.Head
  235. naeeym2.Name = "Name"
  236. naeeym2.PlayerToHideFrom = Plr
  237. local tecks2 = IN("TextLabel",naeeym2)
  238. tecks2.BackgroundTransparency = 1
  239. tecks2.TextScaled = true
  240. tecks2.BorderSizePixel = 0
  241. tecks2.Text = "Chara"
  242. tecks2.Font = Enum.Font.Bodoni
  243. tecks2.TextSize = 30
  244. tecks2.TextStrokeTransparency = 0
  245. tecks2.TextColor3 = C3.N(0,0,0)
  246. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  247. tecks2.Size = UDim2.new(1,0,0.5,0)
  248. tecks2.Parent = naeeym2
  249.  
  250.  
  251. IN("Shirt",Char)
  252. IN("Pants",Char)
  253.  
  254. Hum.WalkSpeed = WalkSpeed
  255. if(PlayerSize ~= 1)then
  256. for _,v in next, Char:GetDescendats() do
  257. if(v:IsA'BasePart')then
  258. v.Size = v.Size * PlayerSize
  259. end
  260. end
  261. end
  262.  
  263.  
  264. for i = 1, 35 do
  265. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  266. FACE.Transparency = 0+(i-1)/35.2
  267. FACE.Name = 'ShadowFace'
  268. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  269. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  270. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  271. end
  272.  
  273. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  274. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  275. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  276.  
  277. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  278. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  279. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  280.  
  281.  
  282. pcall(function()
  283. Char.LeftWing:destroy()
  284. Char.ReaperShadowHead:destroy()
  285. end)
  286.  
  287.  
  288. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  289. Music.Name = 'Music'
  290.  
  291. --// Stop animations \\--
  292. for _,v in next, Hum:GetPlayingAnimationTracks() do
  293. v:Stop();
  294. end
  295.  
  296. pcall(game.Destroy,Char:FindFirstChild'Animate')
  297. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  298.  
  299. --// Joints \\--
  300.  
  301. 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)})
  302. 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)})
  303. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  304. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  305. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  306. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  307. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  308. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  309.  
  310. local LSC0 = LS.C0
  311. local RSC0 = RS.C0
  312. local NKC0 = NK.C0
  313. local LHC0 = LH.C0
  314. local RHC0 = RH.C0
  315. local RJC0 = RJ.C0
  316.  
  317. --// Artificial HB \\--
  318.  
  319. local ArtificialHB = IN("BindableEvent", script)
  320. ArtificialHB.Name = "Heartbeat"
  321.  
  322. script:WaitForChild("Heartbeat")
  323.  
  324. local tf = 0
  325. local allowframeloss = false
  326. local tossremainder = false
  327. local lastframe = tick()
  328. local frame = 1/Frame_Speed
  329. ArtificialHB:Fire()
  330.  
  331. game:GetService("RunService").Heartbeat:connect(function(s, p)
  332. tf = tf + s
  333. if tf >= frame then
  334. if allowframeloss then
  335. script.Heartbeat:Fire()
  336. lastframe = tick()
  337. else
  338. for i = 1, math.floor(tf / frame) do
  339. ArtificialHB:Fire()
  340. end
  341. lastframe = tick()
  342. end
  343. if tossremainder then
  344. tf = 0
  345. else
  346. tf = tf - frame * math.floor(tf / frame)
  347. end
  348. end
  349. end)
  350.  
  351. function swait(num)
  352. if num == 0 or num == nil then
  353. ArtificialHB.Event:wait()
  354. else
  355. for i = 0, num do
  356. ArtificialHB.Event:wait()
  357. end
  358. end
  359. end
  360.  
  361.  
  362. --// Effect Function(s) \\--
  363.  
  364. function Bezier(startpos, pos2, pos3, endpos, t)
  365. local A = startpos:lerp(pos2, t)
  366. local B = pos2:lerp(pos3, t)
  367. local C = pos3:lerp(endpos, t)
  368. local lerp1 = A:lerp(B, t)
  369. local lerp2 = B:lerp(C, t)
  370. local cubic = lerp1:lerp(lerp2, t)
  371. return cubic
  372. end
  373.  
  374. function Tween(obj,props,time,easing,direction,repeats,backwards)
  375. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  376. local tween = S.TweenService:Create(obj, info, props)
  377.  
  378. tween:Play()
  379. end
  380.  
  381. local FXTable = {}
  382.  
  383. coroutine.resume(coroutine.create(function()
  384. while true do
  385. for i = 1, #FXTable do
  386. local data = FXTable[i]
  387. if(data)then
  388. local Frame = data.Frame
  389. local FX = data.Effect or 'ResizeAndFade'
  390. local Parent = data.Parent or Effects
  391. local Color = data.Color or C3.N(0,0,0)
  392. local Size = data.Size or V3.N(1,1,1)
  393. local MoveDir = data.MoveDirection or nil
  394. local MeshData = data.Mesh or nil
  395. local SndData = data.Sound or nil
  396. local Frames = data.Frames or 45
  397. local CFra = data.CFrame or Torso.CFrame
  398. local Settings = data.FXSettings or {}
  399. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  400. local grow = data.Grow
  401.  
  402. local MoveSpeed = nil;
  403. if(MoveDir)then
  404. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  405. end
  406. if(FX ~= 'Arc')then
  407. Frame = Frame + 1
  408. if(FX == "Fade")then
  409. Prt.Transparency = (Frame/Frames)
  410. elseif(FX == "Resize")then
  411. if(not Settings.EndSize)then
  412. Settings.EndSize = V3.N(0,0,0)
  413. end
  414. if(Settings.EndIsIncrement)then
  415. if(Msh)then
  416. Msh.Scale = Msh.Scale + Settings.EndSize
  417. else
  418. Prt.Size = Prt.Size + Settings.EndSize
  419. end
  420. else
  421. if(Msh)then
  422. Msh.Scale = Msh.Scale - grow/Frames
  423. else
  424. Prt.Size = Prt.Size - grow/Frames
  425. end
  426. end
  427. elseif(FX == "ResizeAndFade")then
  428. if(not Settings.EndSize)then
  429. Settings.EndSize = V3.N(0,0,0)
  430. end
  431. if(Settings.EndIsIncrement)then
  432. if(Msh)then
  433. Msh.Scale = Msh.Scale + Settings.EndSize
  434. else
  435. Prt.Size = Prt.Size + Settings.EndSize
  436. end
  437. else
  438. if(Msh)then
  439. Msh.Scale = Msh.Scale - grow/Frames
  440. else
  441. Prt.Size = Prt.Size - grow/Frames
  442. end
  443. end
  444. Prt.Transparency = (Frame/Frames)
  445. end
  446. if(Settings.RandomizeCFrame)then
  447. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  448. end
  449. if(MoveDir and MoveSpeed)then
  450. local Orientation = Prt.Orientation
  451. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  452. Prt.Orientation = Orientation
  453. end
  454. if(Prt.Transparency >= 1 or Frame >= Frames)then
  455. Prt:destroy()
  456. table.remove(FXTable,i)
  457. else
  458. data.Frame = Frame
  459. end
  460. else
  461. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  462. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  463. if(start and endP)then
  464. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  465. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  466. Frame = Frame + (Settings.Speed or 0.01)
  467. if(Settings.Home)then
  468. endP = Settings.Home.CFrame
  469. end
  470. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  471. if(Prt.Transparency >= 1 or Frame >= Frames)then
  472. if(Settings.RemoveOnGoal)then
  473. Prt:destroy()
  474. end
  475. end
  476. else
  477. Prt:destroy()
  478. end
  479. end
  480. end
  481. end
  482. swait()
  483. end
  484. end))
  485.  
  486. function Effect(data)
  487. local FX = data.Effect or 'ResizeAndFade'
  488. local Parent = data.Parent or Effects
  489. local Color = data.Color or C3.N(0,0,0)
  490. local Size = data.Size or V3.N(1,1,1)
  491. local MoveDir = data.MoveDirection or nil
  492. local MeshData = data.Mesh or nil
  493. local SndData = data.Sound or nil
  494. local Frames = data.Frames or 45
  495. local Manual = data.Manual or nil
  496. local Material = data.Material or nil
  497. local CFra = data.CFrame or Torso.CFrame
  498. local Settings = data.FXSettings or {}
  499. local Shape = data.Shape or Enum.PartType.Block
  500. local Snd,Prt,Msh;
  501. coroutine.wrap(function()
  502. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  503. Prt = Manual
  504. else
  505. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  506. Prt.Shape = Shape
  507. end
  508. if(typeof(MeshData) == 'table')then
  509. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  510. elseif(typeof(MeshData) == 'Instance')then
  511. Msh = MeshData:Clone()
  512. Msh.Parent = Prt
  513. elseif(Shape == Enum.PartType.Block)then
  514. Msh = Mesh(Prt,Enum.MeshType.Brick)
  515. end
  516. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  517. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  518. end
  519. if(Snd)then
  520. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  521. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  522. end
  523. Size = (Msh and Msh.Scale or Size)
  524. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  525.  
  526. local MoveSpeed = nil;
  527. if(MoveDir)then
  528. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  529. end
  530. if(FX ~= 'Arc')then
  531. for Frame = 1, Frames do
  532. if(FX == "Fade")then
  533. Prt.Transparency = (Frame/Frames)
  534. elseif(FX == "Resize")then
  535. if(not Settings.EndSize)then
  536. Settings.EndSize = V3.N(0,0,0)
  537. end
  538. if(Settings.EndIsIncrement)then
  539. if(Msh)then
  540. Msh.Scale = Msh.Scale + Settings.EndSize
  541. else
  542. Prt.Size = Prt.Size + Settings.EndSize
  543. end
  544. else
  545. if(Msh)then
  546. Msh.Scale = Msh.Scale - grow/Frames
  547. else
  548. Prt.Size = Prt.Size - grow/Frames
  549. end
  550. end
  551. elseif(FX == "ResizeAndFade")then
  552. if(not Settings.EndSize)then
  553. Settings.EndSize = V3.N(0,0,0)
  554. end
  555. if(Settings.EndIsIncrement)then
  556. if(Msh)then
  557. Msh.Scale = Msh.Scale + Settings.EndSize
  558. else
  559. Prt.Size = Prt.Size + Settings.EndSize
  560. end
  561. else
  562. if(Msh)then
  563. Msh.Scale = Msh.Scale - grow/Frames
  564. else
  565. Prt.Size = Prt.Size - grow/Frames
  566. end
  567. end
  568. Prt.Transparency = (Frame/Frames)
  569. end
  570. if(Settings.RandomizeCFrame)then
  571. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  572. end
  573. if(MoveDir and MoveSpeed)then
  574. local Orientation = Prt.Orientation
  575. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  576. Prt.Orientation = Orientation
  577. end
  578. swait()
  579. end
  580. Prt:destroy()
  581. else
  582. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  583. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  584. if(start and endP)then
  585. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  586. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  587. for Frame = 0, 1, (Settings.Speed or 0.01) do
  588. if(Settings.Home)then
  589. endP = Settings.Home.CFrame
  590. end
  591. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  592. end
  593. if(Settings.RemoveOnGoal)then
  594. Prt:destroy()
  595. end
  596. else
  597. Prt:destroy()
  598. assert(start,"You need a start position!")
  599. assert(endP,"You need a start position!")
  600. end
  601. end
  602. end)()
  603. return Prt,Msh,Snd
  604. end
  605.  
  606.  
  607.  
  608. function SoulSteal(whom,human)
  609. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  610. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  611. if(torso and torso:IsA'BasePart' and alive == true)then
  612. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  613. whom:BreakJoints()
  614. local Model = IN("Model",Effects)
  615. warn('Soul stolen from '..whom.Name)
  616. Model.Name = whom.Name.."'s Soul"
  617. 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)
  618. Soul.CanCollide=false
  619. Mesh(Soul,Enum.MeshType.Sphere)
  620. Soul.Name = 'Head'
  621. if(whom.Name == 'CKbackup')then
  622. Soul.Color = C3.N(1,1,1)
  623. 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)})
  624. end
  625. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  626. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  627. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  628. 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})
  629. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  630.  
  631. local turdso = Soul:Clone()
  632. turdso.Name = "Torso"
  633. turdso.CanCollide = false
  634. turdso.Anchored = true
  635. turdso.CFrame = Soul.CFrame
  636. turdso.Parent = Model
  637. turdso.Size = V3.N()
  638. turdso.Transparency=1
  639. local Distance = math.huge
  640. repeat
  641. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  642. turdso.CFrame = Soul.CFrame
  643. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  644. swait()
  645. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  646. if(Soul.Parent and Hoom.Health > 0)then
  647. Model:destroy()
  648. Effect{
  649. Effect="ResizeAndFade",
  650. Mesh={Enum.MeshType.Sphere},
  651. Color = Soul.Color,
  652. CFrame=Torso.CFrame,
  653. Size=V3.N(3,3,3),
  654. Material=Enum.Material.Neon,
  655. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  656. FXSettings={
  657. EndSize=V3.N(6,6,6),
  658. }
  659. }
  660. Souls = Souls + (human and 1 or .1)
  661. warn("Souls: "..Souls)
  662. MaxHealth = MaxHealth + Hoom.Health
  663. Hum.Health = Hum.Health + Hoom.Health
  664. for i = 1, 5 do
  665. Effect{
  666. Effect="Fade",
  667. Color = Soul.Color,
  668. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  669. }
  670. end
  671. else
  672.  
  673. warn("Soul destroyed!")
  674. for i = 1, 5 do
  675. Effect{
  676. Effect="Fade",
  677. Color = Soul.Color,
  678. CFrame=Soul.CFrame,
  679. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  680. }
  681. end
  682. Effect{
  683. Effect="ResizeAndFade",
  684. Mesh={Enum.MeshType.Sphere},
  685. Sound={SoundId=444667859,Pitch=1,Volume=5},
  686. Color = Soul.Color,
  687. CFrame=Soul.CFrame,
  688. Size=V3.N(3,3,3),
  689. Material=Enum.Material.Neon,
  690. FXSettings={
  691. EndSize=V3.N(6,6,6),
  692. }
  693. }
  694. Model:destroy()
  695. end
  696. end
  697. end
  698.  
  699. --// Other Functions \\ --
  700.  
  701. function getRegion(point,range,ignore)
  702. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  703. end
  704.  
  705. function clerp(startCF,endCF,alpha)
  706. return startCF:lerp(endCF, alpha)
  707. end
  708.  
  709. function GetTorso(char)
  710. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  711. end
  712.  
  713. function ShowDamage(Pos, Text, Time, Color)
  714. coroutine.wrap(function()
  715. local Rate = (1 / Frame_Speed)
  716. local Pos = (Pos or Vector3.new(0, 0, 0))
  717. local Text = (Text or "")
  718. local Time = (Time or 2)
  719. local Color = (Color or Color3.new(1, 0, 1))
  720. local EffectPart = NewInstance("Part",Effects,{
  721. Material=Enum.Material.SmoothPlastic,
  722. Reflectance = 0,
  723. Transparency = 1,
  724. BrickColor = BrickColor.new(Color),
  725. Name = "Effect",
  726. Size = Vector3.new(0,0,0),
  727. Anchored = true,
  728. CFrame = CF.N(Pos)
  729. })
  730. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  731. Size = UDim2.new(1.25, 0, 1.25, 0),
  732. Adornee = EffectPart,
  733. })
  734. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  735. BackgroundTransparency = 1,
  736. Size = UDim2.new(1, 0, 1, 0),
  737. Text = Text,
  738. Font = "Arcade",
  739. TextColor3 = Color,
  740. TextStrokeColor3 = Color3.new(0,0,0),
  741. TextStrokeTransparency=0,
  742. TextScaled = true,
  743. })
  744. S.Debris:AddItem(EffectPart, (Time))
  745. EffectPart.Parent = workspace
  746. delay(0, function()
  747. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  748. local Frames = (Time / Rate)
  749. for Frame = 1, Frames do
  750. swait()
  751. local Percent = (Frame / Frames)
  752. TextLabel.TextTransparency = Percent
  753. TextLabel.TextStrokeTransparency = Percent
  754. end
  755. if EffectPart and EffectPart.Parent then
  756. EffectPart:Destroy()
  757. end
  758. end) end)()
  759. end
  760.  
  761. function Kill(whom)
  762. if(whom.Name ~= 'Nebula_Zorua')then
  763. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  764. coroutine.wrap(SoulSteal)(whom,isPlr)
  765. for _,v in next, whom:children() do
  766. if(v:IsA'BasePart')then
  767. v.Parent = Effects
  768. v:ClearAllChildren()
  769. v.Anchored = true
  770. v.CanCollide = false
  771. v.Transparency = 1
  772. local dust = NewInstance("ParticleEmitter",v,{
  773. Color = ColorSequence.new(C3.N(1,1,1)),
  774. LightEmission=0,
  775. LightInfluence=1,
  776. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  777. Texture="rbxassetid://284205403",
  778. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  779. Lifetime = NumberRange.new(1),
  780. Rate=150,
  781. Acceleration = V3.N(0,10,0),
  782. Speed = NumberRange.new(5),
  783. Enabled = true
  784. })
  785. delay(1, function()
  786. dust.Enabled = false
  787. S.Debris:AddItem(v,2)
  788. end)
  789. end
  790. end
  791. else
  792. warn"nope. nawt happenin'"
  793. end
  794. end
  795.  
  796. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  797. if(who)then
  798. local hum = who:FindFirstChildOfClass'Humanoid'
  799. local Damage = M.RNG(minDam,maxDam)
  800. local canHit = true
  801. if(hum)then
  802. for _, p in pairs(Hit) do
  803. if p[1] == hum then
  804. if(time() - p[2] < 0.4) then
  805. canHit = false
  806. else
  807. Hit[_] = nil
  808. end
  809. end
  810. end
  811. if(canHit)then
  812. table.insert(Hit,{hum,time()})
  813. if(GetTorso(who))then
  814. Sound(GetTorso(who),406913243,1,10,false,true,true)
  815. end
  816. if(hum.Health >= math.huge)then
  817. Kill(who)
  818. if(who:FindFirstChild'Head' and hum.Health > 0)then
  819. 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)
  820. end
  821. else
  822. local player = S.Players:GetPlayerFromCharacter(who)
  823. if(Type == "Fire")then
  824. --idk..
  825. else
  826. local c = Instance.new("ObjectValue",hum)
  827. c.Name = "creator"
  828. c.Value = Plr
  829. game:service'Debris':AddItem(c,0.35)
  830. local Crit = false
  831. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  832. Crit = true
  833. Damage = Damage*(critMult or 2)
  834. end
  835. Damage = Damage*((Souls/5)+1)
  836. if(who:FindFirstChild'Head' and hum.Health > 0)then
  837. 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))
  838. end
  839.  
  840. if(hum.Health - Damage <= 0)then
  841. Kill(who)
  842. else
  843. hum.Health = hum.Health - Damage
  844. if(Type == 'Knockback' and GetTorso(who))then
  845. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  846. local body = NewInstance('BodyVelocity',GetTorso(who),{
  847. P = 500,
  848. maxForce = V3.N(math.huge,0,math.huge),
  849. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  850. })
  851. game:service'Debris':AddItem(body,.5)
  852. elseif(Type == "Electric")then
  853. if(M.RNG(1,100) >= critChance)then
  854. if(who:FindFirstChild'Head' and hum.Health > 0)then
  855. 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)
  856. end
  857. local asd = hum.WalkSpeed/2
  858. hum.WalkSpeed = asd
  859. local paralyzed = true
  860. coroutine.wrap(function()
  861. while paralyzed do
  862. swait(25)
  863. if(M.RNG(1,25) == 1)then
  864. if(who:FindFirstChild'Head' and hum.Health > 0)then
  865. 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)
  866. end
  867. hum.PlatformStand = true
  868. end
  869. end
  870. end)()
  871. delay(4, function()
  872. paralyzed = false
  873. hum.WalkSpeed = hum.WalkSpeed + asd
  874. end)
  875. end
  876.  
  877. elseif(Type == 'Knockdown' and GetTorso(who))then
  878. local rek = GetTorso(who)
  879. hum.PlatformStand = true
  880. delay(1,function()
  881. hum.PlatformStand = false
  882. end)
  883. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  884. local bodvol = NewInstance("BodyVelocity",rek,{
  885. velocity = angle * Knock,
  886. P = 5000,
  887. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  888. })
  889. local rl = NewInstance("BodyAngularVelocity",rek,{
  890. P = 3000,
  891. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  892. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  893. })
  894. game:GetService("Debris"):AddItem(bodvol, .5)
  895. game:GetService("Debris"):AddItem(rl, .5)
  896. end
  897. end
  898. end
  899. end
  900. end
  901. end
  902. end
  903. end
  904.  
  905.  
  906. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  907. for _,v in next, getRegion(where,range,{Char}) do
  908. if(v.Name ~= 'Nebula_Zorua')then
  909. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  910. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  911. end
  912. end
  913. end
  914. end
  915.  
  916. function AOEKill(where,range)
  917. for _,v in next, getRegion(where,range,{Char,Effects}) do
  918. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  919. if(v.Name ~= 'Nebula_Zorua')then
  920. if(v.Parent and alive == true)then
  921. coroutine.wrap(Kill)(v.Parent)
  922. end
  923. end
  924. end
  925. end
  926.  
  927. function AOEHeal(where,range,amount)
  928. local healed = {}
  929. for _,v in next, getRegion(where,range,{Char}) do
  930. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  931. if(hum and not healed[hum])then
  932. hum.Health = hum.Health + amount
  933. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  934. 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)
  935. end
  936. end
  937. end
  938. end
  939.  
  940.  
  941. --// Attack Functions \\--
  942.  
  943.  
  944. function Slash()
  945. Attack = true
  946. NeutralAnims = false
  947. local sound = Sound(Knife,437475935,1,5,false,true,false)
  948. for i = 0, 2, 0.1 do
  949. swait()
  950. local Alpha = .2
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. 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)
  956. 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)
  957. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  958. end
  959. KTrail.Enabled = true
  960. sound:Play()
  961. for i = 0, 2.5, 0.1 do
  962. swait()
  963. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  964. local Alpha = .25
  965. 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)
  966. 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)
  967. 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)
  968. 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)
  969. 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)
  970. 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)
  971. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  972. end
  973. KTrail.Enabled = false
  974. Attack = false
  975. NeutralAnims = true
  976. end
  977.  
  978. Mouse.Button1Down:connect(function()
  979. if(Attack)then return end
  980. Slash()
  981. end)
  982.  
  983. Mouse.KeyDown:connect(function(k)
  984. if(Attack)then return end
  985. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  986. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  987. end)
  988.  
  989.  
  990. function Refuse()
  991. Attack = true
  992. warn("B u t i t r e f u s e d.")
  993. local oMH = MaxHealth
  994. MaxHealth = "inf"
  995. Hum.MaxHealth = "inf"
  996. Hum.Health = "inf"
  997. Char.Parent = nil
  998. Hum:destroy()
  999. if(not _G.RefusedAnimation)then
  1000. _G.RefusedAnimation = true
  1001.  
  1002.  
  1003. local Soul;
  1004. function Soul(where,decalId)
  1005. local destroy = false
  1006. local soul = NewInstance("Part",workspace)
  1007. soul.Name = "Soul"
  1008. soul.Transparency=1
  1009. soul.Size = V3.N(2,2,.05)
  1010. soul.Anchored=true
  1011. soul.CanCollide=false
  1012. soul.CFrame = where
  1013. local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  1014. local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  1015. return soul,heartF,heartB
  1016. end
  1017. local owo = Root.CFrame
  1018. local s,f,b = Soul(owo,1569347904)
  1019. swait(60)
  1020. local snd = Sound(s,862552636,1,5,false,false,false)
  1021. snd:Play()
  1022. f.Texture = "rbxassetid://1569348344"
  1023. b.Texture = "rbxassetid://1569348344"
  1024. swait(15)
  1025. snd:Stop()
  1026. swait(60)
  1027. print'lol'
  1028. for i = 0, 6, .1 do
  1029. swait()
  1030. s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  1031. end
  1032. local snd = Sound(s,862552636,1,5,false,false,false)
  1033. snd:Play()
  1034. s.CFrame = owo
  1035. f.Texture = "rbxassetid://1569347904"
  1036. b.Texture = "rbxassetid://1569347904"
  1037. swait(15)
  1038. snd:Stop()
  1039. swait(60)
  1040.  
  1041. s:destroy()
  1042. end
  1043.  
  1044. RJ.Parent = Char
  1045. LS.Parent = Char
  1046. RS.Parent = Char
  1047. LH.Parent = Char
  1048. RH.Parent = Char
  1049. NK.Parent = Char
  1050.  
  1051. LArm.Parent = Char
  1052. RArm.Parent = Char
  1053. LLeg.Parent = Char
  1054. LArm.Parent = Char
  1055. Root.Parent = Char
  1056. Torso.Parent = Char
  1057. Head.Parent = Char
  1058.  
  1059. Knife.Parent = Char
  1060. Hair.Parent = Char
  1061.  
  1062. HW.Parent = Char
  1063. HW2.Parent = Char
  1064.  
  1065.  
  1066. REye:destroy()
  1067. LEye:destroy()
  1068.  
  1069. for _,v in next, Char:children() do
  1070. if(v.Name == 'ShadowFace')then v:destroy() end
  1071. end
  1072. LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1073. LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1074. LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1075.  
  1076. REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1077. REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1078. REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1079. for i = 1, 35 do
  1080. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1081. FACE.Transparency = 0+(i-1)/35.2
  1082. FACE.Name = 'ShadowFace'
  1083. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1084. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1085. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1086. end
  1087. Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1088. ConnectHum()
  1089. MaxHealth = oMH
  1090. Hum.MaxHealth = MaxHealth
  1091. Hum.Health = MaxHealth
  1092. swait(5)
  1093. Char.Parent = workspace
  1094.  
  1095. Attack = false
  1096. end
  1097.  
  1098. function ConnectHum()
  1099. Hum.Died:connect(Refuse)
  1100. end
  1101. ConnectHum()
  1102.  
  1103.  
  1104. --// Wrap it all up \\--
  1105. while true do
  1106. swait()
  1107. Sine = Sine + Change
  1108. if(not Music)then
  1109. Music = Sound(Torso,MusicID,1,3,true,false,true)
  1110. Music.Name = 'Music'
  1111. end
  1112. Music.Pitch = 1
  1113. Music.Volume = 5
  1114. Music.SoundId = "rbxassetid://"..MusicID
  1115. Music.Parent = Torso
  1116. Music:Resume()
  1117. 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)
  1118. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1119. 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")
  1120. if(not Effects or not Effects.Parent)then
  1121. Effects = IN("Model",Char)
  1122. Effects.Name = "Effects"
  1123. end
  1124. Hum.WalkSpeed = WalkSpeed
  1125. if(State == 'Walk')then
  1126. if(Hum.WalkSpeed >= 24)then
  1127. local wsVal = 22 / (Hum.WalkSpeed/16)
  1128. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1129. Change = 2
  1130. 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)
  1131. 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)
  1132. else
  1133. Change = .9
  1134. local wsVal = 8 / (Hum.WalkSpeed/8)
  1135. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1136. 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)
  1137. 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)
  1138. end
  1139. else
  1140. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1141. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1142. end
  1143. for _,v in next, Char:children() do
  1144. if(v:IsA'Accessory')then
  1145. v:destroy()
  1146. elseif(v:IsA'Shirt')then
  1147. v.ShirtTemplate = "rbxassetid://344089667"
  1148. elseif(v:IsA'Pants')then
  1149. v.PantsTemplate = "rbxassetid://344084364"
  1150. elseif(v:IsA'CharacterMesh')then
  1151. v:destroy()
  1152. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1153. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1154. end
  1155. end
  1156. local face = Head:FindFirstChild'face'
  1157. if(not face)then
  1158. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1159. else
  1160. face.Texture = "rbxassetid://404306534"
  1161. end
  1162. RArm.BrickColor = BrickColor.new'Pastel brown'
  1163. LArm.BrickColor = BrickColor.new'Pastel brown'
  1164. RLeg.BrickColor = BrickColor.new'Pastel brown'
  1165. LLeg.BrickColor = BrickColor.new'Pastel brown'
  1166. Torso.BrickColor = BrickColor.new'Pastel brown'
  1167. Head.BrickColor = BrickColor.new'Pastel brown'
  1168. Hum.Name = 'Chara'
  1169. if(Hum.MaxHealth ~= MaxHealth)then
  1170. Hum.MaxHealth = MaxHealth
  1171. end
  1172. Hum.DisplayDistanceType='None'
  1173. if(NeutralAnims)then
  1174. if(State == 'Idle')then
  1175. Change = 1
  1176. local Alpha = .1
  1177. 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)
  1178. 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)
  1179. 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)
  1180. 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)
  1181. 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)
  1182. 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)
  1183. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1184. -- idle
  1185. elseif(State == 'Walk')then
  1186. if(Hum.WalkSpeed >= 24)then
  1187. local wsVal = 22 / (Hum.WalkSpeed/16)
  1188. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1189. 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)
  1190. 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)
  1191. 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)
  1192. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1193. 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)
  1194. 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)
  1195. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1196. else
  1197. local wsVal = 8 / (Hum.WalkSpeed/8)
  1198. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1199. 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)
  1200. 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)
  1201. 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)
  1202. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1203. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1204. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1205. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1206. end
  1207. elseif(State == 'Jump' or State == 'Fall')then
  1208. if(Walking)then
  1209. local Alpha = .2
  1210. 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)
  1211. 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)
  1212. 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)
  1213. 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)
  1214. 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)
  1215. 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)
  1216. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1217. else
  1218. local Alpha = .2
  1219. 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)
  1220. 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)
  1221. 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)
  1222. 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)
  1223. 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)
  1224. 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)
  1225. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1226. end
  1227. elseif(State == 'Paralyzed')then
  1228. -- paralyzed
  1229. elseif(State == 'Sit')then
  1230. -- sit
  1231. end
  1232. end
  1233.  
  1234. end
  1235.  
  1236. RAW Paste Data
  1237. -- Created by Nebula_Zorua --
  1238. -- Your DeTERMINATION --
  1239. -- Y o u a c t l i k e y o u h a v e a c h o i c e. =) --
  1240. -- Discord: Nebula the Zorua#6969
  1241. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  1242.  
  1243.  
  1244. --// Initializing \\--
  1245. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  1246. local Plrs = S.Players
  1247. local Plr = Plrs.LocalPlayer
  1248. local Char = Plr.Character
  1249. local Hum = Char:FindFirstChildOfClass'Humanoid'
  1250. local RArm = Char["Right Arm"]
  1251. local LArm = Char["Left Arm"]
  1252. local RLeg = Char["Right Leg"]
  1253. local LLeg = Char["Left Leg"]
  1254. local Root = Char:FindFirstChild'HumanoidRootPart'
  1255. local Torso = Char.Torso
  1256. local Head = Char.Head
  1257. local NeutralAnims = true
  1258. local Attack = false
  1259. local BloodPuddles = {}
  1260. local Effects = {}
  1261. local Debounces = {Debounces={}}
  1262. local Mouse = Plr:GetMouse()
  1263. local Hit = {}
  1264. local Sine = 0
  1265. local Change = 1
  1266. local Souls = 0
  1267. --// Debounce System \\--
  1268.  
  1269.  
  1270. function Debounces:New(name,cooldown)
  1271. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  1272. setmetatable(aaaaa,{__index = Debounces})
  1273. Debounces.Debounces[name] = aaaaa
  1274. return aaaaa
  1275. end
  1276.  
  1277. function Debounces:Use(overrideUsable)
  1278. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1279. if(self.Usable or overrideUsable)then
  1280. self.Usable = false
  1281. self.CoolingDown = true
  1282. local LastUse = time()
  1283. self.LastUse = LastUse
  1284. delay(self.Cooldown or 2,function()
  1285. if(self.LastUse == LastUse)then
  1286. self.CoolingDown = false
  1287. self.Usable = true
  1288. end
  1289. end)
  1290. end
  1291. end
  1292.  
  1293. function Debounces:Get(name)
  1294. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  1295. for i,v in next, Debounces.Debounces do
  1296. if(i == name)then
  1297. return v;
  1298. end
  1299. end
  1300. end
  1301.  
  1302. function Debounces:GetProgressPercentage()
  1303. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1304. if(self.CoolingDown and not self.Usable)then
  1305. return math.max(
  1306. math.floor(
  1307. (
  1308. (time()-self.LastUse)/self.Cooldown or 2
  1309. )*100
  1310. )
  1311. )
  1312. else
  1313. return 100
  1314. end
  1315. end
  1316.  
  1317. --// Shortcut Variables \\--
  1318. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1319. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1320. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1321. 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}
  1322. local R3 = {N=Region3.new}
  1323. local De = S.Debris
  1324. local WS = workspace
  1325. local Lght = S.Lighting
  1326. local RepS = S.ReplicatedStorage
  1327. local IN = Instance.new
  1328. local CSK = ColorSequenceKeypoint.new
  1329. local CS = ColorSequence.new
  1330. --// Instance Creation Functions \\--
  1331.  
  1332. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  1333. local Sound = IN("Sound")
  1334. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  1335. Sound.Pitch = pitch or 1
  1336. Sound.Volume = volume or 1
  1337. Sound.Looped = looped or false
  1338. if(autoPlay)then
  1339. coroutine.wrap(function()
  1340. repeat wait() until Sound.IsLoaded
  1341. Sound.Playing = autoPlay or false
  1342. end)()
  1343. end
  1344. if(not looped and effect)then
  1345. Sound.Stopped:connect(function()
  1346. Sound.Volume = 0
  1347. Sound:destroy()
  1348. end)
  1349. elseif(effect)then
  1350. warn("Sound can't be looped and a sound effect!")
  1351. end
  1352. Sound.Parent =parent or Torso
  1353. return Sound
  1354. end
  1355. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1356. local part = IN("Part")
  1357. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1358. part.Material = (material or Enum.Material.SmoothPlastic)
  1359. part.TopSurface,part.BottomSurface=10,10
  1360. part.Size = (size or V3.N(1,1,1))
  1361. part.CFrame = (cframe or CF.N(0,0,0))
  1362. part.Anchored = (anchored or false)
  1363. part.CanCollide = (cancollide or false)
  1364. part.Parent = (parent or Char)
  1365. return part
  1366. end
  1367. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1368. local part = IN("SpecialMesh")
  1369. part.MeshId = meshid or ""
  1370. part.TextureId = textid or ""
  1371. part.Scale = scale or V3.N(1,1,1)
  1372. part.Offset = offset or V3.N(0,0,0)
  1373. part.MeshType = meshtype or Enum.MeshType.Sphere
  1374. part.Parent = parent
  1375. return part
  1376. end
  1377.  
  1378. NewInstance = function(instance,parent,properties)
  1379. local inst = Instance.new(instance,parent)
  1380. if(properties)then
  1381. for i,v in next, properties do
  1382. pcall(function() inst[i] = v end)
  1383. end
  1384. end
  1385. return inst;
  1386. end
  1387.  
  1388.  
  1389.  
  1390. --// Extended ROBLOX tables \\--
  1391. 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})
  1392. --// Customization \\--
  1393.  
  1394. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  1395. local Remove_Hats = false
  1396. local Remove_Clothing = true
  1397. local PlayerSize = 1
  1398. local DamageColor = BrickColor.new'Really red'
  1399. local MusicID = 935501955
  1400. local WalkSpeed = 8
  1401. local MaxSouls = 100
  1402. local MaxHealth = 500
  1403.  
  1404.  
  1405. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  1406.  
  1407. --// Weapon and GUI creation, and Character Customization \\--
  1408.  
  1409. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1410. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1411. local Effects = IN("Folder",Char)
  1412. Effects.Name = "Effects"
  1413.  
  1414. Hum.MaxHealth = MaxHealth
  1415. Hum.Health = MaxHealth
  1416.  
  1417. 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)})
  1418. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  1419. 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)})
  1420. 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)})
  1421.  
  1422. local KTrail = NewInstance("Trail",Knife,{
  1423. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  1424. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  1425. Color=CS(C3.N(1,0,0)),
  1426. Enabled=false,
  1427. Transparency=NumberSequence.new(0,1),
  1428. Lifetime=1.25,
  1429. })
  1430. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  1431. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  1432.  
  1433. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  1434.  
  1435.  
  1436. Hum.DisplayDistanceType = 'None'
  1437.  
  1438. local naeeym2 = IN("BillboardGui",Char)
  1439. naeeym2.AlwaysOnTop = true
  1440. naeeym2.Size = UDim2.new(5,35,2,15)
  1441. naeeym2.StudsOffset = V3.N(0,2.5,0)
  1442. naeeym2.Adornee = Char.Head
  1443. naeeym2.Name = "Name"
  1444. naeeym2.PlayerToHideFrom = Plr
  1445. local tecks2 = IN("TextLabel",naeeym2)
  1446. tecks2.BackgroundTransparency = 1
  1447. tecks2.TextScaled = true
  1448. tecks2.BorderSizePixel = 0
  1449. tecks2.Text = "Chara"
  1450. tecks2.Font = Enum.Font.Bodoni
  1451. tecks2.TextSize = 30
  1452. tecks2.TextStrokeTransparency = 0
  1453. tecks2.TextColor3 = C3.N(0,0,0)
  1454. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  1455. tecks2.Size = UDim2.new(1,0,0.5,0)
  1456. tecks2.Parent = naeeym2
  1457.  
  1458.  
  1459. IN("Shirt",Char)
  1460. IN("Pants",Char)
  1461.  
  1462. Hum.WalkSpeed = WalkSpeed
  1463. if(PlayerSize ~= 1)then
  1464. for _,v in next, Char:GetDescendats() do
  1465. if(v:IsA'BasePart')then
  1466. v.Size = v.Size * PlayerSize
  1467. end
  1468. end
  1469. end
  1470.  
  1471.  
  1472. for i = 1, 35 do
  1473. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1474. FACE.Transparency = 0+(i-1)/35.2
  1475. FACE.Name = 'ShadowFace'
  1476. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1477. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1478. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1479. end
  1480.  
  1481. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1482. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1483. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1484.  
  1485. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1486. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1487. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1488.  
  1489.  
  1490. pcall(function()
  1491. Char.LeftWing:destroy()
  1492. Char.ReaperShadowHead:destroy()
  1493. end)
  1494.  
  1495.  
  1496. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  1497. Music.Name = 'Music'
  1498.  
  1499. --// Stop animations \\--
  1500. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1501. v:Stop();
  1502. end
  1503.  
  1504. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1505. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1506.  
  1507. --// Joints \\--
  1508.  
  1509. 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)})
  1510. 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)})
  1511. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  1512. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1513. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1514. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1515. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  1516. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  1517.  
  1518. local LSC0 = LS.C0
  1519. local RSC0 = RS.C0
  1520. local NKC0 = NK.C0
  1521. local LHC0 = LH.C0
  1522. local RHC0 = RH.C0
  1523. local RJC0 = RJ.C0
  1524.  
  1525. --// Artificial HB \\--
  1526.  
  1527. local ArtificialHB = IN("BindableEvent", script)
  1528. ArtificialHB.Name = "Heartbeat"
  1529.  
  1530. script:WaitForChild("Heartbeat")
  1531.  
  1532. local tf = 0
  1533. local allowframeloss = false
  1534. local tossremainder = false
  1535. local lastframe = tick()
  1536. local frame = 1/Frame_Speed
  1537. ArtificialHB:Fire()
  1538.  
  1539. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1540. tf = tf + s
  1541. if tf >= frame then
  1542. if allowframeloss then
  1543. script.Heartbeat:Fire()
  1544. lastframe = tick()
  1545. else
  1546. for i = 1, math.floor(tf / frame) do
  1547. ArtificialHB:Fire()
  1548. end
  1549. lastframe = tick()
  1550. end
  1551. if tossremainder then
  1552. tf = 0
  1553. else
  1554. tf = tf - frame * math.floor(tf / frame)
  1555. end
  1556. end
  1557. end)
  1558.  
  1559. function swait(num)
  1560. if num == 0 or num == nil then
  1561. ArtificialHB.Event:wait()
  1562. else
  1563. for i = 0, num do
  1564. ArtificialHB.Event:wait()
  1565. end
  1566. end
  1567. end
  1568.  
  1569.  
  1570. --// Effect Function(s) \\--
  1571.  
  1572. function Bezier(startpos, pos2, pos3, endpos, t)
  1573. local A = startpos:lerp(pos2, t)
  1574. local B = pos2:lerp(pos3, t)
  1575. local C = pos3:lerp(endpos, t)
  1576. local lerp1 = A:lerp(B, t)
  1577. local lerp2 = B:lerp(C, t)
  1578. local cubic = lerp1:lerp(lerp2, t)
  1579. return cubic
  1580. end
  1581.  
  1582. function Tween(obj,props,time,easing,direction,repeats,backwards)
  1583. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  1584. local tween = S.TweenService:Create(obj, info, props)
  1585.  
  1586. tween:Play()
  1587. end
  1588.  
  1589. local FXTable = {}
  1590.  
  1591. coroutine.resume(coroutine.create(function()
  1592. while true do
  1593. for i = 1, #FXTable do
  1594. local data = FXTable[i]
  1595. if(data)then
  1596. local Frame = data.Frame
  1597. local FX = data.Effect or 'ResizeAndFade'
  1598. local Parent = data.Parent or Effects
  1599. local Color = data.Color or C3.N(0,0,0)
  1600. local Size = data.Size or V3.N(1,1,1)
  1601. local MoveDir = data.MoveDirection or nil
  1602. local MeshData = data.Mesh or nil
  1603. local SndData = data.Sound or nil
  1604. local Frames = data.Frames or 45
  1605. local CFra = data.CFrame or Torso.CFrame
  1606. local Settings = data.FXSettings or {}
  1607. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  1608. local grow = data.Grow
  1609.  
  1610. local MoveSpeed = nil;
  1611. if(MoveDir)then
  1612. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1613. end
  1614. if(FX ~= 'Arc')then
  1615. Frame = Frame + 1
  1616. if(FX == "Fade")then
  1617. Prt.Transparency = (Frame/Frames)
  1618. elseif(FX == "Resize")then
  1619. if(not Settings.EndSize)then
  1620. Settings.EndSize = V3.N(0,0,0)
  1621. end
  1622. if(Settings.EndIsIncrement)then
  1623. if(Msh)then
  1624. Msh.Scale = Msh.Scale + Settings.EndSize
  1625. else
  1626. Prt.Size = Prt.Size + Settings.EndSize
  1627. end
  1628. else
  1629. if(Msh)then
  1630. Msh.Scale = Msh.Scale - grow/Frames
  1631. else
  1632. Prt.Size = Prt.Size - grow/Frames
  1633. end
  1634. end
  1635. elseif(FX == "ResizeAndFade")then
  1636. if(not Settings.EndSize)then
  1637. Settings.EndSize = V3.N(0,0,0)
  1638. end
  1639. if(Settings.EndIsIncrement)then
  1640. if(Msh)then
  1641. Msh.Scale = Msh.Scale + Settings.EndSize
  1642. else
  1643. Prt.Size = Prt.Size + Settings.EndSize
  1644. end
  1645. else
  1646. if(Msh)then
  1647. Msh.Scale = Msh.Scale - grow/Frames
  1648. else
  1649. Prt.Size = Prt.Size - grow/Frames
  1650. end
  1651. end
  1652. Prt.Transparency = (Frame/Frames)
  1653. end
  1654. if(Settings.RandomizeCFrame)then
  1655. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1656. end
  1657. if(MoveDir and MoveSpeed)then
  1658. local Orientation = Prt.Orientation
  1659. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1660. Prt.Orientation = Orientation
  1661. end
  1662. if(Prt.Transparency >= 1 or Frame >= Frames)then
  1663. Prt:destroy()
  1664. table.remove(FXTable,i)
  1665. else
  1666. data.Frame = Frame
  1667. end
  1668. else
  1669. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1670. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1671. if(start and endP)then
  1672. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1673. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1674. Frame = Frame + (Settings.Speed or 0.01)
  1675. if(Settings.Home)then
  1676. endP = Settings.Home.CFrame
  1677. end
  1678. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  1679. if(Prt.Transparency >= 1 or Frame >= Frames)then
  1680. if(Settings.RemoveOnGoal)then
  1681. Prt:destroy()
  1682. end
  1683. end
  1684. else
  1685. Prt:destroy()
  1686. end
  1687. end
  1688. end
  1689. end
  1690. swait()
  1691. end
  1692. end))
  1693.  
  1694. function Effect(data)
  1695. local FX = data.Effect or 'ResizeAndFade'
  1696. local Parent = data.Parent or Effects
  1697. local Color = data.Color or C3.N(0,0,0)
  1698. local Size = data.Size or V3.N(1,1,1)
  1699. local MoveDir = data.MoveDirection or nil
  1700. local MeshData = data.Mesh or nil
  1701. local SndData = data.Sound or nil
  1702. local Frames = data.Frames or 45
  1703. local Manual = data.Manual or nil
  1704. local Material = data.Material or nil
  1705. local CFra = data.CFrame or Torso.CFrame
  1706. local Settings = data.FXSettings or {}
  1707. local Shape = data.Shape or Enum.PartType.Block
  1708. local Snd,Prt,Msh;
  1709. coroutine.wrap(function()
  1710. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1711. Prt = Manual
  1712. else
  1713. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1714. Prt.Shape = Shape
  1715. end
  1716. if(typeof(MeshData) == 'table')then
  1717. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1718. elseif(typeof(MeshData) == 'Instance')then
  1719. Msh = MeshData:Clone()
  1720. Msh.Parent = Prt
  1721. elseif(Shape == Enum.PartType.Block)then
  1722. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1723. end
  1724. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1725. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1726. end
  1727. if(Snd)then
  1728. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1729. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1730. end
  1731. Size = (Msh and Msh.Scale or Size)
  1732. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  1733.  
  1734. local MoveSpeed = nil;
  1735. if(MoveDir)then
  1736. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1737. end
  1738. if(FX ~= 'Arc')then
  1739. for Frame = 1, Frames do
  1740. if(FX == "Fade")then
  1741. Prt.Transparency = (Frame/Frames)
  1742. elseif(FX == "Resize")then
  1743. if(not Settings.EndSize)then
  1744. Settings.EndSize = V3.N(0,0,0)
  1745. end
  1746. if(Settings.EndIsIncrement)then
  1747. if(Msh)then
  1748. Msh.Scale = Msh.Scale + Settings.EndSize
  1749. else
  1750. Prt.Size = Prt.Size + Settings.EndSize
  1751. end
  1752. else
  1753. if(Msh)then
  1754. Msh.Scale = Msh.Scale - grow/Frames
  1755. else
  1756. Prt.Size = Prt.Size - grow/Frames
  1757. end
  1758. end
  1759. elseif(FX == "ResizeAndFade")then
  1760. if(not Settings.EndSize)then
  1761. Settings.EndSize = V3.N(0,0,0)
  1762. end
  1763. if(Settings.EndIsIncrement)then
  1764. if(Msh)then
  1765. Msh.Scale = Msh.Scale + Settings.EndSize
  1766. else
  1767. Prt.Size = Prt.Size + Settings.EndSize
  1768. end
  1769. else
  1770. if(Msh)then
  1771. Msh.Scale = Msh.Scale - grow/Frames
  1772. else
  1773. Prt.Size = Prt.Size - grow/Frames
  1774. end
  1775. end
  1776. Prt.Transparency = (Frame/Frames)
  1777. end
  1778. if(Settings.RandomizeCFrame)then
  1779. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1780. end
  1781. if(MoveDir and MoveSpeed)then
  1782. local Orientation = Prt.Orientation
  1783. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1784. Prt.Orientation = Orientation
  1785. end
  1786. swait()
  1787. end
  1788. Prt:destroy()
  1789. else
  1790. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1791. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1792. if(start and endP)then
  1793. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1794. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1795. for Frame = 0, 1, (Settings.Speed or 0.01) do
  1796. if(Settings.Home)then
  1797. endP = Settings.Home.CFrame
  1798. end
  1799. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  1800. end
  1801. if(Settings.RemoveOnGoal)then
  1802. Prt:destroy()
  1803. end
  1804. else
  1805. Prt:destroy()
  1806. assert(start,"You need a start position!")
  1807. assert(endP,"You need a start position!")
  1808. end
  1809. end
  1810. end)()
  1811. return Prt,Msh,Snd
  1812. end
  1813.  
  1814.  
  1815.  
  1816. function SoulSteal(whom,human)
  1817. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  1818. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  1819. if(torso and torso:IsA'BasePart' and alive == true)then
  1820. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  1821. whom:BreakJoints()
  1822. local Model = IN("Model",Effects)
  1823. warn('Soul stolen from '..whom.Name)
  1824. Model.Name = whom.Name.."'s Soul"
  1825. 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)
  1826. Soul.CanCollide=false
  1827. Mesh(Soul,Enum.MeshType.Sphere)
  1828. Soul.Name = 'Head'
  1829. if(whom.Name == 'CKbackup')then
  1830. Soul.Color = C3.N(1,1,1)
  1831. 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)})
  1832. end
  1833. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  1834. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  1835. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  1836. 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})
  1837. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  1838.  
  1839. local turdso = Soul:Clone()
  1840. turdso.Name = "Torso"
  1841. turdso.CanCollide = false
  1842. turdso.Anchored = true
  1843. turdso.CFrame = Soul.CFrame
  1844. turdso.Parent = Model
  1845. turdso.Size = V3.N()
  1846. turdso.Transparency=1
  1847. local Distance = math.huge
  1848. repeat
  1849. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  1850. turdso.CFrame = Soul.CFrame
  1851. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  1852. swait()
  1853. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  1854. if(Soul.Parent and Hoom.Health > 0)then
  1855. Model:destroy()
  1856. Effect{
  1857. Effect="ResizeAndFade",
  1858. Mesh={Enum.MeshType.Sphere},
  1859. Color = Soul.Color,
  1860. CFrame=Torso.CFrame,
  1861. Size=V3.N(3,3,3),
  1862. Material=Enum.Material.Neon,
  1863. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  1864. FXSettings={
  1865. EndSize=V3.N(6,6,6),
  1866. }
  1867. }
  1868. Souls = Souls + (human and 1 or .1)
  1869. warn("Souls: "..Souls)
  1870. MaxHealth = MaxHealth + Hoom.Health
  1871. Hum.Health = Hum.Health + Hoom.Health
  1872. for i = 1, 5 do
  1873. Effect{
  1874. Effect="Fade",
  1875. Color = Soul.Color,
  1876. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1877. }
  1878. end
  1879. else
  1880.  
  1881. warn("Soul destroyed!")
  1882. for i = 1, 5 do
  1883. Effect{
  1884. Effect="Fade",
  1885. Color = Soul.Color,
  1886. CFrame=Soul.CFrame,
  1887. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1888. }
  1889. end
  1890. Effect{
  1891. Effect="ResizeAndFade",
  1892. Mesh={Enum.MeshType.Sphere},
  1893. Sound={SoundId=444667859,Pitch=1,Volume=5},
  1894. Color = Soul.Color,
  1895. CFrame=Soul.CFrame,
  1896. Size=V3.N(3,3,3),
  1897. Material=Enum.Material.Neon,
  1898. FXSettings={
  1899. EndSize=V3.N(6,6,6),
  1900. }
  1901. }
  1902. Model:destroy()
  1903. end
  1904. end
  1905. end
  1906.  
  1907. --// Other Functions \\ --
  1908.  
  1909. function getRegion(point,range,ignore)
  1910. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1911. end
  1912.  
  1913. function clerp(startCF,endCF,alpha)
  1914. return startCF:lerp(endCF, alpha)
  1915. end
  1916.  
  1917. function GetTorso(char)
  1918. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1919. end
  1920.  
  1921. function ShowDamage(Pos, Text, Time, Color)
  1922. coroutine.wrap(function()
  1923. local Rate = (1 / Frame_Speed)
  1924. local Pos = (Pos or Vector3.new(0, 0, 0))
  1925. local Text = (Text or "")
  1926. local Time = (Time or 2)
  1927. local Color = (Color or Color3.new(1, 0, 1))
  1928. local EffectPart = NewInstance("Part",Effects,{
  1929. Material=Enum.Material.SmoothPlastic,
  1930. Reflectance = 0,
  1931. Transparency = 1,
  1932. BrickColor = BrickColor.new(Color),
  1933. Name = "Effect",
  1934. Size = Vector3.new(0,0,0),
  1935. Anchored = true,
  1936. CFrame = CF.N(Pos)
  1937. })
  1938. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1939. Size = UDim2.new(1.25, 0, 1.25, 0),
  1940. Adornee = EffectPart,
  1941. })
  1942. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1943. BackgroundTransparency = 1,
  1944. Size = UDim2.new(1, 0, 1, 0),
  1945. Text = Text,
  1946. Font = "Arcade",
  1947. TextColor3 = Color,
  1948. TextStrokeColor3 = Color3.new(0,0,0),
  1949. TextStrokeTransparency=0,
  1950. TextScaled = true,
  1951. })
  1952. S.Debris:AddItem(EffectPart, (Time))
  1953. EffectPart.Parent = workspace
  1954. delay(0, function()
  1955. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1956. local Frames = (Time / Rate)
  1957. for Frame = 1, Frames do
  1958. swait()
  1959. local Percent = (Frame / Frames)
  1960. TextLabel.TextTransparency = Percent
  1961. TextLabel.TextStrokeTransparency = Percent
  1962. end
  1963. if EffectPart and EffectPart.Parent then
  1964. EffectPart:Destroy()
  1965. end
  1966. end) end)()
  1967. end
  1968.  
  1969. function Kill(whom)
  1970. if(whom.Name ~= 'Nebula_Zorua')then
  1971. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  1972. coroutine.wrap(SoulSteal)(whom,isPlr)
  1973. for _,v in next, whom:children() do
  1974. if(v:IsA'BasePart')then
  1975. v.Parent = Effects
  1976. v:ClearAllChildren()
  1977. v.Anchored = true
  1978. v.CanCollide = false
  1979. v.Transparency = 1
  1980. local dust = NewInstance("ParticleEmitter",v,{
  1981. Color = ColorSequence.new(C3.N(1,1,1)),
  1982. LightEmission=0,
  1983. LightInfluence=1,
  1984. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  1985. Texture="rbxassetid://284205403",
  1986. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1987. Lifetime = NumberRange.new(1),
  1988. Rate=150,
  1989. Acceleration = V3.N(0,10,0),
  1990. Speed = NumberRange.new(5),
  1991. Enabled = true
  1992. })
  1993. delay(1, function()
  1994. dust.Enabled = false
  1995. S.Debris:AddItem(v,2)
  1996. end)
  1997. end
  1998. end
  1999. else
  2000. warn"nope. nawt happenin'"
  2001. end
  2002. end
  2003.  
  2004. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  2005. if(who)then
  2006. local hum = who:FindFirstChildOfClass'Humanoid'
  2007. local Damage = M.RNG(minDam,maxDam)
  2008. local canHit = true
  2009. if(hum)then
  2010. for _, p in pairs(Hit) do
  2011. if p[1] == hum then
  2012. if(time() - p[2] < 0.4) then
  2013. canHit = false
  2014. else
  2015. Hit[_] = nil
  2016. end
  2017. end
  2018. end
  2019. if(canHit)then
  2020. table.insert(Hit,{hum,time()})
  2021. if(GetTorso(who))then
  2022. Sound(GetTorso(who),406913243,1,10,false,true,true)
  2023. end
  2024. if(hum.Health >= math.huge)then
  2025. Kill(who)
  2026. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2027. 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)
  2028. end
  2029. else
  2030. local player = S.Players:GetPlayerFromCharacter(who)
  2031. if(Type == "Fire")then
  2032. --idk..
  2033. else
  2034. local c = Instance.new("ObjectValue",hum)
  2035. c.Name = "creator"
  2036. c.Value = Plr
  2037. game:service'Debris':AddItem(c,0.35)
  2038. local Crit = false
  2039. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  2040. Crit = true
  2041. Damage = Damage*(critMult or 2)
  2042. end
  2043. Damage = Damage*((Souls/5)+1)
  2044. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2045. 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))
  2046. end
  2047.  
  2048. if(hum.Health - Damage <= 0)then
  2049. Kill(who)
  2050. else
  2051. hum.Health = hum.Health - Damage
  2052. if(Type == 'Knockback' and GetTorso(who))then
  2053. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  2054. local body = NewInstance('BodyVelocity',GetTorso(who),{
  2055. P = 500,
  2056. maxForce = V3.N(math.huge,0,math.huge),
  2057. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  2058. })
  2059. game:service'Debris':AddItem(body,.5)
  2060. elseif(Type == "Electric")then
  2061. if(M.RNG(1,100) >= critChance)then
  2062. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2063. 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)
  2064. end
  2065. local asd = hum.WalkSpeed/2
  2066. hum.WalkSpeed = asd
  2067. local paralyzed = true
  2068. coroutine.wrap(function()
  2069. while paralyzed do
  2070. swait(25)
  2071. if(M.RNG(1,25) == 1)then
  2072. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2073. 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)
  2074. end
  2075. hum.PlatformStand = true
  2076. end
  2077. end
  2078. end)()
  2079. delay(4, function()
  2080. paralyzed = false
  2081. hum.WalkSpeed = hum.WalkSpeed + asd
  2082. end)
  2083. end
  2084.  
  2085. elseif(Type == 'Knockdown' and GetTorso(who))then
  2086. local rek = GetTorso(who)
  2087. hum.PlatformStand = true
  2088. delay(1,function()
  2089. hum.PlatformStand = false
  2090. end)
  2091. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  2092. local bodvol = NewInstance("BodyVelocity",rek,{
  2093. velocity = angle * Knock,
  2094. P = 5000,
  2095. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2096. })
  2097. local rl = NewInstance("BodyAngularVelocity",rek,{
  2098. P = 3000,
  2099. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2100. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2101. })
  2102. game:GetService("Debris"):AddItem(bodvol, .5)
  2103. game:GetService("Debris"):AddItem(rl, .5)
  2104. end
  2105. end
  2106. end
  2107. end
  2108. end
  2109. end
  2110. end
  2111. end
  2112.  
  2113.  
  2114. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  2115. for _,v in next, getRegion(where,range,{Char}) do
  2116. if(v.Name ~= 'Nebula_Zorua')then
  2117. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  2118. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  2119. end
  2120. end
  2121. end
  2122. end
  2123.  
  2124. function AOEKill(where,range)
  2125. for _,v in next, getRegion(where,range,{Char,Effects}) do
  2126. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  2127. if(v.Name ~= 'Nebula_Zorua')then
  2128. if(v.Parent and alive == true)then
  2129. coroutine.wrap(Kill)(v.Parent)
  2130. end
  2131. end
  2132. end
  2133. end
  2134.  
  2135. function AOEHeal(where,range,amount)
  2136. local healed = {}
  2137. for _,v in next, getRegion(where,range,{Char}) do
  2138. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  2139. if(hum and not healed[hum])then
  2140. hum.Health = hum.Health + amount
  2141. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  2142. 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)
  2143. end
  2144. end
  2145. end
  2146. end
  2147.  
  2148.  
  2149. --// Attack Functions \\--
  2150.  
  2151.  
  2152. function Slash()
  2153. Attack = true
  2154. NeutralAnims = false
  2155. local sound = Sound(Knife,437475935,1,5,false,true,false)
  2156. for i = 0, 2, 0.1 do
  2157. swait()
  2158. local Alpha = .2
  2159. 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)
  2160. 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)
  2161. 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)
  2162. 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)
  2163. 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)
  2164. 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)
  2165. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2166. end
  2167. KTrail.Enabled = true
  2168. sound:Play()
  2169. for i = 0, 2.5, 0.1 do
  2170. swait()
  2171. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  2172. local Alpha = .25
  2173. 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)
  2174. 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)
  2175. 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)
  2176. 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)
  2177. 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)
  2178. 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)
  2179. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2180. end
  2181. KTrail.Enabled = false
  2182. Attack = false
  2183. NeutralAnims = true
  2184. end
  2185.  
  2186. Mouse.Button1Down:connect(function()
  2187. if(Attack)then return end
  2188. Slash()
  2189. end)
  2190.  
  2191. Mouse.KeyDown:connect(function(k)
  2192. if(Attack)then return end
  2193. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  2194. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  2195. end)
  2196.  
  2197.  
  2198. function Refuse()
  2199. Attack = true
  2200. warn("B u t i t r e f u s e d.")
  2201. local oMH = MaxHealth
  2202. MaxHealth = "inf"
  2203. Hum.MaxHealth = "inf"
  2204. Hum.Health = "inf"
  2205. Char.Parent = nil
  2206. Hum:destroy()
  2207. if(not _G.RefusedAnimation)then
  2208. _G.RefusedAnimation = true
  2209.  
  2210.  
  2211. local Soul;
  2212. function Soul(where,decalId)
  2213. local destroy = false
  2214. local soul = NewInstance("Part",workspace)
  2215. soul.Name = "Soul"
  2216. soul.Transparency=1
  2217. soul.Size = V3.N(2,2,.05)
  2218. soul.Anchored=true
  2219. soul.CanCollide=false
  2220. soul.CFrame = where
  2221. local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  2222. local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  2223. return soul,heartF,heartB
  2224. end
  2225. local owo = Root.CFrame
  2226. local s,f,b = Soul(owo,1569347904)
  2227. swait(60)
  2228. local snd = Sound(s,862552636,1,5,false,false,false)
  2229. snd:Play()
  2230. f.Texture = "rbxassetid://1569348344"
  2231. b.Texture = "rbxassetid://1569348344"
  2232. swait(15)
  2233. snd:Stop()
  2234. swait(60)
  2235. print'lol'
  2236. for i = 0, 6, .1 do
  2237. swait()
  2238. s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  2239. end
  2240. local snd = Sound(s,862552636,1,5,false,false,false)
  2241. snd:Play()
  2242. s.CFrame = owo
  2243. f.Texture = "rbxassetid://1569347904"
  2244. b.Texture = "rbxassetid://1569347904"
  2245. swait(15)
  2246. snd:Stop()
  2247. swait(60)
  2248.  
  2249. s:destroy()
  2250. end
  2251.  
  2252. RJ.Parent = Char
  2253. LS.Parent = Char
  2254. RS.Parent = Char
  2255. LH.Parent = Char
  2256. RH.Parent = Char
  2257. NK.Parent = Char
  2258.  
  2259. LArm.Parent = Char
  2260. RArm.Parent = Char
  2261. LLeg.Parent = Char
  2262. LArm.Parent = Char
  2263. Root.Parent = Char
  2264. Torso.Parent = Char
  2265. Head.Parent = Char
  2266.  
  2267. Knife.Parent = Char
  2268. Hair.Parent = Char
  2269.  
  2270. HW.Parent = Char
  2271. HW2.Parent = Char
  2272.  
  2273.  
  2274. REye:destroy()
  2275. LEye:destroy()
  2276.  
  2277. for _,v in next, Char:children() do
  2278. if(v.Name == 'ShadowFace')then v:destroy() end
  2279. end
  2280. LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  2281. LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  2282. LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  2283.  
  2284. REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  2285. REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  2286. REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  2287. for i = 1, 35 do
  2288. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  2289. FACE.Transparency = 0+(i-1)/35.2
  2290. FACE.Name = 'ShadowFace'
  2291. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2292. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  2293. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2294. end
  2295. Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  2296. ConnectHum()
  2297. MaxHealth = oMH
  2298. Hum.MaxHealth = MaxHealth
  2299. Hum.Health = MaxHealth
  2300. swait(5)
  2301. Char.Parent = workspace
  2302.  
  2303. Attack = false
  2304. end
  2305.  
  2306. function ConnectHum()
  2307. Hum.Died:connect(Refuse)
  2308. end
  2309. ConnectHum()
  2310.  
  2311.  
  2312. --// Wrap it all up \\--
  2313. while true do
  2314. swait()
  2315. Sine = Sine + Change
  2316. if(not Music)then
  2317. Music = Sound(Torso,MusicID,1,3,true,false,true)
  2318. Music.Name = 'Music'
  2319. end
  2320. Music.Pitch = 1
  2321. Music.Volume = 5
  2322. Music.SoundId = "rbxassetid://"..MusicID
  2323. Music.Parent = Torso
  2324. Music:Resume()
  2325. 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)
  2326. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2327. 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")
  2328. if(not Effects or not Effects.Parent)then
  2329. Effects = IN("Model",Char)
  2330. Effects.Name = "Effects"
  2331. end
  2332. Hum.WalkSpeed = WalkSpeed
  2333. if(State == 'Walk')then
  2334. if(Hum.WalkSpeed >= 24)then
  2335. local wsVal = 22 / (Hum.WalkSpeed/16)
  2336. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  2337. Change = 2
  2338. 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)
  2339. 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)
  2340. else
  2341. Change = .9
  2342. local wsVal = 8 / (Hum.WalkSpeed/8)
  2343. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  2344. 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)
  2345. 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)
  2346. end
  2347. else
  2348. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  2349. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  2350. end
  2351. for _,v in next, Char:children() do
  2352. if(v:IsA'Accessory')then
  2353. v:destroy()
  2354. elseif(v:IsA'Shirt')then
  2355. v.ShirtTemplate = "rbxassetid://344089667"
  2356. elseif(v:IsA'Pants')then
  2357. v.PantsTemplate = "rbxassetid://344084364"
  2358. elseif(v:IsA'CharacterMesh')then
  2359. v:destroy()
  2360. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  2361. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  2362. end
  2363. end
  2364. local face = Head:FindFirstChild'face'
  2365. if(not face)then
  2366. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  2367. else
  2368. face.Texture = "rbxassetid://404306534"
  2369. end
  2370. RArm.BrickColor = BrickColor.new'Pastel brown'
  2371. LArm.BrickColor = BrickColor.new'Pastel brown'
  2372. RLeg.BrickColor = BrickColor.new'Pastel brown'
  2373. LLeg.BrickColor = BrickColor.new'Pastel brown'
  2374. Torso.BrickColor = BrickColor.new'Pastel brown'
  2375. Head.BrickColor = BrickColor.new'Pastel brown'
  2376. Hum.Name = 'Chara'
  2377. if(Hum.MaxHealth ~= MaxHealth)then
  2378. Hum.MaxHealth = MaxHealth
  2379. end
  2380. Hum.DisplayDistanceType='None'
  2381. if(NeutralAnims)then
  2382. if(State == 'Idle')then
  2383. Change = 1
  2384. local Alpha = .1
  2385. 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)
  2386. 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)
  2387. 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)
  2388. 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)
  2389. 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)
  2390. 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)
  2391. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2392. -- idle
  2393. elseif(State == 'Walk')then
  2394. if(Hum.WalkSpeed >= 24)then
  2395. local wsVal = 22 / (Hum.WalkSpeed/16)
  2396. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2397. 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)
  2398. 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)
  2399. 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)
  2400. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  2401. 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)
  2402. 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)
  2403. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2404. else
  2405. local wsVal = 8 / (Hum.WalkSpeed/8)
  2406. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  2407. 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)
  2408. 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)
  2409. 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)
  2410. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  2411. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  2412. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  2413. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2414. end
  2415. elseif(State == 'Jump' or State == 'Fall')then
  2416. if(Walking)then
  2417. local Alpha = .2
  2418. 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)
  2419. 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)
  2420. 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)
  2421. 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)
  2422. 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)
  2423. 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)
  2424. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2425. else
  2426. local Alpha = .2
  2427. 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)
  2428. 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)
  2429. 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)
  2430. 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)
  2431. 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)
  2432. 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)
  2433. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  2434. end
  2435. elseif(State == 'Paralyzed')then
  2436. -- paralyzed
  2437. elseif(State == 'Sit')then
  2438. -- sit
  2439. end
  2440. end
  2441. end
  2442.  
  2443. create new paste / dealsnew! / api / scraping api / syntax languages / archive / faq / tools / night mode / go
  2444. privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
  2445.  
  2446. By using Pastebin.com you agree to our cookies policy to enhance your experience.
  2447. Site design & logo © 2018 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- Dedicated Server Hosting by Steadfast
  2448. Top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement