Advertisement
valentino2016

KillBotV1 Fe

Feb 2nd, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.18 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. wait(1/60)
  88. -- Created by Nebula_Zorua --
  89. -- Killbot --
  90. -- A cyborg that got taken over by a virus --
  91. -- Discord: Nebula the Zorua#6969
  92. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  93.  
  94.  
  95. --// Initializing \\--
  96. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  97. local Plrs = S.Players
  98. local Plr = owner
  99. local Char = Plr.Character
  100. local Hum = Char:FindFirstChildOfClass'Humanoid'
  101. local RArm = Char["Right Arm"]
  102. local LArm = Char["Left Arm"]
  103. local RLeg = Char["Right Leg"]
  104. local LLeg = Char["Left Leg"]
  105. local Root = Char:FindFirstChild'HumanoidRootPart'
  106. local Torso = Char.Torso
  107. local Head = Char.Head
  108. local NeutralAnims = true
  109. local Attack = false
  110. local BloodPuddles = {}
  111. local Effects = {}
  112. local Debounces = {Debounces={}}
  113. local Hit = {}
  114. local Sine = 0
  115. local Idle = 0
  116. local Change = 1
  117. local FLArm,FRArm,FRArmW,FLArmW
  118. local Stunned = {}
  119. local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB
  120. --// Debounce System \\--
  121.  
  122.  
  123. function Debounces:New(name,cooldown)
  124. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  125. setmetatable(aaaaa,{__index = Debounces})
  126. Debounces.Debounces[name] = aaaaa
  127. return aaaaa
  128. end
  129.  
  130. function Debounces:Use(overrideUsable)
  131. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  132. if(self.Usable or overrideUsable)then
  133. self.Usable = false
  134. self.CoolingDown = true
  135. local LastUse = time()
  136. self.LastUse = LastUse
  137. delay(self.Cooldown or 2,function()
  138. if(self.LastUse == LastUse)then
  139. self.CoolingDown = false
  140. self.Usable = true
  141. end
  142. end)
  143. end
  144. end
  145.  
  146. function Debounces:Get(name)
  147. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  148. for i,v in next, Debounces.Debounces do
  149. if(i == name)then
  150. return v;
  151. end
  152. end
  153. end
  154.  
  155. function Debounces:GetProgressPercentage()
  156. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  157. if(self.CoolingDown and not self.Usable)then
  158. return math.max(
  159. math.floor(
  160. (
  161. (time()-self.LastUse)/self.Cooldown or 2
  162. )*100
  163. )
  164. )
  165. else
  166. return 100
  167. end
  168. end
  169.  
  170. --// Shortcut Variables \\--
  171. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  172. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  173. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  174. 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}
  175. local R3 = {N=Region3.new}
  176. local De = S.Debris
  177. local WS = workspace
  178. local Lght = S.Lighting
  179. local RepS = S.ReplicatedStorage
  180. local IN = Instance.new
  181.  
  182. --// Extended ROBLOX tables \\--
  183. local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end, ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  184. --// Customization \\--
  185.  
  186. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  187. local Remove_Hats = false
  188. local Remove_Clothing = false
  189. local PlayerSize = 1
  190. local DamageColor = BrickColor.new'Really red'
  191. local MusicID = 1030796589
  192. local MusicPitch = 1
  193. local BloodID = "rbxassetid://284205403"
  194. local BloodColor = BrickColor.new'Crimson'
  195. local BloodMaterial = Enum.Material.SmoothPlastic
  196.  
  197. --// Weapon and GUI creation, and Character Customization \\--
  198.  
  199. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  200. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  201. local Effects = IN("Folder",Char)
  202. Effects.Name = "Effects"
  203.  
  204. New = function(Object, Parent, Name, Data)
  205. local Object = Instance.new(Object)
  206. for Index, Value in pairs(Data or {}) do
  207. Object[Index] = Value
  208. end
  209. Object.Parent = Parent
  210. Object.Name = Name
  211. return Object
  212. end
  213.  
  214.  
  215.  
  216. CyborgArm = New("Model",Char,"CyborgArm",{})
  217. 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),})
  218. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  219. 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),})
  220. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  221. 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),})
  222. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  223. 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),})
  224. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  225. 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),})
  226. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  227. 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),})
  228. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.16000044, 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),})
  229. 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),})
  230. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  231. 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),})
  232. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  233. 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),})
  234. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  235. 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),})
  236. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  237. 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),})
  238. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),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(1, 0, 0),})
  239. 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),})
  240.  
  241. for _,v in next, CyborgArm:children() do
  242. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  243. end
  244.  
  245. pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye1.Material = 'Glass' end)
  246. pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end)
  247. pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end)
  248.  
  249.  
  250. if(PlayerSize ~= 1)then
  251. for _,v in next, Char:GetDescendats() do
  252. if(v:IsA'BasePart')then
  253. v.Size = v.Size * PlayerSize
  254. end
  255. end
  256. end
  257.  
  258. --// Instance Creation Functions \\--
  259.  
  260. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  261. local Sound = IN("Sound")
  262. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  263. Sound.Pitch = pitch or 1
  264. Sound.Volume = volume or 1
  265. Sound.Looped = looped or false
  266. if(autoPlay)then
  267. coroutine.wrap(function()
  268. repeat wait() until Sound.IsLoaded
  269. Sound.Playing = autoPlay or false
  270. end)()
  271. end
  272. if(not looped and effect)then
  273. Sound.Ended:connect(function()
  274. Sound.Volume = 0
  275. Sound:destroy()
  276. end)
  277. elseif(effect)then
  278. warn("Sound can't be looped and a sound effect!")
  279. end
  280. Sound.Parent =parent or Torso
  281. return Sound
  282. end
  283. function Part(parent,color,material,size,cframe,anchored,cancollide)
  284. local part = IN("Part")
  285. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  286. part.Material = material or Enum.Material.SmoothPlastic
  287. part.TopSurface,part.BottomSurface=10,10
  288. part.Size = size or V3.N(1,1,1)
  289. part.CFrame = cframe or CF.N(0,0,0)
  290. part.CanCollide = cancollide or false
  291. part.Anchored = anchored or false
  292. part.Parent = parent or Char
  293. return part
  294. end
  295.  
  296. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  297. local part = IN("SpecialMesh")
  298. part.MeshId = meshid or ""
  299. part.TextureId = textid or ""
  300. part.Scale = scale or V3.N(1,1,1)
  301. part.Offset = offset or V3.N(0,0,0)
  302. part.MeshType = meshtype or Enum.MeshType.Sphere
  303. part.Parent = parent
  304. return part
  305. end
  306.  
  307. NewInstance = function(instance,parent,properties)
  308. local inst = Instance.new(instance,parent)
  309. if(properties)then
  310. for i,v in next, properties do
  311. pcall(function() inst[i] = v end)
  312. end
  313. end
  314. return inst;
  315. end
  316.  
  317. --// Music Creation \\--
  318. local Music = Sound(Char,MusicID,MusicPitch,3,true,false,true)
  319. Music.Name = 'Music'
  320.  
  321. --// Stop animations \\--
  322. for _,v in next, Hum:GetPlayingAnimationTracks() do
  323. v:Stop();
  324. end
  325.  
  326. pcall(game.Destroy,Char:FindFirstChild'Animate')
  327. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  328.  
  329. --// Joints \\--
  330.  
  331. 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)})
  332. 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)})
  333. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  334. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  335. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  336. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  337. local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm})
  338.  
  339. local LSC0 = LS.C0
  340. local RSC0 = RS.C0
  341. local NKC0 = NK.C0
  342. local LHC0 = LH.C0
  343. local RHC0 = RH.C0
  344. local RJC0 = RJ.C0
  345.  
  346. --// Artificial HB \\--
  347.  
  348. local ArtificialHB = IN("BindableEvent", script)
  349. ArtificialHB.Name = "Heartbeat"
  350.  
  351. script:WaitForChild("Heartbeat")
  352.  
  353. local tf = 0
  354. local allowframeloss = false
  355. local tossremainder = false
  356. local lastframe = tick()
  357. local frame = 1/Frame_Speed
  358. ArtificialHB:Fire()
  359.  
  360. game:GetService("RunService").Heartbeat:connect(function(s, p)
  361. tf = tf + s
  362. if tf >= frame then
  363. if allowframeloss then
  364. script.Heartbeat:Fire()
  365. lastframe = tick()
  366. else
  367. for i = 1, math.floor(tf / frame) do
  368. ArtificialHB:Fire()
  369. end
  370. lastframe = tick()
  371. end
  372. if tossremainder then
  373. tf = 0
  374. else
  375. tf = tf - frame * math.floor(tf / frame)
  376. end
  377. end
  378. end)
  379.  
  380. function swait(num)
  381. if num == 0 or num == nil then
  382. ArtificialHB.Event:wait()
  383. else
  384. for i = 0, num do
  385. ArtificialHB.Event:wait()
  386. end
  387. end
  388. end
  389.  
  390.  
  391. --// Effect Function(s) \\--
  392.  
  393. function FakeWeld(p0,p1)
  394. local attachment0 = Instance.new('Attachment',p0)
  395. local attachment1 = Instance.new('Attachment',p1)
  396. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  397. end
  398.  
  399. function Fragment(v)
  400. v:ClearAllChildren()
  401. local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
  402. v.Archivable = true
  403. -- X
  404. v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
  405. v.Name = v.Name.."Fragment"
  406.  
  407. local a = v:Clone()
  408. a.Parent = Fragments
  409. a.CFrame = CF.N(-.5,1,1) * a.CFrame
  410. v.CFrame = CF.N(.5,1,1) * v.CFrame
  411. -- Y
  412. v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
  413.  
  414. local a = v:Clone()
  415. a.Parent = Fragments
  416. a.CFrame = CF.N(1,-.5,1) * a.CFrame
  417. v.CFrame = CF.N(1,.5,1) * v.CFrame
  418. -- Z
  419. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  420.  
  421. local a = v:Clone()
  422. a.Parent = Fragments
  423. a.CFrame = CF.N(1,1,-.5) * a.CFrame
  424. v.CFrame = CF.N(1,1,.5) * v.CFrame
  425.  
  426. v.Parent = Fragments
  427. return Fragments
  428. end
  429.  
  430. local blood = NewInstance("ParticleEmitter",nil,{
  431. Color = ColorSequence.new(BloodColor.Color),
  432. LightEmission=.1,
  433. LightInfluence=1,
  434. ZOffset=.9,
  435. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  436. Texture="rbxassetid://284205403",
  437. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  438. Acceleration = V3.N(0,-15,0),
  439. Lifetime = NumberRange.new(1,2),
  440. Rate=50,
  441. Speed = NumberRange.new(5,15),
  442. SpreadAngle = Vector2.new(15,15),
  443. Enabled = false,
  444. EmissionDirection = 'Back',
  445. })
  446.  
  447. local blood2 = NewInstance("ParticleEmitter",nil,{
  448. Color = ColorSequence.new(BloodColor.Color),
  449. LightEmission=.1,
  450. LightInfluence=1,
  451. ZOffset=.9,
  452. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  453. Texture=BloodID,
  454. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  455. Acceleration = V3.N(0,-125,0),
  456. Lifetime = NumberRange.new(1,2),
  457. Rate=50,
  458. Speed = NumberRange.new(5,15),
  459. SpreadAngle = Vector2.new(15,15),
  460. Enabled = false,
  461. EmissionDirection = 'Back',
  462. })
  463.  
  464. local blood3 = NewInstance("ParticleEmitter",nil,{
  465. Color = ColorSequence.new(BloodColor.Color),
  466. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)},
  467. Texture=BloodID,
  468. Lifetime = NumberRange.new(.4),
  469. Rate=50,
  470. LockedToPart=true,
  471. Speed = NumberRange.new(0,2),
  472. Enabled = false,
  473. })
  474.  
  475. function Blood(size,cframe,amount)
  476. local part = Instance.new("Part",Effects)
  477. part.Transparency = 1
  478. part.Size = size
  479. part.Anchored = true
  480. part.CanCollide = false
  481. part.CFrame = cframe
  482. S.Debris:AddItem(part,6)
  483. local prtcl = blood:Clone()
  484. prtcl.Parent = part
  485. prtcl:Emit(amount)
  486. return part, prtcl
  487. end
  488.  
  489. function Blood2(size,cframe)
  490. local part = Instance.new("Part",Effects)
  491. part.Transparency = 1
  492. part.Size = size
  493. part.Anchored = false
  494. part.CanCollide = false
  495. part.CFrame = cframe
  496. local prtcl = blood:Clone()
  497. prtcl.Enabled = true
  498. prtcl.Parent = part
  499. return part, prtcl
  500. end
  501.  
  502. function Blood3(size,cframe,amount)
  503. local part = Instance.new("Part",Effects)
  504. part.Transparency = 1
  505. part.Size = size
  506. part.Anchored = true
  507. part.CanCollide = false
  508. part.CFrame = cframe
  509. S.Debris:AddItem(part,6)
  510. local prtcl = blood2:Clone()
  511. prtcl.Parent = part
  512. prtcl:Emit(amount)
  513. return part, prtcl
  514. end
  515.  
  516. function Blood4(size,cframe)
  517. local part = Instance.new("Part",Effects)
  518. part.Transparency = 1
  519. part.Size = size
  520. part.Anchored = false
  521. part.CanCollide = false
  522. part.CFrame = cframe
  523. local prtcl = blood2:Clone()
  524. prtcl.Enabled = true
  525. prtcl.Parent = part
  526. return part, prtcl
  527. end
  528.  
  529.  
  530. function BloodDrop(pos,dir,maxsize)
  531. if(game.PlaceId ~= 843468296)then
  532. local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false})
  533. owo.CFrame=CF.N(pos,dir)
  534. local bv = Instance.new("BodyVelocity",owo)
  535. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  536. bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
  537. bv.Name = "MOVE"
  538. --[[local prt = blood3:Clone()
  539. prt.Parent = owo
  540. prt.Enabled = true]]
  541. delay(.01, function() bv:destroy() end)
  542. local touch;
  543. touch = owo.Touched:connect(function(hit)
  544. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  545. touch:disconnect()
  546. BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo)
  547. owo:destroy()
  548. end
  549. end)
  550. end
  551. end
  552.  
  553. function BloodPuddle(position,range,maxSize,where)
  554. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  555. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  556. ),{where,Char},false,true)
  557. if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  558. if(hit.Name == 'BloodPuddle')then
  559. local dist = (position - hit.Position).magnitude
  560. if (hit.Size.Z <= 5 and hit.Size.Z < maxSize) or (hit.Size.Z > 5 and hit.Size.Z < maxSize and dist < hit.Size.Z/3) then
  561. --hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  562. hit.Size = hit.Size + V3.N(.1,0,.1)
  563. end
  564. if(hit.Size.Z < 2)then
  565. pcall(function() hit.Sound:Play() end)
  566. end
  567. else
  568. local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  569. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  570. Sound(Puddle,685857471,1,2,false,false,true)
  571. coroutine.wrap(function()
  572. swait(75)
  573. repeat
  574. swait()
  575. Puddle.Size = Puddle.Size - V3.N(.02,0,.02)
  576. until Puddle.Size.Z < 0.51
  577. Puddle:destroy()
  578. end)()
  579. end
  580. end
  581. end
  582.  
  583. function recurse(root,callback,i)
  584. i= i or 0
  585. for _,v in pairs(root:GetChildren()) do
  586. i = i + 1
  587. callback(i,v)
  588.  
  589. if #v:GetChildren() > 0 then
  590. i = recurse(v,callback,i)
  591. end
  592. end
  593.  
  594. return i
  595. end
  596.  
  597. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  598. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  599. for i,v in pairs(character:GetChildren()) do
  600. if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
  601. v.Size = Vector3.new(1,1,1)
  602. end
  603. end
  604. if part1:FindFirstChildOfClass('Motor6D') then
  605. part1:FindFirstChildOfClass('Motor6D'):Remove()
  606. end
  607. if attachmentName ~= "NeckAttachment" then
  608. attachmentName = attachmentName.."RigAttachment"
  609. end
  610. local constraint = Instance.new(className.."Constraint")
  611. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  612. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  613. constraint.Name = "RagdollConstraint"..part1.Name
  614. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  615. local collidepart = Instance.new('Part',part1)
  616. collidepart.Size = part1.Size/2
  617. if string.find(string.lower(part1.Name),"upper") then
  618. if string.find(string.lower(part1.Name),"leg") then
  619. collidepart.Size = part1.Size/3
  620. else
  621. collidepart.Size = part1.Size/2.5
  622. end
  623. end
  624. collidepart.CanCollide = true
  625. collidepart.Name = "RagdollJoint"
  626. collidepart.Anchored = false
  627. collidepart.Transparency = 1
  628. collidepart.CFrame = part1.CFrame
  629. collidepart:BreakJoints()
  630. local attachment0 = Instance.new('Attachment',part1)
  631. local attachment1 = Instance.new('Attachment',collidepart)
  632. if attachment0 and attachment1 then
  633. local constraint = Instance.new("HingeConstraint")
  634. constraint.Attachment0 = attachment0
  635. constraint.Attachment1 = attachment1
  636. constraint.LimitsEnabled = true
  637. constraint.UpperAngle = 0
  638. constraint.LowerAngle = 0
  639. constraint.Parent = character
  640. end
  641. if string.find(string.lower(part1.Name),"upper") then
  642. if string.find(string.lower(part1.Name),"leg") then
  643. attachment0.Position = Vector3.new(0,0.01,0)
  644. else
  645. attachment0.Position = Vector3.new(0,0.25,0)
  646. end
  647. else
  648. attachment0.Position = Vector3.new(0,-0.1,0)
  649. end
  650. end
  651. for _,propertyData in next,properties or {} do
  652. constraint[propertyData[1]] = propertyData[2]
  653. end
  654. constraint.Parent = character
  655. return constraint
  656. end
  657. end
  658.  
  659.  
  660. function getAttachment0(character,attachmentName)
  661. for _,child in next,character:children() do
  662. local attachment = child:FindFirstChild(attachmentName)
  663. if attachment then
  664. return attachment
  665. end
  666. end
  667. end
  668.  
  669.  
  670. function Ragdoll(who,half,snapped)
  671. pcall(function()
  672. who:breakJoints()
  673. local who = who
  674. local hhh = who:FindFirstChildOfClass'Humanoid'
  675. local t = GetTorso(who)
  676. pcall(function()
  677. who.HumanoidRootPart:destroy()
  678. end)
  679. hhh.Health = 0
  680. Stunned[who] = true
  681. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  682. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  683. pcall(function()
  684. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  685. FakeWeld(RA,CollideRA) end
  686. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  687. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  688. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  689. end)
  690. pcall(function()
  691. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  692. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  693.  
  694. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  695.  
  696. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  697. FakeWeld(LA,CollideLA) end
  698. end)
  699. pcall(function()
  700. if(HD)then
  701. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  702. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  703. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  704. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  705.  
  706. if(snapped)then
  707. NJ.Orientation = V3.N(0,90,0)
  708. end
  709. if(hhh.Health > 0)then
  710. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  711. FakeWeld(HD,CollideHD)
  712. end
  713. end
  714. end)
  715. if(not half)then
  716. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  717. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  718. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  719. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  720. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  721. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  722. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  723. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  724.  
  725. FakeWeld(RL,CollideRL)
  726. FakeWeld(LL,CollideLL) end
  727. end
  728. for _,v in next, who:children() do
  729. if(v:IsA'BasePart')then
  730. v.CanCollide = true
  731. end
  732. end
  733. else
  734. local character = who
  735.  
  736. if(half)then
  737. pcall(function()
  738. character.UpperTorso.WaistRigAttachment:Destroy()
  739. end)
  740. end
  741.  
  742. local handProperties = {
  743. {"LimitsEnabled", true};
  744. {"UpperAngle",0};
  745. {"LowerAngle",0};
  746. }
  747. local footProperties = {
  748. {"LimitsEnabled", true};
  749. {"UpperAngle", 15};
  750. {"LowerAngle", -45};
  751. }
  752. local shinProperties = {
  753. {"LimitsEnabled", true};
  754. {"UpperAngle", 0};
  755. {"LowerAngle", -75};
  756. }
  757. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  758. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  759. end
  760. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  761. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  762. end
  763. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  764. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  765. end
  766. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  767. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  768. end
  769. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  770. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  771. end
  772. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  773. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  774. end
  775. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  776. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  777. end
  778. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  779. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  780. end
  781. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  782. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  783. end
  784. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  785. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  786. end
  787. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  788. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  789. end
  790. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  791. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  792. end
  793. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  794. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  795. {"LimitsEnabled",true};
  796. {"UpperAngle",5};
  797. {"Radius",5};
  798. })
  799. end
  800. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  801. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  802. {"LimitsEnabled",true};
  803. {"UpperAngle",50};
  804. {"LowerAngle",-50};
  805. })
  806. end
  807. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  808. {"LimitsEnabled",true};
  809. {"UpperAngle",50};
  810. {"LowerAngle",-50};
  811. })
  812.  
  813. recurse(character, function(_,v)
  814. if v:IsA("Attachment") then
  815. v.Axis = Vector3.new(0, 1, 0)
  816. v.SecondaryAxis = Vector3.new(0, 0, 1)
  817. v.Rotation = Vector3.new(0, 0, 0)
  818. if(v.Parent == character.Head and snapped)then
  819. v.Orientation = V3.N(0,-90,0)
  820. end
  821. end
  822. end)
  823. end
  824. end)
  825. end
  826.  
  827.  
  828. function Bezier(startpos, pos2, pos3, endpos, t)
  829. local A = startpos:lerp(pos2, t)
  830. local B = pos2:lerp(pos3, t)
  831. local C = pos3:lerp(endpos, t)
  832. local lerp1 = A:lerp(B, t)
  833. local lerp2 = B:lerp(C, t)
  834. local cubic = lerp1:lerp(lerp2, t)
  835. return cubic
  836. end
  837.  
  838. function Effect(data)
  839. local FX = data.Effect or 'Resize-AndFade'
  840. local Parent = data.Parent or Effects
  841. local Color = data.Color or C3.N(0,0,0)
  842. local Size = data.Size or V3.N(1,1,1)
  843. local MoveDir = data.MoveDirection or nil
  844. local MeshData = data.Mesh or nil
  845. local SndData = data.Sound or nil
  846. local Frames = data.Frames or 45
  847. local Manual = data.Manual or nil
  848. local Material = data.Material or nil
  849. local CFra = data.CFrame or Torso.CFrame
  850. local Settings = data.FXSettings or {}
  851. local Snd,Prt,Msh;
  852. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  853. Prt = Manual
  854. else
  855. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  856. end
  857. if(typeof(MeshData) == 'table')then
  858. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  859. elseif(typeof(MeshData) == 'Instance')then
  860. Msh = MeshData:Clone()
  861. Msh.Parent = Prt
  862. end
  863. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  864. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  865. end
  866. if(Snd)then
  867. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  868. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  869. end
  870. local MoveSpeed = nil;
  871. if(MoveDir)then
  872. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  873. end
  874. local Inc = M.RNG()-M.RNG()
  875. local Thingie = 0
  876. local Thingie2 = M.RNG(50,100)/100
  877.  
  878. coroutine.wrap(function()
  879. if(FX ~= 'Arc')then
  880. for i = 1, Frames do
  881. if(FX == 'Resize-AndFade')then
  882. if(not Settings.EndSize)then
  883. Settings.EndSize = V3.N(0,0,0)
  884. end
  885. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  886. if(Settings.EndIsIncrement)then
  887. Prt.Size = Prt.Size - Settings.EndSize
  888. else
  889. Prt.Size = Prt.Size - grow/Frames
  890. end
  891. Prt.Transparency = (i/Frames)
  892. elseif(FX == 'Resize+AndFade')then
  893. if(not Settings.EndSize)then
  894. Settings.EndSize = Size*2
  895. end
  896. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  897. if(Settings.EndIsIncrement)then
  898. Prt.Size = Prt.Size + Settings.EndSize
  899. else
  900. Prt.Size = Prt.Size + grow/Frames
  901. end
  902. Prt.Transparency = (i/Frames)
  903. elseif(FX == 'Fade')then
  904. Prt.Transparency = (i/Frames)
  905. end
  906. if(Settings.RandomizeCFrame)then
  907. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  908. end
  909. if(MoveDir and MoveSpeed)then
  910. local Orientation = Prt.Orientation
  911. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  912. Prt.Orientation = Orientation
  913. end
  914. if(swait and typeof(swait) == 'function')then
  915. swait()
  916. else
  917. wait()
  918. end
  919. end
  920. Prt:destroy()
  921. else
  922. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  923. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  924. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  925. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  926. assert(start ~= nil,"You need to specify a start point!")
  927. assert(endP ~= nil,"You need to specify an end point!")
  928. for i = 0, 1, Settings.Speed or 0.01 do
  929. if(Settings.Home)then
  930. endP = Settings.Home.CFrame
  931. end
  932. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  933. if(swait and typeof(swait) == 'function')then
  934. swait()
  935. else
  936. wait()
  937. end
  938. end
  939. if(Settings.RemoveOnGoal)then
  940. Prt:destroy()
  941. end
  942. end
  943. end)()
  944. return Prt,Msh,Snd
  945. end
  946.  
  947.  
  948. function SoulSteal(character)
  949. local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart')
  950. print(torso)
  951. if(torso and torso:IsA'BasePart')then
  952. local Model = Instance.new("Model",Effects)
  953. Model.Name = character.Name.."'s Soul"
  954. character:BreakJoints()
  955. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  956. Soul.Name = 'Head'
  957. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  958. Effect{
  959. Effect="Arc",
  960. Manual = Soul,
  961. FXSettings={
  962. Start=torso.CFrame,
  963. Home = Torso,
  964. RemoveOnGoal = true,
  965. }
  966. }
  967. local lastPoint = Soul.CFrame.p
  968.  
  969. for i = 0, 1, 0.01 do
  970. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  971. local mag = (lastPoint - Soul.Position).magnitude
  972. Effect{
  973. Effect = "Fade",
  974. CFrame = point * CF.N(0, mag/2, 0),
  975. Size = V3.N(.5,mag+.5,.5),
  976. Color = Soul.BrickColor
  977. }
  978. lastPoint = Soul.CFrame.p
  979. swait()
  980. end
  981. for i = 1, 5 do
  982. Effect{
  983. Effect="Fade",
  984. Color = BrickColor.new'Really red',
  985. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  986. }
  987. end
  988. end
  989. end
  990.  
  991. --// Other Functions \\ --
  992.  
  993. function getRegion(point,range,ignore)
  994. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  995. end
  996.  
  997. function clerp(startCF,endCF,alpha)
  998. return startCF:lerp(endCF, alpha)
  999. end
  1000.  
  1001. function GetTorso(char)
  1002. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  1003. end
  1004.  
  1005.  
  1006.  
  1007. function ShowDamage(Pos, Text, Time, Color)
  1008. coroutine.wrap(function()
  1009. local Rate = (1 / 30)
  1010. local Pos = (Pos or Vector3.new(0, 0, 0))
  1011. local Text = (Text or "")
  1012. local Time = (Time or 2)
  1013. local Color = (Color or Color3.new(1, 0, 1))
  1014. local EffectPart = NewInstance("Part",Effects,{
  1015. Material=Enum.Material.SmoothPlastic,
  1016. RArmlectance = 0,
  1017. Transparency = 1,
  1018. BrickColor = BrickColor.new(Color),
  1019. Name = "Effect",
  1020. Size = Vector3.new(0,0,0),
  1021. Anchored = true
  1022. })
  1023. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1024. Size = UDim2.new(1.25, 0, 1.25, 0),
  1025. Adornee = EffectPart,
  1026. })
  1027. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1028. BackgroundTransparency = 1,
  1029. Size = UDim2.new(1, 0, 1, 0),
  1030. Text = Text,
  1031. Font = "Arial",
  1032. TextColor3 = Color,
  1033. TextStrokeColor3 = Color3.new(0,0,0),
  1034. TextStrokeTransparency=0,
  1035. TextScaled = true,
  1036. })
  1037. game.Debris:AddItem(EffectPart, (Time))
  1038. EffectPart.Parent = game:GetService("Workspace")
  1039. delay(0, function()
  1040. local Frames = (Time / Rate)
  1041. for Frame = 1, Frames do
  1042. wait(Rate)
  1043. local Percent = (Frame / Frames)
  1044. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1045. TextLabel.TextTransparency = Percent
  1046. TextLabel.TextStrokeTransparency = Percent
  1047. end
  1048. if EffectPart and EffectPart.Parent then
  1049. EffectPart:Destroy()
  1050. end
  1051. end) end)()
  1052. end
  1053.  
  1054.  
  1055. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1056. if(who)then
  1057. local hum = who:FindFirstChildOfClass'Humanoid'
  1058. local Damage = M.RNG(minDam,maxDam)
  1059. local canHit = true
  1060. if(hum)then
  1061. for _, p in pairs(Hit) do
  1062. if p[1] == hum then
  1063. if(time() - p[2] < 0.1) then
  1064. canHit = false
  1065. else
  1066. Hit[_] = nil
  1067. end
  1068. end
  1069. end
  1070. if(canHit)then
  1071. if(hum.Health >= math.huge)then
  1072. who:BreakJoints()
  1073. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1074. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  1075. end
  1076. else
  1077. local player = S.Players:GetPlayerFromCharacter(who)
  1078. if(Type == "Fire")then
  1079. --idk..
  1080. else
  1081. local c = Instance.new("ObjectValue",hum)
  1082. c.Name = "creator"
  1083. c.Value = Plr
  1084. game:service'Debris':AddItem(c,0.35)
  1085. if(M.RNG(1,100) <= (critChance or 0))then
  1086. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1087. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  1088. end
  1089. hum.Health = hum.Health - Damage*(critMult or 2)
  1090. else
  1091. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1092. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
  1093. end
  1094. hum.Health = hum.Health - Damage
  1095. end
  1096. if(Type == 'Knockback' and GetTorso(who))then
  1097. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1098. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1099. P = 500,
  1100. maxForce = V3.N(math.huge,0,math.huge),
  1101. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1102. })
  1103. game:service'Debris':AddItem(body,.5)
  1104. elseif(Type == 'Knockdown' and GetTorso(who))then
  1105. local rek = GetTorso(who)
  1106. print(rek)
  1107. hum.PlatformStand = true
  1108. delay(1,function()
  1109. hum.PlatformStand = false
  1110. end)
  1111. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1112. local bodvol = NewInstance("BodyVelocity",rek,{
  1113. velocity = angle * Knock,
  1114. P = 5000,
  1115. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1116. })
  1117. local rl = NewInstance("BodyAngularVelocity",rek,{
  1118. P = 3000,
  1119. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1120. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1121. })
  1122. game:GetService("Debris"):AddItem(bodvol, .5)
  1123. game:GetService("Debris"):AddItem(rl, .5)
  1124. end
  1125. end
  1126. end
  1127. end
  1128. table.insert(Hit,{hum,time()})
  1129. end
  1130. end
  1131. end
  1132.  
  1133. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  1134. for _,v in next, getRegion(where,range,{Char}) do
  1135. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1136. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  1137. end
  1138. end
  1139. end
  1140.  
  1141. function AOEFunction(where,range,callback)
  1142. for _,v in next, getRegion(where,range,{Char}) do
  1143. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1144. callback(v.Parent)
  1145. end
  1146. end
  1147. end
  1148.  
  1149. function ClosestHumanoid(pos,range)
  1150. local mag,closest = math.huge;
  1151. for _,v in next, getRegion(pos,range or 10,{Char}) do
  1152. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1153. if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
  1154. mag = (v.CFrame.p-pos).magnitude
  1155. closest = hum
  1156. end
  1157. end
  1158. return closest,(closest and GetTorso(closest.Parent) or nil)
  1159. end
  1160.  
  1161. function AOEHeal(where,range,amount)
  1162. local healed = {}
  1163. for _,v in next, getRegion(where,range,{Char}) do
  1164. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1165. if(hum and not healed[hum])then
  1166. hum.Health = hum.Health + amount
  1167. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1168. 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'Really red'.Color)
  1169. end
  1170. end
  1171. end
  1172. end
  1173. --// Attack Function \\--
  1174.  
  1175. function Equip_Sawblade()
  1176. for i = 1, 5 do
  1177. Effect{
  1178. Effect='Resize+AndFade',
  1179. Color = BrickColor.new'Really red',
  1180. Material = Enum.Material.Neon,
  1181. Size=V3.N(3.5,3.5,3.5),
  1182. CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1183. FXSettings={
  1184. EndSize=V3.N(.05,.05,.05),
  1185. EndIsIncrement=true,
  1186.  
  1187. }
  1188. }
  1189. end
  1190. local prt = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(),false,false)
  1191. prt.Transparency = .5
  1192. local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,3),V3.N())
  1193. local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)})
  1194. return prt,weld
  1195. end
  1196.  
  1197. function The_Necc()
  1198. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1199. if(torso)then
  1200. local who = torso.Parent
  1201. Attack = true
  1202. NeutralAnims = false
  1203. who.Parent = Char
  1204. local oRoot
  1205. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1206. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1207. for i = 0, 4, 0.1 do
  1208. swait()
  1209. humanoid.PlatformStand = true
  1210. local Alpha = .15
  1211. RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
  1212. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1213. RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1214. LS.C0 = clerp(LS.C0,CFrame.new(-1.0486517, 0.929213107, -0.824554026, 0.712753832, -0.694763601, -0.0963225588, 0.0692147464, 0.206324935, -0.976032555, 0.697985768, 0.689004064, 0.195146814),Alpha)
  1215. RS.C0 = clerp(RS.C0,CFrame.new(0.386394978, 1.64370263, -1.084023, -0.617445648, -0.751786709, -0.231452331, -0.0510570146, 0.331923157, -0.941923738, 0.784950197, -0.569769561, -0.243328467),Alpha)
  1216. NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
  1217. end
  1218. gWeld:destroy()
  1219. if(who:FindFirstChild'Head')then
  1220. local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false)
  1221. s:Play()
  1222. s.Ended:connect(function() s:Destroy() end)
  1223. end
  1224. who.Parent = workspace
  1225. humanoid.Health = 0
  1226. Ragdoll(who,false,true)
  1227. for i = 0, 1.5, 0.1 do
  1228. swait()
  1229. humanoid.PlatformStand = true
  1230. local Alpha = .3
  1231. RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
  1232. LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1233. RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
  1234. LS.C0 = clerp(LS.C0,CFrame.new(-1.47842193, 0.485131323, -0.0262347199, 0.0664671659, 0.993123412, -0.0963359103, -0.201927185, -0.0811635256, -0.976031899, -0.977139056, 0.0843269154, 0.195143938),Alpha)
  1235. RS.C0 = clerp(RS.C0,CFrame.new(2.33067179, 0.249403879, 0.270489573, 0.171869993, 0.978404701, -0.114792682, 0.105083257, -0.134070903, -0.985384524, -0.979495406, 0.157295257, -0.125856698),Alpha)
  1236. NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
  1237. end
  1238. Attack = false
  1239. NeutralAnims = true
  1240. end
  1241. end
  1242.  
  1243. function Hands_Off()
  1244. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1245.  
  1246. if(torso)then
  1247. local who = torso.Parent
  1248. local doAttack = false
  1249. Instance.AllChildren(who,function(v)
  1250. if(v.Name:lower():find"arm")then
  1251. doAttack = true
  1252. end
  1253. end, true)
  1254. if(not doAttack)then return end
  1255. Hum.WalkSpeed = 0
  1256. Hum.JumpPower = 0
  1257. Attack = true
  1258. NeutralAnims = false
  1259. who.Parent = Char
  1260. local oRoot
  1261. pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
  1262. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
  1263. for i = 0, 4, 0.1 do
  1264. swait()
  1265. humanoid.PlatformStand = true
  1266. local Alpha = .15
  1267. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1268. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1269. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1270. LS.C0 = clerp(LS.C0,CFrame.new(-1.42285931, 0.338565946, -0.110074639, 0.983876407, 0.1786367, 0.00868223887, -0.0932332501, 0.553717494, -0.827468753, -0.152623802, 0.813317537, 0.561444461),Alpha)
  1271. RS.C0 = clerp(RS.C0,CFrame.new(1.374735, 0.282860518, -0.133752465, 0.973415911, -0.228878334, 0.00868532527, 0.135509402, 0.544919252, -0.827466309, 0.184656292, 0.806645751, 0.561448157),Alpha)
  1272. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1273. end
  1274. local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor
  1275. local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor
  1276. Sound(torso,1093102664,.85,5,false,true,true)
  1277. Sound(torso,429400881,1,1,false,true,true)
  1278. FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1279. Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
  1280. FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
  1281. Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())
  1282. FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1283. FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
  1284. Instance.AllChildren(who,function(v)
  1285. if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then
  1286. v:destroy()
  1287. end
  1288. end, true)
  1289. if(not VoidSB)then
  1290. coroutine.wrap(function()
  1291. repeat swait()
  1292. BloodDrop(torso.CFrame * CF.N(-.5,.5,0).p,torso.CFrame * CF.N(-1,.5,0).p,15)
  1293. BloodDrop(torso.CFrame * CF.N(.5,.5,0).p,torso.CFrame * CF.N(1,.5,0).p,15)
  1294. humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1295. humanoid.Health = 0
  1296. end)()
  1297. else
  1298. coroutine.wrap(function()
  1299. repeat swait() humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
  1300. humanoid.Health = 0
  1301. end)()
  1302.  
  1303. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1304. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1305. prt1.Parent = torso;
  1306. prt2.Parent = torso;
  1307. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)})
  1308. local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)})
  1309. end
  1310.  
  1311. humanoid.Died:connect(function()
  1312. Ragdoll(who)
  1313. end)
  1314. who.Parent = workspace
  1315.  
  1316. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1317. local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1318. prt1.Parent = FRArm;
  1319. prt2.Parent = FLArm;
  1320. local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)})
  1321. local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)})
  1322. gWeld:destroy()
  1323. humanoid.PlatformStand = false
  1324. if(oRoot)then
  1325. oRoot.Parent = who
  1326. if(who:FindFirstChild('RootJoint',true))then
  1327. oRoot.RootJoint.Part0 = oRoot
  1328. oRoot.RootJoint.Part1 = torso
  1329. else
  1330. humanoid:BuildRigFromAttachments()
  1331. end
  1332. end
  1333.  
  1334.  
  1335. for i = 0, 3, 0.1 do
  1336. swait()
  1337. local Alpha = .15
  1338. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1339. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1340. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1341. LS.C0 = clerp(LS.C0,CFrame.new(-1.25778806, 0.320386261, -0.139421374, 0.690939784, 0.722859621, 0.00868486147, -0.400907725, 0.393146276, -0.827471495, -0.601560116, 0.568251252, 0.561440408),Alpha)
  1342. RS.C0 = clerp(RS.C0,CFrame.new(1.39739037, 0.354236364, -0.0289047062, 0.709462166, -0.704689503, 0.00868486147, 0.400770277, 0.393286407, -0.827471495, 0.579694867, 0.59054029, 0.561440408),Alpha)
  1343. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1344. end
  1345. Hum.WalkSpeed = 16
  1346. Hum.JumpPower = 50
  1347. Attack = false
  1348. NeutralAnims = true
  1349. end
  1350. end
  1351. function ScrewMe()
  1352. Attack = true
  1353. NeutralAnims = false
  1354. for i = 0, 2, 0.1 do
  1355. swait()
  1356. local Alpha = .15
  1357. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1358. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1359. RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1360. LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
  1361. RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
  1362. NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
  1363. end
  1364. local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false)
  1365. local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N())
  1366. local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)})
  1367. for i = 1, 3 do
  1368. for i = 0, 2, 0.1 do
  1369. swait()
  1370. local Alpha = .15
  1371. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1372. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1373. RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1374. LS.C0 = clerp(LS.C0,CFrame.new(-0.971063137, 0.544531465, -0.856619298, 0.824469268, -0.565411985, 0.0236563906, 0.239681676, 0.311018854, -0.919684827, 0.512643158, 0.763921857, 0.391944379),Alpha)
  1375. RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
  1376. NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
  1377. driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.754458785, -0.945940197, 0.0140114268, -0.867547691, -0.497354031, 8.15391541e-05, -7.91847706e-05, 0.00030207634, 1, -0.49735406, 0.867547691, -0.000301415101),Alpha)
  1378. end
  1379. for i = 0, 2, 0.1 do
  1380. swait()
  1381. local Alpha = .15
  1382. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1383. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1384. RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1385. LS.C0 = clerp(LS.C0,CFrame.new(-0.952282608, 0.388567954, -0.813911676, 0.824469686, -0.527844906, 0.204033226, 0.23967658, -0.000909555703, -0.970852435, 0.512645066, 0.849340379, 0.12576215),Alpha)
  1386. RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
  1387. NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
  1388. driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.75445646, -0.891306043, 0.317142308, -0.867489815, -0.183382571, -0.462420344, -0.159916192, -0.777427077, 0.608304381, -0.471050501, 0.601646185, 0.645084083),Alpha)
  1389. end
  1390. end
  1391. for i = 0, 2, 0.1 do
  1392. swait()
  1393. local Alpha = .15
  1394. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
  1395. LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1396. RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
  1397. LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
  1398. RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
  1399. NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
  1400. end
  1401. screwdriver:destroy()
  1402. Attack = false
  1403. NeutralAnims = true
  1404. end
  1405. function SliceYou()
  1406. Attack = true
  1407. NeutralAnims = false
  1408. local saw,weld = Equip_Sawblade()
  1409. for i = 0, 2, 0.1 do
  1410. swait()
  1411. local Alpha = .15
  1412. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0029785831, 0.00629174896, 0.00529580005, 0.517270923, -0.00537902303, -0.855804324, 0, 0.99998033, -0.00628521619, 0.855821192, 0.00325116003, 0.517260671),Alpha)
  1413. LH.C0 = clerp(LH.C0,CFrame.new(-0.524694026, -0.992068648, -0.177415758, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
  1414. RH.C0 = clerp(RH.C0,CFrame.new(0.863649905, -0.990154982, 0.147100359, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
  1415. LS.C0 = clerp(LS.C0,CFrame.new(-1.15776694, 0.555799365, -0.115642846, -0.0494773015, 0.838752568, -0.54226011, -0.986161113, -0.127040714, -0.106522933, -0.15823549, 0.529485285, 0.833430767),Alpha)
  1416. RS.C0 = clerp(RS.C0,CFrame.new(1.41811252, 0.715449214, 0.00713690743, 0.924166977, -0.38166979, 0.0156050026, 0.381617904, 0.924298882, 0.00629791059, -0.0168274939, 0.00013487041, 0.999858379),Alpha)
  1417. NK.C0 = clerp(NK.C0,CFrame.new(-0.0103359073, 1.49896884, -0.0121970959, 0.517271042, -0.0492044352, 0.854405463, -0.00537938019, 0.998139322, 0.0607386976, -0.855804205, -0.0360145383, 0.516043782),Alpha)
  1418. end
  1419. for i = 0, 3, 0.1 do
  1420. swait()
  1421. local Alpha = .3
  1422. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0750166476, 0.00629172707, 0.115993313, -0.407934308, 0.00573777966, 0.912992895, 0, 0.99998033, -0.00628445856, -0.913010895, -0.00256364676, -0.407926261),Alpha)
  1423. LH.C0 = clerp(LH.C0,CFrame.new(-0.702545583, -0.991440296, -0.0774632096, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
  1424. RH.C0 = clerp(RH.C0,CFrame.new(0.572302818, -0.991491556, -0.0655612499, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
  1425. LS.C0 = clerp(LS.C0,CFrame.new(-1.42436278, 0.674626052, -0.273927838, 0.816972971, 0.196224883, -0.54226476, -0.298526257, 0.948434591, -0.106555678, 0.493393689, 0.248933315, 0.833423615),Alpha)
  1426. RS.C0 = clerp(RS.C0,CFrame.new(1.39865923, 0.565930247, 0.00839936361, -0.125458091, -0.991975904, 0.0156244934, 0.992089748, -0.125373363, 0.00629395852, -0.00428455323, 0.0162905455, 0.99985826),Alpha)
  1427. NK.C0 = clerp(NK.C0,CFrame.new(0.141048998, 1.4988662, -0.0285577606, -0.407934487, 0.0524925366, -0.911500514, 0.0057374211, 0.998473644, 0.054933507, 0.912992835, 0.0171796028, -0.40761295),Alpha)
  1428. end
  1429. local sound = Sound(Torso,367720620,false,false,false)
  1430. sound:Play()
  1431. for i = 0, 6, .1 do
  1432. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1433. swait()
  1434. end
  1435. for i = 0, 2, .1 do
  1436. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1437. swait()
  1438. end
  1439. sound:Play()
  1440. for i = 0, 1, .1 do
  1441. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
  1442. swait()
  1443. end
  1444. sound:Play()
  1445. for i = 0, 5, .1 do
  1446. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3)
  1447. swait()
  1448. end
  1449. for i = 1, 5 do
  1450. Effect{
  1451. Effect='Resize+AndFade',
  1452. Color = BrickColor.new'Really red',
  1453. Material = Enum.Material.Neon,
  1454. Size=V3.N(3.5,3.5,3.5),
  1455. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1456. FXSettings={
  1457. EndSize=V3.N(.05,.05,.05),
  1458. EndIsIncrement=true,
  1459.  
  1460. }
  1461. }
  1462. end
  1463. saw:destroy()
  1464. Attack = false
  1465. NeutralAnims = true
  1466. end
  1467. function Taunt()
  1468. local tauntFuncs = {SliceYou,ScrewMe}
  1469. local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)]
  1470. taunt()
  1471. end
  1472. function Aids()
  1473. Music.Playing = false
  1474. local DabSounds = {420701444,420701460,420701487}
  1475. local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false)
  1476. repeat swait() until DabSnd.IsLoaded
  1477. DabSnd:Play()
  1478. DabSnd.Ended:connect(function()DabSnd:destroy()end)
  1479. Attack = true
  1480. NeutralAnims = false
  1481. local a = 0
  1482. for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do
  1483. a = a + 1
  1484. swait()
  1485. local Alpha = .3
  1486. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0561925545, 0.006292901+.2*M.C(a/16), -0.00967639871, 0.961586297, 0.00172359415, 0.274496257, 0, 0.99998033, -0.00627899449, -0.274501652, 0.00603779452, 0.961567342),Alpha)
  1487. LH.C0 = clerp(LH.C0,CFrame.new(-0.593769729, -0.99042201-.2*M.C(a/16), 0.0849506408, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
  1488. RH.C0 = clerp(RH.C0,CFrame.new(0.468464553, -0.991293669-.2*M.C(a/16), -0.0339690484, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
  1489. LS.C0 = clerp(LS.C0,CFrame.new(-1.15301001, 0.367895871, -0.145940349+.2*M.C(a/16), 0.375669211, 0.913452208, -0.156454355, -0.926753879, 0.37026915, -0.0634673014, -4.41223383e-05, 0.168837398, 0.985643983),Alpha)
  1490. RS.C0 = clerp(RS.C0,CFrame.new(0.998128295, 0.633566499, -0.753388047+.2*M.C(a/16), 0.594308019, 0.804203451, 0.00742085278, -0.383671522, 0.29161948, -0.876215935, -0.706819832, 0.517895043, 0.481861711),Alpha)
  1491. NK.C0 = clerp(NK.C0,CFrame.new(0.207638323, 1.47957158, -0.302699238, 0.745848298, 0.476892024, -0.465063959, 0.0606503561, 0.646653771, 0.760368645, 0.663349032, -0.595326006, 0.453382045),Alpha)
  1492. end
  1493. Music.Playing = true
  1494. Attack = false
  1495. NeutralAnims = true
  1496. end
  1497.  
  1498. function OnceWas(who)
  1499. for _,v in next, who:children() do
  1500. if(v:IsA'BasePart')then
  1501. Effect{
  1502. Parent=Effects,
  1503. Effect='Fade',
  1504. Color = BrickColor.new'Crimson',
  1505. Material = Enum.Material.Glass,
  1506. Size = v.Size,
  1507. CFrame=v.CFrame,
  1508. Frames = 90,
  1509. }
  1510. end
  1511. end
  1512. end
  1513.  
  1514. function Teleport(where)
  1515. OnceWas(Char)
  1516. Sound(Root,235097614,3,1,false,true,true)
  1517. Sound(Root,75356820,2,1,false,true,true)
  1518. Root.CFrame = CF.N(where.p)
  1519. OnceWas(Char)
  1520. end
  1521.  
  1522. function Dash()
  1523. Attack = true
  1524. Sound(Root,235097614,3,1,false,true,true)
  1525. Sound(Root,75356820,2,1,false,true,true)
  1526. for i = 1, 5 do
  1527. OnceWas(Char)
  1528. Root.CFrame = Root.CFrame*CF.N(0,0,-5)
  1529. swait()
  1530. end
  1531. Attack = false
  1532. end
  1533.  
  1534. function Shriek()
  1535. Attack = true
  1536. NeutralAnims = false
  1537. local scream = Sound(Head,198165368,.5,10,false,false,false)
  1538. local i = 0
  1539. scream:Play()
  1540. while scream.Playing do
  1541. i = i + 1
  1542. swait()
  1543. coroutine.wrap(function()
  1544. AOEFunction(Head.Position,30,function(who)
  1545. local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head'
  1546. if(h and hd and h.Health > 0)then
  1547. h.Health = 0
  1548. Sound(hd,429400881,1,1,false,true,true)
  1549. Ragdoll(who)
  1550. swait()
  1551. local frags = Fragment(hd)
  1552. for _,v in next, frags:children() do
  1553. v.BrickColor = BloodColor
  1554. v.Material = BloodMaterial
  1555. v.CanCollide = true
  1556. v.Anchored = false
  1557. end
  1558. hd:destroy()
  1559. end
  1560. end)
  1561. end)()
  1562. local Alpha = .15
  1563. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00956845004, -0.141102523, 0.612865508, 0.999947488, 0.00962571148, -0.00340035092, -0.00964800082, 0.782201111, -0.622951329, -0.00333659165, 0.622951448, 0.782252967),Alpha)
  1564. LH.C0 = clerp(LH.C0,CFrame.new(-0.495904773, -1.0368886, 0.0598222613, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
  1565. RH.C0 = clerp(RH.C0,CFrame.new(0.499093086, -1.03124118, 0.0517056584, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
  1566. LS.C0 = clerp(LS.C0,CFrame.new(-1.23829794, 0.600065649, 0.16030249, -0.8319574, 0.546545088, -0.0955789387, 0.0976095572, -0.0254041255, -0.994900525, -0.54618609, -0.837044299, -0.0322128981),Alpha)
  1567. RS.C0 = clerp(RS.C0,CFrame.new(1.40538526, 0.413302839, 0.119919479, 0.97065413, -0.226111293, -0.0818808898, 0.0516543165, -0.13650623, 0.989291787, -0.23486729, -0.96448946, -0.120820649),Alpha)
  1568. NK.C0 = clerp(NK.C0,CFrame.new(3.62367791e-06, 1.56057274, 0.233575165, 1, 3.8058497e-06, -3.58493999e-05, -1.91188519e-05, 0.899042785, -0.437860936, 3.05641443e-05, 0.437861085, 0.899042606),Alpha)
  1569. end
  1570. Attack = false
  1571. NeutralAnims = true
  1572. end
  1573.  
  1574. function SawMeDaddy()
  1575. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1576. if(torso)then
  1577. Attack = true
  1578. NeutralAnims = false
  1579. local who = torso.Parent
  1580. who.Parent = Char
  1581. Hum.WalkSpeed = 0
  1582. Hum.JumpPower = 0
  1583. humanoid.WalkSpeed = 0
  1584. humanoid.JumpPower = 0
  1585. local saw,weld = Equip_Sawblade()
  1586. pcall(function() who.HumanoidRootPart:destroy() end)
  1587. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)})
  1588. for i = 0, 6, 0.1 do
  1589. swait()
  1590. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
  1591. local Alpha = .15
  1592. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
  1593. LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1594. RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1595. LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
  1596. RS.C0 = clerp(RS.C0,CFrame.new(1.31421685, 0.81056267, 0.00814598706, -0.489612877, -0.871799946, 0.0156333037, 0.871937394, -0.489577413, 0.00628277427, 0.00217639096, 0.0167073887, 0.999858201),Alpha)
  1597. NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
  1598. end
  1599. Sound(Torso,367720620,1,1,false,true,true)
  1600. coroutine.wrap(function()
  1601. repeat swait()
  1602. weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3)
  1603. until not saw.Parent
  1604. end)()
  1605. swait(60)
  1606. local slicing = Sound(saw,1013673726,1,1,true,false,true)
  1607. Sound(torso,429400881,1,1,false,true,true)
  1608. local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
  1609. prt1.Parent = torso;
  1610. local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)})
  1611. for i = 0, .3, 0.001 do
  1612. swait()
  1613.  
  1614. humanoid.Health = humanoid.Health - .5
  1615. if(humanoid.Health <= 0)then
  1616. gWeld:destroy()
  1617. Sound(torso,429400881,1,1,false,true,true)
  1618. break
  1619. end
  1620. local Alpha = i
  1621. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
  1622. LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1623. RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
  1624. LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
  1625. RS.C0 = clerp(RS.C0,CFrame.new(1.18219912, 0.268655062, 0.0136158429, 0.6882689, -0.725287437, 0.0156234093, 0.725293934, 0.688410699, 0.00629597344, -0.0153217092, 0.00699824095, 0.99985826),Alpha)
  1626. NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
  1627. end
  1628. humanoid.Health = 0
  1629. who.Parent = workspace
  1630. Ragdoll(who)
  1631. slicing:destroy()
  1632. for i = 1, 5 do
  1633. Effect{
  1634. Effect='Resize+AndFade',
  1635. Color = BrickColor.new'Really red',
  1636. Material = Enum.Material.Neon,
  1637. Size=V3.N(3.5,3.5,3.5),
  1638. CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
  1639. FXSettings={
  1640. EndSize=V3.N(.05,.05,.05),
  1641. EndIsIncrement=true,
  1642.  
  1643. }
  1644. }
  1645. end
  1646. Hum.WalkSpeed = 16
  1647. Hum.JumpPower = 50
  1648. saw:destroy()
  1649. Attack = false
  1650. NeutralAnims = true
  1651. end
  1652. end
  1653. function The_End()
  1654. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  1655.  
  1656. if(torso)then
  1657. Attack = true
  1658. NeutralAnims = false
  1659. local who = torso.Parent
  1660. Hum.WalkSpeed = 0
  1661. Hum.JumpPower = 0
  1662. humanoid.WalkSpeed = 0
  1663. humanoid.JumpPower = 0
  1664. who.Parent = Char
  1665. pcall(function() who.HumanoidRootPart:destroy() end)
  1666. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
  1667. for i = 0, 2, 0.1 do
  1668. swait()
  1669. local Alpha = .3
  1670. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
  1671. LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1672. RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  1673. LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
  1674. RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
  1675. NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
  1676. end
  1677. Sound(Torso,200065377,1.3,4,false,true,true)
  1678. for i = 0, 1, 0.1 do
  1679. swait()
  1680. local Alpha = .2
  1681. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
  1682. LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1683. RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  1684. LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
  1685. RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
  1686. NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
  1687. end
  1688. gWeld:destroy()
  1689. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=torso,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  1690. for i = 0, 1, 0.1 do
  1691. swait()
  1692. local Alpha = .3
  1693. humanoid.PlatformStand = true
  1694. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1695. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1696. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1697. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1698. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1699. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1700. end
  1701. gWeld:destroy()
  1702. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
  1703. for i = 0, 6, 0.1 do
  1704. swait()
  1705. local Alpha = .3
  1706. humanoid.PlatformStand = true
  1707. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1708. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1709. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1710. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  1711. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  1712. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1713. end
  1714. Sound(torso,1093102664,.85,5,false,true,true)
  1715. Sound(torso,429400881,1,1,false,true,true)
  1716. gWeld:destroy()
  1717. Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
  1718. humanoid.Health = 0
  1719. for _,v in next, who:children() do
  1720. if(v:IsA'LocalScript' or v:IsA'Script')then
  1721. v.Disabled = true
  1722. v:destroy()
  1723. end
  1724. end
  1725. Ragdoll(who,true)
  1726.  
  1727.  
  1728. if(not VoidSB)then
  1729. coroutine.wrap(function()
  1730. repeat swait()
  1731. BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
  1732. until not who or not who.Parent
  1733. end)()
  1734. coroutine.wrap(function()
  1735. local LT = who:FindFirstChild'LowerTorso'
  1736. if(LT)then
  1737. repeat swait()
  1738. BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
  1739. until not who or not who.Parent
  1740. end
  1741. end)()
  1742. end
  1743.  
  1744. for i = 0, 1, 0.1 do
  1745. swait()
  1746. local Alpha = .3
  1747. humanoid.PlatformStand = true
  1748. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1749. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1750. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1751. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
  1752. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
  1753. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  1754. end
  1755. for i = 0, 4, 0.1 do
  1756. swait()
  1757. local Alpha = .3
  1758. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1759. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1760. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1761. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1762. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1763. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1764. end
  1765. who.Parent = workspace
  1766. Attack = false
  1767. NeutralAnims = true
  1768. Hum.WalkSpeed = 16
  1769. Hum.JumpPower = 50
  1770. end
  1771. end
  1772.  
  1773. function ThrowArms()
  1774. Attack = true
  1775. NeutralAnims = false
  1776. for i = 0, 3, 0.1 do
  1777. swait()
  1778. local Alpha = .15
  1779. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1780. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1781. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1782. LS.C0 = clerp(LS.C0,CFrame.new(-1.49870801, 0.639989734, 0.342571348, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
  1783. RS.C0 = clerp(RS.C0,CFrame.new(1.50170219, 0.685996532, 0.261634499, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
  1784. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1785. end
  1786. Sound()
  1787. FLArmW:destroy()
  1788. FRArmW:destroy()
  1789. local BV1 = NewInstance("BodyVelocity", FRArm, {
  1790. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1791. P = 5000,
  1792. maxForce = Vector3.new(8000, 8000, 8000),
  1793. })
  1794. local BV2 = NewInstance("BodyVelocity", FLArm, {
  1795. velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
  1796. P = 5000,
  1797. maxForce = Vector3.new(8000, 8000, 8000),
  1798. })
  1799. Sound(Torso,541909763,.8,5,false,true,true)
  1800. S.Debris:AddItem(BV1, 0.05)
  1801. S.Debris:AddItem(BV2, 0.05)
  1802. FRArm.CanCollide = true
  1803. FLArm.CanCollide = true
  1804. S.Debris:AddItem(FRArm, 5)
  1805. S.Debris:AddItem(FLArm, 5)
  1806. FRArm = nil
  1807. FLArm = nil
  1808. for i = 0, 1, 0.1 do
  1809. swait()
  1810. local Alpha = .3
  1811. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1812. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1813. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1814. LS.C0 = clerp(LS.C0,CFrame.new(-1.50884342, 0.499208659, -0.305685878, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
  1815. RS.C0 = clerp(RS.C0,CFrame.new(1.4918015, 0.444425255, -0.370944679, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
  1816. NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1817. end
  1818. Attack = false
  1819. NeutralAnims = true
  1820. end
  1821. Mouse.KeyDown:connect(function(k)
  1822. if(Attack)then return end
  1823. if(k == 'q')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end
  1824. if(k == 'e')then Dash() end
  1825. if(not FLArm and not FRArm)then
  1826. if(k == 'z')then The_Necc() end
  1827. if(k == 'x')then The_End() end
  1828. if(k == 'c')then Hands_Off() end
  1829. if(k == 'v')then SawMeDaddy() end
  1830. if(k == 'b')then Shriek() end
  1831. if(k == 't')then Taunt() end
  1832. end
  1833. end)
  1834.  
  1835. Mouse.Button1Down:connect(function()
  1836. if(Attack)then return end
  1837. if(FLArm and FRArm)then
  1838. ThrowArms()
  1839. end
  1840. end)
  1841. Plr.Chatted:connect(function(m)
  1842. if(m == '/e aeiou')then Sound(Torso,221792881,1,5,false,true,true) end
  1843. if(m == '/e earthquake')then Sound(Torso,1205111204,1,5,false,true,true) end
  1844. if(Attack)then return end
  1845. if(m == '/e dab')then Aids() end
  1846. end)
  1847.  
  1848. --// Wrap it all up \\--
  1849.  
  1850. while true do
  1851. swait()
  1852. if(not Music or not Music.Parent)then
  1853. local a = Music.TimePosition
  1854. Music = Sound(Char,MusicID,MusicPitch,2,true,false,true)
  1855. Music.Name = 'Music'
  1856. Music.TimePosition = a
  1857. end
  1858. if(Music.Volume ~= 2)then Music.Volume = 2 end
  1859. RArm.Transparency = 1
  1860. Sine = Sine + Change
  1861. 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)
  1862. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1863. 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")
  1864. if(State == 'Walk')then
  1865. local wsVal = 7 / (Hum.WalkSpeed/16)
  1866. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1867. --RH.C1 = RH.C1:lerp(CF.N(0,.925+.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(-M.R(-15-35*M.C(Sine/wsVal) + -M.S(Sine/wsVal)/2.5),0,0),Alpha)
  1868. --RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)--
  1869. RH.C1 = RH.C1:lerp(CF.N(0,.95+.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15-45*M.C(Sine/wsVal)) + M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)
  1870. LH.C1 = LH.C1:lerp(CF.N(0,.95-.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15+45*M.C(Sine/wsVal)) + -M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)
  1871. else
  1872. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
  1873. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
  1874. end
  1875. if(Idle > Frame_Speed*10)then
  1876. --idk i'll do something
  1877. end
  1878. if(NeutralAnims and not Attack and State == 'Idle')then
  1879. Idle = Idle + 1
  1880. else
  1881. Idle = 0
  1882. end
  1883. for v,_ in next, Stunned do
  1884. if(v.Parent)then
  1885. local h = v:FindFirstChildOfClass'Humanoid'
  1886. for _,c in next, v:children() do
  1887. if(c:IsA'Script' or c:IsA'LocalScript')then
  1888. c.Disabled = false
  1889. end
  1890. end
  1891. if(h)then
  1892. h.Name = 'no escape lol'
  1893. h.PlatformStand = true
  1894. else
  1895. Stunned[v] = nil
  1896. end
  1897. else
  1898. Stunned[v] = nil
  1899. end
  1900. end
  1901. if(NeutralAnims)then
  1902. if(State == 'Idle')then
  1903. Change = 1
  1904. local Alpha = .3
  1905. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00232864846, 0.00629545515+.2*M.C(Sine/16), 0.00257661846, 0.838281333, -0.00342716719, -0.545226395, 0, 0.99998033, -0.00628564507, 0.545237184, 0.00526913954, 0.838264763),Alpha)
  1906. LH.C0 = clerp(LH.C0,CFrame.new(-0.725328565, -0.990803361-.2*M.C(Sine/16), 0.0247094855, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
  1907. RH.C0 = clerp(RH.C0,CFrame.new(0.576427579, -0.99124372-.2*M.C(Sine/16), -0.02560886, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
  1908. LS.C0 = clerp(LS.C0,CFrame.new(-1.46491873, 0.505438805+.2*M.C(Sine/16), -0.00360340625, 0.996807694, 0.0782995075, 0.0156106055, -0.0784052685, 0.996901929, 0.00628136564, -0.0150704384, -0.0074852705, 0.999858379)*CF.A(-M.R(0+5*M.S(Sine/16)),0,M.R(0+5*M.C(Sine/16))),Alpha)
  1909. RS.C0 = clerp(RS.C0,CFrame.new(1.44824493, 0.497874349+.2*M.C(Sine/16), 0.00803661905, 0.994963646, -0.0990139842, 0.0156099498, 0.0989264548, 0.995075107, 0.00628477754, -0.0161553323, -0.00470888987, 0.999858439)*CF.A(-M.R(0+5*M.S(Sine/16)),0,-M.R(0+5*M.C(Sine/16))),Alpha)
  1910. NK.C0 = clerp(NK.C0,CFrame.new(-0.00607250631, 1.49895012, -0.0144915879, 0.838281453, -0.0313475803, 0.544335127, -0.00342752389, 0.998023272, 0.0627533421, -0.545226216, -0.0544706844, 0.836516857)*CF.A(M.R(0+5*M.C(Sine/16)),0,0),Alpha)
  1911. elseif(State == 'Walk')then
  1912. local wsVal = 7 / (Hum.WalkSpeed/16)
  1913. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1914. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-0.175 + 0.025 * M.C(Sine/(wsVal/2)) + -M.S(Sine/(wsVal/2)) / 7,0)*CF.A(0,M.R(0+8*M.C(Sine/wsVal)),M.R(0+2*M.C(Sine/wsVal))),Alpha)
  1915. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  1916. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  1917. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(0-45*M.C(Sine/wsVal)),0,M.R(5+10*M.C(Sine/wsVal))),Alpha)
  1918. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(0+45*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/wsVal))),Alpha)
  1919. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1920. elseif(State == 'Jump' or State == 'Fall')then
  1921. if(Walking)then
  1922. local Alpha = .2
  1923. 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)
  1924. 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)
  1925. 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)
  1926. 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)
  1927. 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)
  1928. 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)
  1929. else
  1930. local Alpha = .2
  1931. 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)
  1932. 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)
  1933. 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)
  1934. 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)
  1935. 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)
  1936. 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)
  1937. end
  1938. elseif(State == 'Paralyzed')then
  1939. local Alpha = .3
  1940. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1941. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1942. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
  1943. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha)
  1944. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha)
  1945. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1946. elseif(State == 'Sit')then
  1947. local Alpha = .3
  1948. RJ.C0 = clerp(RJ.C0,CFrame.new(3.2050404e-13, 0.00629293546, 1.41158671e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1949. LH.C0 = clerp(LH.C0,CFrame.new(-0.686911047, -1.01880026, -0.25455457, 0.980693579, 0.195502773, 0.00425194856, -0.0504306704, 0.273862094, -0.960446, -0.188934311, 0.941688716, 0.278434128),Alpha)
  1950. RH.C0 = clerp(RH.C0,CFrame.new(0.557953715, -1.03419244, -0.293038249, 0.986133933, -0.165894628, 0.00425344985, 0.0502241589, 0.273924351, -0.960439026, 0.158166528, 0.947335124, 0.278457999),Alpha)
  1951. LS.C0 = clerp(LS.C0,CFrame.new(-1.50518143, 0.551521897, -0.0714710951, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
  1952. RS.C0 = clerp(RS.C0,CFrame.new(1.4960835, 0.497820318, -0.0970379114, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
  1953. NK.C0 = clerp(NK.C0,CFrame.new(4.35156289e-06, 1.49895275, -0.0144044831, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1954. end
  1955. end
  1956. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement