Advertisement
FMER

Insanity

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