Advertisement
Guest User

[FE] Grab Script

a guest
May 25th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.41 KB | None | 0 0
  1. repeat wait() until script:WaitForChild'Owner'.Value
  2. local Player = script:WaitForChild'Owner'.Value
  3. script.Owner:destroy()
  4. local FakeMouse = script.FakeMouse:Clone();
  5. FakeMouse.Parent = Player.Character;
  6. script.FakeMouse:Destroy()
  7. do
  8. local GUID = {}
  9. do
  10. GUID.IDs = {};
  11. function GUID:new(len)
  12. local id;
  13. if(not len)then
  14. id = (tostring(function() end))
  15. id = id:gsub("function: ","")
  16. else
  17. local function genID(len)
  18. local newID = ""
  19. for i = 1,len do
  20. newID = newID..string.char(math.random(48,90))
  21. end
  22. return newID
  23. end
  24. repeat id = genID(len) until not GUID.IDs[id]
  25. local oid = id;
  26. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  27. GUID.IDs[oid]=true;
  28. end
  29. return id
  30. end
  31. end
  32.  
  33. local AHB = Instance.new("BindableEvent")
  34.  
  35. local FPS = 30
  36.  
  37. local TimeFrame = 0
  38.  
  39. local LastFrame = tick()
  40. local Frame = 1/FPS
  41.  
  42. game:service'RunService'.Heartbeat:connect(function(s,p)
  43. TimeFrame = TimeFrame + s
  44. if(TimeFrame >= Frame)then
  45. for i = 1,math.floor(TimeFrame/Frame) do
  46. AHB:Fire()
  47. end
  48. LastFrame=tick()
  49. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  50. end
  51. end)
  52.  
  53.  
  54. function swait(dur)
  55. if(dur == 0 or typeof(dur) ~= 'number')then
  56. AHB.Event:wait()
  57. else
  58. for i = 1, dur*FPS do
  59. AHB.Event:wait()
  60. end
  61. end
  62. end
  63.  
  64. local oPlayer = Player
  65. local Player = oPlayer
  66.  
  67. local loudnesses={}
  68. script.Parent = Player.Character
  69. local CoAS = {Actions={}}
  70. local Event = Instance.new("RemoteEvent")
  71. Event.Name = "UserInputEvent"
  72. Event.Parent = Player.Character
  73. local Func = Instance.new("RemoteFunction")
  74. Func.Name = "GetClientProperty"
  75. Func.Parent = Player.Character
  76. local fakeEvent = function()
  77. local t = {_fakeEvent=true,Waited={},Connected={}}
  78. t.Connect = function(self,f)
  79. local ft={}
  80. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  81. ft.Disconnect=ft.disconnect
  82.  
  83. ft.Func=function(...)
  84. for id,_ in next, t.Waited do
  85. t.Waited[id] = true
  86. end
  87. return f(...)
  88. end;
  89.  
  90. table.insert(self.Connected,ft)
  91. return ft;
  92. end
  93. t.connect = t.Connect
  94. t.Wait = function()
  95. local guid = GUID:new(25)
  96. local waitingId = guid:Get()
  97. t.Waited[waitingId]=false
  98. repeat swait() until t.Waited[waitingId]==true
  99. t.Waited[waitingId]=nil;
  100. guid:Trash()
  101. end
  102. t.wait = t.Wait
  103. return t
  104. end
  105. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  106. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  107. local Run = {RenderStepped=fakeEvent()}
  108.  
  109. function CoAS:BindAction(name,fun,touch,...)
  110. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  111. end
  112. function CoAS:UnbindAction(name)
  113. CoAS.Actions[name] = nil
  114. end
  115. local function te(self,ev,...)
  116. local t = self[ev]
  117. if t and t._fakeEvent and t.Connected then
  118. for i,v in next, t.Connected do
  119. if(v.Func and not v.Disconnected)then
  120. v.Func(...)
  121. else
  122. t.Connected[i]=nil
  123. end
  124. end
  125. end
  126. end
  127. m.TrigEvent = te
  128. UsIS.TrigEvent = te
  129. Run.TrigEvent = te
  130. Event.OnServerEvent:Connect(function(plr,io)
  131. if plr~=Player then return end
  132. --[[table.foreach(io,print)
  133. print'---']]
  134. if io.Mouse then
  135. m.Target = io.Target
  136. m.Hit = io.Hit
  137. elseif io.KeyEvent then
  138. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  139. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  140. if io.UserInputState == Enum.UserInputState.Begin then
  141. m:TrigEvent("Button1Down")
  142. else
  143. m:TrigEvent("Button1Up")
  144. end
  145. end
  146. if(not io.KeyEvent and not io.Mouse)then
  147.  
  148. for n,t in pairs(CoAS.Actions) do
  149. for _,k in pairs(t.Keys) do
  150. if k==io.KeyCode then
  151. t.Function(t.Name,io.UserInputState,io)
  152. end
  153. end
  154. end
  155. if io.UserInputState == Enum.UserInputState.Begin then
  156. UsIS:TrigEvent("InputBegan",io,false)
  157. else
  158. UsIS:TrigEvent("InputEnded",io,false)
  159. end
  160. end
  161. end)
  162.  
  163. Func.OnServerInvoke = function(plr,inst,play)
  164. if plr~=Player then return end
  165. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  166. loudnesses[inst]=play
  167. end
  168. end
  169.  
  170. function GetClientProperty(inst,prop)
  171. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  172. return loudnesses[inst]
  173. elseif(prop == 'PlaybackLoudness')then
  174. return Func:InvokeClient(Player,'RegSound',inst)
  175. end
  176. return Func:InvokeClient(Player,inst,prop)
  177. end
  178. local oldGame = game;
  179. function GetFakePlayer()
  180. local oldPlayer = Player;
  181. local fakePlayer = newproxy(true)
  182. getmetatable(fakePlayer).__index = function(s,i)
  183. if(i == 'GetMouse')then
  184. return function() return m; end
  185. end
  186. return Player[i]
  187. end
  188. getmetatable(fakePlayer).__newindex = function(s,i,v)
  189. Player[i]=v
  190. end
  191. getmetatable(fakePlayer).__call=function(self,...)
  192. if(self == fakePlayer)then self = Player end
  193. local wh = {...}
  194. local name = table.remove(wh,1)
  195. for i,v in next, wh do
  196. wh[i]=v
  197. end
  198. if(name == 'GetMouse')then
  199. return m;
  200. end
  201. return self(name,unpack(wh))
  202. end
  203. getmetatable(fakePlayer).__namecall=function(self,...)
  204. if(self == fakePlayer)then self = Player end
  205. local tuple={...}
  206. local name = table.remove(tuple,#tuple)
  207.  
  208. if(name == 'GetMouse')then
  209. return m;
  210. else
  211. return self[name](self,unpack(tuple))
  212. end
  213. end
  214.  
  215. return fakePlayer
  216. end
  217. local oll = LoadLibrary;
  218. function LoadLibrary(libtard)
  219. local libtarddestroyed=oll(libtard)
  220. if(libtard=='RbxUtility')then
  221. local library={Create=function(obj)
  222. local inst = Instance.new(obj)
  223. return function(props)
  224. for prop,valu in next, props do
  225. inst[prop]=valu
  226. end
  227. return inst
  228. end
  229. end}
  230. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  231.  
  232. return library
  233. else
  234. return libtarddestroyed
  235. end
  236. end
  237. fakePlayer = GetFakePlayer()
  238. local function GetService(s,i)
  239. local service = s:GetService(i)
  240. if(i == 'Players')then
  241. local oldService = service;
  242. local fakeService = newproxy(true)
  243. getmetatable(fakeService).__index = function(s,i)
  244. if(s == fakeService)then s=oldService end
  245. if(i == 'LocalPlayer' or i == 'localPlayer')then
  246. return fakePlayer
  247. elseif(i == 'oPlayer')then
  248. return oPlayer
  249. else
  250. return s[i]
  251. end
  252. end
  253. getmetatable(fakeService).__newindex = function(s,i,v)
  254. if(s == fakeService)then s=oldService end
  255. s[i]=v
  256. end
  257. getmetatable(fakeService).__call=function(self,...)
  258. if(self == fakeService)then self = oldService end
  259. local wh = {...}
  260. local name = table.remove(wh,1)
  261. for i,v in next, wh do
  262. wh[i]=v
  263. end
  264. return self(name,unpack(wh))
  265. end
  266. getmetatable(fakeService).__namecall=function(self,...)
  267. if(self == fakeService)then self = oldService end
  268. local tuple={...}
  269. local name = table.remove(tuple,#tuple)
  270.  
  271. return self[name](self,unpack(tuple))
  272. end
  273. getmetatable(fakeService).__metatable = 'gay'
  274. return fakeService
  275. elseif(i == 'RunService')then
  276. local oldService = service;
  277. local fakeService = newproxy(true)
  278. getmetatable(fakeService).__index = function(s,i)
  279. if(s == fakeService)then s=oldService end
  280. return Run[i] or s[i]
  281. end
  282. getmetatable(fakeService).__newindex = function(s,i,v)
  283. if(s == fakeService)then s=oldService end
  284. s[i]=v
  285. end
  286. getmetatable(fakeService).__call=function(self,...)
  287. if(self == fakeService)then self = oldService end
  288. local wh = {...}
  289. local name = table.remove(wh,1)
  290. for i,v in next, wh do
  291. wh[i]=v
  292. end
  293. return self(name,unpack(wh))
  294. end
  295. getmetatable(fakeService).__namecall=function(self,...)
  296. if(self == fakeService)then self = oldService end
  297. local tuple={...}
  298. local name = table.remove(tuple,#tuple)
  299.  
  300. return self[name](self,unpack(tuple))
  301. end
  302. getmetatable(fakeService).__metatable = 'gay'
  303. return fakeService
  304. elseif(i == 'UserInputService')then
  305. return UsIS
  306. elseif(i == 'ContextActionService')then
  307. return CoAS;
  308. else
  309. return service
  310. end
  311. end
  312.  
  313. local new = Instance.new;
  314. Instance = {}
  315. Instance.new = function(inst,obje)
  316. local lp = GetService(oldGame,'Players').localPlayer
  317. local instance = new(inst)
  318. if(inst=='ObjectValue')then
  319. local fake = newproxy(true)
  320. getmetatable(fake).__index=function(self,index)
  321. if(self==fake)then self=instance end
  322. return self[index]
  323. end
  324. getmetatable(fake).__newindex=function(self,index,value)
  325. if(self==fake)then self=instance end
  326. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  327. self[index]=oPlayer
  328. else
  329. self[index]=value
  330. end
  331. end
  332. getmetatable(fake).__call=function(self,...)
  333. if(self == fake)then self = instance end
  334. local wh = {...}
  335. local name = table.remove(wh,1)
  336. for i,v in next, wh do
  337. if(v == fake)then v = instance end
  338. wh[i]=v
  339. end
  340. return self(name,unpack(wh))
  341. end
  342. getmetatable(fake). __namecall=function(self,...)
  343. if(self == fake)then self = instance end
  344. local tuple={...}
  345. local name = table.remove(tuple,#tuple)
  346. return self[name](self,unpack(tuple))
  347. end
  348. return fake
  349. else
  350. instance.Parent = obje
  351. return instance;
  352. end
  353.  
  354. end
  355. local serviceFunctions={
  356. service=true,
  357. GetService=true,
  358. }
  359. local fakeGame = newproxy(true)
  360. getmetatable(fakeGame).__index = function(s,i)
  361. if(s == fakeGame)then s=oldGame end
  362. local serv = GetService(oldGame,i)
  363. if serviceFunctions[i] then
  364. return GetService
  365. elseif(serv)then
  366. return serv
  367. else
  368. return s[i]
  369. end
  370. end
  371. getmetatable(fakeGame).__newindex = function(s,i,v)
  372. if(s == fakeGame)then s=oldGame end
  373. s[i]=v
  374. end
  375. getmetatable(fakeGame).__call=function(self,...)
  376. if(self == fakeGame)then self = oldGame end
  377. local wh = {...}
  378. local name = table.remove(wh,1)
  379. for i,v in next, wh do
  380. if(v == fakeGame)then v = oldGame end
  381. wh[i]=v
  382. end
  383. if serviceFunctions[name] then
  384. return GetService(self,unpack(wh))
  385. else
  386. return self(name,unpack(wh))
  387. end
  388. end
  389. getmetatable(fakeGame). __namecall=function(self,...)
  390. if(self == fakeGame)then self = oldGame end
  391. local tuple={...}
  392. local name = table.remove(tuple,#tuple)
  393.  
  394. local funcToCall=self[name]
  395.  
  396. if serviceFunctions[name] then
  397. return GetService(self,unpack(tuple))
  398. else
  399. return self[name](self,unpack(tuple))
  400. end
  401. end
  402. getmetatable(fakeGame).__metatable = 'gay'
  403.  
  404. coroutine.wrap(function()
  405. while true do
  406. Run:TrigEvent('RenderStepped')
  407. swait()
  408. end
  409. end)()
  410. game=fakeGame
  411. UserInputService,ContextActionService = UsIS,CoAS
  412. end
  413.  
  414. -- Created by Nebula_Zorua --
  415. -- Project: Grab --
  416. -- im gonna rip your dick off and shove it down your throat if you leak tHIS U FAT COW RRRRREEEEEEEEE --
  417. -- Discord: Nebula the Zorua#6969
  418. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  419.  
  420. wait(1)
  421. --// Initializing \\--
  422. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  423. local Plrs = S.Players
  424. local Plr = Plrs.LocalPlayer
  425. local Char = Plr.Character
  426. local Hum = Char:FindFirstChildOfClass'Humanoid'
  427. local RArm = Char["Right Arm"]
  428. local LArm = Char["Left Arm"]
  429. local RLeg = Char["Right Leg"]
  430. local LLeg = Char["Left Leg"]
  431. local Root = Char:FindFirstChild'HumanoidRootPart'
  432. local Torso = Char.Torso
  433. local Head = Char.Head
  434. local NeutralAnims = true
  435. local Attack = false
  436. local BloodPuddles = {}
  437. local Effects = {}
  438. local Debounces = {Debounces={}}
  439. local Mouse = Plr:GetMouse()
  440. local Hit = {}
  441. local Sine = 0
  442. local Change = 1
  443. local Grabbed,GrabRoot,GrabWeld = nil,nil,nil;
  444. local HoldingHead,HeadWeld = nil,nil;
  445. local id = math.random()*1000
  446. local HeadDrip = 0
  447.  
  448. --// Debounce System \\--
  449.  
  450.  
  451. function Debounces:New(name,cooldown)
  452. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  453. setmetatable(aaaaa,{__index = Debounces})
  454. Debounces.Debounces[name] = aaaaa
  455. return aaaaa
  456. end
  457.  
  458. function Debounces:Use(overrideUsable)
  459. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  460. if(self.Usable or overrideUsable)then
  461. self.Usable = false
  462. self.CoolingDown = true
  463. local LastUse = time()
  464. self.LastUse = LastUse
  465. delay(self.Cooldown or 2,function()
  466. if(self.LastUse == LastUse)then
  467. self.CoolingDown = false
  468. self.Usable = true
  469. end
  470. end)
  471. end
  472. end
  473.  
  474. function Debounces:Get(name)
  475. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  476. for i,v in next, Debounces.Debounces do
  477. if(i == name)then
  478. return v;
  479. end
  480. end
  481. end
  482.  
  483. function Debounces:GetProgressPercentage()
  484. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  485. if(self.CoolingDown and not self.Usable)then
  486. return math.max(
  487. math.floor(
  488. (
  489. (time()-self.LastUse)/self.Cooldown or 2
  490. )*100
  491. )
  492. )
  493. else
  494. return 100
  495. end
  496. end
  497.  
  498. --// Shortcut Variables \\--
  499. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  500. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  501. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  502. 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}
  503. local R3 = {N=Region3.new}
  504. local De = S.Debris
  505. local WS = workspace
  506. local Lght = S.Lighting
  507. local RS = S.ReplicatedStorage
  508. local IN = Instance.new
  509. --// Instance Creation Functions \\--
  510.  
  511. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  512. local Sound = IN("Sound")
  513. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  514. Sound.Pitch = pitch or 1
  515. Sound.Volume = volume or 1
  516. Sound.Looped = looped or false
  517. if(autoPlay)then
  518. coroutine.wrap(function()
  519. repeat wait() until Sound.IsLoaded
  520. Sound.Playing = autoPlay or false
  521. end)()
  522. end
  523. if(not looped and effect)then
  524. Sound.Stopped:connect(function()
  525. Sound.Volume = 0
  526. Sound:destroy()
  527. end)
  528. elseif(effect)then
  529. warn("Sound can't be looped and a sound effect!")
  530. end
  531. Sound.Parent =parent or Torso
  532. return Sound
  533. end
  534. function Part(parent,color,material,size,cframe,anchored,cancollide)
  535. local part = IN("Part")
  536. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  537. part.Material = material or Enum.Material.SmoothPlastic
  538. part.TopSurface,part.BottomSurface=10,10
  539. part.Size = size or V3.N(1,1,1)
  540. part.CFrame = cframe or CF.N(0,0,0)
  541. part.Anchored = anchored or true
  542. part.CanCollide = cancollide or false
  543. part.Parent = parent or Char
  544. return part
  545. end
  546. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  547. local part = IN("SpecialMesh")
  548. part.MeshId = meshid or ""
  549. part.TextureId = textid or ""
  550. part.Scale = scale or V3.N(1,1,1)
  551. part.Offset = offset or V3.N(0,0,0)
  552. part.MeshType = meshtype or Enum.MeshType.Sphere
  553. part.Parent = parent
  554. return part
  555. end
  556.  
  557. NewInstance = function(instance,parent,properties)
  558. local inst = Instance.new(instance,parent)
  559. if(properties)then
  560. for i,v in next, properties do
  561. pcall(function() inst[i] = v end)
  562. end
  563. end
  564. return inst;
  565. end
  566.  
  567.  
  568.  
  569. --// Extended ROBLOX tables \\--
  570. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  571. --// Customization \\--
  572.  
  573. local MusicId = 1138324365
  574. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  575. local Remove_Hats = false
  576. local Remove_Clothing = false
  577. local PlayerSize = 1
  578. local DamageColor = BrickColor.new'Really red'
  579. local BloodMaterial = Enum.Material.Glass
  580. local BloodColor = BrickColor.new'Crimson'
  581. local Illusion = false
  582. local NKWhitelist = true;
  583.  
  584. local Whitelist = {
  585. [{33104243,"Salvo_Starly"}] = {"Sorry, my Blazey..","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
  586. [{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."}
  587. }
  588.  
  589.  
  590. --// Weapon and GUI creation, and Character Customization \\--
  591.  
  592. local oldStuff = {}
  593. for _,v in next, Char:children() do
  594. if(v:IsA'Clothing' or v:IsA'Accoutrement' or v:IsA'CharacterMesh' or v:IsA'BodyColors')then
  595. table.insert(oldStuff,v:Clone())
  596. end
  597. end
  598.  
  599. Hum.WalkSpeed = 8
  600. Hum.Name = "Nebula"
  601. local Music = Sound(Char,MusicId,1,3,true,false,true)
  602.  
  603. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  604. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  605. local Effects = IN("Folder",Char)
  606. Effects.Name = "Effects"
  607.  
  608. pcall(function()
  609. Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Crimson'
  610. Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Crimson'
  611. end)
  612. if(PlayerSize ~= 1)then
  613. for _,v in next, Char:GetDescendats() do
  614. if(v:IsA'BasePart')then
  615. v.Size = v.Size * PlayerSize
  616. end
  617. end
  618. end
  619.  
  620. --// Stop animations \\--
  621. for _,v in next, Hum:GetPlayingAnimationTracks() do
  622. v:Stop();
  623. end
  624.  
  625. pcall(game.Destroy,Char:FindFirstChild'Animate')
  626. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  627.  
  628. --// Joints \\--
  629.  
  630. local LS = NewInstance('Motor',Torso,{Name = "Left Shoulder",Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  631. local RS = NewInstance('Motor',Torso,{Name = "Right Shoulder",Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  632. local NK = NewInstance('Motor',Torso,{Name = "Neck",Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  633. local LH = NewInstance('Motor',Torso,{Name = "Left Hip",Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  634. local RH = NewInstance('Motor',Torso,{Name = "Right Hip",Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  635. local RJ = NewInstance('Motor',Root,{Name = "RootJoint",Part0=Root,Part1=Torso})
  636.  
  637. local LSC0 = LS.C0
  638. local RSC0 = RS.C0
  639. local NKC0 = NK.C0
  640. local LHC0 = LH.C0
  641. local RHC0 = RH.C0
  642. local RJC0 = RJ.C0
  643.  
  644. --// Artificial HB \\--
  645.  
  646. local ArtificialHB = IN("BindableEvent", script)
  647. ArtificialHB.Name = "Heartbeat"
  648.  
  649. script:WaitForChild("Heartbeat")
  650.  
  651. local tf = 0
  652. local allowframeloss = false
  653. local tossremainder = false
  654. local lastframe = tick()
  655. local frame = 1/Frame_Speed
  656. ArtificialHB:Fire()
  657.  
  658. game:GetService("RunService").Heartbeat:connect(function(s, p)
  659. tf = tf + s
  660. if tf >= frame then
  661. if allowframeloss then
  662. script.Heartbeat:Fire()
  663. lastframe = tick()
  664. else
  665. for i = 1, math.floor(tf / frame) do
  666. ArtificialHB:Fire()
  667. end
  668. lastframe = tick()
  669. end
  670. if tossremainder then
  671. tf = 0
  672. else
  673. tf = tf - frame * math.floor(tf / frame)
  674. end
  675. end
  676. end)
  677.  
  678. function swait(num)
  679. if num == 0 or num == nil then
  680. ArtificialHB.Event:wait()
  681. else
  682. for i = 0, num do
  683. ArtificialHB.Event:wait()
  684. end
  685. end
  686. end
  687.  
  688.  
  689. --// Effect Function(s) \\--
  690.  
  691. local dust = NewInstance("ParticleEmitter",nil,{
  692. Color = ColorSequence.new(C3.N(1,1,1)),
  693. LightEmission=0,
  694. LightInfluence=1,
  695. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)},
  696. Texture="rbxassetid://284205403",
  697. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  698. Acceleration = V3.N(0,5,0),
  699. Lifetime = NumberRange.new(1),
  700. Rate=50,
  701. Speed = NumberRange.new(5),
  702. Enabled = false
  703. })
  704.  
  705. local blood = NewInstance("ParticleEmitter",nil,{
  706. Color = ColorSequence.new(C3.N(.8,0,0)),
  707. LightEmission=.1,
  708. LightInfluence=1,
  709. ZOffset=.9,
  710. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  711. Texture="rbxassetid://284205403",
  712. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  713. Acceleration = V3.N(0,-15,0),
  714. Lifetime = NumberRange.new(1,2),
  715. Rate=50,
  716. Speed = NumberRange.new(5,15),
  717. Enabled = false,
  718. EmissionDirection = 'Back',
  719. })
  720.  
  721.  
  722. function Blood(prt,amount)
  723. local part = Instance.new("Part",Effects)
  724. part.Transparency = 1
  725. part.Size = prt.Size
  726. part.Anchored = true
  727. part.CanCollide = false
  728. part.CFrame = CF.N(prt.Position,Torso.Position)
  729. S.Debris:AddItem(part,5)
  730. local prtcl = blood:Clone()
  731. prtcl.Parent = part
  732. prtcl:Emit(amount)
  733. end
  734.  
  735. function AshesToAshes(whom)
  736. Instance.new("BoolValue",whom).Name = 'AshesToAshes'
  737. for _,v in next, whom:GetDescendants() do
  738. if(v:IsA'BasePart')then
  739. local d = dust:Clone()
  740. v.Transparency = 1
  741. d.Parent = v
  742. coroutine.wrap(function()
  743. for i = 1, 50 do
  744. d:Emit(5)
  745. swait()
  746. end
  747. end)()
  748. elseif(v:IsA'Decal')then
  749. v:destroy()
  750. end
  751. end
  752. delay(2.5, function() whom:destroy() end)
  753. end
  754.  
  755. function Bezier(startpos, pos2, pos3, endpos, t)
  756. local A = startpos:lerp(pos2, t)
  757. local B = pos2:lerp(pos3, t)
  758. local C = pos3:lerp(endpos, t)
  759. local lerp1 = A:lerp(B, t)
  760. local lerp2 = B:lerp(C, t)
  761. local cubic = lerp1:lerp(lerp2, t)
  762. return cubic
  763. end
  764.  
  765.  
  766. function BloodDrop(pos,dir,maxsize)
  767. local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
  768. owo.CFrame=CF.N(pos,dir)
  769. local bv = Instance.new("BodyVelocity",owo)
  770. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  771. 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
  772. bv.Name = "MOVE"
  773. game:service'Debris':AddItem(bv,0.05)
  774. local touch
  775. touch = owo.Touched:connect(function(hit)
  776. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  777. touch:disconnect()
  778. BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo)
  779. owo:destroy()
  780. end
  781. end)
  782. end
  783. function BloodPuddle(position,range,maxSize,where)
  784. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  785. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  786. ),{where,Char},false,true)
  787. if(hit)then
  788. if(BloodPuddles[hit])then
  789. BloodPuddles[hit].Frame = 0
  790. if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
  791. hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  792. end
  793. else
  794. local Puddle = NewInstance('Part',hit,{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'})
  795. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  796. BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
  797. end
  798. end
  799. end
  800.  
  801.  
  802. function Effect(data)
  803. local FX = data.Effect or 'Resize-AndFade'
  804. local Parent = data.Parent or Effects
  805. local Color = data.Color or C3.N(0,0,0)
  806. local Size = data.Size or V3.N(1,1,1)
  807. local MoveDir = data.MoveDirection or nil
  808. local MeshData = data.Mesh or nil
  809. local SndData = data.Sound or nil
  810. local Frames = data.Frames or 45
  811. local Manual = data.Manual or nil
  812. local Material = data.Material or nil
  813. local CFra = data.CFrame or Torso.CFrame
  814. local Settings = data.FXSettings or {}
  815. local Snd,Prt,Msh;
  816. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  817. Prt = Manual
  818. else
  819. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  820. end
  821. if(typeof(MeshData) == 'table')then
  822. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  823. elseif(typeof(MeshData) == 'Instance')then
  824. Msh = MeshData:Clone()
  825. Msh.Parent = Prt
  826. end
  827. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  828. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  829. end
  830. if(Snd)then
  831. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  832. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  833. end
  834. local MoveSpeed = nil;
  835. if(MoveDir)then
  836. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  837. end
  838. local Inc = M.RNG()-M.RNG()
  839. local Thingie = 0
  840. local Thingie2 = M.RNG(50,100)/100
  841.  
  842. coroutine.wrap(function()
  843. if(FX ~= 'Arc')then
  844. for i = 1, Frames do
  845. if(FX == 'Resize-AndFade')then
  846. if(not Settings.EndSize)then
  847. Settings.EndSize = V3.N(0,0,0)
  848. end
  849. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  850. Prt.Size = Prt.Size - grow/Frames
  851. Prt.Transparency = (i/Frames)
  852. elseif(FX == 'Resize+AndFade')then
  853. if(not Settings.EndSize)then
  854. Settings.EndSize = Size*2
  855. end
  856. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  857. Prt.Size = Prt.Size + grow/Frames
  858. Prt.Transparency = (i/Frames)
  859. elseif(FX == 'Fade')then
  860. Prt.Transparency = (i/Frames)
  861. end
  862. if(Settings.RandomizeCFrame)then
  863. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  864. end
  865. if(MoveDir and MoveSpeed)then
  866. local Orientation = Prt.Orientation
  867. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  868. Prt.Orientation = Orientation
  869. end
  870. if(swait and typeof(swait) == 'function')then
  871. swait()
  872. else
  873. wait()
  874. end
  875. end
  876. Prt:destroy()
  877. else
  878. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  879. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  880. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  881. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  882. assert(start ~= nil,"You need to specify a start point!")
  883. assert(endP ~= nil,"You need to specify an end point!")
  884. for i = 0, 1, Settings.Speed or 0.01 do
  885. if(Settings.Home)then
  886. endP = Settings.Home.CFrame
  887. end
  888. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  889. if(swait and typeof(swait) == 'function')then
  890. swait()
  891. else
  892. wait()
  893. end
  894. end
  895. if(Settings.RemoveOnGoal)then
  896. Prt:destroy()
  897. end
  898. end
  899. end)()
  900. return Prt,Msh,Snd
  901. end
  902.  
  903.  
  904. function SoulSteal(whom)
  905. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  906. print(torso)
  907. if(torso and torso:IsA'BasePart')then
  908. local Model = Instance.new("Model",Effects)
  909. Model.Name = whom.Name.."'s Soul"
  910. whom:BreakJoints()
  911. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  912. Soul.Name = 'Head'
  913. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  914. Effect{
  915. Effect="Arc",
  916. Manual = Soul,
  917. FXSettings={
  918. Start=torso.CFrame,
  919. Home = Torso,
  920. RemoveOnGoal = true,
  921. }
  922. }
  923. local lastPoint = Soul.CFrame.p
  924.  
  925. for i = 0, 1, 0.01 do
  926. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  927. local mag = (lastPoint - Soul.Position).magnitude
  928. Effect{
  929. Effect = "Fade",
  930. CFrame = point * CF.N(0, mag/2, 0),
  931. Size = V3.N(.5,mag+.5,.5),
  932. Color = Soul.BrickColor
  933. }
  934. lastPoint = Soul.CFrame.p
  935. swait()
  936. end
  937. for i = 1, 5 do
  938. Effect{
  939. Effect="Fade",
  940. Color = BrickColor.new'Really red',
  941. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  942. }
  943. end
  944. end
  945. end
  946.  
  947. --// Other Functions \\ --
  948.  
  949. function IsWhitelisted(id,who)
  950. if(not NKWhitelist)then
  951. return false
  952. end
  953. for i,v in next, Whitelist do
  954. if(i[1] == id or i[2] == who)then
  955. return v
  956. end
  957. end
  958. return nil
  959. end
  960.  
  961. function chatfunc(text)
  962. local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(text,Plr) end)
  963. if(not succ)then
  964. text = string.rep("_",#text)
  965. end
  966. coroutine.wrap(function()
  967. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  968. Char:FindFirstChild("TalkingBillBoard"):destroy()
  969. end
  970. local Bill = Instance.new("BillboardGui",Char)
  971. Bill.Size = UDim2.new(0,100,0,40)
  972. Bill.StudsOffset = Vector3.new(0,3,0)
  973. Bill.Adornee = Char.Head
  974. Bill.Name = "TalkingBillBoard"
  975. local Hehe = Instance.new("TextLabel",Bill)
  976. Hehe.BackgroundTransparency = 1
  977. Hehe.BorderSizePixel = 0
  978. Hehe.Text = ""
  979. Hehe.Font = "Bodoni"
  980. Hehe.TextSize = 40
  981. Hehe.TextStrokeTransparency = 0
  982. Hehe.Size = UDim2.new(1,0,0.5,0)
  983. coroutine.resume(coroutine.create(function()
  984. while Hehe ~= nil do
  985. swait()
  986. Hehe.Position = UDim2.new(math.random(-.1,.1),math.random(-1,1),.05,math.random(-1,1))
  987. Hehe.Rotation = math.random(-1,1)
  988. Hehe.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  989. Hehe.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  990. end
  991. end))
  992. for i = 1,string.len(text),1 do
  993. swait(5)
  994. Hehe.Text = string.sub(text,1,i)
  995. end
  996. swait(90)
  997. for i = 0, 1, .025 do
  998. swait()
  999. Hehe.TextStrokeTransparency = i
  1000. Hehe.TextTransparency = i
  1001.  
  1002. end
  1003. Bill:Destroy()
  1004. end)()
  1005. end
  1006.  
  1007. function Kill(who,knockout,snapneck,slitneck,beheaded)
  1008. local plr = game:service'Players':GetPlayerFromCharacter(who)
  1009. local Grabd = Grabbed
  1010. if(not IsWhitelisted((plr and plr.UserId or 0),who.Name))then
  1011. if(Plr.UserId == 5719877 and Illusion and not knockout)then
  1012. Disguise(who)
  1013. end
  1014. local rag = script.Ragdoll:Clone()
  1015. rag.Parent = who
  1016. rag.SlitNeck.Value = slitneck or false
  1017. rag.Knockout.Value = knockout or false
  1018. rag.SnapNeck.Value = snapneck or false
  1019. rag.Behead.Value = beheaded or false
  1020. rag.Disabled = false
  1021. end
  1022. end
  1023.  
  1024. function getRegion(point,range,ignore)
  1025. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1026. end
  1027.  
  1028. function getMouseDir()
  1029. return {CF.N(Root.Position, Vector3.new(Mouse.Hit.p.x,Root.Position.y,Mouse.Hit.p.z))}
  1030. end
  1031.  
  1032. function clerp(startCF,endCF,alpha)
  1033. return startCF:lerp(endCF, alpha)
  1034. end
  1035.  
  1036. function GetTorso(char)
  1037. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso'
  1038. end
  1039.  
  1040.  
  1041.  
  1042. function ShowDamage(Pos, Text, Time, Color)
  1043. coroutine.wrap(function()
  1044. local Rate = (1 / 30)
  1045. local Pos = (Pos or Vector3.new(0, 0, 0))
  1046. local Text = (Text or "")
  1047. local Time = (Time or 2)
  1048. local Color = (Color or Color3.new(1, 0, 1))
  1049. local EffectPart = NewInstance("Part",Effects,{
  1050. Material=Enum.Material.SmoothPlastic,
  1051. Reflectance = 0,
  1052. Transparency = 1,
  1053. BrickColor = BrickColor.new(Color),
  1054. Name = "Effect",
  1055. Size = Vector3.new(0,0,0),
  1056. Anchored = true
  1057. })
  1058. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1059. Size = UDim2.new(1.25, 0, 1.25, 0),
  1060. Adornee = EffectPart,
  1061. })
  1062. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1063. BackgroundTransparency = 1,
  1064. Size = UDim2.new(1, 0, 1, 0),
  1065. Text = Text,
  1066. Font = "Arial",
  1067. TextColor3 = Color,
  1068. TextStrokeColor3 = Color3.new(0,0,0),
  1069. TextStrokeTransparency=0,
  1070. TextScaled = true,
  1071. })
  1072. game.Debris:AddItem(EffectPart, (Time))
  1073. EffectPart.Parent = game:GetService("Workspace")
  1074. delay(0, function()
  1075. local Frames = (Time / Rate)
  1076. for Frame = 1, Frames do
  1077. wait(Rate)
  1078. local Percent = (Frame / Frames)
  1079. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1080. TextLabel.TextTransparency = Percent
  1081. TextLabel.TextStrokeTransparency = Percent
  1082. end
  1083. if EffectPart and EffectPart.Parent then
  1084. EffectPart:Destroy()
  1085. end
  1086. end) end)()
  1087. end
  1088.  
  1089.  
  1090. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1091. if(who)then
  1092. local hum = who:FindFirstChildOfClass'Humanoid'
  1093. local Damage = M.RNG(minDam,maxDam)
  1094. local canHit = true
  1095. if(hum)then
  1096. for _, p in pairs(Hit) do
  1097. if p[1] == hum then
  1098. if(time() - p[2] < 0.1) then
  1099. canHit = false
  1100. else
  1101. Hit[_] = nil
  1102. end
  1103. end
  1104. end
  1105. if(canHit)then
  1106. if(hum.Health >= math.huge)then
  1107. who:BreakJoints()
  1108. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1109. 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))
  1110. end
  1111. else
  1112. local player = S.Players:GetPlayerFromCharacter(who)
  1113. if(Type == "Fire")then
  1114. --idk..
  1115. else
  1116. local c = Instance.new("ObjectValue",hum)
  1117. c.Name = "creator"
  1118. c.Value = Plr
  1119. game:service'Debris':AddItem(c,0.35)
  1120. if(M.RNG(1,100) <= (critChance or 0))then
  1121. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1122. 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)
  1123. end
  1124. hum.Health = hum.Health - Damage*(critMult or 2)
  1125. else
  1126. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1127. 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)
  1128. end
  1129. hum.Health = hum.Health - Damage
  1130. end
  1131. if(Type == 'Knockback' and GetTorso(who))then
  1132. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1133. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1134. P = 500,
  1135. maxForce = V3.N(math.huge,0,math.huge),
  1136. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1137. })
  1138. game:service'Debris':AddItem(body,.5)
  1139. elseif(Type == 'Knockdown' and GetTorso(who))then
  1140. local rek = GetTorso(who)
  1141. print(rek)
  1142. hum.PlatformStand = true
  1143. delay(1,function()
  1144. hum.PlatformStand = false
  1145. end)
  1146. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1147. local bodvol = NewInstance("BodyVelocity",rek,{
  1148. velocity = angle * Knock,
  1149. P = 5000,
  1150. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1151. })
  1152. local rl = NewInstance("BodyAngularVelocity",rek,{
  1153. P = 3000,
  1154. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1155. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1156. })
  1157. game:GetService("Debris"):AddItem(bodvol, .5)
  1158. game:GetService("Debris"):AddItem(rl, .5)
  1159. end
  1160. end
  1161. end
  1162. end
  1163. table.insert(Hit,{hum,time()})
  1164. end
  1165. end
  1166. end
  1167.  
  1168. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  1169. for _,v in next, getRegion(where,range,{Char}) do
  1170. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1171. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  1172. end
  1173. end
  1174. end
  1175. function AOEHeal(where,range,amount)
  1176. local healed = {}
  1177. for _,v in next, getRegion(where,range,{Char}) do
  1178. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1179. if(hum and not healed[hum])then
  1180. hum.Health = hum.Health + amount
  1181. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1182. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1183. end
  1184. end
  1185. end
  1186. end
  1187.  
  1188. function ParseFullName(parent)
  1189. if(typeof(parent) == 'Instance' or typeof(parent) == 'string')then
  1190. local owo = parent
  1191. if(typeof(parent) == 'Instance')then owo = parent:GetFullName() end
  1192. local ancestors = {}
  1193. for word in string.gmatch(owo, '([^%.]+)') do
  1194. table.insert(ancestors,word)
  1195. end
  1196. local realInstance = nil;
  1197. if(
  1198. (function()
  1199. local err, ret = pcall(function()
  1200. return game:service(ancestors[1])
  1201. end)
  1202. return err
  1203. end)()
  1204. )then
  1205. local service = game:service(ancestors[1])
  1206. table.remove(ancestors,1)
  1207. local last = service;
  1208. realInstance = last
  1209. for _,v in next, ancestors do
  1210. realInstance = last:FindFirstChild(v)
  1211. end
  1212. elseif(game:FindFirstChild(ancestors[1]))then
  1213. local last = game:FindFirstChild(ancestors[1]);
  1214. realInstance = last
  1215. table.remove(ancestors,1)
  1216. for _,v in next, ancestors do
  1217. realInstance = last:FindFirstChild(v)
  1218. end
  1219. end
  1220. parent = realInstance
  1221. end
  1222. return parent
  1223. end
  1224.  
  1225. function GetMotor(lol,partname)
  1226. for _,v in next, lol:GetDescendants() do
  1227. if(v:IsA'JointInstance' and (v.Part0 and v.Part0.Name == partname or v.Part1 and v.Part1.Name == partname))then
  1228. return v
  1229. end
  1230. end
  1231. return nil
  1232. end
  1233.  
  1234.  
  1235. function Disguise(whom)
  1236. coroutine.wrap(function()
  1237. Plr:ClearCharacterAppearance()
  1238. for _,v in next, whom:children() do
  1239. if(v:IsA'Clothing' or v:IsA'Accoutrement' or v:IsA'CharacterMesh' or v:IsA'BodyColors')then
  1240. v.Parent = Char
  1241. elseif(v:IsA'BillboardGui')then
  1242. if(v.Adornee and ParseFullName(v.Adornee:GetFullName():gsub(whom.Name,Char.Name)))then v.Adornee = ParseFullName(v.Adornee:GetFullName():gsub(whom.Name,Char.Name)) end
  1243. local parent = ParseFullName(v:GetFullName():gsub(whom.Name,Char.Name))
  1244. print(parent)
  1245. v.Parent = parent
  1246. end
  1247. end
  1248. end)()
  1249. AshesToAshes(whom)
  1250. end
  1251.  
  1252. --// Attack Functions \\--
  1253.  
  1254. function Grab()
  1255. if(not Grabbed)then
  1256. Attack = true
  1257. NeutralAnims = false
  1258. for i = 0, .8, 0.1 do
  1259. swait()
  1260. local Alpha = .3
  1261. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00193208607, 0.00629366748, 0.00185523089, 0.907356799, -0.00264247996, -0.420352101, 0, 0.99998033, -0.00628622575, 0.420360357, 0.00570384972, 0.907338977),Alpha)
  1262. LH.C0 = clerp(LH.C0,CFrame.new(-0.496516556, -0.990822077, 0.0215793028, 0.927744865, 0, 0.373215109, -0.00234611449, 0.99998033, 0.00583201321, -0.373207778, -0.00628622575, 0.927726567),Alpha)
  1263. RH.C0 = clerp(RH.C0,CFrame.new(0.498511255, -0.990985394, 0.0154654104, 0.999878168, 0, 0.0156123936, -9.81430057e-05, 0.99998033, 0.00628545973, -0.0156120658, -0.00628622575, 0.999858499),Alpha)
  1264. LS.C0 = clerp(LS.C0,CFrame.new(-1.28321671, 0.541341543, -0.00668063015, -0.136956185, 0.990454078, 0.0156114697, -0.990541995, -0.137067258, 0.00627544476, 0.0083553642, -0.0146043599, 0.999858558),Alpha)
  1265. RS.C0 = clerp(RS.C0,CFrame.new(1.4388839, 0.49686113, 0.00816594996, 0.992936254, -0.117616668, 0.015612036, 0.117531195, 0.993049443, 0.0062870346, -0.0162429512, -0.00440772995, 0.999858439),Alpha)
  1266. NK.C0 = clerp(NK.C0,CFrame.new(-0.00461758673, 1.49895227, -0.0147996247, 0.907356918, -0.0241678841, 0.41966486, -0.00264283665, 0.997998297, 0.063187331, -0.420351923, -0.0584425703, 0.905476689),Alpha)
  1267. end
  1268. local bv = NewInstance('BodyVelocity',Root,{
  1269. P = 500,
  1270. maxForce = V3.N(math.huge,0,math.huge),
  1271. velocity = Root.CFrame.lookVector * 15
  1272. })
  1273. local touch;
  1274. touch = LArm.Touched:connect(function(t)
  1275. local p = t.Parent
  1276. if(p)then
  1277. local tor = GetTorso(p)
  1278. if(tor and p:FindFirstChildOfClass'Humanoid' and p:FindFirstChildOfClass'Humanoid'.Health > 0)then
  1279. touch:disconnect()
  1280. if(p:FindFirstChild'HumanoidRootPart')then
  1281. GrabRoot = p:FindFirstChild'HumanoidRootPart'
  1282. GrabRoot.Parent = nil
  1283. end
  1284. Grabbed = p;
  1285. p.Parent = Char;
  1286. GrabWeld = Instance.new('Weld')
  1287. GrabWeld.Part0 = tor
  1288. GrabWeld.Part1 = Torso
  1289. GrabWeld.C0 = CFrame.new(.35,.1,1.2)
  1290. GrabWeld.Parent = tor
  1291. --tor.Anchored = true
  1292. end
  1293. end
  1294. end)
  1295. for i = 0, 1, 0.1 do
  1296. swait()
  1297. local Alpha = .3
  1298. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1299. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1300. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1301. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1302. RS.C0 = clerp(RS.C0,CFrame.new(1.43893003, 0.496862888, 0.00816344284, 0.992936373, -0.117616765, 0.015611589, 0.117531218, 0.993049324, 0.00629182206, -0.0162431002, -0.00441253185, 0.99985832),Alpha)
  1303. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1304. end
  1305. pcall(function() touch:disconnect() end)
  1306. bv:destroy()
  1307. NeutralAnims = true
  1308. Attack = false
  1309. end
  1310. end
  1311.  
  1312. function Puncc()
  1313. if(Grabbed)then
  1314. Attack = true
  1315. NeutralAnims = false
  1316. local t = GetTorso(Grabbed)
  1317. local plr = game:service'Players':GetPlayerFromCharacter(Grabbed)
  1318. if(IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name))then
  1319. for i = 0, .9, 0.1 do
  1320. swait()
  1321. local Alpha = .3
  1322. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1323. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1324. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1325. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1326. RS.C0 = clerp(RS.C0,CFrame.new(1.80708849, 0.761939049, 0.689642072, 0.897953331, 0.423834026, 0.118509173, 0.0270571467, 0.215606526, -0.976105571, -0.439258009, 0.879703641, 0.182136863),Alpha)
  1327. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1328. end
  1329. swait(60)
  1330. local dialogue = IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name)
  1331. chatfunc(dialogue[M.RNG(1,#dialogue)])
  1332. Grabbed.Parent = workspace
  1333. GrabWeld:destroy()
  1334. local h = Grabbed:FindFirstChildOfClass'Humanoid'
  1335. Grabbed = nil
  1336. h.WalkSpeed = 16
  1337. h.JumpPower = 50
  1338. h.AutoRotate = true
  1339. h.AutoJumpEnabled = true
  1340. h.PlatformStand = false
  1341. if(GrabRoot)then
  1342. GrabRoot.Parent = Grabbed
  1343. if(GrabRoot:FindFirstChild'RootJoint')then
  1344. GrabRoot.RootJoint.Part0 = GrabRoot
  1345. GrabRoot.RootJoint.Part1 = GetTorso(Grabbed)
  1346. end
  1347. end
  1348. else
  1349. for i = 1,4 do
  1350. for i = 0, .9, 0.1 do
  1351. swait()
  1352. local Alpha = .3
  1353. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1354. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1355. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1356. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1357. RS.C0 = clerp(RS.C0,CFrame.new(1.80708849, 0.761939049, 0.689642072, 0.897953331, 0.423834026, 0.118509173, 0.0270571467, 0.215606526, -0.976105571, -0.439258009, 0.879703641, 0.182136863),Alpha)
  1358. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1359. end
  1360. local s = Sound(RArm,260430060,1,1,false,false,false)
  1361. s:Play()
  1362. s.Ended:connect(function() s:Destroy() end)
  1363. for i = 0, .9, 0.1 do
  1364. swait()
  1365. local Alpha = .3
  1366. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1367. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1368. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1369. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1370. RS.C0 = clerp(RS.C0,CFrame.new(1.17549443, 0.777586043, -0.934427261, 0.390449464, 0.898339152, -0.201335698, 0.0301172175, -0.23104164, -0.972477674, -0.920131624, 0.373639643, -0.117265522),Alpha)
  1371. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1372. end
  1373.  
  1374. local hed = Grabbed:FindFirstChild'Head'
  1375.  
  1376. for i = 1, M.RNG(25,45) do
  1377. if(hed)then
  1378. local spread = V3.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100)
  1379. BloodDrop(hed.CFrame*CF.N(-hed.Size.X/2,0,0).p,hed.CFrame * CF.N(-hed.Size.X,0,0).p+spread,10)
  1380. end
  1381. end
  1382. local hum = Grabbed:FindFirstChildOfClass'Humanoid'
  1383. hum.Health = hum.Health - hum.MaxHealth/4
  1384. if(i == 4 or hum.Health <= 0)then
  1385. Grabbed.Parent = workspace
  1386. GrabWeld:destroy()
  1387. Kill(Grabbed)
  1388. if(GrabRoot)then
  1389. GrabRoot.Parent = Grabbed
  1390. if(GrabRoot:FindFirstChild'RootJoint')then
  1391. GrabRoot.RootJoint.Part0 = GrabRoot
  1392. GrabRoot.RootJoint.Part1 = GetTorso(Grabbed)
  1393. end
  1394. end
  1395. break
  1396. end
  1397. swait()
  1398. end
  1399. for i = 0, 1, 0.1 do
  1400. swait()
  1401. local Alpha = .3
  1402. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0481926091, 0.00629382674, 0.0246174447, 0.65376097, 0.00475490233, 0.756685793, 0, 0.99998033, -0.00628372887, -0.756700635, 0.00410805643, 0.653748095),Alpha)
  1403. LH.C0 = clerp(LH.C0,CFrame.new(-0.496571243, -0.990822434, 0.0215304215, 0.927746773, 0, 0.373210311, -0.0023451522, 0.99998033, 0.00582970958, -0.37320295, -0.00628372887, 0.927728534),Alpha)
  1404. RH.C0 = clerp(RH.C0,CFrame.new(0.498465598, -0.990985274, 0.0154769812, 0.999878168, 0, 0.0156086087, -9.80801415e-05, 0.99998033, 0.00628296379, -0.0156082809, -0.00628372887, 0.999858499),Alpha)
  1405. LS.C0 = clerp(LS.C0,CFrame.new(-1.58050811, 0.449335635, -0.0116027892, 0.0270063579, 0.342460334, -0.939144135, 0.789849699, 0.568528593, 0.230028018, 0.612705827, -0.74799484, -0.255138427),Alpha)
  1406. RS.C0 = clerp(RS.C0,CFrame.new(1.36615491, 0.532160282, 0.409220845, 0.792185426, -0.607154131, 0.0616948716, 0.0765790567, -0.00139807793, -0.997062683, 0.605456948, 0.794582963, 0.0453877486),Alpha)
  1407. NK.C0 = clerp(NK.C0,CFrame.new(0.0528553352, 1.49906898, 0.00389073044, 0.986508369, 0.00941299647, -0.163440406, 0.00102871726, 0.997969687, 0.0636851341, 0.163708001, -0.062994048, 0.98449564),Alpha)
  1408. end
  1409. t.Velocity = Root.CFrame.lookVector*25 + V3.N(0,25,0)
  1410. end
  1411. Grabbed = nil
  1412. Hum.JumpPower = 75
  1413. GrabRoot = nil
  1414. GrabWeld = nil
  1415. Attack = false
  1416. NeutralAnims = true
  1417. end
  1418. end
  1419. function Knockout()
  1420. if(Grabbed)then
  1421. Attack = true
  1422. NeutralAnims = false
  1423. for i = 0, .9, 0.1 do
  1424. swait()
  1425. local Alpha = .3
  1426. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1427. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1428. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1429. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1430. RS.C0 = clerp(RS.C0,CFrame.new(1.80708849, 0.761939049, 0.689642072, 0.897953331, 0.423834026, 0.118509173, 0.0270571467, 0.215606526, -0.976105571, -0.439258009, 0.879703641, 0.182136863),Alpha)
  1431. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1432. end
  1433. local plr = game:service'Players':GetPlayerFromCharacter(Grabbed)
  1434. if(IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name))then
  1435. swait(60)
  1436. local dialogue = IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name)
  1437. chatfunc(dialogue[M.RNG(1,#dialogue)])
  1438. Grabbed.Parent = workspace
  1439. GrabWeld:destroy()
  1440. local h = Grabbed:FindFirstChildOfClass'Humanoid'
  1441. Grabbed = nil
  1442. h.WalkSpeed = 16
  1443. h.JumpPower = 50
  1444. h.AutoRotate = true
  1445. h.AutoJumpEnabled = true
  1446. h.PlatformStand = false
  1447. if(GrabRoot)then
  1448. GrabRoot.Parent = Grabbed
  1449. if(GrabRoot:FindFirstChild'RootJoint')then
  1450. GrabRoot.RootJoint.Part0 = GrabRoot
  1451. GrabRoot.RootJoint.Part1 = GetTorso(Grabbed)
  1452. end
  1453. end
  1454. else
  1455. local s = Sound(RArm,260430060,1,1,false,false,false)
  1456. s:Play()
  1457. s.Ended:connect(function() s:Destroy() end)
  1458. for i = 0, .9, 0.1 do
  1459. swait()
  1460. local Alpha = .3
  1461. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.054316666, 0.00629384024, -0.00943023153, 0.986508608, 0.0010291409, 0.163703948, 0, 0.99998033, -0.00628647255, -0.163707182, 0.00620165979, 0.986489117),Alpha)
  1462. LH.C0 = clerp(LH.C0,CFrame.new(-0.496530116, -0.990822315, 0.021535337, 0.927745104, 0, 0.373214513, -0.00234620273, 0.99998033, 0.00583224464, -0.373207152, -0.00628647255, 0.927726746),Alpha)
  1463. RH.C0 = clerp(RH.C0,CFrame.new(0.498488486, -0.990985274, 0.0154777654, 0.999878109, 0, 0.0156117529, -9.81427147e-05, 0.99998033, 0.006285707, -0.0156114399, -0.00628647255, 0.999858379),Alpha)
  1464. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1465. RS.C0 = clerp(RS.C0,CFrame.new(1.17549443, 0.777586043, -0.934427261, 0.390449464, 0.898339152, -0.201335698, 0.0301172175, -0.23104164, -0.972477674, -0.920131624, 0.373639643, -0.117265522),Alpha)
  1466. NK.C0 = clerp(NK.C0,CFrame.new(0.0528750941, 1.49906909, 0.00386402756, 0.986508608, 0.0094125513, -0.163436547, 0.00102878432, 0.997969687, 0.0636843145, 0.163704127, -0.0629932657, 0.984495819),Alpha)
  1467. end
  1468. local hed = Grabbed:FindFirstChild'Head'
  1469. local hum = Grabbed:FindFirstChildOfClass'Humanoid'
  1470. for i = 1, M.RNG(15,35) do
  1471. if(hed)then
  1472. local spread = V3.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100)
  1473. BloodDrop(hed.CFrame*CF.N(-hed.Size.X/2,0,0).p,hed.CFrame * CF.N(-hed.Size.X,0,0).p+spread,10)
  1474. end
  1475. end
  1476. Grabbed.Parent = workspace
  1477. GrabWeld:destroy()
  1478. if(GrabRoot)then
  1479. GrabRoot.Parent = Grabbed
  1480. if(GrabRoot:FindFirstChild'RootJoint')then
  1481. GrabRoot.RootJoint.Part0 = GrabRoot
  1482. GrabRoot.RootJoint.Part1 = GetTorso(Grabbed)
  1483. end
  1484. end
  1485. Kill(Grabbed,true)
  1486. for i = 0, 1, 0.1 do
  1487. swait()
  1488. local Alpha = .3
  1489. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0481926091, 0.00629382674, 0.0246174447, 0.65376097, 0.00475490233, 0.756685793, 0, 0.99998033, -0.00628372887, -0.756700635, 0.00410805643, 0.653748095),Alpha)
  1490. LH.C0 = clerp(LH.C0,CFrame.new(-0.496571243, -0.990822434, 0.0215304215, 0.927746773, 0, 0.373210311, -0.0023451522, 0.99998033, 0.00582970958, -0.37320295, -0.00628372887, 0.927728534),Alpha)
  1491. RH.C0 = clerp(RH.C0,CFrame.new(0.498465598, -0.990985274, 0.0154769812, 0.999878168, 0, 0.0156086087, -9.80801415e-05, 0.99998033, 0.00628296379, -0.0156082809, -0.00628372887, 0.999858499),Alpha)
  1492. LS.C0 = clerp(LS.C0,CFrame.new(-1.58050811, 0.449335635, -0.0116027892, 0.0270063579, 0.342460334, -0.939144135, 0.789849699, 0.568528593, 0.230028018, 0.612705827, -0.74799484, -0.255138427),Alpha)
  1493. RS.C0 = clerp(RS.C0,CFrame.new(1.36615491, 0.532160282, 0.409220845, 0.792185426, -0.607154131, 0.0616948716, 0.0765790567, -0.00139807793, -0.997062683, 0.605456948, 0.794582963, 0.0453877486),Alpha)
  1494. NK.C0 = clerp(NK.C0,CFrame.new(0.0528553352, 1.49906898, 0.00389073044, 0.986508369, 0.00941299647, -0.163440406, 0.00102871726, 0.997969687, 0.0636851341, 0.163708001, -0.062994048, 0.98449564),Alpha)
  1495. end
  1496. GetTorso(Grabbed).Velocity = Root.CFrame.lookVector*25 + V3.N(0,25,0)
  1497. end
  1498. Grabbed = nil
  1499. Hum.JumpPower = 75
  1500. GrabRoot = nil
  1501. GrabWeld = nil
  1502. Attack = false
  1503. NeutralAnims = true
  1504. end
  1505. end
  1506.  
  1507. function Snap()
  1508. if(Grabbed)then
  1509. NeutralAnims = false
  1510. Attack = true
  1511.  
  1512. GrabWeld.C0 = CF.N(0,0,1.25)
  1513.  
  1514. for i = 0, 3, 0.1 do
  1515. swait()
  1516. local Alpha = .15
  1517. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20601184e-13, 0.00629484281, 1.42357749e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1518. 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)
  1519. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990985215, 0.015461375, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1520. LS.C0 = clerp(LS.C0,CFrame.new(-1.0497061, 0.705051541, -0.33803454, 0.682119429, -0.717170596, 0.142754376, -0.0926411301, -0.278404415, -0.955985785, 0.725348234, 0.638871491, -0.256344557),Alpha)
  1521. RS.C0 = clerp(RS.C0,CFrame.new(1.52703452, 0.551944017, -0.166501373, 0.793947041, 0.602447271, -0.0818819627, 0.2267804, -0.418403924, -0.879493535, -0.564108193, 0.679702103, -0.468813747),Alpha)
  1522. NK.C0 = clerp(NK.C0,CFrame.new(0.228190616, 1.50039434, -0.0144923478, 0.887658954, 0.460500509, -8.55699182e-06, -0.459563375, 0.885853827, 0.0637544692, 0.0293665491, -0.0565883033, 0.997965276),Alpha)
  1523. end
  1524. local plr = game:service'Players':GetPlayerFromCharacter(Grabbed)
  1525. if(IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name))then
  1526. swait(60)
  1527. local dialogue = IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name)
  1528. chatfunc(dialogue[M.RNG(1,#dialogue)])
  1529. Grabbed.Parent = workspace
  1530. GrabWeld:destroy()
  1531. local h = Grabbed:FindFirstChildOfClass'Humanoid'
  1532. Grabbed = nil
  1533. h.WalkSpeed = 16
  1534. h.JumpPower = 50
  1535. h.AutoRotate = true
  1536. h.AutoJumpEnabled = true
  1537. h.PlatformStand = false
  1538. if(GrabRoot)then
  1539. GrabRoot.Parent = Grabbed
  1540. if(GrabRoot:FindFirstChild'RootJoint')then
  1541. GrabRoot.RootJoint.Part0 = GrabRoot
  1542. GrabRoot.RootJoint.Part1 = GetTorso(Grabbed)
  1543. end
  1544. end
  1545. else
  1546. local s = Sound(Grabbed.Head,1093102664,1,1,false,false,false)
  1547. s:Play()
  1548. s.Ended:connect(function() s:Destroy() end)
  1549.  
  1550. Grabbed.Parent = workspace
  1551. local h = Grabbed:FindFirstChildOfClass'Humanoid'
  1552. local t = GetTorso(Grabbed)
  1553. Kill(Grabbed,false,true)
  1554. if(GrabRoot)then
  1555. GrabRoot.Parent = Grabbed
  1556. local tor = GetTorso(Grabbed)
  1557. if(tor and tor:FindFirstChild'RootJoint')then
  1558. tor.RootJoint.Part0 = GrabRoot
  1559. end
  1560. end
  1561. GrabWeld:destroy()
  1562. for i = 0, 1.5, 0.1 do
  1563. swait()
  1564. local Alpha = .3
  1565. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20601184e-13, 0.00629484281, 1.42357749e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1566. 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)
  1567. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990985215, 0.015461375, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  1568. LS.C0 = clerp(LS.C0,CFrame.new(-1.33044577, 0.483468592, 0.00416206988, -0.0427992642, 0.98883146, 0.142758116, 0.252784908, 0.14895758, -0.955987155, -0.966575086, -0.00482845958, -0.256336927),Alpha)
  1569. RS.C0 = clerp(RS.C0,CFrame.new(1.43940496, 0.519364655, -0.0901164114, 0.0136005525, -0.996542454, -0.0819599032, -0.471335799, 0.0659001991, -0.879488349, 0.881848693, 0.0505921617, -0.468809843),Alpha)
  1570. NK.C0 = clerp(NK.C0,CFrame.new(0.228190616, 1.50039434, -0.0144923478, 0.887658954, 0.460500509, -8.55699182e-06, -0.459563375, 0.885853827, 0.0637544692, 0.0293665491, -0.0565883033, 0.997965276),Alpha)
  1571. end
  1572. end
  1573. Hum.JumpPower = 75
  1574. Grabbed = nil
  1575. GrabRoot = nil
  1576. GrabWeld = nil
  1577. Attack = false
  1578. NeutralAnims = true
  1579. end
  1580. end
  1581.  
  1582. function PunchIt()
  1583. if(Mouse.Target and Mouse.Target.Parent and Mouse.Target.Parent:FindFirstChildOfClass'Humanoid' and Mouse.Target.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 and not Mouse.Target.Parent:FindFirstChild'AshesToAshes')then
  1584. Attack = true
  1585. NeutralAnims = false
  1586. local lol = Mouse.Target.Parent
  1587. local h = lol:FindFirstChildOfClass'Humanoid'
  1588. local tor = GetTorso(lol)
  1589. if(tor)then
  1590. Torso.CFrame = tor.CFrame * CF.N(0,0,2)
  1591. tor.Anchored = true
  1592. Root.Anchored = true
  1593. h.AutoRotate = false
  1594. h.WalkSpeed = 0
  1595. h.JumpPower = 0
  1596. Hum.AutoRotate = false
  1597. Hum.WalkSpeed = 0
  1598. Hum.JumpPower = 0
  1599. for i = 0, 10, 0.1 do
  1600. swait()
  1601. local Alpha = .05
  1602. RJ.C0 = clerp(RJ.C0,CFrame.new(0.118668929, 0.00629467471, 0.0391367227, 0.858520091, -0.00322227809, -0.512769163, 0, 0.99998033, -0.00628394773, 0.512779295, 0.0053948951, 0.858503222),Alpha)
  1603. LH.C0 = clerp(LH.C0,CFrame.new(-0.568280399, -0.989645958, 0.2085682, 0.850410283, 0, 0.526120186, -0.00330611179, 0.99998033, 0.00534393359, -0.526109815, -0.00628394773, 0.850393534),Alpha)
  1604. RH.C0 = clerp(RH.C0,CFrame.new(0.531064987, -1.01046956, 0.0309553742, 0.88661027, -0.178071246, -0.426864058, 0.199540049, 0.9798733, 0.00568569079, 0.4172602, -0.0902174562, 0.904298007),Alpha)
  1605. LS.C0 = clerp(LS.C0,CFrame.new(-1.26354766, 0.594924927, 0.199008048, 0.902838469, 0.425261527, 0.0635258257, -0.41153428, 0.811815679, 0.414240181, 0.124589115, -0.400134921, 0.907948136),Alpha)
  1606. RS.C0 = clerp(RS.C0,CFrame.new(1.18380463, 0.614758193, 0.713801742, 0.931151271, -0.364624411, 0.002581954, 0.0649559572, 0.158903733, -0.985155106, 0.358801365, 0.917495966, 0.171647921),Alpha)
  1607. NK.C0 = clerp(NK.C0,CFrame.new(-0.124481052, 1.49912858, 0.0135570429, 0.85852021, -0.0294814389, 0.511930943, -0.00322263478, 0.998016059, 0.0628788844, -0.512768984, -0.0556325614, 0.856721878),Alpha)
  1608. end
  1609. local s = Sound(Torso,446961725,1,1,false,false,false)
  1610. s:Play()
  1611. s.Ended:connect(function() s:Destroy() end)
  1612. for i = 1, 4 do
  1613. Effect{
  1614. Effect='Resize+AndFade',
  1615. Color = BrickColor.new'Crimson',
  1616. Material = Enum.Material.Neon,
  1617. Size = V3.N(1,1,1),
  1618. Mesh = {MeshType=Enum.MeshType.Sphere},
  1619. CFrame=Head.CFrame*CF.N(0.2, 0.2, -0.49)*CF.A(0,0,M.R(i*90)),
  1620. FXSettings={
  1621. EndSize=V3.N(.05,5,.05),
  1622. }
  1623. }
  1624. Effect{
  1625. Effect='Resize+AndFade',
  1626. Color = BrickColor.new'Crimson',
  1627. Material = Enum.Material.Neon,
  1628. Size = V3.N(1,1,1),
  1629. Mesh = {MeshType=Enum.MeshType.Sphere},
  1630. CFrame=Head.CFrame*CF.N(-0.2, 0.2, -0.49)*CF.A(0,0,M.R(i*90)),
  1631. FXSettings={
  1632. EndSize=V3.N(.05,5,.05),
  1633. }
  1634. }
  1635. end
  1636. swait(60)
  1637. local plr = game:service'Players':GetPlayerFromCharacter(lol)
  1638. if(IsWhitelisted((plr and plr.UserId or 0),lol.Name))then
  1639. local dialogue = IsWhitelisted((plr and plr.UserId or 0),lol.Name)
  1640. chatfunc(dialogue[M.RNG(1,#dialogue)])
  1641. lol.Parent = workspace
  1642. local h = lol:FindFirstChildOfClass'Humanoid'
  1643. h.WalkSpeed = 16
  1644. h.JumpPower = 50
  1645. h.AutoRotate = true
  1646. h.AutoJumpEnabled = true
  1647. h.PlatformStand = false
  1648. tor.Anchored = false
  1649. if(GrabRoot)then
  1650. GrabRoot.Parent = lol
  1651. if(GrabRoot:FindFirstChild'RootJoint')then
  1652. GrabRoot.RootJoint.Part0 = GrabRoot
  1653. GrabRoot.RootJoint.Part1 = GetTorso(lol)
  1654. end
  1655. end
  1656. else
  1657. local s = Sound(Torso,429400881,1,1,false,false,false)
  1658. s:Play()
  1659.  
  1660. s.Ended:connect(function() s:Destroy() end)
  1661. if(Plr.UserId == 5719877 and Illusion)then
  1662. Disguise(tor.Parent)
  1663. else
  1664. tor:destroy()
  1665. end
  1666. Blood(tor,450)
  1667.  
  1668. for i = 0, .4, 0.1 do
  1669. swait()
  1670. local Alpha = .5
  1671. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00849027745, 0.00629195292, 0.00207519461, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0),Alpha)
  1672. LH.C0 = clerp(LH.C0,CFrame.new(-0.504917622, -1.05488086, 0.066530779, 0.849894702, 0.338942498, 0.403481334, -0.356205165, 0.933785081, -0.0341095924, -0.388325959, -0.114732549, 0.914351881),Alpha)
  1673. RH.C0 = clerp(RH.C0,CFrame.new(0.498520464, -0.990982294, 0.0154670384, 0.309365898, 0, -0.950943351, 0.0059774071, 0.99998033, 0.00194460154, 0.950924397, -0.00628576661, 0.309359759),Alpha)
  1674. LS.C0 = clerp(LS.C0,CFrame.new(-1.31284428, 0.468923599, -0.00576730724, 0.923811853, 0.382528603, 0.0156120034, -0.382658333, 0.923868656, 0.00628500059, -0.0120192459, -0.0117802192, 0.999858379),Alpha)
  1675. RS.C0 = clerp(RS.C0,CFrame.new(1.49771297, 0.500330687, 0.0072571151, 0, -0.999878228, 0.0156120034, 0.99998033, 9.81333942e-05, 0.00628500059, -0.00628576661, 0.0156116933, 0.999858379),Alpha)
  1676. NK.C0 = clerp(NK.C0,CFrame.new(0.00705647469, 1.49904037, -0.000922955165, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1677. end
  1678. swait(60)
  1679. end
  1680. Root.Anchored = false
  1681. Hum.AutoRotate = true
  1682. Hum.WalkSpeed = 8
  1683. Hum.JumpPower = 75
  1684. Attack = false
  1685. NeutralAnims = true
  1686. end
  1687. end
  1688. end
  1689.  
  1690. function SlitThroat()
  1691. if(Grabbed)then
  1692. local Grabd = Grabbed
  1693. Attack = true
  1694. NeutralAnims = false
  1695. for i = 0, 2, 0.1 do
  1696. swait()
  1697. local Alpha = .3
  1698. RJ.C0 = clerp(RJ.C0,CFrame.new(1.23665141e-12, 0.00629508123, 1.42510908e-06, 0.999984562, 1.96450856e-10, 0, 1.02241826e-10, 0.999980271, -0.0062861722, 9.31322575e-10, 0.00628609909, 0.999965906),Alpha)
  1699. LH.C0 = clerp(LH.C0,CFrame.new(-0.496471316, -0.990824282, 0.0216033701, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1700. RH.C0 = clerp(RH.C0,CFrame.new(0.498526543, -0.990986764, 0.0154612511, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1701. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1702. RS.C0 = clerp(RS.C0,CFrame.new(1.21775055, 0.450534195, 0.383982718, 0.674927175, 0.574800849, -0.462668359, -0.336127609, 0.797698259, 0.500695467, 0.656870246, -0.182417512, 0.73159492),Alpha)
  1703. NK.C0 = clerp(NK.C0,CFrame.new(8.16631564e-06, 1.49894774, -0.0143926218, 0.999984562, 3.67581379e-07, -1.62050128e-07, -3.56332748e-07, 0.997964919, 0.0637686178, 1.8440187e-07, -0.0637678728, 0.997950256),Alpha)
  1704. end
  1705. --Part(parent,color,material,size,cframe,anchored,cancollide)
  1706. local knife = Part(Char,BrickColor.new"Medium stone grey",Enum.Material.SmoothPlastic,V3.N(.2,.4,2),CF.N(),false,false)
  1707. knife.Anchored = false
  1708. local knifeMesh = Mesh(knife,Enum.MeshType.FileMesh,"rbxassetid://202083123","rbxassetid://210526258",V3.N(1,1,1),V3.N())
  1709. local knifeWeld = NewInstance("Weld",knife,{
  1710. Part0 = knife,
  1711. Part1 = RArm,
  1712. C0 = CF.N(0,1,.5)
  1713. })
  1714. for i = 0, 3, 0.1 do
  1715. swait()
  1716. local Alpha = .3
  1717. RJ.C0 = clerp(RJ.C0,CFrame.new(1.23665141e-12, 0.00629508123, 1.42510908e-06, 0.999984562, 1.96450856e-10, 0, 1.02241826e-10, 0.999980271, -0.0062861722, 9.31322575e-10, 0.00628609909, 0.999965906),Alpha)
  1718. LH.C0 = clerp(LH.C0,CFrame.new(-0.496471316, -0.990824282, 0.0216033701, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1719. RH.C0 = clerp(RH.C0,CFrame.new(0.498526543, -0.990986764, 0.0154612511, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1720. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1721. RS.C0 = clerp(RS.C0,CFrame.new(0.991692483, 0.4137474, -0.579402447, 0.0676753521, 0.0960910618, 0.993061543, 0.95268631, -0.301849544, -0.0357161537, 0.29632321, 0.948493719, -0.111972481),Alpha)
  1722. NK.C0 = clerp(NK.C0,CFrame.new(8.16631564e-06, 1.49894774, -0.0143926218, 0.999984562, 3.67581379e-07, -1.62050128e-07, -3.56332748e-07, 0.997964919, 0.0637686178, 1.8440187e-07, -0.0637678728, 0.997950256),Alpha)
  1723. end
  1724. local plr = game:service'Players':GetPlayerFromCharacter(Grabbed)
  1725. if(IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name))then
  1726. swait(60)
  1727. local dialogue = IsWhitelisted((plr and plr.UserId or 0),Grabbed.Name)
  1728. chatfunc(dialogue[M.RNG(1,#dialogue)])
  1729. Grabbed.Parent = workspace
  1730. GrabWeld:destroy()
  1731. local h = Grabbed:FindFirstChildOfClass'Humanoid'
  1732. Grabbed = nil
  1733. h.WalkSpeed = 16
  1734. h.JumpPower = 50
  1735. h.AutoRotate = true
  1736. h.AutoJumpEnabled = true
  1737. h.PlatformStand = false
  1738. if(GrabRoot)then
  1739. GrabRoot.Parent = Grabbed
  1740. if(GrabRoot:FindFirstChild'RootJoint')then
  1741. GrabRoot.RootJoint.Part0 = GrabRoot
  1742. GrabRoot.RootJoint.Part1 = GetTorso(Grabd)
  1743. end
  1744. end
  1745. else
  1746. --
  1747. for i = 0, 1, 0.1 do
  1748. swait()
  1749. local Alpha = .3
  1750. RJ.C0 = clerp(RJ.C0,CFrame.new(1.23665141e-12, 0.00629508123, 1.42510908e-06, 0.999984562, 1.96450856e-10, 0, 1.02241826e-10, 0.999980271, -0.0062861722, 9.31322575e-10, 0.00628609909, 0.999965906),Alpha)
  1751. LH.C0 = clerp(LH.C0,CFrame.new(-0.496471316, -0.990824282, 0.0216033701, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1752. RH.C0 = clerp(RH.C0,CFrame.new(0.498526543, -0.990986764, 0.0154612511, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1753. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1754. RS.C0 = clerp(RS.C0,CFrame.new(1.24395478, 0.368206263, -0.490601838, 0.0676723644, 0.449762672, 0.890572071, 0.952686548, -0.29424572, 0.0762096569, 0.296323329, 0.843279243, -0.448395431),Alpha)
  1755. NK.C0 = clerp(NK.C0,CFrame.new(8.16631564e-06, 1.49894774, -0.0143926218, 0.999984562, 3.67581379e-07, -1.62050128e-07, -3.56332748e-07, 0.997964919, 0.0637686178, 1.8440187e-07, -0.0637678728, 0.997950256),Alpha)
  1756. end
  1757. local s = Sound(Grabbed.Head,1093102664,1,1,false,false,false)
  1758. s:Play()
  1759. s.Ended:connect(function() s:Destroy() end)
  1760. Grabbed.Parent = workspace
  1761. GrabWeld:destroy()
  1762. Kill(Grabbed,false,false,true)
  1763. if(GrabRoot)then
  1764. GrabRoot.Parent = Grabbed
  1765. if(GrabRoot:FindFirstChild'RootJoint')then
  1766. GrabRoot.RootJoint.Part0 = GrabRoot
  1767. GrabRoot.RootJoint.Part1 = GetTorso(Grabd)
  1768. end
  1769. end
  1770. if(not Illusion)then
  1771. coroutine.wrap(function()
  1772. repeat swait()
  1773. if(GetTorso(Grabd))then
  1774. BloodDrop(GetTorso(Grabd).CFrame*CF.N(0,(GetTorso(Grabd).Size.Y+.5)/2,0).p,GetTorso(Grabd).CFrame * CF.N(0,0,-GetTorso(Grabd).Size.Z).p,15)
  1775. end
  1776. until not Grabd.Parent
  1777. end)()
  1778. end
  1779. for i = 0, 2, 0.1 do
  1780. swait()
  1781. local Alpha = .3
  1782. RJ.C0 = clerp(RJ.C0,CFrame.new(1.23665141e-12, 0.00629508123, 1.42510908e-06, 0.999984562, 1.96450856e-10, 0, 1.02241826e-10, 0.999980271, -0.0062861722, 9.31322575e-10, 0.00628609909, 0.999965906),Alpha)
  1783. LH.C0 = clerp(LH.C0,CFrame.new(-0.496471316, -0.990824282, 0.0216033701, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1784. RH.C0 = clerp(RH.C0,CFrame.new(0.498526543, -0.990986764, 0.0154612511, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1785. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1786. RS.C0 = clerp(RS.C0,CFrame.new(1.25576186, 0.533815503, -0.050903488, 0.0676771998, -0.993729889, -0.0889119133, 0.95268935, 0.0908342898, -0.290055543, 0.296313196, -0.0650753155, 0.952863812),Alpha)
  1787. NK.C0 = clerp(NK.C0,CFrame.new(8.16631564e-06, 1.49894774, -0.0143926218, 0.999984562, 3.67581379e-07, -1.62050128e-07, -3.56332748e-07, 0.997964919, 0.0637686178, 1.8440187e-07, -0.0637678728, 0.997950256),Alpha)
  1788. end
  1789. end
  1790. for i = 0, 2, 0.1 do
  1791. swait()
  1792. local Alpha = .3
  1793. RJ.C0 = clerp(RJ.C0,CFrame.new(1.23665141e-12, 0.00629508123, 1.42510908e-06, 0.999984562, 1.96450856e-10, 0, 1.02241826e-10, 0.999980271, -0.0062861722, 9.31322575e-10, 0.00628609909, 0.999965906),Alpha)
  1794. LH.C0 = clerp(LH.C0,CFrame.new(-0.496471316, -0.990824282, 0.0216033701, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1795. RH.C0 = clerp(RH.C0,CFrame.new(0.498526543, -0.990986764, 0.0154612511, 0.999863088, 1.02241826e-10, 0.0156117678, -9.81384219e-05, 0.999980271, 0.0062853354, -0.0156114744, -0.0062861722, 0.999844432),Alpha)
  1796. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1797. RS.C0 = clerp(RS.C0,CFrame.new(1.21775055, 0.450534195, 0.383982718, 0.674927175, 0.574800849, -0.462668359, -0.336127609, 0.797698259, 0.500695467, 0.656870246, -0.182417512, 0.73159492),Alpha)
  1798. NK.C0 = clerp(NK.C0,CFrame.new(8.16631564e-06, 1.49894774, -0.0143926218, 0.999984562, 3.67581379e-07, -1.62050128e-07, -3.56332748e-07, 0.997964919, 0.0637686178, 1.8440187e-07, -0.0637678728, 0.997950256),Alpha)
  1799. end
  1800. knife:destroy()
  1801. GrabWeld = nil
  1802. Grabbed = nil
  1803. GrabRoot = nil
  1804. Hum.JumpPower = 75
  1805. Attack = false
  1806. NeutralAnims = true
  1807. end
  1808. end
  1809.  
  1810.  
  1811. Mouse.KeyDown:connect(function(k)
  1812. if(Attack)then return end
  1813. if(k == ';')then Illusion = not Illusion end
  1814. if(k == 'k')then NKWhitelist = not NKWhitelist end
  1815. if(not HoldingHead)then
  1816. if(Grabbed)then
  1817. if(k == 'q')then Puncc() end
  1818. if(k == 'e')then Knockout() end
  1819. if(k == 'r')then Snap() end
  1820. if(k == 't')then SlitThroat() end
  1821. else
  1822. if(k == 'q')then Grab() end
  1823. if(k == 'e')then PunchIt() end
  1824. end
  1825. end
  1826. end)
  1827. --// Wrap it all up \\--
  1828.  
  1829. S.RunService.RenderStepped:connect(function()
  1830. if(Grabbed)then
  1831. local hum = Grabbed:FindFirstChildOfClass'Humanoid'
  1832. if(typeof(Grabbed) == 'Instance' and GetTorso(Grabbed) and hum and Grabbed.Parent)then
  1833. hum.PlatformStand = true
  1834. --GetTorso(Grabbed).CFrame = Torso.CFrame * CF.N(-.4,-.15,-1.25)
  1835. GetTorso(Grabbed).Velocity = V3.N()
  1836. hum.WalkSpeed = 0
  1837. hum.AutoRotate = false
  1838. hum.AutoJumpEnabled = false
  1839. Hum.JumpPower = 0
  1840. else
  1841. if(not Attack)then Hum.JumpPower = 75 end
  1842. Grabbed = nil
  1843. end
  1844. end
  1845. end)
  1846. coroutine.wrap(function()
  1847. while true do
  1848. swait()
  1849. for puddle,data in next, BloodPuddles do
  1850. if(puddle.Transparency > 0.9)then
  1851. BloodPuddles[puddle] = nil
  1852. puddle:destroy()
  1853. end
  1854. data.Frame = data.Frame + 1
  1855. if(data.Frame > Frame_Speed*4)then
  1856. local trans = (data.Frame-Frame_Speed*4)/Frame_Speed*2
  1857. puddle.Transparency = trans
  1858. if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then
  1859. puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1)
  1860. end
  1861. else
  1862. puddle.Transparency = 0
  1863. end
  1864. end
  1865. end
  1866. end)()
  1867.  
  1868. while true do
  1869. swait()
  1870. Music.Parent = Char
  1871. Music.Playing = true
  1872. Music.Volume = 2
  1873. Sine = Sine + Change
  1874. 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)
  1875. local State = (not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) and "Walk" or hitfloor and "Idle")
  1876. local wsVal = 5 / (Hum.WalkSpeed/16)
  1877. if(State == 'Walk')then
  1878. Change = .5
  1879. RH.C1 = clerp(RH.C1,CF.N(0,1,-.15*M.C(Sine/wsVal))*CF.A(M.R(0+25*M.C(Sine/wsVal)),0,0),.2*(Hum.WalkSpeed/16))
  1880. LH.C1 = clerp(LH.C1,CF.N(0,1,.15*M.C(Sine/wsVal))*CF.A(M.R(0+25*-M.C(Sine/wsVal)),0,0),.2*(Hum.WalkSpeed/16))
  1881. else
  1882. RH.C1 = clerp(RH.C1,CF.N(0,1,0),.1)
  1883. LH.C1 = clerp(LH.C1,CF.N(0,1,0),.1)
  1884. end
  1885. if(HoldingHead and time()-HeadDrip > .15)then
  1886. HeadDrip = time()
  1887. BloodDrop(HoldingHead.CFrame*CF.N(0,-HoldingHead.Size.Y/2,0).p,HoldingHead.CFrame * CF.N(0,-HoldingHead.Size.Y,0).p,15)
  1888. end
  1889. if(NeutralAnims)then
  1890. if(State == 'Idle')then
  1891. local Alpha = .1
  1892. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20443325e-13, 0.00629174337, 1.40409247e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.N(0,M.R(0+5*M.C(time()*3)),0),Alpha)
  1893. LH.C0 = clerp(LH.C0,CFrame.new(-0.496498764, -0.990817845, 0.0216183439, 0.947845697, -4.38656264e-11, 0.318728328, -0.00200358406, 0.999980271, 0.00595832989, -0.318722039, -0.00628618058, 0.947826982)*CF.N(0,-M.R(0+5*M.C(time()*3)),0)*CF.A(0,M.R(0+5*M.C(time()*3)),0),Alpha)
  1894. RH.C0 = clerp(RH.C0,CFrame.new(0.498531371, -0.990982354, 0.0154620642, 0.941729724, -4.38656264e-11, -0.336369544, 0.00211448013, 0.999980271, 0.00591988349, 0.336362928, -0.00628618058, 0.941711128)*CF.N(0,-M.R(0+5*M.C(time()*3)),0)*CF.A(0,-M.R(0+5*M.C(time()*3)),0),Alpha)
  1895. RS.C0 = clerp(RS.C0,CFrame.new(1.08476901, 0.257644087, 0.228787184, 0.883603036, 0.468041569, 0.0134928999, -0.4091084, 0.757686257, 0.508470178, 0.227761805, -0.454805851, 0.860973656)*CF.N(0,M.R(0+5*M.C(time()*3)),0),Alpha)
  1896. NK.C0 = clerp(NK.C0,CFrame.new(7.57486032e-06, 1.4989568, -0.0143897533, 0.999999642, -2.39652582e-06, 1.0734424e-05, -6.90852175e-08, 0.974582672, 0.224028483, -1.09979883e-05, -0.224028409, 0.974582314)*CF.A(M.R(0+5*M.C(time()*3)),0,0),Alpha)
  1897. if(Grabbed)then
  1898. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1899. else
  1900. LS.C0 = clerp(LS.C0,CFrame.new(-1.05502665, 0.277505487, 0.219680771, 0.876135767, -0.481874973, 0.0134906508, 0.408931583, 0.757748127, 0.508520186, -0.255265683, -0.440016001, 0.860944033)*CF.N(0,M.R(0+5*M.C(time()*3)),0),Alpha)
  1901.  
  1902. end
  1903. elseif(State == 'Walk')then
  1904. local Alpha = .2*(Hum.WalkSpeed/16)
  1905. RJ.C0 = clerp(RJ.C0, RJC0*CF.N(0,M.R(0+10*-M.C(Sine/(wsVal/2))),0)*CF.A(0,M.R(0+5*-M.C(Sine/wsVal)),0),Alpha)
  1906. RH.C0 = clerp(RH.C0, RHC0*CF.N(0,-M.R(0+10*-M.C(Sine/(wsVal/2))),0),Alpha)
  1907. LH.C0 = clerp(LH.C0, LHC0*CF.N(0,-M.R(0+10*-M.C(Sine/(wsVal/2))),0),Alpha)
  1908. RS.C0 = clerp(RS.C0, RSC0*CF.A(M.R(0+35*M.C(Sine/wsVal)),0,0),Alpha)
  1909. NK.C0 = clerp(NK.C0,CFrame.new(7.57486032e-06, 1.4989568, -0.0143897533, 0.999999642, -2.39652582e-06, 1.0734424e-05, -6.90852175e-08, 0.974582672, 0.224028483, -1.09979883e-05, -0.224028409, 0.974582314),Alpha)
  1910. if(Grabbed)then
  1911. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1912. else
  1913. LS.C0 = clerp(LS.C0, LSC0*CF.A(M.R(0+35*-M.C(Sine/wsVal)),0,0),Alpha)
  1914. end
  1915. elseif(State == 'Jump')then
  1916. local Alpha = .1
  1917. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00495760236, -0.116021112, 0.317090333, 0.999962687, 0.00825679209, -0.0024241209, -0.00827200152, 0.844665885, -0.535230041, -0.00237171073, 0.535230041, 0.844702601),Alpha)
  1918. LH.C0 = clerp(LH.C0,CFrame.new(-0.496496111, -0.990818977, 0.0216087326, 0.999878228, 2.07033008e-06, 0.0156116523, -0.000100227568, 0.99998033, 0.0062866807, -0.0156113291, -0.00628748536, 0.999858379),Alpha)
  1919. RH.C0 = clerp(RH.C0,CFrame.new(0.491738498, -1.08575797, -0.419044733, 0.999878228, -0.0125858337, 0.00923690852, -0.000100227568, 0.586480319, 0.809963584, -0.0156113291, -0.809865713, 0.586407542),Alpha)
  1920. RS.C0 = clerp(RS.C0,CFrame.new(1.49824142, 0.53253746, 0.0408395231, 0.999878228, -0.0131711056, 0.00838126708, -0.000100227568, 0.531432867, 0.847100377, -0.0156113291, -0.846997976, 0.531366825),Alpha)
  1921. NK.C0 = clerp(NK.C0,CFrame.new(9.76253432e-06, 1.49894738, -0.0143944025, 1.00000012, 8.20029527e-07, 1.90846622e-05, 3.48691538e-06, 0.97446239, -0.224550784, -1.8781051e-05, 0.224550694, 0.974462509),Alpha)
  1922. if(Grabbed)then
  1923. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1924. else
  1925. LS.C0 = clerp(LS.C0,CFrame.new(-1.24553442, 0.294952244, 0.384812891, 0.889459968, -0.456830114, 0.0129454378, 0.370550126, 0.737471342, 0.564649284, -0.267495662, -0.497435898, 0.825229526),Alpha)
  1926. end
  1927. elseif(State == 'Fall')then
  1928. local Alpha = .1
  1929. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00842534378, -0.109833695, 0.539619565, 0.999999285, -0.000891914242, -2.43615359e-05, 0.000892000098, 0.998707473, 0.0508202985, -2.09975988e-05, -0.0508202836, 0.998707473),Alpha)
  1930. LH.C0 = clerp(LH.C0,CFrame.new(-0.502819896, -0.764119625, -0.38484329, 0.999878109, -0.00643025152, 0.0142311938, -9.83992431e-05, 0.908680081, 0.417493343, -0.0156161878, -0.417443812, 0.908568621),Alpha)
  1931. RH.C0 = clerp(RH.C0,CFrame.new(0.498698592, -1.07259846, 0.0265202522, 0.999878109, 0.00513634644, 0.0147476438, -9.83992431e-05, 0.946416557, -0.322948933, -0.0156161878, 0.322908074, 0.946301579),Alpha)
  1932. RS.C0 = clerp(RS.C0,CFrame.new(1.49937201, 0.402762115, 0.114091098, 0.999878109, -0.0059155277, 0.0144527331, -9.83992431e-05, 0.923073709, 0.38462311, -0.0156161878, -0.384577632, 0.92296052),Alpha)
  1933. NK.C0 = clerp(NK.C0,CFrame.new(1.61054268e-05, 1.53313649, -0.210731715, 1.00000012, -1.17323361e-05, -7.96755776e-05, 3.43421634e-05, 0.956994712, 0.290106058, 7.28452578e-05, -0.290106088, 0.956994593),Alpha)
  1934. if(Grabbed)then
  1935. LS.C0 = clerp(LS.C0,CFrame.new(-0.981049836, 0.491094977, -1.00935578, -0.13693732, -0.854116678, -0.501730025, -0.990544498, 0.122350313, 0.0620673522, 0.00837406516, 0.505485117, -0.862794578),Alpha)
  1936. else
  1937. LS.C0 = clerp(LS.C0,CFrame.new(-1.51134682, 0.477918893, 0.26379019, 0.960274398, 0.278757304, 0.0129483193, -0.237100914, 0.790547311, 0.564639926, 0.147161216, -0.545279264, 0.825235784),Alpha)
  1938. end
  1939. end
  1940. end
  1941. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement