Advertisement
wanTH092

DeathSide

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