Advertisement
memberhero

Insanity With Anti Death

Jun 25th, 2018
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Created by Nebula_Zorua --
  2. -- InSaNiTy --
  3. -- The weight of the air is torture --
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6.  
  7. Player = game.Players.LocalPlayer
  8. Character = Player.Character
  9. local txt = Instance.new("BillboardGui", Character)
  10. txt.Adornee = Character.Head
  11. txt.Name = "_status"
  12. txt.Size = UDim2.new(2, 0, 1.2, 0)
  13. txt.StudsOffset = Vector3.new(-9, 8, 0)
  14. local text = Instance.new("TextLabel", txt)
  15. text.Size = UDim2.new(10, 0, 7, 0)
  16. text.FontSize = "Size24"
  17. text.TextScaled = true
  18. text.TextTransparency = 0
  19. text.BackgroundTransparency = 1
  20. text.TextTransparency = 0
  21. text.TextStrokeTransparency = 0
  22. text.Font = "Antique"
  23. text.TextStrokeColor3 = Color3.new(170,0,0)
  24. text.Text = "Insanity"
  25.  
  26.  
  27. --// Initializing \\--
  28. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  29. local Plrs = S.Players
  30. local Plr = Plrs.LocalPlayer
  31. local Char = Plr.Character
  32. local Hum = Char:FindFirstChildOfClass'Humanoid'
  33. local RArm = Char["Right Arm"]
  34. local LArm = Char["Left Arm"]
  35. local RLeg = Char["Right Leg"]
  36. local LLeg = Char["Left Leg"]
  37. local Root = Char:FindFirstChild'HumanoidRootPart'
  38. local Torso = Char.Torso
  39. local Head = Char.Head
  40. local NeutralAnims = true
  41. local Attack = false
  42. local BloodPuddles = {}
  43. local Effects = {}
  44. local Debounces = {Debounces={}}
  45. local Mouse = Plr:GetMouse()
  46. local Hit = {}
  47. local Sine = 0
  48. local Change = 1
  49. local Twitch = false
  50. local LastTwitch = 0;
  51. local Victim = nil;
  52. --// Debounce System \\--
  53.  
  54.  
  55. function Debounces:New(name,cooldown)
  56. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  57. setmetatable(aaaaa,{__index = Debounces})
  58. Debounces.Debounces[name] = aaaaa
  59. return aaaaa
  60. end
  61.  
  62. function Debounces:Use(overrideUsable)
  63. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  64. if(self.Usable or overrideUsable)then
  65. self.Usable = false
  66. self.CoolingDown = true
  67. local LastUse = time()
  68. self.LastUse = LastUse
  69. delay(self.Cooldown or 2,function()
  70. if(self.LastUse == LastUse)then
  71. self.CoolingDown = false
  72. self.Usable = true
  73. end
  74. end)
  75. end
  76. end
  77.  
  78. function Debounces:Get(name)
  79. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  80. for i,v in next, Debounces.Debounces do
  81. if(i == name)then
  82. return v;
  83. end
  84. end
  85. end
  86.  
  87. function Debounces:GetProgressPercentage()
  88. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  89. if(self.CoolingDown and not self.Usable)then
  90. return math.max(
  91. math.floor(
  92. (
  93. (time()-self.LastUse)/self.Cooldown or 2
  94. )*100
  95. )
  96. )
  97. else
  98. return 100
  99. end
  100. end
  101.  
  102. --// Shortcut Variables \\--
  103. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  104. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  105. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  106. 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}
  107. local R3 = {N=Region3.new}
  108. local De = S.Debris
  109. local WS = workspace
  110. local Lght = S.Lighting
  111. local RepS = S.ReplicatedStorage
  112. local IN = Instance.new
  113. --// Instance Creation Functions \\--
  114.  
  115. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  116. local Sound = IN("Sound")
  117. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  118. Sound.Pitch = pitch or 1
  119. Sound.Volume = volume or 1
  120. Sound.Looped = looped or false
  121. if(autoPlay)then
  122. coroutine.wrap(function()
  123. repeat wait() until Sound.IsLoaded
  124. Sound.Playing = autoPlay or false
  125. end)()
  126. end
  127. if(not looped and effect)then
  128. Sound.Stopped:connect(function()
  129. Sound.Volume = 0
  130. Sound:destroy()
  131. end)
  132. elseif(effect)then
  133. warn("Sound can't be looped and a sound effect!")
  134. end
  135. Sound.Parent =parent or Torso
  136. return Sound
  137. end
  138. function Part(parent,color,material,size,cframe,anchored,cancollide)
  139. local part = IN("Part")
  140. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  141. part.Material = material or Enum.Material.SmoothPlastic
  142. part.TopSurface,part.BottomSurface=10,10
  143. part.Size = size or V3.N(1,1,1)
  144. part.CFrame = cframe or CF.N(0,0,0)
  145. part.Anchored = anchored or true
  146. part.CanCollide = cancollide or false
  147. part.Parent = parent or Char
  148. return part
  149. end
  150. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  151. local part = IN("SpecialMesh")
  152. part.MeshId = meshid or ""
  153. part.TextureId = textid or ""
  154. part.Scale = scale or V3.N(1,1,1)
  155. part.Offset = offset or V3.N(0,0,0)
  156. part.MeshType = meshtype or Enum.MeshType.Sphere
  157. part.Parent = parent
  158. return part
  159. end
  160.  
  161. NewInstance = function(instance,parent,properties)
  162. local inst = Instance.new(instance,parent)
  163. if(properties)then
  164. for i,v in next, properties do
  165. pcall(function() inst[i] = v end)
  166. end
  167. end
  168. return inst;
  169. end
  170.  
  171.  
  172.  
  173. --// Extended ROBLOX tables \\--
  174. 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})
  175. --// Customization \\--
  176.  
  177. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  178. local Remove_Hats = false
  179. local Remove_Clothing = false
  180. local PlayerSize = 1
  181. local DamageColor = BrickColor.new'Really red'
  182. local MusicID = 623662713
  183. local TwitchMinTime = 2
  184. local BloodColor = BrickColor.new'Maroon'
  185. local BloodMaterial = Enum.Material.Glass
  186. local Target1Id = "rbxassetid://1490455495"
  187. local Target2Id = "rbxassetid://133820006"
  188. local Whitelist = {
  189. [{33104243,"Salvo_Starly"}] = {"Sorry, my Blazey..","OwO?","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
  190. [{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."},
  191. [{5719877,"Nebula_Zorua"}] = {"My creator!","N-nebula!?","I'm sorry, my creator!","F-father..?","Daddy..?","Sorry, Nebby..!"},
  192. [{19909695,"makhail07"}] = {"Cretty!~","Yeef me dadi~","Marshdaddy~","Makhail, the edge master","Hello there, friend..~"},
  193. [{44083134,"Fifkee"}] = {(function() return Plr.UserId == 5719877 and "Uh.. Who're you again?" or "You're Nebula's friend.. Right?" end)(),"Uuhh.. hi?","I nearly killed ya.","Oh. It's you."},
  194. }
  195.  
  196. --// Whitelist System \\--
  197.  
  198. function IsWhitelisted(id,who)
  199. for i,v in next, Whitelist do
  200. if(i[1] == id or i[2] == who)then
  201. return v
  202. end
  203. end
  204. return nil
  205. end
  206.  
  207. --// Weapon and GUI creation, and Character Customization \\--
  208.  
  209. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  210. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  211. local Effects = IN("Folder",Char)
  212. Effects.Name = "Effects"
  213.  
  214. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  215. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  216. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  217. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  218. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  219. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  220.  
  221. local Target = NewInstance("BillboardGui",Char,{Name='Target',Adornee=nil,LightInfluence=0,AlwaysOnTop=true,Size = UDim2.new(10,0,10,0)})
  222. local TargetImg1 = NewInstance("ImageLabel",Target,{BackgroundTransparency=1,Position = UDim2.new(.5,0,.5,0),Size = UDim2.new(1,0,1,0),AnchorPoint = Vector2.new(.5,.5),Image=Target1Id,ImageColor = C3.N(0,0,0),ImageTransparency=1})
  223. local TargetImg2 = TargetImg1:Clone();
  224. TargetImg2.Size = UDim2.new(1.4,0,1.4,0);
  225. TargetImg2.Image = Target2Id
  226. TargetImg2.Parent = Target
  227. TargetImg2.ImageColor3 = C3.RGB(165,0,0)
  228. if(PlayerSize ~= 1)then
  229. for _,v in next, Char:GetDescendats() do
  230. if(v:IsA'BasePart')then
  231. v.Size = v.Size * PlayerSize
  232. end
  233. end
  234. end
  235.  
  236. local Music = Sound(Char,MusicID,1,3,true,false,true)
  237. Music.Name = 'Music'
  238.  
  239. --// Stop animations \\--
  240. for _,v in next, Hum:GetPlayingAnimationTracks() do
  241. v:Stop();
  242. end
  243.  
  244. pcall(game.Destroy,Char:FindFirstChild'Animate')
  245. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  246.  
  247. --// Joints \\--
  248.  
  249. 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)})
  250. 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)})
  251. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  252. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  253. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  254. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  255.  
  256. local LSC0 = LS.C0
  257. local RSC0 = RS.C0
  258. local NKC0 = NK.C0
  259. local LHC0 = LH.C0
  260. local RHC0 = RH.C0
  261. local RJC0 = RJ.C0
  262.  
  263. --// Artificial HB \\--
  264.  
  265. local ArtificialHB = IN("BindableEvent", script)
  266. ArtificialHB.Name = "Heartbeat"
  267.  
  268. script:WaitForChild("Heartbeat")
  269.  
  270. local tf = 0
  271. local allowframeloss = false
  272. local tossremainder = false
  273. local lastframe = tick()
  274. local frame = 1/Frame_Speed
  275. ArtificialHB:Fire()
  276.  
  277. game:GetService("RunService").Heartbeat:connect(function(s, p)
  278. tf = tf + s
  279. if tf >= frame then
  280. if allowframeloss then
  281. script.Heartbeat:Fire()
  282. lastframe = tick()
  283. else
  284. for i = 1, math.floor(tf / frame) do
  285. ArtificialHB:Fire()
  286. end
  287. lastframe = tick()
  288. end
  289. if tossremainder then
  290. tf = 0
  291. else
  292. tf = tf - frame * math.floor(tf / frame)
  293. end
  294. end
  295. end)
  296.  
  297. function swait(num)
  298. if num == 0 or num == nil then
  299. ArtificialHB.Event:wait()
  300. else
  301. for i = 0, num do
  302. ArtificialHB.Event:wait()
  303. end
  304. end
  305. end
  306.  
  307.  
  308. --// Effect Function(s) \\--
  309.  
  310. local blood = NewInstance("ParticleEmitter",nil,{
  311. Color = ColorSequence.new(C3.N(.8,0,0)),
  312. LightEmission=.1,
  313. LightInfluence=1,
  314. ZOffset=.9,
  315. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
  316. Texture="rbxassetid://284205403",
  317. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  318. Acceleration = V3.N(0,-15,0),
  319. Lifetime = NumberRange.new(1,2),
  320. Rate=50,
  321. Speed = NumberRange.new(5,15),
  322. SpreadAngle = Vector2.new(15,15),
  323. Enabled = false,
  324. EmissionDirection = 'Back',
  325. })
  326.  
  327. function Blood(prt,amount)
  328. local part = Instance.new("Part",Effects)
  329. part.Transparency = 1
  330. part.Size = prt.Size
  331. part.Anchored = true
  332. part.CanCollide = false
  333. part.CFrame = CF.N(prt.Position,Torso.Position)
  334. S.Debris:AddItem(part,5)
  335. local prtcl = blood:Clone()
  336. prtcl.Parent = part
  337. prtcl:Emit(amount)
  338. end
  339.  
  340. function BloodDrop(pos,dir,maxsize)
  341. local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
  342. owo.CFrame=CF.N(pos,dir)
  343. local bv = Instance.new("BodyVelocity",owo)
  344. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  345. 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
  346. bv.Name = "MOVE"
  347. game:service'Debris':AddItem(bv,0.05)
  348. local touch
  349. touch = owo.Touched:connect(function(hit)
  350. if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
  351. touch:disconnect()
  352. BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo)
  353. owo:destroy()
  354. end
  355. end)
  356. end
  357. function BloodPuddle(position,range,maxSize,where)
  358. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  359. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  360. ),{where,Char},false,true)
  361. if(hit)then
  362. if(BloodPuddles[hit])then
  363. BloodPuddles[hit].Frame = 0
  364. if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
  365. hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  366. end
  367. else
  368. 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'})
  369. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  370. BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
  371. end
  372. end
  373. end
  374.  
  375. function Tween(obj,props,time,easing,direction,repeats,backwards)
  376. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  377. local tween = S.TweenService:Create(obj, info, props)
  378.  
  379. tween:Play()
  380. end
  381.  
  382. function Bezier(startpos, pos2, pos3, endpos, t)
  383. local A = startpos:lerp(pos2, t)
  384. local B = pos2:lerp(pos3, t)
  385. local C = pos3:lerp(endpos, t)
  386. local lerp1 = A:lerp(B, t)
  387. local lerp2 = B:lerp(C, t)
  388. local cubic = lerp1:lerp(lerp2, t)
  389. return cubic
  390. end
  391.  
  392. function Effect(data)
  393. local FX = data.Effect or 'Resize-AndFade'
  394. local Parent = data.Parent or Effects
  395. local Color = data.Color or C3.N(0,0,0)
  396. local Size = data.Size or V3.N(1,1,1)
  397. local MoveDir = data.MoveDirection or nil
  398. local MeshData = data.Mesh or nil
  399. local SndData = data.Sound or nil
  400. local Frames = data.Frames or 45
  401. local Manual = data.Manual or nil
  402. local Material = data.Material or nil
  403. local CFra = data.CFrame or Torso.CFrame
  404. local Settings = data.FXSettings or {}
  405. local Snd,Prt,Msh;
  406. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  407. Prt = Manual
  408. else
  409. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  410. end
  411. if(typeof(MeshData) == 'table')then
  412. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  413. elseif(typeof(MeshData) == 'Instance')then
  414. Msh = MeshData:Clone()
  415. Msh.Parent = Prt
  416. end
  417. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  418. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  419. end
  420. if(Snd)then
  421. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  422. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  423. end
  424. local MoveSpeed = nil;
  425. if(MoveDir)then
  426. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  427. end
  428. local Inc = M.RNG()-M.RNG()
  429. local Thingie = 0
  430. local Thingie2 = M.RNG(50,100)/100
  431.  
  432. coroutine.wrap(function()
  433. if(FX ~= 'Arc')then
  434. for i = 1, Frames do
  435. if(FX == 'Resize-AndFade')then
  436. if(not Settings.EndSize)then
  437. Settings.EndSize = V3.N(0,0,0)
  438. end
  439. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  440. if(Settings.EndIsIncrement)then
  441. Prt.Size = Prt.Size - Settings.EndSize
  442. else
  443. Prt.Size = Prt.Size - grow/Frames
  444. end
  445. Prt.Transparency = (i/Frames)
  446. elseif(FX == 'Resize+AndFade')then
  447. if(not Settings.EndSize)then
  448. Settings.EndSize = Size*2
  449. end
  450. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  451. if(Settings.EndIsIncrement)then
  452. Prt.Size = Prt.Size + Settings.EndSize
  453. else
  454. Prt.Size = Prt.Size + grow/Frames
  455. end
  456. Prt.Transparency = (i/Frames)
  457. elseif(FX == 'Fade')then
  458. Prt.Transparency = (i/Frames)
  459. end
  460. if(Settings.RandomizeCFrame)then
  461. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  462. end
  463. if(MoveDir and MoveSpeed)then
  464. local Orientation = Prt.Orientation
  465. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  466. Prt.Orientation = Orientation
  467. end
  468. if(swait and typeof(swait) == 'function')then
  469. swait()
  470. else
  471. wait()
  472. end
  473. end
  474. Prt:destroy()
  475. else
  476. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  477. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  478. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  479. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  480. assert(start ~= nil,"You need to specify a start point!")
  481. assert(endP ~= nil,"You need to specify an end point!")
  482. for i = 0, 1, Settings.Speed or 0.01 do
  483. if(Settings.Home)then
  484. endP = Settings.Home.CFrame
  485. end
  486. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  487. if(swait and typeof(swait) == 'function')then
  488. swait()
  489. else
  490. wait()
  491. end
  492. end
  493. if(Settings.RemoveOnGoal)then
  494. Prt:destroy()
  495. end
  496. end
  497. end)()
  498. return Prt,Msh,Snd
  499. end
  500.  
  501.  
  502. function SoulSteal(whom)
  503. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  504. print(torso)
  505. if(torso and torso:IsA'BasePart')then
  506. local Model = Instance.new("Model",Effects)
  507. Model.Name = whom.Name.."'s Soul"
  508. whom:BreakJoints()
  509. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  510. Soul.Name = 'Head'
  511. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  512. Effect{
  513. Effect="Arc",
  514. Manual = Soul,
  515. FXSettings={
  516. Start=torso.CFrame,
  517. Home = Torso,
  518. RemoveOnGoal = true,
  519. }
  520. }
  521. local lastPoint = Soul.CFrame.p
  522.  
  523. for i = 0, 1, 0.01 do
  524. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  525. local mag = (lastPoint - Soul.Position).magnitude
  526. Effect{
  527. Effect = "Fade",
  528. CFrame = point * CF.N(0, mag/2, 0),
  529. Size = V3.N(.5,mag+.5,.5),
  530. Color = Soul.BrickColor
  531. }
  532. lastPoint = Soul.CFrame.p
  533. swait()
  534. end
  535. for i = 1, 5 do
  536. Effect{
  537. Effect="Fade",
  538. Color = BrickColor.new'Really red',
  539. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  540. }
  541. end
  542. end
  543. end
  544.  
  545. --// Other Functions \\ --
  546.  
  547. function Ragdoll(who,half,glitching)
  548. who:breakJoints()
  549. pcall(function()
  550. who.HumanoidRootPart:destroy()
  551. end)
  552. local who = who
  553. local hhh = who:FindFirstChildOfClass'Humanoid'
  554. local t = GetTorso(who)
  555. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  556. 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'
  557. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  558. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  559. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  560. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  561. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  562. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  563. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  564.  
  565. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  566. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  567. local HC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=45,Attachment0=NJ,Attachment1=NJ2})
  568.  
  569. local CollideRA = NewInstance('Part',who,{Size=RArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  570. local CollideLA = NewInstance('Part',who,{Size=LArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  571. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  572. NewInstance('Weld',CollideRA,{Part0=RA,Part1=CollideRA})
  573. NewInstance('Weld',CollideLA,{Part0=LA,Part1=CollideLA})
  574. NewInstance('Weld',CollideHD,{Part0=HD,Part1=CollideHD})
  575.  
  576. if(not half)then
  577. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  578. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  579. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  580. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  581. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  582. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  583. end
  584. if(glitching)then
  585. swait(120)
  586. local pow = 75
  587. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",t),Instance.new("SpecialMesh",RA),Instance.new("SpecialMesh",LA),Instance.new("SpecialMesh",RL),Instance.new("SpecialMesh",LL)
  588. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  589. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  590. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  591. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  592. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  593. for i = 0, 1, .1 do
  594. for _,v in next, who:GetDescendants() do
  595. if(v:IsA'DataModelMesh')then
  596. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  597. elseif(v:IsA'BasePart')then
  598. v.Transparency = i
  599. end
  600. end
  601. swait()
  602. end
  603. who:destroy()
  604. end
  605. else
  606. if(glitching)then
  607. swait(120)
  608. for i = 0, 1, .1 do
  609. for _,v in next, hhh:children() do
  610. if(v:IsA'NumberValue')then
  611. v.Value = M.RNG(0,10)
  612. end
  613. end
  614. local pow = 75
  615. for _,v in next, who:GetDescendants() do
  616. if(v:IsA'DataModelMesh')then
  617. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  618. elseif(v:IsA'BasePart')then
  619. v.Transparency = i
  620. end
  621. end
  622. swait()
  623. end
  624. who:destroy()
  625. end
  626. -- TODO: R15 Ragdoll
  627. end
  628. end
  629.  
  630.  
  631. function getRegion(point,range,ignore)
  632. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  633. end
  634.  
  635. function RandomChoice(table)
  636. return table[M.RNG(1,#table)]
  637. end
  638.  
  639. function Chat(text)
  640. coroutine.wrap(function()
  641. if Char:FindFirstChild("TalkingBillBoard")~= nil then
  642. Char:FindFirstChild("TalkingBillBoard"):destroy()
  643. end
  644. local oText = text;
  645. text = ""
  646. for i = 1, #oText do
  647. if(i%2 == 1)then
  648. text = text..oText:sub(i,i):upper()
  649. else
  650. text = text..oText:sub(i,i):lower()
  651. end
  652. end
  653. local Bill = Instance.new("BillboardGui",Char)
  654. Bill.Size = UDim2.new(0,100,0,40)
  655. Bill.StudsOffset = Vector3.new(0,3,0)
  656. Bill.Adornee = Char.Head
  657. Bill.Name = "TalkingBillBoard"
  658. local Hehe = Instance.new("TextLabel",Bill)
  659. Hehe.BackgroundTransparency = 1
  660. Hehe.BorderSizePixel = 0
  661. Hehe.Text = ""
  662. Hehe.Font = "Bodoni"
  663. Hehe.TextSize = 40
  664. Hehe.TextStrokeTransparency = 0
  665. Hehe.Size = UDim2.new(1,0,0.5,0)
  666. coroutine.resume(coroutine.create(function()
  667. while Hehe ~= nil do
  668. swait()
  669. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  670. Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15))
  671. local aa = math.random(0, 255)/255
  672. local bb = math.random(0, 255)/255
  673. Hehe.TextColor3 = C3.N(aa,aa,aa)
  674. Hehe.TextStrokeColor3 = C3.N(bb,bb,bb)
  675. end
  676. end))
  677. for i = 1,string.len(text),1 do
  678. swait(5)
  679. Hehe.Text = string.sub(text,1,i)
  680. end
  681. swait(90)
  682. for i = 0, 1, .025 do
  683. swait()
  684. Hehe.TextStrokeTransparency = i
  685. Hehe.TextTransparency = i
  686. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  687. end
  688. Bill:Destroy()
  689. end)()
  690. end
  691.  
  692.  
  693. function clerp(startCF,endCF,alpha)
  694. return startCF:lerp(endCF, alpha)
  695. end
  696.  
  697. function GetTorso(char)
  698. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  699. end
  700.  
  701.  
  702. function ShowDamage(Pos, Text, Time, Color)
  703. coroutine.wrap(function()
  704. local Pos = (Pos or Vector3.new(0, 0, 0))
  705. local Text = (Text or "")
  706. local Time = (Time or 2)
  707. local Color = (Color or Color3.new(1, 0, 1))
  708. local EffectPart = NewInstance("Part",Effects,{
  709. Material=Enum.Material.SmoothPlastic,
  710. Reflectance = 0,
  711. Transparency = 1,
  712. BrickColor = BrickColor.new(Color),
  713. Name = "Effect",
  714. Size = Vector3.new(0,0,0),
  715. Anchored = true
  716. })
  717. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  718. Size = UDim2.new(2, 0, 2, 0),
  719. Adornee = EffectPart,
  720. })
  721. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  722. BackgroundTransparency = 1,
  723. Size = UDim2.new(1, 0, 1, 0),
  724. Text = Text,
  725. Font = "Arial",
  726. TextColor3 = Color,
  727. TextStrokeColor3 = Color3.new(0,0,0),
  728. TextStrokeTransparency=0,
  729. TextScaled = true,
  730. })
  731. EffectPart.Parent = game:GetService("Workspace")
  732. delay(0, function()
  733. local Frames = (Time / (1/Frame_Speed))
  734. for Frame = 1, Frames do
  735. swait()
  736. local Percent = (Frame / Frames)
  737. EffectPart.CFrame = CF.N(Pos+ V3.N(0, Percent, 0)) * CF.A(0,0,M.RRNG(-90,90))
  738. TextLabel.Rotation = M.RNG(-6,6)
  739. TextLabel.Position = UDim2.new(M.RNG(-1,1)/10,M.RNG(-1,1)/10,.05,M.RNG(-1,1)/10)
  740. end
  741. for i = 0, 1, .025 do
  742. swait()
  743. TextLabel.TextStrokeTransparency = i
  744. TextLabel.TextTransparency = i
  745. TextLabel.Position = UDim2.new(M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10)
  746. end
  747. if EffectPart and EffectPart.Parent then
  748. EffectPart:Destroy()
  749. end
  750. end) end)()
  751. end
  752.  
  753. --[[if(not Plr:IsFriendsWith(5719877))then
  754. Char:BreakJoints()
  755. error("Not whitelisted. You have to be friends with Nebula.")
  756. else
  757. warn("You're friends with Nebula, the creator of this script")
  758. warn("Enjoy!")
  759. end]]
  760.  
  761. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  762. if(who)then
  763. local hum = who:FindFirstChildOfClass'Humanoid'
  764. local Damage = M.RNG(minDam,maxDam)
  765. local canHit = true
  766. if(hum)then
  767. for _, p in pairs(Hit) do
  768. if p[1] == hum then
  769. if(time() - p[2] < 0.1) then
  770. canHit = false
  771. else
  772. Hit[_] = nil
  773. end
  774. end
  775. end
  776. if(canHit)then
  777. if(hum.Health >= math.huge)then
  778. who:BreakJoints()
  779. if(who:FindFirstChild'Head' and hum.Health > 0)then
  780. 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))
  781. end
  782. else
  783. local player = S.Players:GetPlayerFromCharacter(who)
  784. if(Type == "Fire")then
  785. --idk..
  786. else
  787. local c = Instance.new("ObjectValue",hum)
  788. c.Name = "creator"
  789. c.Value = Plr
  790. game:service'Debris':AddItem(c,0.35)
  791. if(M.RNG(1,100) <= (critChance or 0))then
  792. if(who:FindFirstChild'Head' and hum.Health > 0)then
  793. 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)
  794. end
  795. hum.Health = hum.Health - Damage*(critMult or 2)
  796. else
  797. if(who:FindFirstChild'Head' and hum.Health > 0)then
  798. 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)
  799. end
  800. hum.Health = hum.Health - Damage
  801. end
  802. if(Type == 'Knockback' and GetTorso(who))then
  803. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  804. local body = NewInstance('BodyVelocity',GetTorso(who),{
  805. P = 500,
  806. maxForce = V3.N(math.huge,0,math.huge),
  807. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  808. })
  809. game:service'Debris':AddItem(body,.5)
  810. elseif(Type == 'Knockdown' and GetTorso(who))then
  811. local rek = GetTorso(who)
  812. print(rek)
  813. hum.PlatformStand = true
  814. delay(1,function()
  815. hum.PlatformStand = false
  816. end)
  817. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  818. local bodvol = NewInstance("BodyVelocity",rek,{
  819. velocity = angle * Knock,
  820. P = 5000,
  821. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  822. })
  823. local rl = NewInstance("BodyAngularVelocity",rek,{
  824. P = 3000,
  825. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  826. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  827. })
  828. game:GetService("Debris"):AddItem(bodvol, .5)
  829. game:GetService("Debris"):AddItem(rl, .5)
  830. end
  831. end
  832. end
  833. end
  834. table.insert(Hit,{hum,time()})
  835. end
  836. end
  837. end
  838.  
  839. function AOEDamage(where,range,minDam,maxDam,Knock,Type)
  840. for _,v in next, getRegion(where,range,{Char}) do
  841. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  842. DealDamage(v.Parent,minDam,maxDam,Knock,Type)
  843. end
  844. end
  845. end
  846. function AOEHeal(where,range,amount)
  847. local healed = {}
  848. for _,v in next, getRegion(where,range,{Char}) do
  849. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  850. if(hum and not healed[hum])then
  851. hum.Health = hum.Health + amount
  852. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  853. 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)
  854. end
  855. end
  856. end
  857. end
  858.  
  859. --// Attack Functions \\--
  860.  
  861. function You_Cant_Hide()
  862. local target = Mouse.Target
  863. if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then
  864. if(Victim ~= target.Parent)then
  865. Victim = target.Parent;
  866. Target.Enabled = true
  867. Target.Adornee = GetTorso(Victim)
  868. TargetImg1.ImageTransparency = 1
  869. TargetImg2.ImageTransparency = 1
  870. TargetImg1.Size = UDim2.new(6,0,6,0)
  871. TargetImg2.Size = UDim2.new(6.4,0,6.4,0)
  872. Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  873. Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  874. end
  875. end
  876. end
  877.  
  878. function Brutal_Overlord()
  879. if(Victim)then
  880. Attack = true
  881. NeutralAnims = false
  882. local hum = Victim:FindFirstChildOfClass'Humanoid'
  883. if(hum)then
  884. Hum.JumpPower = 0
  885. hum.WalkSpeed = 0
  886. hum.JumpPower = 0
  887. hum.AutoRotate = false
  888. local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
  889. if(tor)then
  890. Root.CFrame = tor.CFrame * CF.N(0,0,2)
  891. local V = Victim
  892. V.Parent = Char
  893. for i = 0, 2, 0.1 do
  894. swait()
  895. local Alpha = .3
  896. 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)
  897. 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)
  898. 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)
  899. 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)
  900. 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)
  901. 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)
  902. end
  903. for i = 0, 1, 0.1 do
  904. swait()
  905. local Alpha = .2
  906. 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)
  907. 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)
  908. 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)
  909. 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)
  910. 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)
  911. 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)
  912. end
  913. if(root)then root.Parent = nil end
  914. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  915. swait(60)
  916. local plr = S.Players:GetPlayerFromCharacter(V)
  917. local Dialogues = IsWhitelisted((plr and plr.UserId or 0),V.Name)
  918. for i = 0, 1, 0.1 do
  919. swait()
  920. local Alpha = .3
  921. 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)
  922. 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)
  923. 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)
  924. 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)
  925. 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)
  926. 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)
  927. end
  928. gWeld:destroy()
  929. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=tor,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
  930. for i = 0, 6, 0.1 do
  931. swait()
  932. local Alpha = .3
  933. 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)
  934. 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)
  935. 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)
  936. 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)
  937. 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)
  938. 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)
  939. end
  940. if(not Dialogues)then
  941. Blood(tor,250)
  942. for i = 1, 25 do
  943. BloodDrop(tor.Position,(tor.CFrame * CF.N(0,0,25)).p + V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5)),15)
  944. end
  945. Ragdoll(V,true)
  946. if(V:FindFirstChild'Head')then
  947. ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  948. end
  949. coroutine.wrap(function()
  950. repeat swait() hum.Health = hum.Health - .5 until not hum or not hum.Parent or not hum.Parent.Parent or hum.Health == 0
  951. end)()
  952. gWeld:destroy()
  953. local s = Sound(tor,429400881,1,1,false,false,false)
  954. s:Play()
  955. s.Ended:connect(function() s:Destroy() end)
  956. for i = 0, 1, 0.1 do
  957. swait()
  958. local Alpha = .3
  959. 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)
  960. 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)
  961. 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)
  962. 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)
  963. 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)
  964. 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)
  965. end
  966. for i = 0, 4, 0.1 do
  967. swait()
  968. local Alpha = .3
  969. 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)
  970. 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)
  971. 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)
  972. 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)
  973. 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)
  974. 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)
  975. end
  976. V.Parent = workspace
  977. else
  978. V.Parent = workspace
  979. hum.WalkSpeed = 16
  980. hum.JumpPower = 50
  981. hum.AutoRotate = true
  982. if(root)then root.Parent = V end
  983. Chat(RandomChoice(Dialogues))
  984. gWeld:destroy()
  985. end
  986. end
  987. end
  988. Attack = false
  989. NeutralAnims = true
  990. Hum.JumpPower = 50
  991. end
  992. end
  993.  
  994. function F_Is_For_Friends()
  995. if(Victim)then
  996. Attack = true
  997. NeutralAnims = false
  998. Root.Anchored = true
  999. Hum.WalkSpeed = 0
  1000. Hum.JumpPower = 0
  1001. Hum.AutoRotate = false
  1002. local hum = Victim:FindFirstChildOfClass'Humanoid'
  1003. if(hum)then
  1004. hum.WalkSpeed = 0
  1005. hum.JumpPower = 0
  1006. hum.AutoRotate = false
  1007. local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
  1008. if(tor)then
  1009. local plr = S.Players:GetPlayerFromCharacter(Victim)
  1010. Victim.Parent = Char
  1011. local V = Victim
  1012. Root.CFrame = tor.CFrame * CF.N(0,0,2)
  1013. for i = 0, 2, 0.1 do
  1014. swait()
  1015. local Alpha = .3
  1016. 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)
  1017. 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)
  1018. 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)
  1019. 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)
  1020. 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)
  1021. 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)
  1022. end
  1023. if(not IsWhitelisted((plr and plr.UserId or 0),Victim.Name))then
  1024. for i = 0, 1, 0.1 do
  1025. swait()
  1026. local Alpha = .2
  1027. 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)
  1028. 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)
  1029. 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)
  1030. 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)
  1031. 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)
  1032. 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)
  1033. end
  1034. if(root)then root:destroy() end
  1035. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  1036. for i = 0, 1.5, 0.1 do
  1037. swait()
  1038. local Alpha = .2
  1039. 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)
  1040. 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)
  1041. 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)
  1042. 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)
  1043. 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)
  1044. 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)
  1045. end
  1046. for i = 0, 1.5, 0.1 do
  1047. swait()
  1048. local Alpha = .2
  1049. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00625591865, 0.0813473165, 0.400900364, 0.999966562, 0.00783777051, -0.00216883142, -0.00785200112, 0.86111331, -0.508352578, -0.00211674068, 0.508352578, 0.861145973),Alpha)
  1050. LH.C0 = clerp(LH.C0,CFrame.new(-0.493550777, -1.11785793, 0.210999548, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha)
  1051. RH.C0 = clerp(RH.C0,CFrame.new(0.501458287, -1.11329269, 0.203607619, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha)
  1052. LS.C0 = clerp(LS.C0,CFrame.new(-1.42722964, 0.501024425, -0.00418075919, 0.987981081, 0.153783977, 0.0156133743, -0.15389666, 0.988066971, 0.00628429651, -0.0144606289, -0.008611653, 0.999858499),Alpha)
  1053. RS.C0 = clerp(RS.C0,CFrame.new(1.49951315, 0.533271909, 0.122298151, 0.999878109, -0.0090814922, -0.0127002187, -9.95867158e-05, -0.817126393, 0.576458812, -0.0156127857, -0.576387286, -0.817027688),Alpha)
  1054. NK.C0 = clerp(NK.C0,CFrame.new(7.63008302e-06, 1.49894154, -0.0144001842, 1, 6.98491931e-10, 9.31322575e-10, -3.63797881e-10, 0.973997772, -0.226557806, 0, 0.226557702, 0.973997891),Alpha)
  1055. end
  1056. for i = 0, 1, 0.1 do
  1057. swait()
  1058. local Alpha = .3
  1059. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
  1060. LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
  1061. RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
  1062. LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha)
  1063. RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
  1064. NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
  1065. end
  1066. gWeld:destroy()
  1067. tor.CFrame = Root.CFrame*CF.A(M.R(90),0,M.R(180))*CF.N(0,1.5,2.5)
  1068. tor.Anchored = true
  1069. for i = 0, 1.5, 0.1 do
  1070. swait()
  1071. local Alpha = .3
  1072. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
  1073. LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
  1074. RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
  1075. LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha)
  1076. RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
  1077. NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
  1078. end
  1079. Ragdoll(V)
  1080. if(V:FindFirstChild'Head')then
  1081. local s = Sound(tor,429400881,1,1,false,false,false)
  1082. s:Play()
  1083. s.Ended:connect(function() s:Destroy() end)
  1084. for i = 1, 15 do
  1085. BloodPuddle(V.Head.Position + V3.N(0,1,0) + V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100),5,15,V)
  1086. end
  1087. ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
  1088. V.Head:destroy()
  1089. end
  1090. V.Parent = workspace
  1091. for i = 0, 1, 0.1 do
  1092. swait()
  1093. local Alpha = .5
  1094. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
  1095. LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
  1096. RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
  1097. LS.C0 = clerp(LS.C0,CFrame.new(-0.891352475, 1.30320811, -0.969099402, 0.885748208, -0.442882746, -0.138943374, -0.340959162, -0.417689204, -0.842189372, 0.31495595, 0.793341637, -0.520972252),Alpha)
  1098. RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
  1099. NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
  1100. end
  1101. tor.Anchored = false
  1102. else
  1103. swait(30)
  1104. V.Parent = workspace
  1105. hum.WalkSpeed = 16
  1106. hum.JumpPower = 50
  1107. hum.AutoRotate = true
  1108. local dialogue = IsWhitelisted((plr and plr.UserId or 0),V.Name)
  1109. Chat(dialogue[M.RNG(1,#dialogue)])
  1110. end
  1111. end
  1112. end
  1113. Hum.WalkSpeed = 8
  1114. Hum.JumpPower = 50
  1115. Hum.AutoRotate = true
  1116. Root.Anchored = false
  1117. Attack = false
  1118. NeutralAnims = true
  1119. end
  1120. end
  1121.  
  1122. function Tear_My_Life_Into_Taunts()
  1123. Attack = true
  1124. NeutralAnims = false
  1125. for i = 0, 8, 0.1 do
  1126. swait()
  1127. local Alpha = .3
  1128. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1129. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1130. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1131. LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1132. RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1133. NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1134. end
  1135. for i = 0, 6, 0.1 do
  1136. swait()
  1137. local Alpha = .3
  1138. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1139. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1140. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1141. LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1142. RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1143. NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1144. end
  1145. for i = 0, 8, 0.1 do
  1146. swait()
  1147. local Alpha = .3
  1148. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1149. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1150. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1151. LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1152. RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1153. NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1154. end
  1155. Attack = false
  1156. NeutralAnims = true
  1157. end
  1158.  
  1159.  
  1160. function Tear_My_Life_Into_Pieces()
  1161. Attack = true
  1162. NeutralAnims = false
  1163. for i = 0, 8, 0.1 do
  1164. swait()
  1165. local Alpha = .3
  1166. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1167. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1168. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1169. LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1170. RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1171. NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1172. end
  1173. for i = 0, 8, 0.1 do
  1174. swait()
  1175. local Alpha = .3
  1176. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1177. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1178. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1179. LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1180. RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1181. NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1182. end
  1183. for i = 0, 3, 0.1 do
  1184. swait()
  1185. local Alpha = .3
  1186. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1187. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1188. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1189. LS.C0 = clerp(LS.C0,CFrame.new(-1.50119066, 0.635437846, 0.183586091, 0.999877751, -0.00959497504, -0.0123154735, -9.81397825e-05, -0.792694271, 0.609619617, -0.0156116877, -0.60954386, -0.792598248)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1190. RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1191. NK.C0 = clerp(NK.C0,CFrame.new(-1.52624333, 1.82071006, 1.26504755, 0.999999642, -4.94066626e-06, -7.65314326e-07, 3.14830686e-08, 0.159286067, -0.987232625, 4.99933958e-06, 0.987232208, 0.159286022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1192. end
  1193. for i = 0, .8, 0.1 do
  1194. swait()
  1195. local Alpha = .3
  1196. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-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)
  1197. 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)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1198. RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 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)
  1199. LS.C0 = clerp(LS.C0,CFrame.new(-1.5084902, 0.727420211, -0.284505814, 0.999877751, 0.0138456346, -0.00721337926, -9.81397825e-05, -0.456457406, -0.889745295, -0.0156116877, 0.889637291, -0.456400275)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1200. RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1201. NK.C0 = clerp(NK.C0,CFrame.new(-1.5716989, 1.57655525, -1.64465189, 0.999711812, -0.0205687769, 0.0123552298, 0.0152448276, 0.94212538, 0.33491385, -0.0185289457, -0.334628969, 0.942167461)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1202. end
  1203. Head.Transparency = 1
  1204. for _,v in next, Char:children() do
  1205. if(v:IsA'Accessory')then v.Handle.Transparency = 1 end
  1206. end
  1207. local projectile = Head:Clone()
  1208. projectile.Transparency = 0
  1209. projectile.Parent = workspace
  1210. local bv = NewInstance("BodyVelocity",projectile,{Velocity=(Mouse.Hit.p - projectile.CFrame.p).unit * 125})
  1211. delay(.2, function()
  1212. bv:destroy()
  1213. end)
  1214. projectile.Touched:connect(function(t)
  1215. if(not Char:IsAncestorOf(t))then
  1216. local hum = (t and t.Parent and t.Parent:FindFirstChildOfClass'Humanoid')
  1217. local hed = (t and t.Parent and t.Parent:FindFirstChild'Head')
  1218. if(hum and hed and hum.Health > 0)then
  1219. local plr = S.Players:GetPlayerFromCharacter(t.Parent)
  1220. if(not IsWhitelisted((plr and plr.UserId or 0),t.Parent.Name))then
  1221. t.Parent:breakJoints()
  1222. Ragdoll(t.Parent)
  1223. end
  1224. end
  1225. end
  1226. end)
  1227. coroutine.wrap(function()
  1228. for i = 1, 0, -.05 do
  1229. Head.Transparency = i
  1230. for _,v in next, Char:children() do
  1231. if(v:IsA'Accessory')then v.Handle.Transparency = i end
  1232. end
  1233. swait()
  1234. end
  1235. Head.Transparency = 0
  1236. for _,v in next, Char:children() do
  1237. if(v:IsA'Accessory')then v.Handle.Transparency = 0 end
  1238. end
  1239. end)()
  1240. delay(2, function()
  1241. for i = 0, 1, .05 do
  1242. projectile.Transparency = i
  1243. swait()
  1244. end
  1245. projectile:destroy()
  1246. end)
  1247. swait(30)
  1248. NeutralAnims = true
  1249. Attack = false
  1250. end
  1251.  
  1252. function An_Error_Has_Occureedddddddddd()
  1253. Attack = true
  1254. coroutine.wrap(function()
  1255. while true do
  1256. swait()
  1257. local pow = 75
  1258. FT.Parent = Torso
  1259. RA.Parent = RArm
  1260. LA.Parent = LArm
  1261. RL.Parent = RLeg
  1262. LL.Parent = LLeg
  1263. for _,v in next, Char:GetDescendants() do
  1264. if(v:IsA'DataModelMesh')then
  1265. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1266. end
  1267. end
  1268. end
  1269. end)()
  1270. Chat("An error has "..string.rep("ocu",25))
  1271. swait(30)
  1272. coroutine.wrap(function()
  1273. local tp = Music.TimePosition
  1274. while true do
  1275. swait(30)
  1276. Music.TimePosition = tp
  1277. end
  1278. end)()
  1279. swait(60)
  1280. for _,v in next, workspace:GetDescendants() do
  1281. if(v:FindFirstChildOfClass'Humanoid')then
  1282. coroutine.wrap(function() Ragdoll(v,false,true) end)()
  1283. end
  1284. end
  1285. end
  1286.  
  1287. Mouse.KeyDown:connect(function(k)
  1288. if(Attack)then return end
  1289. if(k == 'q')then You_Cant_Hide() end
  1290. if(k == 'z')then F_Is_For_Friends() end
  1291. if(k == 'x')then Brutal_Overlord() end
  1292. if(k == 'c')then Tear_My_Life_Into_Pieces() end
  1293. if(k == 't')then Tear_My_Life_Into_Taunts() end
  1294. if(k == 'v')then An_Error_Has_Occureedddddddddd() end
  1295. end)
  1296.  
  1297. --// Wrap it all up \\--
  1298.  
  1299.  
  1300.  
  1301. coroutine.wrap(function()
  1302. while true do
  1303. swait()
  1304. for puddle,data in next, BloodPuddles do
  1305. if(puddle.Transparency > 0.9)then
  1306. BloodPuddles[puddle] = nil
  1307. puddle:destroy()
  1308. end
  1309. data.Frame = data.Frame + 1
  1310. if(data.Frame > Frame_Speed*4)then
  1311. local trans = (data.Frame-Frame_Speed*4)/Frame_Speed*2
  1312. puddle.Transparency = trans
  1313. if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then
  1314. puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1)
  1315. end
  1316. else
  1317. puddle.Transparency = 0
  1318. end
  1319. end
  1320. end
  1321. end)()
  1322.  
  1323. Hum.WalkSpeed = 8
  1324. while true do
  1325. swait()
  1326. if(not Music or not Music.Parent)then
  1327. local a = Music.TimePosition
  1328. Music = Sound(Char,MusicID,1,3,true,false,true)
  1329. Music.Name = 'Music'
  1330. Music.TimePosition = a
  1331. end
  1332. Music.Volume = 5
  1333. Sine = Sine + Change
  1334. 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)
  1335. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1336. local State = (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")
  1337. if(State == 'Walk')then
  1338. local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
  1339. if(Hum.WalkSpeed < 14)then
  1340. local wsVal = 14 / (Hum.WalkSpeed/5)
  1341. Change = 1
  1342. RH.C1 = RH.C1:lerp(CF.N(0,.985-.15*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,0),Alpha)
  1343. LH.C1 = LH.C1:lerp(CF.N(0,.985-.15*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(0-20*M.C(Sine/wsVal)),0,0),Alpha)
  1344. elseif(Hum.WalkSpeed >= 14)then
  1345. local wsVal = 7 / (Hum.WalkSpeed/16)
  1346. Change = 2/3
  1347. RH.C1 = RH.C1:lerp(CF.N(0,1-.25*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal)),0,0),Alpha)
  1348. LH.C1 = LH.C1:lerp(CF.N(0,1-.25*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal)),0,0),Alpha)
  1349. end
  1350. else
  1351. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
  1352. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
  1353. end
  1354. local twitch = M.RNG(1,250)
  1355. if(twitch == 1 and not Twitch and time()-LastTwitch > TwitchMinTime)then
  1356. Twitch = true
  1357. LastTwitch = time()
  1358. end
  1359. if(time()-LastTwitch > M.RNG(75,150)/100)then
  1360. Twitch = false
  1361. end
  1362. if(Twitch)then
  1363. local pow = 75
  1364. NK.C1 = NK.C1:lerp(CF.A(-M.R(15)-M.RRNG(15,45),-(M.R(25)+M.RRNG(-100,100)/100),0),.3)
  1365. Music.Pitch = .8
  1366. --[[FT.Parent = Torso
  1367. RA.Parent = RArm
  1368. LA.Parent = LArm
  1369. RL.Parent = RLeg
  1370. LL.Parent = LLeg
  1371. for _,v in next, Char:GetDescendants() do
  1372. if(v:IsA'DataModelMesh')then
  1373. v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
  1374. end
  1375. end]]
  1376. else
  1377. NK.C1 = NK.C1:lerp(CF.N(),.3)
  1378. Music.Pitch = 1
  1379. --[[FT.Parent = nil
  1380. RA.Parent = nil
  1381. LA.Parent = nil
  1382. RL.Parent = nil
  1383. LL.Parent = nil
  1384. for _,v in next, Char:GetDescendants() do
  1385. if(v:IsA'DataModelMesh')then
  1386. v.Offset = V3.N()
  1387. end
  1388. end]]
  1389. end
  1390. if(Victim and (not Victim:FindFirstChildOfClass'Humanoid' or not Victim.Parent or not GetTorso(Victim)))then
  1391. Victim = nil
  1392. end
  1393. if(not Victim)then
  1394. Target.Adornee = nil
  1395. Target.Enabled = false
  1396. elseif(GetTorso(Victim))then
  1397. Target.Adornee = GetTorso(Victim)
  1398. Target.Enabled = true
  1399. end
  1400. TargetImg1.Rotation = TargetImg1.Rotation + 2
  1401. TargetImg2.Rotation = TargetImg2.Rotation - 2
  1402. char = game.Players.LocalPlayer.Character
  1403. while true do
  1404. wait(0)
  1405. char.Humanoid.MaxHealth = math.huge
  1406. char.Humanoid.Health = math.huge
  1407. end
  1408.  
  1409.  
  1410. if(NeutralAnims)then
  1411. if(State == 'Idle')then
  1412. local Alpha = .2
  1413. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00314458925, 0.0451914072+.15*M.C(time()), -0.20140326, 0.999990046, -0.00435535889, -0.000589565374, 0.00435100077, 0.96206224, 0.272795409, -0.000620923936, -0.27279523, 0.962071478),Alpha)
  1414. LH.C0 = clerp(LH.C0,CFrame.new(-0.497960001, -1.04775584-.15*M.C(time()), -0.0720805228, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha)
  1415. RH.C0 = clerp(RH.C0,CFrame.new(0.49705413, -1.05053294-.15*M.C(time()), -0.0786191523, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha)
  1416. LS.C0 = clerp(LS.C0,CFrame.new(-1.47194386, 0.51491183+.15*M.C(time()), -0.0806432366, 0.997356772, 0.0710981488, 0.014991004, -0.0643278062, 0.95990926, -0.272830069, -0.0337877162, 0.271144569, 0.961945415),Alpha)
  1417. RS.C0 = clerp(RS.C0,CFrame.new(1.46653831, 0.491472602+.15*M.C(time()), -0.0686791688, 0.998338819, -0.0556335486, 0.014991004, 0.057612583, 0.960335672, -0.272830069, 0.00078211166, 0.273240507, 0.961945415),Alpha)
  1418. NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)
  1419. elseif(State == 'Walk')then
  1420. local Alpha = .3
  1421. if(Hum.WalkSpeed < 14)then
  1422. local wsVal = 14 / (Hum.WalkSpeed/5)
  1423. NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)
  1424. LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
  1425. RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
  1426. RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
  1427. RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1428. LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+20*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1429. elseif(Hum.WalkSpeed >= 14)then
  1430. local wsVal = 7 / (Hum.WalkSpeed/16)
  1431. NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)
  1432. LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
  1433. RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
  1434. RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
  1435. RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+25*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1436. LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+25*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1437. end
  1438. elseif(State == 'Jump' or State == 'Fall')then
  1439. IdleCounter = 0
  1440. if(Walking)then
  1441. local Alpha = .2
  1442. 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)
  1443. 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)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. 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)
  1448. else
  1449. local Alpha = .2
  1450. 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)
  1451. 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)
  1452. 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)
  1453. 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)
  1454. 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)
  1455. 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)
  1456. end
  1457. end
  1458. end
  1459. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement