Advertisement
PowerSans124

Killer Ver.3

Jul 12th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.49 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. --Edit By PowerSans1234
  3. --Script Edited in [15:50] [12.07.2018]
  4. -- Your DeTERMINATION --
  5. -- Y o u a c t l i k e y o u h a v e a c h o i c e. =) --
  6. -- Discord: Nebula the Zorua#6969
  7. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  8.  
  9.  
  10. --// Initializing \\--
  11. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  12. local Plrs = S.Players
  13. local Plr = Plrs.LocalPlayer
  14. local Char = Plr.Character
  15. local Hum = Char:FindFirstChildOfClass'Humanoid'
  16. local RArm = Char["Right Arm"]
  17. local LArm = Char["Left Arm"]
  18. local RLeg = Char["Right Leg"]
  19. local LLeg = Char["Left Leg"]
  20. local Root = Char:FindFirstChild'HumanoidRootPart'
  21. local Torso = Char.Torso
  22. local Head = Char.Head
  23. local NeutralAnims = true
  24. local Attack = false
  25. local BloodPuddles = {}
  26. local Effects = {}
  27. local Debounces = {Debounces={}}
  28. local Mouse = Plr:GetMouse()
  29. local Hit = {}
  30. local Sine = 0
  31. local Change = 1
  32. local Souls = 0
  33. --// Debounce System \\--
  34.  
  35.  
  36. function Debounces:New(name,cooldown)
  37. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  38. setmetatable(aaaaa,{__index = Debounces})
  39. Debounces.Debounces[name] = aaaaa
  40. return aaaaa
  41. end
  42.  
  43. function Debounces:Use(overrideUsable)
  44. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  45. if(self.Usable or overrideUsable)then
  46. self.Usable = false
  47. self.CoolingDown = true
  48. local LastUse = time()
  49. self.LastUse = LastUse
  50. delay(self.Cooldown or 2,function()
  51. if(self.LastUse == LastUse)then
  52. self.CoolingDown = false
  53. self.Usable = true
  54. end
  55. end)
  56. end
  57. end
  58.  
  59. function Debounces:Get(name)
  60. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  61. for i,v in next, Debounces.Debounces do
  62. if(i == name)then
  63. return v;
  64. end
  65. end
  66. end
  67.  
  68. function Debounces:GetProgressPercentage()
  69. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  70. if(self.CoolingDown and not self.Usable)then
  71. return math.max(
  72. math.floor(
  73. (
  74. (time()-self.LastUse)/self.Cooldown or 2
  75. )*100
  76. )
  77. )
  78. else
  79. return 100
  80. end
  81. end
  82. --// Debounce System \\--
  83.  
  84.  
  85. New = function(Object, Parent, Name, Data)
  86. local Object = Instance.new(Object)
  87. for Index, Value in pairs(Data or {}) do
  88. Object[Index] = Value
  89. end
  90. Object.Parent = Parent
  91. Object.Name = Name
  92. return Object
  93. end
  94.  
  95. CyborgArm = New("Model",Char,"CyborgArm",{})
  96. Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  97. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  98. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  99. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  100. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  101. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  102. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  103. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  104. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  105. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  106. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  107. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.15999990, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  108. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  109. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  110. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  111. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  112. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  113. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  114. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  115. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  116. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  117. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 0),})
  118. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  119.  
  120.  
  121. function Debounces:New(name,cooldown)
  122. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  123. setmetatable(aaaaa,{__index = Debounces})
  124. Debounces.Debounces[name] = aaaaa
  125. return aaaaa
  126. end
  127.  
  128. function Debounces:Use(overrideUsable)
  129. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  130. if(self.Usable or overrideUsable)then
  131. self.Usable = false
  132. self.CoolingDown = true
  133. local LastUse = time()
  134. self.LastUse = LastUse
  135. delay(self.Cooldown or 2,function()
  136. if(self.LastUse == LastUse)then
  137. self.CoolingDown = false
  138. self.Usable = true
  139. end
  140. end)
  141. end
  142. end
  143.  
  144. function Debounces:Get(name)
  145. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  146. for i,v in next, Debounces.Debounces do
  147. if(i == name)then
  148. return v;
  149. end
  150. end
  151. end
  152.  
  153. function Debounces:GetProgressPercentage()
  154. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  155. if(self.CoolingDown and not self.Usable)then
  156. return math.max(
  157. math.floor(
  158. (
  159. (time()-self.LastUse)/self.Cooldown or 2
  160. )*100
  161. )
  162. )
  163. else
  164. return 100
  165. end
  166. end
  167. --// Shortcut Variables \\--
  168. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  169. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  170. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  171. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  172. local R3 = {N=Region3.new}
  173. local De = S.Debris
  174. local WS = workspace
  175. local Lght = S.Lighting
  176. local RepS = S.ReplicatedStorage
  177. local IN = Instance.new
  178. local CSK = ColorSequenceKeypoint.new
  179. local CS = ColorSequence.new
  180. --// Instance Creation Functions \\--
  181.  
  182. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  183. local Sound = IN("Sound")
  184. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  185. Sound.Pitch = pitch or 1
  186. Sound.Volume = volume or 1
  187. Sound.Looped = looped or false
  188. if(autoPlay)then
  189. coroutine.wrap(function()
  190. repeat wait() until Sound.IsLoaded
  191. Sound.Playing = autoPlay or false
  192. end)()
  193. end
  194. if(not looped and effect)then
  195. Sound.Stopped:connect(function()
  196. Sound.Volume = 0
  197. Sound:destroy()
  198. end)
  199. elseif(effect)then
  200. warn("Sound can't be looped and a sound effect!")
  201. end
  202. Sound.Parent =parent or Torso
  203. return Sound
  204. end
  205. function Part(parent,color,material,size,cframe,anchored,cancollide)
  206. local part = IN("Part")
  207. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  208. part.Material = (material or Enum.Material.SmoothPlastic)
  209. part.TopSurface,part.BottomSurface=10,10
  210. part.Size = (size or V3.N(1,1,1))
  211. part.CFrame = (cframe or CF.N(0,0,0))
  212. part.Anchored = (anchored or false)
  213. part.CanCollide = (cancollide or false)
  214. part.Parent = (parent or Char)
  215. return part
  216. end
  217. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  218. local part = IN("SpecialMesh")
  219. part.MeshId = meshid or ""
  220. part.TextureId = textid or ""
  221. part.Scale = scale or V3.N(1,1,1)
  222. part.Offset = offset or V3.N(0,0,0)
  223. part.MeshType = meshtype or Enum.MeshType.Sphere
  224. part.Parent = parent
  225. return part
  226. end
  227.  
  228. NewInstance = function(instance,parent,properties)
  229. local inst = Instance.new(instance,parent)
  230. if(properties)then
  231. for i,v in next, properties do
  232. pcall(function() inst[i] = v end)
  233. end
  234. end
  235. return inst;
  236. end
  237.  
  238.  
  239.  
  240. --// Extended ROBLOX tables \\--
  241. 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})
  242. --// Customization \\--
  243.  
  244. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  245. local Remove_Hats = false
  246. local Remove_Clothing = true
  247. local PlayerSize = 1
  248. local DamageColor = BrickColor.new'Really red'
  249. local Pitch = 0.5
  250. local MusicID = 576197352
  251. local WalkSpeed = 8
  252. local MaxSouls = 100
  253. local MaxHealth = 500
  254.  
  255.  
  256. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  257.  
  258. --// Weapon and GUI creation, and Character Customization \\--
  259.  
  260. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  261. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  262. local Effects = IN("Folder",Char)
  263. Effects.Name = "Effects"
  264.  
  265. Hum.MaxHealth = MaxHealth
  266. Hum.Health = MaxHealth
  267.  
  268. 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)})
  269. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://121944805",V3.N(1,1,1),V3.N())
  270. 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://2065649338",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  271. 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://2065649338",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  272.  
  273. local KTrail = NewInstance("Trail",Knife,{
  274. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  275. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  276. Color=CS(C3.N(1,0,0)),
  277. Enabled=false,
  278. Transparency=NumberSequence.new(0,1),
  279. Lifetime=1.25,
  280. })
  281. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  282. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  283.  
  284. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  285.  
  286.  
  287. Hum.DisplayDistanceType = 'None'
  288.  
  289. local naeeym2 = IN("BillboardGui",Char)
  290. naeeym2.AlwaysOnTop = true
  291. naeeym2.Size = UDim2.new(5,35,2,15)
  292. naeeym2.StudsOffset = V3.N(0,2.5,0)
  293. naeeym2.Adornee = Char.Head
  294. naeeym2.Name = "Name"
  295. naeeym2.PlayerToHideFrom = Plr
  296. local tecks2 = IN("TextLabel",naeeym2)
  297. tecks2.BackgroundTransparency = 1
  298. tecks2.TextScaled = true
  299. tecks2.BorderSizePixel = 0
  300. tecks2.Text = "The Bad Killer"
  301. tecks2.Font = Enum.Font.Bodoni
  302. tecks2.TextSize = 30
  303. tecks2.TextStrokeTransparency = 0
  304. tecks2.TextColor3 = C3.N(0,0,0)
  305. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  306. tecks2.Size = UDim2.new(1,0,0.5,0)
  307. tecks2.Parent = naeeym2
  308.  
  309.  
  310. IN("Shirt",Char)
  311. IN("Pants",Char)
  312.  
  313. Hum.WalkSpeed = WalkSpeed
  314. if(PlayerSize ~= 1)then
  315. for _,v in next, Char:GetDescendats() do
  316. if(v:IsA'BasePart')then
  317. v.Size = v.Size * PlayerSize
  318. end
  319. end
  320. end
  321.  
  322.  
  323. for i = 1, 35 do
  324. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  325. FACE.Transparency = 0+(i-1)/35.2
  326. FACE.Name = 'ShadowFace'
  327. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  328. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  329. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  330. end
  331.  
  332. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  333. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  334. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  335.  
  336. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  337. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  338. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  339.  
  340.  
  341. pcall(function()
  342. Char.LeftWing:destroy()
  343. Char.ReaperShadowHead:destroy()
  344. end)
  345.  
  346.  
  347. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  348. Music.Name = 'Music'
  349.  
  350. --// Stop animations \\--
  351. for _,v in next, Hum:GetPlayingAnimationTracks() do
  352. v:Stop();
  353. end
  354.  
  355. pcall(game.Destroy,Char:FindFirstChild'Animate')
  356. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  357.  
  358. --// Joints \\--
  359.  
  360. 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)})
  361. 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)})
  362. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  363. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  364. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  365. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  366. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  367. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  368.  
  369. local LSC0 = LS.C0
  370. local RSC0 = RS.C0
  371. local NKC0 = NK.C0
  372. local LHC0 = LH.C0
  373. local RHC0 = RH.C0
  374. local RJC0 = RJ.C0
  375.  
  376. --// Artificial HB \\--
  377.  
  378. local ArtificialHB = IN("BindableEvent", script)
  379. ArtificialHB.Name = "Heartbeat"
  380.  
  381. script:WaitForChild("Heartbeat")
  382.  
  383. local tf = 0
  384. local allowframeloss = false
  385. local tossremainder = false
  386. local lastframe = tick()
  387. local frame = 1/Frame_Speed
  388. ArtificialHB:Fire()
  389.  
  390. game:GetService("RunService").Heartbeat:connect(function(s, p)
  391. tf = tf + s
  392. if tf >= frame then
  393. if allowframeloss then
  394. script.Heartbeat:Fire()
  395. lastframe = tick()
  396. else
  397. for i = 1, math.floor(tf / frame) do
  398. ArtificialHB:Fire()
  399. end
  400. lastframe = tick()
  401. end
  402. if tossremainder then
  403. tf = 0
  404. else
  405. tf = tf - frame * math.floor(tf / frame)
  406. end
  407. end
  408. end)
  409.  
  410. function swait(num)
  411. if num == 0 or num == nil then
  412. ArtificialHB.Event:wait()
  413. else
  414. for i = 0, num do
  415. ArtificialHB.Event:wait()
  416. end
  417. end
  418. end
  419.  
  420.  
  421. --// Effect Function(s) \\--
  422.  
  423. Circle = nil
  424. CircleParts = {}
  425. Equipped = false
  426.  
  427. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  428. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  429. end
  430. Humanoid = Char:FindFirstChildOfClass("Humanoid")
  431. Torso = Char:FindFirstChild("Torso")
  432. if not Plr or not Humanoid or Humanoid.Health == 0 or not Torso then
  433. return
  434. end
  435. Equipped = true
  436. Circle = Instance.new("Model")
  437. Circle.Name = "Circle"
  438. Angle = 0
  439. for i = 1, 1 do
  440. local CirclePart = Instance.new("Part")
  441. CirclePart.Name = "CirclePart"
  442. CirclePart.Transparency = 1
  443. CirclePart.BrickColor = BrickColor.new("Really black")
  444. CirclePart.Material = Enum.Material.Plastic
  445. CirclePart.Shape = Enum.PartType.Block
  446. CirclePart.FormFactor = Enum.FormFactor.Custom
  447. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  448. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  449. CirclePart.Anchored = true
  450. CirclePart.CanCollide = false
  451. CirclePart.Locked = true
  452. CirclePart.Size = Vector3.new(10, 0.2, 10)
  453. local BlockMesh = Instance.new("BlockMesh")
  454. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  455. BlockMesh.Parent = CirclePart
  456. CirclePart.Parent = Circle
  457. local Star = Instance.new("Decal", CirclePart)
  458. Star.Texture = "http://www.roblox.com/asset/?id=43997508"
  459. Star.Face = "Top"
  460. local Light = Instance.new("PointLight", CirclePart)
  461. Light.Color = Color3.new(1,0,0)
  462. Light.Brightness = 100
  463. Light.Range = 15
  464. table.insert(CircleParts, CirclePart)
  465. end
  466. Spawn(function()
  467. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  468. if Angle == 360 then
  469. Angle = 0
  470. end
  471. Angle = Angle + 0.05
  472. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Char})
  473. if Hit then
  474. if not Circle.Parent then
  475. Circle.Parent = Char
  476. end
  477. for i, v in pairs(CircleParts) do
  478. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  479. end
  480. else
  481. Circle.Parent = nil
  482. end
  483. wait()
  484. end
  485. end)
  486.  
  487. function Bezier(startpos, pos2, pos3, endpos, t)
  488. local A = startpos:lerp(pos2, t)
  489. local B = pos2:lerp(pos3, t)
  490. local C = pos3:lerp(endpos, t)
  491. local lerp1 = A:lerp(B, t)
  492. local lerp2 = B:lerp(C, t)
  493. local cubic = lerp1:lerp(lerp2, t)
  494. return cubic
  495. end
  496.  
  497. function Tween(obj,props,time,easing,direction,repeats,backwards)
  498. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  499. local tween = S.TweenService:Create(obj, info, props)
  500.  
  501. tween:Play()
  502. end
  503.  
  504. local FXTable = {}
  505.  
  506. coroutine.resume(coroutine.create(function()
  507. while true do
  508. for i = 1, #FXTable do
  509. local data = FXTable[i]
  510. if(data)then
  511. local Frame = data.Frame
  512. local FX = data.Effect or 'ResizeAndFade'
  513. local Parent = data.Parent or Effects
  514. local Color = data.Color or C3.N(0,0,0)
  515. local Size = data.Size or V3.N(1,1,1)
  516. local MoveDir = data.MoveDirection or nil
  517. local MeshData = data.Mesh or nil
  518. local SndData = data.Sound or nil
  519. local Frames = data.Frames or 45
  520. local CFra = data.CFrame or Torso.CFrame
  521. local Settings = data.FXSettings or {}
  522. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  523. local grow = data.Grow
  524.  
  525. local MoveSpeed = nil;
  526. if(MoveDir)then
  527. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  528. end
  529. if(FX ~= 'Arc')then
  530. Frame = Frame + 1
  531. if(FX == "Fade")then
  532. Prt.Transparency = (Frame/Frames)
  533. elseif(FX == "Resize")then
  534. if(not Settings.EndSize)then
  535. Settings.EndSize = V3.N(0,0,0)
  536. end
  537. if(Settings.EndIsIncrement)then
  538. if(Msh)then
  539. Msh.Scale = Msh.Scale + Settings.EndSize
  540. else
  541. Prt.Size = Prt.Size + Settings.EndSize
  542. end
  543. else
  544. if(Msh)then
  545. Msh.Scale = Msh.Scale - grow/Frames
  546. else
  547. Prt.Size = Prt.Size - grow/Frames
  548. end
  549. end
  550. elseif(FX == "ResizeAndFade")then
  551. if(not Settings.EndSize)then
  552. Settings.EndSize = V3.N(0,0,0)
  553. end
  554. if(Settings.EndIsIncrement)then
  555. if(Msh)then
  556. Msh.Scale = Msh.Scale + Settings.EndSize
  557. else
  558. Prt.Size = Prt.Size + Settings.EndSize
  559. end
  560. else
  561. if(Msh)then
  562. Msh.Scale = Msh.Scale - grow/Frames
  563. else
  564. Prt.Size = Prt.Size - grow/Frames
  565. end
  566. end
  567. Prt.Transparency = (Frame/Frames)
  568. end
  569. if(Settings.RandomizeCFrame)then
  570. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  571. end
  572. if(MoveDir and MoveSpeed)then
  573. local Orientation = Prt.Orientation
  574. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  575. Prt.Orientation = Orientation
  576. end
  577. if(Prt.Transparency >= 1 or Frame >= Frames)then
  578. Prt:destroy()
  579. table.remove(FXTable,i)
  580. else
  581. data.Frame = Frame
  582. end
  583. else
  584. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  585. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  586. if(start and endP)then
  587. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  588. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  589. Frame = Frame + (Settings.Speed or 0.01)
  590. if(Settings.Home)then
  591. endP = Settings.Home.CFrame
  592. end
  593. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  594. if(Prt.Transparency >= 1 or Frame >= Frames)then
  595. if(Settings.RemoveOnGoal)then
  596. Prt:destroy()
  597. end
  598. end
  599. else
  600. Prt:destroy()
  601. end
  602. end
  603. end
  604. end
  605. swait()
  606. end
  607. end))
  608.  
  609. function Effect(data)
  610. local FX = data.Effect or 'ResizeAndFade'
  611. local Parent = data.Parent or Effects
  612. local Color = data.Color or C3.N(0,0,0)
  613. local Size = data.Size or V3.N(1,1,1)
  614. local MoveDir = data.MoveDirection or nil
  615. local MeshData = data.Mesh or nil
  616. local SndData = data.Sound or nil
  617. local Frames = data.Frames or 45
  618. local Manual = data.Manual or nil
  619. local Material = data.Material or nil
  620. local CFra = data.CFrame or Torso.CFrame
  621. local Settings = data.FXSettings or {}
  622. local Shape = data.Shape or Enum.PartType.Block
  623. local Snd,Prt,Msh;
  624. coroutine.wrap(function()
  625. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  626. Prt = Manual
  627. else
  628. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  629. Prt.Shape = Shape
  630. end
  631. if(typeof(MeshData) == 'table')then
  632. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  633. elseif(typeof(MeshData) == 'Instance')then
  634. Msh = MeshData:Clone()
  635. Msh.Parent = Prt
  636. elseif(Shape == Enum.PartType.Block)then
  637. Msh = Mesh(Prt,Enum.MeshType.Brick)
  638. end
  639. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  640. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  641. end
  642. if(Snd)then
  643. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  644. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  645. end
  646. Size = (Msh and Msh.Scale or Size)
  647. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  648.  
  649. local MoveSpeed = nil;
  650. if(MoveDir)then
  651. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  652. end
  653. if(FX ~= 'Arc')then
  654. for Frame = 1, Frames do
  655. if(FX == "Fade")then
  656. Prt.Transparency = (Frame/Frames)
  657. elseif(FX == "Resize")then
  658. if(not Settings.EndSize)then
  659. Settings.EndSize = V3.N(0,0,0)
  660. end
  661. if(Settings.EndIsIncrement)then
  662. if(Msh)then
  663. Msh.Scale = Msh.Scale + Settings.EndSize
  664. else
  665. Prt.Size = Prt.Size + Settings.EndSize
  666. end
  667. else
  668. if(Msh)then
  669. Msh.Scale = Msh.Scale - grow/Frames
  670. else
  671. Prt.Size = Prt.Size - grow/Frames
  672. end
  673. end
  674. elseif(FX == "ResizeAndFade")then
  675. if(not Settings.EndSize)then
  676. Settings.EndSize = V3.N(0,0,0)
  677. end
  678. if(Settings.EndIsIncrement)then
  679. if(Msh)then
  680. Msh.Scale = Msh.Scale + Settings.EndSize
  681. else
  682. Prt.Size = Prt.Size + Settings.EndSize
  683. end
  684. else
  685. if(Msh)then
  686. Msh.Scale = Msh.Scale - grow/Frames
  687. else
  688. Prt.Size = Prt.Size - grow/Frames
  689. end
  690. end
  691. Prt.Transparency = (Frame/Frames)
  692. end
  693. if(Settings.RandomizeCFrame)then
  694. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  695. end
  696. if(MoveDir and MoveSpeed)then
  697. local Orientation = Prt.Orientation
  698. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  699. Prt.Orientation = Orientation
  700. end
  701. swait()
  702. end
  703. Prt:destroy()
  704. else
  705. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  706. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  707. if(start and endP)then
  708. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  709. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  710. for Frame = 0, 1, (Settings.Speed or 0.01) do
  711. if(Settings.Home)then
  712. endP = Settings.Home.CFrame
  713. end
  714. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  715. end
  716. if(Settings.RemoveOnGoal)then
  717. Prt:destroy()
  718. end
  719. else
  720. Prt:destroy()
  721. assert(start,"You need a start position!")
  722. assert(endP,"You need a start position!")
  723. end
  724. end
  725. end)()
  726. return Prt,Msh,Snd
  727. end
  728.  
  729.  
  730.  
  731. function SoulSteal(whom,human)
  732. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  733. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  734. if(torso and torso:IsA'BasePart' and alive == true)then
  735. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  736. whom:BreakJoints()
  737. local Model = IN("Model",Effects)
  738. warn('Soul stolen from '..whom.Name)
  739. Model.Name = whom.Name.."'s Soul =)"
  740. local Soul = Part(Model,(human and BrickColor.new'Really black' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  741. Soul.CanCollide=false
  742. Mesh(Soul,Enum.MeshType.Sphere)
  743. Soul.Name = 'Head'
  744. if(whom.Name == 'CKbackup')then
  745. Soul.Color = C3.N(1,1,1)
  746. 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)})
  747. end
  748. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  749. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  750. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  751. 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})
  752. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  753.  
  754. local turdso = Soul:Clone()
  755. turdso.Name = "Torso"
  756. turdso.CanCollide = false
  757. turdso.Anchored = true
  758. turdso.CFrame = Soul.CFrame
  759. turdso.Parent = Model
  760. turdso.Size = V3.N()
  761. turdso.Transparency=1
  762. local Distance = math.huge
  763. repeat
  764. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  765. turdso.CFrame = Soul.CFrame
  766. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  767. swait()
  768. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  769. if(Soul.Parent and Hoom.Health > 0)then
  770. Model:destroy()
  771. Effect{
  772. Effect="ResizeAndFade",
  773. Mesh={Enum.MeshType.Sphere},
  774. Color = Soul.Color,
  775. CFrame=Torso.CFrame,
  776. Size=V3.N(3,3,3),
  777. Material=Enum.Material.Neon,
  778. Sound={SoundId=444667859,Pitch=1.3,Volume=2.5},
  779. FXSettings={
  780. EndSize=V3.N(6,6,6),
  781. }
  782. }
  783. Souls = Souls + (human and 4 or .20)
  784. warn("Souls: "..Souls)
  785. MaxHealth = MaxHealth + Hoom.Health
  786. Hum.Health = Hum.Health + Hoom.Health
  787. for i = 1, 5 do
  788. Effect{
  789. Effect="Fade",
  790. Color = Soul.Color,
  791. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  792. }
  793. end
  794. else
  795.  
  796. warn("Soul destroyed!")
  797. for i = 1, 5 do
  798. Effect{
  799. Effect="Fade",
  800. Color = Soul.Color,
  801. CFrame=Soul.CFrame,
  802. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  803. }
  804. end
  805. Effect{
  806. Effect="ResizeAndFade",
  807. Mesh={Enum.MeshType.Sphere},
  808. Sound={SoundId=444667859,Pitch=1.3,Volume=5},
  809. Color = Soul.Color,
  810. CFrame=Soul.CFrame,
  811. Size=V3.N(3,3,3),
  812. Material=Enum.Material.Neon,
  813. FXSettings={
  814. EndSize=V3.N(6,6,6),
  815. }
  816. }
  817. Model:destroy()
  818. end
  819. end
  820. end
  821.  
  822. --// Other Functions \\ --
  823.  
  824. function getRegion(point,range,ignore)
  825. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  826. end
  827.  
  828. function clerp(startCF,endCF,alpha)
  829. return startCF:lerp(endCF, alpha)
  830. end
  831.  
  832. function GetTorso(char)
  833. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  834. end
  835.  
  836. function ShowDamage(Pos, Text, Time, Color)
  837. coroutine.wrap(function()
  838. local Rate = (1 / Frame_Speed)
  839. local Pos = (Pos or Vector3.new(0, 0, 0))
  840. local Text = (Text or "")
  841. local Time = (Time or 2)
  842. local Color = (Color or Color3.new(1, 0, 1))
  843. local EffectPart = NewInstance("Part",Effects,{
  844. Material=Enum.Material.SmoothPlastic,
  845. Reflectance = 0,
  846. Transparency = 1,
  847. BrickColor = BrickColor.new(Color),
  848. Name = "Effect",
  849. Size = Vector3.new(0,0,0),
  850. Anchored = true,
  851. CFrame = CF.N(Pos)
  852. })
  853. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  854. Size = UDim2.new(1.25, 0, 1.25, 0),
  855. Adornee = EffectPart,
  856. })
  857. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  858. BackgroundTransparency = 1,
  859. Size = UDim2.new(1, 0, 1, 0),
  860. Text = Text,
  861. Font = "Arcade",
  862. TextColor3 = Color,
  863. TextStrokeColor3 = Color3.new(0,0,0),
  864. TextStrokeTransparency=0,
  865. TextScaled = true,
  866. })
  867. S.Debris:AddItem(EffectPart, (Time))
  868. EffectPart.Parent = workspace
  869. delay(0, function()
  870. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  871. local Frames = (Time / Rate)
  872. for Frame = 1, Frames do
  873. swait()
  874. local Percent = (Frame / Frames)
  875. TextLabel.TextTransparency = Percent
  876. TextLabel.TextStrokeTransparency = Percent
  877. end
  878. if EffectPart and EffectPart.Parent then
  879. EffectPart:Destroy()
  880. end
  881. end) end)()
  882. end
  883.  
  884. function Kill(whom)
  885. if(whom.Name ~= 'Nebula_Zorua')then
  886. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  887. coroutine.wrap(SoulSteal)(whom,isPlr)
  888. for _,v in next, whom:children() do
  889. if(v:IsA'BasePart')then
  890. v.Parent = Effects
  891. v:ClearAllChildren()
  892. v.Anchored = true
  893. v.CanCollide = false
  894. v.Transparency = 1
  895. local dust = NewInstance("ParticleEmitter",v,{
  896. Color = ColorSequence.new(C3.N(1,1,1)),
  897. LightEmission=0,
  898. LightInfluence=1,
  899. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  900. Texture="rbxassetid://284205403",
  901. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  902. Lifetime = NumberRange.new(1),
  903. Rate=150,
  904. Acceleration = V3.N(0,10,0),
  905. Speed = NumberRange.new(5),
  906. Enabled = true
  907. })
  908. delay(1, function()
  909. dust.Enabled = false
  910. S.Debris:AddItem(v,2)
  911. end)
  912. end
  913. end
  914. else
  915. warn"nope. nawt happenin'"
  916. end
  917. end
  918.  
  919. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  920. if(who)then
  921. local hum = who:FindFirstChildOfClass'Humanoid'
  922. local Damage = M.RNG(minDam,maxDam)
  923. local canHit = true
  924. if(hum)then
  925. for _, p in pairs(Hit) do
  926. if p[1] == hum then
  927. if(time() - p[2] < 0.4) then
  928. canHit = false
  929. else
  930. Hit[_] = nil
  931. end
  932. end
  933. end
  934. if(canHit)then
  935. table.insert(Hit,{hum,time()})
  936. if(GetTorso(who))then
  937. Sound(GetTorso(who),406913243,1,10,false,true,true)
  938. end
  939. if(hum.Health >= math.huge)then
  940. Kill(who)
  941. if(who:FindFirstChild'Head' and hum.Health > 0)then
  942. 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)
  943. end
  944. else
  945. local player = S.Players:GetPlayerFromCharacter(who)
  946. if(Type == "Fire")then
  947. --idk..
  948. else
  949. local c = Instance.new("ObjectValue",hum)
  950. c.Name = "creator"
  951. c.Value = Plr
  952. game:service'Debris':AddItem(c,0.35)
  953. local Crit = false
  954. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  955. Crit = true
  956. Damage = Damage*(critMult or 2)
  957. end
  958. Damage = Damage*((Souls/5)+1)
  959. if(who:FindFirstChild'Head' and hum.Health > 0)then
  960. 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))
  961. end
  962.  
  963. if(hum.Health - Damage <= 0)then
  964. Kill(who)
  965. else
  966. hum.Health = hum.Health - Damage
  967. if(Type == 'Knockback' and GetTorso(who))then
  968. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  969. local body = NewInstance('BodyVelocity',GetTorso(who),{
  970. P = 500,
  971. maxForce = V3.N(math.huge,0,math.huge),
  972. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  973. })
  974. game:service'Debris':AddItem(body,.5)
  975. elseif(Type == "Electric")then
  976. if(M.RNG(1,100) >= critChance)then
  977. if(who:FindFirstChild'Head' and hum.Health > 0)then
  978. 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)
  979. end
  980. local asd = hum.WalkSpeed/2
  981. hum.WalkSpeed = asd
  982. local paralyzed = true
  983. coroutine.wrap(function()
  984. while paralyzed do
  985. swait(25)
  986. if(M.RNG(1,25) == 1)then
  987. if(who:FindFirstChild'Head' and hum.Health > 0)then
  988. 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)
  989. end
  990. hum.PlatformStand = true
  991. end
  992. end
  993. end)()
  994. delay(4, function()
  995. paralyzed = false
  996. hum.WalkSpeed = hum.WalkSpeed + asd
  997. end)
  998. end
  999.  
  1000. elseif(Type == 'Knockdown' and GetTorso(who))then
  1001. local rek = GetTorso(who)
  1002. hum.PlatformStand = true
  1003. delay(1,function()
  1004. hum.PlatformStand = false
  1005. end)
  1006. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1007. local bodvol = NewInstance("BodyVelocity",rek,{
  1008. velocity = angle * Knock,
  1009. P = 5000,
  1010. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1011. })
  1012. local rl = NewInstance("BodyAngularVelocity",rek,{
  1013. P = 3000,
  1014. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1015. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1016. })
  1017. game:GetService("Debris"):AddItem(bodvol, .5)
  1018. game:GetService("Debris"):AddItem(rl, .5)
  1019. end
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end
  1027.  
  1028.  
  1029. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1030. for _,v in next, getRegion(where,range,{Char}) do
  1031. if(v.Name ~= 'Nebula_Zorua')then
  1032. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1033. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1034. end
  1035. end
  1036. end
  1037. end
  1038.  
  1039. function AOEKill(where,range)
  1040. for _,v in next, getRegion(where,range,{Char,Effects}) do
  1041. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  1042. if(v.Name ~= 'Nebula_Zorua')then
  1043. if(v.Parent and alive == true)then
  1044. coroutine.wrap(Kill)(v.Parent)
  1045. end
  1046. end
  1047. end
  1048. end
  1049.  
  1050. function AOEHeal(where,range,amount)
  1051. local healed = {}
  1052. for _,v in next, getRegion(where,range,{Char}) do
  1053. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1054. if(hum and not healed[hum])then
  1055. hum.Health = hum.Health + amount
  1056. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1057. 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)
  1058. end
  1059. end
  1060. end
  1061. end
  1062.  
  1063.  
  1064. --// Attack Functions \\--
  1065.  
  1066.  
  1067. function Slash()
  1068. Attack = true
  1069. NeutralAnims = false
  1070. local sound = Sound(Knife,437475935,1,5,false,true,false)
  1071. for i = 0, 2, 0.1 do
  1072. swait()
  1073. local Alpha = .2
  1074. 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)
  1075. 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)
  1076. 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)
  1077. 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)
  1078. 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)
  1079. 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)
  1080. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1081. end
  1082. KTrail.Enabled = true
  1083. sound:Play()
  1084. for i = 0, 2.5, 0.1 do
  1085. swait()
  1086. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  1087. local Alpha = .25
  1088. 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)
  1089. 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)
  1090. 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)
  1091. 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)
  1092. 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)
  1093. 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)
  1094. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1095. end
  1096. KTrail.Enabled = false
  1097. Attack = false
  1098. NeutralAnims = true
  1099. end
  1100.  
  1101. Mouse.Button1Down:connect(function()
  1102. if(Attack)then return end
  1103. Slash()
  1104. end)
  1105.  
  1106. Mouse.KeyDown:connect(function(k)
  1107. if(Attack)then return end
  1108. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  1109. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  1110. end)
  1111.  
  1112.  
  1113. function Refuse()
  1114. Attack = true
  1115. warn("But Its ReTurn")
  1116. local oMH = MaxHealth
  1117. MaxHealth = "inf"
  1118. Hum.MaxHealth = "inf"
  1119. Hum.Health = "inf"
  1120. Char.Parent = nil
  1121. Hum:destroy()
  1122. if(not _G.RefusedAnimation)then
  1123. _G.RefusedAnimation = true
  1124.  
  1125.  
  1126. local Soul;
  1127. function Soul(where,decalId)
  1128. local destroy = false
  1129. local soul = NewInstance("Part",workspace)
  1130. soul.Name = "Soul"
  1131. soul.Transparency=1
  1132. soul.Size = V3.N(2,2,.05)
  1133. soul.Anchored=true
  1134. soul.CanCollide=false
  1135. soul.CFrame = where
  1136. local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  1137. local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  1138. return soul,heartF,heartB
  1139. end
  1140. local owo = Root.CFrame
  1141. local s,f,b = Soul(owo,1569347904)
  1142. swait(60)
  1143. local snd = Sound(s,862552636,1,5,false,false,false)
  1144. snd:Play()
  1145. f.Texture = "rbxassetid://1569348344"
  1146. b.Texture = "rbxassetid://1569348344"
  1147. swait(15)
  1148. snd:Stop()
  1149. swait(60)
  1150. print'lol'
  1151. for i = 0, 6, .1 do
  1152. swait()
  1153. s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  1154. end
  1155. local snd = Sound(s,862552636,1,5,false,false,false)
  1156. snd:Play()
  1157. s.CFrame = owo
  1158. f.Texture = "rbxassetid://1569347904"
  1159. b.Texture = "rbxassetid://1569347904"
  1160. swait(15)
  1161. snd:Stop()
  1162. swait(60)
  1163.  
  1164. s:destroy()
  1165. end
  1166.  
  1167. RJ.Parent = Char
  1168. LS.Parent = Char
  1169. RS.Parent = Char
  1170. LH.Parent = Char
  1171. RH.Parent = Char
  1172. NK.Parent = Char
  1173.  
  1174. LArm.Parent = Char
  1175. RArm.Parent = Char
  1176. LLeg.Parent = Char
  1177. LArm.Parent = Char
  1178. Root.Parent = Char
  1179. Torso.Parent = Char
  1180. Head.Parent = Char
  1181.  
  1182. Knife.Parent = Char
  1183. Hair.Parent = Char
  1184.  
  1185. HW.Parent = Char
  1186. HW2.Parent = Char
  1187.  
  1188.  
  1189. REye:destroy()
  1190. LEye:destroy()
  1191.  
  1192. for _,v in next, Char:children() do
  1193. if(v.Name == 'ShadowFace')then v:destroy() end
  1194. end
  1195. LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1196. LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1197. LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1198.  
  1199. REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1200. REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1201. REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1202. for i = 1, 35 do
  1203. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1204. FACE.Transparency = 0+(i-1)/35.2
  1205. FACE.Name = 'ShadowFace'
  1206. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1207. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1208. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1209. end
  1210. Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1211. ConnectHum()
  1212. MaxHealth = oMH
  1213. Hum.MaxHealth = MaxHealth
  1214. Hum.Health = MaxHealth
  1215. swait(5)
  1216. Char.Parent = workspace
  1217.  
  1218. Attack = false
  1219. end
  1220.  
  1221. function ConnectHum()
  1222. Hum.Died:connect(Refuse)
  1223. end
  1224. ConnectHum()
  1225.  
  1226.  
  1227. --// Wrap it all up \\--
  1228. while true do
  1229. swait()
  1230. Sine = Sine + Change
  1231. if(not Music)then
  1232. Music = Sound(Torso,MusicID,1,3,true,false,true)
  1233. Music.Name = 'Music'
  1234. end
  1235. Music.Pitch = 1
  1236. Music.Volume = 5
  1237. Music.SoundId = "rbxassetid://"..MusicID
  1238. Music.Parent = Torso
  1239. Music:Resume()
  1240. 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)
  1241. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1242. 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")
  1243. if(not Effects or not Effects.Parent)then
  1244. Effects = IN("Model",Char)
  1245. Effects.Name = "Effects"
  1246. end
  1247. Hum.WalkSpeed = WalkSpeed
  1248. if(State == 'Walk')then
  1249. if(Hum.WalkSpeed >= 24)then
  1250. local wsVal = 22 / (Hum.WalkSpeed/16)
  1251. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1252. Change = 2
  1253. 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)
  1254. 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)
  1255. else
  1256. Change = .9
  1257. local wsVal = 8 / (Hum.WalkSpeed/8)
  1258. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1259. 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)
  1260. 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)
  1261. end
  1262. else
  1263. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1264. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1265. end
  1266. for _,v in next, Char:children() do
  1267. if(v:IsA'Accessory')then
  1268. v:destroy()
  1269. elseif(v:IsA'Shirt')then
  1270. v.ShirtTemplate = "rbxassetid://155329817"
  1271. elseif(v:IsA'Pants')then
  1272. v.PantsTemplate = "rbxassetid://155329869"
  1273. elseif(v:IsA'CharacterMesh')then
  1274. v:destroy()
  1275. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1276. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1277. end
  1278. end
  1279. local face = Head:FindFirstChild'face'
  1280. if(not face)then
  1281. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1282. else
  1283. face.Texture = "rbxassetid://404306534"
  1284. end
  1285. RArm.BrickColor = BrickColor.new'Pastel brown'
  1286. LArm.BrickColor = BrickColor.new'Pastel brown'
  1287. RLeg.BrickColor = BrickColor.new'Pastel brown'
  1288. LLeg.BrickColor = BrickColor.new'Pastel brown'
  1289. Torso.BrickColor = BrickColor.new'Pastel brown'
  1290. Head.BrickColor = BrickColor.new'Pastel brown'
  1291. Hum.Name = 'The Bad Killer'
  1292. if(Hum.MaxHealth ~= MaxHealth)then
  1293. Hum.MaxHealth = MaxHealth
  1294. end
  1295. Hum.DisplayDistanceType='None'
  1296. if(NeutralAnims)then
  1297. if(State == 'Idle')then
  1298. Change = 1
  1299. local Alpha = .1
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1307. -- idle
  1308. elseif(State == 'Walk')then
  1309. if(Hum.WalkSpeed >= 24)then
  1310. local wsVal = 22 / (Hum.WalkSpeed/16)
  1311. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1312. 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)
  1313. 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)
  1314. 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)
  1315. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1316. 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)
  1317. 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)
  1318. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1319. else
  1320. local wsVal = 8 / (Hum.WalkSpeed/8)
  1321. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1322. 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)
  1323. 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)
  1324. 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)
  1325. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1326. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1327. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1328. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1329. end
  1330. elseif(State == 'Jump' or State == 'Fall')then
  1331. if(Walking)then
  1332. local Alpha = .2
  1333. 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)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. 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)
  1339. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1340. else
  1341. local Alpha = .2
  1342. 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)
  1343. 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)
  1344. 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)
  1345. 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)
  1346. 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)
  1347. 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)
  1348. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1349. end
  1350. elseif(State == 'Paralyzed')then
  1351. -- paralyzed
  1352. elseif(State == 'Sit')then
  1353. -- sit
  1354. end
  1355. end
  1356. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement