Advertisement
wamandnj

Untitled

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