Advertisement
memberhero

Reanimated v2

Feb 1st, 2019
1,509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --game:service'Players'.localPlayer.Character:FindFirstChildOfClass'Humanoid'.Health = 1
  2.  
  3. -- THE REANIMATED V2 --
  4. -- CREATED BY DJPOOTIS2 --
  5. -- CREDIT TO QUIL_CYNDAQUIL FOR THE ORIGINAL REANIMATED --
  6.  
  7. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  8. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  9. do
  10. print("FE Compatibility code by Mokiros")
  11. script.Parent = Player.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent and t.Function then
  37. t.Function(...)
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=Player then return end
  45. if io.isMouse then
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. else
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76.  
  77. local Mouse = Player:GetMouse()
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  88. end
  89. wait(0.2)
  90.  
  91.  
  92. print'pls no leek kthx'
  93.  
  94.  
  95. local Effects = {};
  96. local Player = owner
  97. local Character = Player.Character;
  98. local UID = Player.UserId;
  99. local Humanoid = Character:FindFirstChildOfClass"Humanoid"
  100. local Render = game:service'RunService'.Heartbeat;
  101. local animSpeed = 1;
  102. local change = 2 / animSpeed;
  103. local PlayerSize = 1; -- For Scaling
  104. local Timer = 0;
  105. local RootPart = Character['HumanoidRootPart']
  106. local Torso = Character['Torso']
  107. local LeftArm = Character['Left Arm']
  108. local RightArm = Character['Right Arm']
  109. local LeftLeg = Character['Left Leg']
  110. local RightLeg = Character['Right Leg']
  111. local Head = Character['Head']
  112.  
  113. local Blocking = false
  114. local Staggered = false
  115. local sine,Sine = Timer,Timer;
  116. local AAA = false
  117. local FX = Instance.new("Folder",Character)
  118. FX.Name = "Effects"
  119.  
  120.  
  121. repeat wait() until Humanoid.Health < 50
  122.  
  123.  
  124. function clerp(A,B,C)
  125. return A:lerp(B,C / animSpeed)
  126. end
  127.  
  128.  
  129.  
  130. local SpecialKeys = {
  131. [48] = "LShift",
  132. [13] = "Enter",
  133. [32] = "Space",
  134. [47] = "RShift",
  135. [92] = "Backslash",
  136. [50] = "LCtrl",
  137. [52] = "LAlt",
  138. [49] = "RCtrl",
  139. [51] = "RAlt",
  140. [8] = "Backspace",
  141. [45] = "CapsLock"
  142. }
  143.  
  144. function Create(cl)
  145. local inst = Instance.new(cl)
  146. return function(prop)
  147. for i,v in next, prop do
  148. pcall(function()
  149. inst[i] = v
  150. end)
  151. end
  152. return inst
  153. end, inst
  154. end
  155.  
  156. function BlockEffect(CFram,initSize,initTrans,BC,sizeInc,transInc,maxTime)
  157. local Block = Create("Part"){
  158. Size = initSize,
  159. Parent = FX,
  160. Transparency = initTrans,
  161. Anchored = true,
  162. CanCollide = false,
  163. BrickColor = BC,
  164. TopSurface=10,
  165. BottomSurface=10,
  166. CFrame = CFram
  167. }
  168. table.insert(Effects,{"Block1",Block,sizeInc,transInc,time(),maxTime,CFram})
  169. end
  170.  
  171. function replaceWeld(weld)
  172. assert(pcall(function()
  173. assert(game.IsA(weld,'Instance'))
  174. end),'Should be ROBLOX instance')
  175. if weld:IsA"Motor6D" or weld:IsA"Weld" then
  176. local w = Instance.new("Weld",weld.Parent)
  177. w.Part0 = weld.Part0;
  178. w.Part1 = weld.Part1;
  179. w.Name = weld.Name;
  180. w.C0 = weld.C0;
  181. w.C1 = weld.C1;
  182. return w;
  183. end
  184. return nil
  185. end
  186.  
  187. local Sounds = {
  188. Splatter = "http://www.roblox.com/asset/?id=206082327",
  189. Charge = "http://www.roblox.com/asset/?id=136007472"
  190. }
  191.  
  192. local Abcd = {}
  193. for i,v in next, Character:children() do
  194. for _,w in next, v:children() do
  195. if w:IsA"Weld" or w:IsA"Motor6D" then
  196. Abcd[w.Name] = {w,w.Parent}
  197. end
  198. end
  199. end
  200.  
  201. for i,v in next, Abcd do v[1].Parent = v[2] end
  202.  
  203. local Welds = {
  204. RS = replaceWeld(Abcd['Right Shoulder'][1]),
  205. LS = replaceWeld(Abcd['Left Shoulder'][1]),
  206. RH = replaceWeld(Abcd['Right Hip'][1]),
  207. LH = replaceWeld(Abcd['Left Hip'][1]),
  208. NK = replaceWeld(Abcd['Neck'][1]),
  209. --RJ = Abcd['RootJoint'][1]
  210. RJ = replaceWeld(Abcd['RootJoint'][1])
  211. }
  212.  
  213. Welds.RJ.C0 = CFrame.new(0,0,0);
  214. Welds.RJ.C1 = CFrame.new(0,0,0);
  215.  
  216. Welds.RS.C0 = CFrame.new(1 * PlayerSize,0.5 * PlayerSize,0)
  217. Welds.RS.C1 = CFrame.new(-0.5 * PlayerSize,0.5 * PlayerSize,0)
  218.  
  219. Welds.LS.C0 = CFrame.new(-1 * PlayerSize,0.5 * PlayerSize,0)
  220. Welds.LS.C1 = CFrame.new(0.5 * PlayerSize,0.5 * PlayerSize,0)
  221.  
  222. Welds.RH.C0 = CFrame.new(1 * PlayerSize,-1 * PlayerSize,0)
  223. Welds.RH.C1 = CFrame.new(0.5 * PlayerSize,1 * PlayerSize,0)
  224.  
  225. Welds.LH.C0 = CFrame.new(-1 * PlayerSize,-1 * PlayerSize,0)
  226. Welds.LH.C1 = CFrame.new(-0.5 * PlayerSize,1 * PlayerSize,0)
  227.  
  228. Welds.NK.C0 = CFrame.new(0 * PlayerSize,1 * PlayerSize,0)
  229. Welds.NK.C1 = CFrame.new(0 * PlayerSize,-0.5 * PlayerSize,0)
  230.  
  231.  
  232. local Nibba = {};
  233. for i,v in next, Welds do Nibba[i] = {C0 = v.C0, C1 = v.C1} end
  234.  
  235. -- intro
  236. Humanoid.MaxHealth = 100000
  237. wait()
  238. Humanoid.Health = 100000
  239. local MiscFunctions = {
  240. RayC = function(Position, Direction, Range, Ignore)
  241. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  242. end,
  243. GetKey = function(Key)
  244. local ByteKey = string.byte(Key)
  245. if SpecialKeys[ByteKey] then
  246. return SpecialKeys[ByteKey]
  247. else
  248. return Key
  249. end
  250. end
  251. }
  252.  
  253. local truflyposy = Torso.Position.Y+15
  254. local flyposy = truflyposy
  255. local bodfly = Instance.new("BodyPosition", Torso)
  256. bodfly.Name = "Fly"
  257. bodfly.maxForce = Vector3.new(0,10000,0)
  258. bodfly.Position = Vector3.new(0,flyposy,0)
  259.  
  260.  
  261. New = function(Object, Parent, Name, Data)
  262. local Object = Instance.new(Object)
  263. for Index, Value in pairs(Data or {}) do
  264. Object[Index] = Value
  265. end
  266. Object.Parent = Parent
  267. Object.Name = Name
  268. return Object
  269. end
  270.  
  271.  
  272. local currentHealth = Humanoid.Health
  273. local Block = New("BoolValue",Character,"Block",{Value=false})
  274. local Stagger = New("BoolValue",Character,"Stagger",{Value=false})
  275. local Dam = 0;
  276. Block.Changed:connect(function(v)
  277. Blocking = v
  278. if v == true then
  279. currentHealth=Humanoid.Health
  280. end
  281. end)
  282.  
  283. local s = Instance.new("Sound",Torso)
  284. s.Name = "Reanimate"
  285. s.Volume = 1--a
  286. s.Pitch = 0.66
  287. s.Looped = true
  288. s.SoundId = "rbxassetid://450193952"
  289. s:Play()
  290.  
  291. local Shield = New("Part",Character,"Shield",{Transparency=1,BrickColor = BrickColor.new"Really black",Size = Vector3.new(10,10,10),CanCollide=false,Anchored=true})
  292. local ShieldMesh = Create("SpecialMesh"){Parent=Shield,MeshType=Enum.MeshType.Sphere}
  293.  
  294. local Debounces = {
  295. CanAttack = true;
  296. StopAnims = false;
  297. Height = 15;
  298. Target = nil;
  299. Form = 1
  300. }
  301.  
  302. function NewSound(id,parent,vol,pitch,autoDel)
  303. coroutine.resume(coroutine.create(function()
  304. local S = Create("Sound"){
  305. Volume = vol,
  306. Pitch = pitch or 1,
  307. SoundId = id,
  308. Parent = parent or workspace,
  309. }
  310. wait()
  311. S:play()
  312. game:GetService("Debris"):AddItem(S, S.TimeLength+1)
  313. end))
  314. end
  315.  
  316. local nametag = Instance.new("BillboardGui",Character.Head)
  317. nametag.StudsOffset = Vector3.new(0,2,0)
  318. nametag.Adornee = Character.Head
  319. nametag.Size = UDim2.new(0,200,0,50)
  320.  
  321. local text = Instance.new("TextLabel",nametag)
  322. text.Size = UDim2.new(0,200,0,50)
  323. text.BackgroundTransparency = 1
  324. text.Text = "The Reanimated"
  325. text.TextColor3 = Color3.new(180/255,0,0)
  326. text.TextStrokeColor3 = Color3.new(0,0,0)
  327. text.Font = Enum.Font.Fantasy
  328. text.TextScaled = true
  329. text.TextStrokeTransparency = 0
  330.  
  331. Stagger.Changed:connect(function(v)
  332. if v == true and Staggered == false then
  333. Blocking = false
  334. Block.Value = false
  335. Shield.Transparency = 1;
  336. coroutine.wrap(function()
  337. Staggered = true
  338. local tPos
  339. coroutine.wrap(function()
  340. for i = 5, 0, -.1 do
  341. s.Volume = i;
  342. wait()
  343. end
  344. tPos = s.TimePosition
  345. s:Stop()
  346. end)()
  347. if Humanoid.Health > 1000 then
  348. wait(math.random(5,8))
  349. Staggered = false
  350. Stagger.Value = false
  351. Humanoid.WalkSpeed = 16;
  352. Humanoid.JumpPower = 50;
  353. s.Volume = 5
  354. s.Playing = true
  355. s.TimePosition = tPos
  356. elseif Debounces.Form == 1 then
  357. Humanoid.MaxHealth = math.huge
  358. wait(2)
  359. for i = 1, 3 do
  360. local pitch = 1
  361. if i > 1 then pitch = 1 + (i/10)-.1 end
  362. NewSound(Sounds.Charge,Character,10,pitch)
  363. BlockEffect(Torso.CFrame,Vector3.new(2,2,2),0,BrickColor.new'Crimson',0,.01,5)
  364. wait(5)
  365. end
  366. Debounces.StopAnims = true
  367. Stagger.Value = false
  368. Staggered = false
  369. animSpeed = 3
  370. for i = 0, 1, 0.1 do
  371. Render:wait()
  372. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
  373. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
  374. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
  375. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
  376. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
  377. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
  378. end
  379. for i = 0, 1, 0.1 do
  380. Render:wait()
  381. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.510724425, -0.0124477595, 1, 0, 0, 0, 0.923526525, -0.383535087, 0, 0.383535087, 0.923526525),0.3)
  382. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798428, -0.988541842, -0.367843091, 0.998180866, 0.0602903217, -1.20356412e-06, -0.0599078164, 0.991850197, 0.112446919, 0.00678065419, -0.112242267, 0.993657887),0.3)
  383. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999966621, -3.81469818e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024),0.3)
  384. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933991432, -0.982733488, -0.118956119, 0.997888863, -0.0649459437, 0, 0.0631561726, 0.970389128, -0.233145028, 0.0151418243, 0.232652828, 0.972442091),0.3)
  385. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.537676752, -0.140046388, 1, 0, 0, 0, 0.907491684, -0.420070529, 0, 0.420070529, 0.907491684),0.3)
  386. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-8.21182233e-10, 0.0137771368, -0.453442693, 1, -5.79621222e-08, -1.38965399e-08, 5.96047016e-08, 0.972442091, 0.233145028, 0, -0.233145028, 0.972442091),0.3)
  387. end
  388. wait(.25)
  389. for i = 0, 1, 0.1 do
  390. Render:wait()
  391. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
  392. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
  393. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
  394. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
  395. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
  396. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
  397. end
  398. wait(.5)
  399. Debounces.StopAnims = false
  400. Staggered = true
  401. wait(2)
  402. Debounces.StopAnims = true
  403. Staggered = false
  404. for i = 0, 1, 0.1 do
  405. Render:wait()
  406. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.635141492, -0.110271573, 1, 0, 0, 0, 0.7514081, -0.659837902, 0, 0.659837902, 0.7514081),0.3)
  407. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938790321, 0.110049427, -0.463326722, 0.998180866, 0.0602899976, -1.02378704e-06, -0.0540004596, 0.894041896, -0.444717079, -0.0268110707, 0.443908215, 0.895671248),0.3)
  408. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999965489, 2.8610234e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),0.3)
  409. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933992505, -0.587882757, -0.626636088, 0.997888863, -0.0649445951, -1.37830477e-06, 0.0626346469, 0.962390542, 0.264351219, -0.0171668548, -0.26379323, 0.964426517),0.3)
  410. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.903780282, 0.515634775, -0.133764744, 0.995964289, 0.0897494778, 1.14661316e-06, -0.0249709077, 0.277118325, -0.960511327, -0.0862057209, 0.95663482, 0.278241158),0.3)
  411. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(4.90560836e-08, -0.823023677, -0.453469992, 1, -5.04276763e-08, -3.17768851e-08, 5.96047016e-08, 0.846035182, 0.533127129, 0, -0.533127129, 0.846035182),0.3)
  412. end
  413. wait(.1)
  414. for i = 0, 1, 0.1 do
  415. Render:wait()
  416. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.999984741, 0.510724425, -0.0124477595, 1, 0, 0, 0, 0.923526525, -0.383535087, 0, 0.383535087, 0.923526525),0.3)
  417. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798428, -0.988541842, -0.367843091, 0.998180866, 0.0602903217, -1.20356412e-06, -0.0599078164, 0.991850197, 0.112446919, 0.00678065419, -0.112242267, 0.993657887),0.3)
  418. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999966621, -3.81469818e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024),0.3)
  419. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933991432, -0.982733488, -0.118956119, 0.997888863, -0.0649459437, 0, 0.0631561726, 0.970389128, -0.233145028, 0.0151418243, 0.232652828, 0.972442091),0.3)
  420. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.537676752, -0.140046388, 1, 0, 0, 0, 0.907491684, -0.420070529, 0, 0.420070529, 0.907491684),0.3)
  421. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-8.21182233e-10, 0.0137771368, -0.453442693, 1, -5.79621222e-08, -1.38965399e-08, 5.96047016e-08, 0.972442091, 0.233145028, 0, -0.233145028, 0.972442091),0.3)
  422. end
  423. for i = 0, 1, 0.1 do
  424. Render:wait()
  425. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.957167327, 0.453155667, 0, 0.995972455, 0.0896599814, 0, -0.0896599814, 0.995972455, 0, 0, 0, 1),0.3)
  426. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938796461, -0.971975207, -0.0260774065, 0.998180985, 0.0602893308, -1.15168412e-07, -0.0602699406, 0.997859955, 0.0253591333, 0.001529, -0.0253129955, 0.999678493),0.3)
  427. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56876625e-06, 1.01717365, 3.16500664e-05, 1, -5.75538159e-08, -1.55009161e-08, 5.96047016e-08, 0.965591908, 0.260061979, 0, -0.260061979, 0.965591908),0.3)
  428. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.841966629, -0.93981564, 0.00444914401, 0.988348246, -0.152201191, -0.00160468766, 0.151723087, 0.984291553, 0.0902784094, -0.0121610025, -0.0894699693, 0.995915294),0.3)
  429. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.959337294, 0.455741018, 0, 0.996389091, -0.0849050656, 0, 0.0849050656, 0.996389091, 0, 0, 0, 1),0.3)
  430. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  431. end
  432. wait(1)
  433. for i = 0, 1, 0.1 do
  434. Render:wait()
  435. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.957167327, 0.453155667, 0, 0.995972455, 0.0896599814, 0, -0.0896599814, 0.995972455, 0, 0, 0, 1),0.3)
  436. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938795805, -0.972622752, -0.0448461361, 0.998180866, 0.0602902845, 3.4001016e-07, -0.0602329336, 0.997231245, 0.0436113216, 0.00262899976, -0.0435320102, 0.999048591),0.3)
  437. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56957888e-06, 1.00353312, -0.00958478451, 1, -5.91799605e-08, 7.10303238e-09, 5.96047016e-08, 0.992874026, -0.119168997, 0, 0.119168997, 0.992874026),0.3)
  438. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.841966808, -0.940919042, 0.0270861164, 0.988348246, -0.152201146, -0.00160710467, 0.151278093, 0.983411133, -0.100088336, 0.0168140028, 0.0986790136, 0.994977295),0.3)
  439. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.959337294, 0.455741018, 0, 0.996389091, -0.0849050656, 0, 0.0849050656, 0.996389091, 0, 0, 0, 1),0.3)
  440. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  441. end
  442. wait(2)
  443. BlockEffect(Torso.CFrame,Vector3.new(5,5,5),0,BrickColor.new'Really red',.5,.01,15)
  444. NewSound("rbxassetid://300916057",Character,10,0.75)
  445. local spik = Create("Part"){
  446. Parent = Character,
  447. Size = Vector3.new(1,1,1),
  448. BrickColor = BrickColor.new"Really black",
  449. CanCollide = false,
  450. Anchored = false,
  451. }
  452. local spikWeld = Create("Weld"){
  453. Parent = spik,
  454. Part0 = spik,
  455. Part1 = RightArm,
  456. C0 = CFrame.new(0,-2,0)*CFrame.Angles(0,0,math.rad(180))
  457. }
  458. local spikMesh = Create("SpecialMesh"){
  459. MeshId = "http://www.roblox.com/asset/?id=1033714",
  460. Scale = Vector3.new(.9,4.4,.9),
  461. Parent=spik
  462. }
  463. s.SoundId = "rbxassetid://674318415"
  464. s.Volume = 5
  465. s.Pitch = 0.95
  466. wait()
  467. s:Play()
  468. Debounces.Form = 2
  469. text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
  470. for i = 0, 1, 0.1 do
  471. Render:wait()
  472. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.96031338, 0.458367467, 0.0712135136, 0.977983236, 0.208683625, -1.09164137e-06, -0.192756981, 0.903345942, 0.383159161, 0.0799600258, -0.374722987, 0.923682392),0.3)
  473. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.802276373, -0.685330868, 0.0988606215, 0.952915251, 0.274171591, 0.12954776, -0.301331997, 0.903977334, 0.303354621, -0.0339370072, -0.328108102, 0.944030404),0.3)
  474. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.984225392, 0.0595060661, 1, 2.84217094e-14, -7.99360578e-15, -2.84217094e-14, 0.987590373, -0.157053158, 3.79543012e-15, 0.157053158, 0.987590373),0.3)
  475. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(1.02662873, -0.795234203, -0.0578379631, 0.972567916, -0.232620284, -2.52999121e-06, 0.219105512, 0.916058242, 0.335904032, -0.078135483, -0.3266882, 0.941899419),0.3)
  476. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.03257418, 0.42650333, 0.0804126412, 0.989078343, -0.137227014, -0.0537911914, 0.147393152, 0.920861006, 0.360958546, 9.50844594e-07, -0.364944667, 0.931029499),0.3)
  477. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, 2.74832177, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  478. end
  479. wait(2)
  480. animSpeed = 1
  481. for i = 0, 2, 0.1 do
  482. Render:wait()
  483. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.866948485, 0.44115752, 0.0256533176, 0.948088408, 0.318024814, -2.84144647e-07, -0.239282295, 0.713343978, 0.658701897, 0.209483296, -0.624509335, 0.752403975),0.3)
  484. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.941843748, -0.900618196, 0.249934077, 0.998185635, 0.0572476164, 0.0189161301, -0.0242055617, 0.667864025, -0.743898809, -0.0552191995, 0.74208647, 0.668032646),0.3)
  485. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 1.09470928, -0.29286626, 1, 0, 0, 0, 0.810512304, -0.58572489, 0, 0.58572489, 0.810512304),0.3)
  486. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.979326308, -0.997037768, -0.41112265, 0.997888803, -0.0340288281, -0.0553171262, 0.0260743182, 0.989999413, -0.138641536, 0.0594817251, 0.136906475, 0.988796711),0.3)
  487. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999984741, 0.378619969, -0.695617378, 1, 0, 0, 0, 0.388423771, -0.921481013, 0, 0.921481013, 0.388423771),0.3)
  488. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(5.30109681e-08, -0.889375567, -1.23891258, 1, -2.39302143e-08, -5.45899788e-08, 5.96047016e-08, 0.401481986, 0.915866971, 0, -0.915866971, 0.401481986),0.3)
  489. end
  490. Debounces.StopAnims = false
  491. Staggered = false
  492. Humanoid.WalkSpeed = 14
  493. Humanoid.MaxHealth = 10e3
  494. wait()
  495. Humanoid.Health = 10e3
  496. end
  497. end)()
  498. end
  499. end)
  500.  
  501.  
  502.  
  503.  
  504. local hideName = Head:Clone()
  505. hideName.Parent = Character
  506. hideName.Name = "Hide"
  507.  
  508. function GetTorso(v)
  509. return v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso"
  510. end
  511. hideName.BrickColor = BrickColor.new("Really black")
  512. hideName:FindFirstChildOfClass"Decal":destroy()
  513. hideName.BillboardGui:destroy()
  514. Head:FindFirstChildOfClass"Decal":destroy()
  515. for i,v in next, Character:children() do
  516. if v:IsA"BasePart" and v ~= RootPart then
  517. v.BrickColor = BrickColor.new"Really black"
  518. end
  519. end
  520. Head.Transparency = 1
  521.  
  522.  
  523. coroutine.wrap(function()
  524. while wait() do
  525. wait(3)
  526. text.Text = "GIVE UP"
  527. wait()
  528. text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
  529. wait(2)
  530. local str = ""
  531. for i = 1, math.random(3,25) do
  532. str = str..string.char(math.random(65,122))
  533. end
  534. text.Text = str
  535. wait()
  536. str = ""
  537. for i = 1, math.random(12,25) do
  538. str = str..string.char(math.random(48,122))
  539. end
  540. wait()
  541. text.Text = str
  542. wait()
  543. text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
  544. wait(1)
  545. text.Text = "BE GONE THOT"
  546. wait()
  547. text.Text = "Burn in hell."
  548. wait()
  549. text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
  550. wait(2)
  551. text.Text = "You made me do this.";
  552. wait()
  553. text.Text = "edgy";
  554. wait()
  555. for i = 1, math.random(12,25) do
  556. str = str..string.char(math.random(48,57))
  557. end
  558. text.Text = str
  559. wait()
  560. text.Text = (Debounces.Form == 2 and "Yatagarasu" or "The Reanimated");
  561. wait(2)
  562. end
  563. end)()
  564. New("Weld",hideName,"Weld",{Part0=hideName,Part1=Head})
  565. local BodyColors = Character:FindFirstChildOfClass"BodyColors"
  566. if BodyColors then
  567. BodyColors.HeadColor = BrickColor.new"Really black"
  568. BodyColors.TorsoColor = BrickColor.new"Really black"
  569. BodyColors.LeftArmColor = BrickColor.new"Really black"
  570. BodyColors.RightArmColor = BrickColor.new"Really black"
  571. BodyColors.LeftLegColor = BrickColor.new"Really black"
  572. BodyColors.RightLegColor = BrickColor.new"Really black"
  573. end
  574.  
  575.  
  576.  
  577. local AnimStance = 1;
  578. local Animation = "Idle";
  579.  
  580.  
  581. local BBG = Instance.new("BillboardGui",Character)
  582. BBG.Size = UDim2.new(10,0,10,0)
  583. BBG.Enabled = false
  584. local TargetCircle = Instance.new("ImageLabel",BBG)
  585. TargetCircle.Position = UDim2.new(0,0,0,0)
  586. TargetCircle.Size = UDim2.new(1,0,1,0)
  587. TargetCircle.Image = "rbxassetid://418573253"
  588. TargetCircle.BackgroundTransparency = 1
  589. TargetCircle.ImageColor3 = Color3.new(1,0,0)
  590. local TargetCircle2 = TargetCircle:Clone()
  591. TargetCircle2.Parent = BBG
  592. TargetCircle2.ImageTransparency = 1;
  593.  
  594.  
  595.  
  596.  
  597. function TargetSelect(ch)
  598. local dd=coroutine.wrap(function()
  599. if Debounces.Target ~= ch then
  600. Debounces.Target = ch
  601. TargetCircle2.Size = UDim2.new(1,0,1,0)
  602. TargetCircle2.ImageTransparency = 0
  603. TargetCircle2.Position = UDim2.new(0,0,0,0)
  604. for i = 0, 2, 0.1 do
  605. wait()
  606. TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0)
  607. TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0)
  608. TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05
  609. end
  610. end
  611. end)()
  612. end
  613. Mouse.KeyDown:connect(function(k)
  614. if k == 'q' then
  615. if Debounces.Height > 5 then
  616. Debounces.Height = Debounces.Height - 5
  617. end
  618. end
  619. end)
  620.  
  621.  
  622. Mouse.KeyDown:connect(function(k)
  623. if k == 'e' then
  624. if Debounces.Height < 100 then
  625. Debounces.Height = Debounces.Height + 5
  626. end
  627. end
  628. end)
  629.  
  630. function ShowDamage(Pos, Text, Time, Color)
  631. coroutine.wrap(function()
  632. local Rate = (1 / 30)
  633. local Pos = (Pos or Vector3.new(0, 0, 0))
  634. local Text = (Text or "")
  635. local Time = (Time or 2)
  636. local Color = (Color or Color3.new(1, 0, 1))
  637. local EffectPart = Create("Part"){
  638. Parent=workspace,
  639. Material=Enum.Material.SmoothPlastic,
  640. Reflectance = 0,
  641. Transparency = 1,
  642. BrickColor = BrickColor.new(Color),
  643. Name = "Effect",
  644. Size = Vector3.new(0,0,0),
  645. Anchored = true
  646. }
  647. local BillboardGui = Create("BillboardGui"){
  648. Size = UDim2.new(3, 0, 3, 0),
  649. Adornee = EffectPart,
  650. Parent = EffectPart,
  651. }
  652. local TextLabel = Create("TextLabel"){
  653. BackgroundTransparency = 1,
  654. Size = UDim2.new(1, 0, 1, 0),
  655. Text = Text,
  656. Font = "SciFi",
  657. TextColor3 = Color,
  658. TextScaled = true,
  659. Parent = BillboardGui,
  660. }
  661. game.Debris:AddItem(EffectPart, (Time))
  662. EffectPart.Parent = game:GetService("Workspace")
  663. delay(0, function()
  664. local Frames = (Time / Rate)
  665. for Frame = 1, Frames do
  666. wait(Rate)
  667. local Percent = (Frame / Frames)
  668. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  669. TextLabel.TextTransparency = Percent
  670. end
  671. if EffectPart and EffectPart.Parent then
  672. EffectPart:Destroy()
  673. end
  674. end) end)()
  675. end
  676.  
  677.  
  678.  
  679. Humanoid.HealthChanged:connect(function(health)
  680. if Blocking or Humanoid.Health <= 1000 then
  681. if currentHealth > health then
  682. Dam = Dam + (currentHealth - health)
  683. if(math.random(1,30) == 23 and currentHealth - health > 15) or Dam > 250 then
  684. Stagger.Value = true
  685. Dam = 0;
  686. end
  687. Humanoid.Health = currentHealth
  688. else
  689. currentHealth = Humanoid.Health
  690. end
  691. end
  692. end)
  693.  
  694.  
  695. function DealDamage(hit,min,max,typ,knockback)
  696. spawn(function() local ch = hit.Parent
  697. if ch then
  698. local hum = ch:FindFirstChildOfClass"Humanoid"
  699. if hum then
  700. local c = Create("ObjectValue"){
  701. Name = "creator",
  702. Value = Player,
  703. Parent = hum,
  704. }
  705. if hum.Health >= math.huge then
  706. hum.Health = 0;
  707. else
  708. local dam = math.random(min,max)
  709. if typ == 1 or typ == "Knockdown" then
  710. hum.PlatformStand = true
  711. coroutine.resume(coroutine.create(function(HHumanoid)
  712. wait(1)
  713. HHumanoid.PlatformStand = false
  714. end), hum)
  715. local angle = (hit.Position - (RootPart.Position + Vector3.new(0, 0, 0))).unit
  716. local bodvol = Create("BodyVelocity"){
  717. velocity = angle * knockback,
  718. P = 5000,
  719. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  720. Parent = hit,
  721. }
  722. local rl = Create("BodyAngularVelocity"){
  723. P = 3000,
  724. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  725. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  726. Parent = hit,
  727. }
  728. game:GetService("Debris"):AddItem(bodvol, .5)
  729. game:GetService("Debris"):AddItem(rl, .5)
  730. elseif typ == 2 or typ == "Up" then
  731. local bodyVelocity = Create("BodyVelocity"){
  732. velocity = Vector3.new(0, 20, 0),
  733. P = 5000,
  734. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  735. Parent = hit,
  736. }
  737. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  738. end
  739. local blok=false
  740. if hit.Parent:FindFirstChild"Block" and hit.Parent.Block:IsA"BoolValue" then
  741. blok = hit.Parent.Block.Value
  742. end
  743. if not blok then
  744. if dam >= hum.Health and hum.Health > 0 then
  745. ch:BreakJoints() -- ded
  746. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), math.floor(hum.Health), 1.5, BrickColor.new"New Yeller".Color)
  747. else
  748. hum.Health = hum.Health - dam; -- Damaged af
  749. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), -dam, 1.5, BrickColor.new"Really red".Color)
  750. end
  751. else
  752. if dam >= hum.MaxHealth then
  753. if hit.Parent:FindFirstChild"Stagger" and hit.Parent.Stagger:IsA"BoolValue" then
  754. hit.Parent.Stagger.Value = true
  755. end
  756. end
  757. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(math.random(-5,5), 1.5, math.random(-5,5))), "0 [BLOCKED]", 1.5, BrickColor.new"Deep blue".Color)
  758. end
  759. end
  760. end
  761. end end)
  762. end
  763.  
  764. Mouse.KeyDown:connect(function(k)
  765. if not Debounces.CanAttack then return end
  766. if k == 't' then
  767. if Mouse.Target and Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass"Humanoid" then
  768.  
  769. TargetSelect(Mouse.Target.Parent)
  770. Debounces.StopAnims = true
  771. Debounces.CanAttack = false
  772. for i = 0, 1, 0.1 do
  773. Render:wait()
  774. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.749353647, 0.529431522, -0.318006754, 0.870845377, 0.491561323, -1.26892701e-08, 0.000982132158, -0.0017399512, -1.00000119, -0.491561741, 0.870841324, -0.00199800706),0.3)
  775. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791871, -0.971642613, 5.57018484e-06, 0.998180926, 0.0602899864, -5.06639481e-07, -0.0602899864, 0.998180866, -1.64997255e-06, 3.87430191e-07, 1.67451799e-06, 1),0.3)
  776. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.79242237e-06, 0.999970436, 2.18215064e-06, 0.871591508, 0, 0.490233004, 0, 1, 0, -0.490233004, 0, 0.871591508),0.3)
  777. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.88020426, -0.991442442, -0.325477958, 0.829835236, -0.0540084504, 0.555388868, 0.0649459437, 0.997888863, 0, -0.554216385, 0.0360702537, 0.831590831),0.3)
  778. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.999982893, 0.5, 5.72204681e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),0.3)
  779. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-0.314259201, -9.72405587e-07, -0.0365651473, 0.831590831, -5.96047016e-08, -0.555388868, 4.95667223e-08, 1, -3.31037882e-08, 0.555388868, 0, 0.831590831),0.3)
  780. end
  781. wait(.25)
  782. Debounces.StopAnims = false
  783. Debounces.CanAttack = true
  784. end
  785. end
  786. end)
  787.  
  788.  
  789. function lemmeSmash()
  790. Debounces.StopAnims = true;
  791. Debounces.CanAttack = false;
  792. bodfly.maxForce = Vector3.new(0,0,0)
  793. Humanoid.WalkSpeed = 0;
  794. for i = 0, 1, 0.1 do
  795. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.488716155, 0.780109823, 0.457863212, 0.745127141, -0.646241188, -0.164796278, -0.489368647, -0.697676837, 0.523226142, -0.453104883, -0.30922389, -0.836108029),0.3)
  796. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01720929, -0.81690973, 0.114664078, 0.980750799, -0.156917572, 0.116210438, 0.0737357512, 0.848702729, 0.523705065, -0.180806607, -0.505055189, 0.843936324),0.3)
  797. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(0.00453206943, 0.999973655, 0.028306013, 0.952204227, -2.38791108e-06, 0.30546236, 1.28149986e-06, 1.00000024, 3.86126339e-06, -0.30546242, -3.24007124e-06, 0.952204168),0.3)
  798. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939718723, -0.739218235, 0.026011765, 0.980075598, -0.187025875, -0.0668824464, 0.184607938, 0.733462572, 0.654180944, -0.0732929856, -0.653493643, 0.753375232),0.3)
  799. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.717984557, 0.820842624, 0.234413534, 0.920299292, 0.389635861, 0.0351158679, 0.289311707, -0.738254428, 0.609326959, 0.263340056, -0.550603747, -0.792141199),0.3)
  800. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.162275195, 3.46984816, 0.896643281, 0.9812693, 0.0632104352, -0.18198818, -0.162884384, 0.776656687, -0.608504593, 0.102877997, 0.626747012, 0.77240169),0.3)
  801. Render:wait()
  802. end
  803. wait(.5)
  804. local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  805. if not HitPart then repeat wait()
  806. HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  807. until HitPart end
  808.  
  809. for i = 0, 1, 0.1 do
  810. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.748417437, 0.527753711, 0.0688961446, 0.878371775, -0.474504381, -0.0575220138, -0.365080416, -0.588349223, -0.721499443, 0.308511674, 0.654744983, -0.690021634),0.3)
  811. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01721013, -0.81689477, 0.114658713, 0.98075068, -0.156915724, 0.116214454, 0.07373254, 0.848704398, 0.523702681, -0.180808902, -0.505052984, 0.843937159),0.3)
  812. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(0.0045316536, 0.999977291, 0.0283063259, 0.952202857, 7.04079866e-07, 0.305466533, -1.92970037e-06, 1.00000012, 3.66382301e-06, -0.305466533, -4.07919288e-06, 0.952203035),0.3)
  813. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939715385, -0.739198625, 0.026006639, 0.980075598, -0.187026337, -0.0668823719, 0.184608728, 0.733467162, 0.65417552, -0.0732920468, -0.653488576, 0.753379941),0.3)
  814. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.656759143, 0.84335506, -0.087890625, 0.779310405, 0.600602627, 0.178750947, 0.442559242, -0.325564891, -0.83555305, -0.443640321, 0.730263054, -0.519518375),0.3)
  815. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.162277102, -2.04159951, -0.00202780962, 0.9812693, 0.0632093176, -0.18198888, 0.165509388, 0.206879422, 0.96426791, 0.0986000001, -0.976322532, 0.192541793),0.3)
  816. Render:wait()
  817. end
  818. for i = 1, 5 do
  819. local pa = New("Part",Character,"Hit"..i,{Anchored=true,CanCollide = false,CFrame = (RootPart.CFrame * CFrame.new(0,-4.04159951,-(i*5))),Size=Vector3.new(3,7,3)})
  820. local startpos = (RootPart.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p;
  821. local endpos = (RootPart.CFrame * CFrame.new(0,-2.04159951,-(i*5))).p + Vector3.new(0,-1,0);
  822. local length = 100;
  823.  
  824. local ray = Ray.new(startpos, (endpos - startpos).unit*length)
  825. local hit, hitpos = workspace:FindPartOnRay( ray, Character )
  826. local size = (startpos-hitpos).magnitude
  827. if hit and hit.CanCollide then
  828. pa.BrickColor = hit.BrickColor;
  829. pa.Material = hit.Material;
  830. pa.Transparency = hit.Transparency
  831. pa.Reflectance = hit.Reflectance
  832. pa.TopSurface,pa.BottomSurface,pa.BackSurface,pa.LeftSurface,pa.RightSurface,pa.FrontSurface = hit.TopSurface,hit.BottomSurface,hit.BackSurface,hit.LeftSurface,hit.RightSurface,hit.FrontSurface
  833. pa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-0.5,0)
  834. for i = 1, 15 do
  835. local aa = pa:Clone()
  836. aa.Parent = workspace
  837. aa.Name = pa.Name.."Fly"..i
  838. aa.CanCollide = false
  839. aa.Anchored = false
  840. aa.CFrame = CFrame.new(hitpos)*CFrame.new(0,-2,0)
  841. aa.Size = Vector3.new(.75,.75,.75)
  842. aa.Velocity = Vector3.new(math.random(-25,25),65,math.random(-25,25))
  843. game:service'Debris':AddItem(aa,2)
  844. end
  845.  
  846. else
  847. pa:remove()
  848. end
  849. coroutine.wrap(function()
  850. for i = 1,5,.3 do
  851. pa.CFrame = pa.CFrame*CFrame.new(0,.3,0)
  852. Render:wait()
  853. end
  854. end)()
  855. local Dealt = {}
  856. for i,v in next, workspace:children() do
  857. local h = v:FindFirstChildOfClass"Humanoid"
  858. if h and v ~= Character then
  859. for _,p in next, v:children() do
  860. if p and p:IsA"BasePart" and not Dealt[h] then
  861. if (p.CFrame.p - pa.CFrame.p).magnitude <= 5 then
  862. DealDamage(p,35,45,"Knockdown",5)
  863. Dealt[h] = true
  864. end
  865. end
  866. end
  867. end
  868. end
  869. coroutine.wrap(function()
  870. wait(1)
  871. pa.Anchored = false
  872. pa.Velocity = Vector3.new(math.random(-25,25),math.random(25,50),math.random(-25,25))
  873. for i = 0, 1, .1 do
  874. pa.Transparency = i
  875. wait()
  876. end
  877. pa:destroy()
  878. end)()
  879. wait(.1)
  880. end
  881. Debounces.StopAnims = false;
  882. bodfly.maxForce = Vector3.new(0,10000,0)
  883. Humanoid.WalkSpeed = 16
  884. wait(1)
  885. Debounces.CanAttack = true;
  886.  
  887. end
  888.  
  889. Mouse.KeyDown:connect(function(k)
  890. if not Debounces.CanAttack then return end
  891. if k == 'x' then
  892. lemmeSmash()
  893. end
  894. end)
  895. Mouse.KeyDown:connect(function(k)
  896. if not Debounces.CanAttack then return end
  897. if k == 'z' then
  898. if Debounces.Target then
  899. local hum = Debounces.Target:FindFirstChildOfClass"Humanoid"
  900. local ts = GetTorso(Debounces.Target)
  901. if ts and hum then
  902. bodfly.maxForce = Vector3.new(0,0,0)
  903.  
  904. Debounces.CanAttack = false
  905. Debounces.StopAnims = true
  906. ts.Anchored = true
  907. Torso.CFrame = ts.CFrame* CFrame.new(0,0,2.5)
  908. wait(.05)
  909. RootPart.Anchored = true
  910.  
  911. local spik = Create("Part"){
  912. Parent = Character,
  913. Size = Vector3.new(1,1,1),
  914. BrickColor = BrickColor.new"Really black",
  915. CanCollide = false,
  916. Anchored = false,
  917. }
  918. local spikWeld = Create("Weld"){
  919. Parent = spik,
  920. Part0 = spik,
  921. Part1 = RightArm,
  922. C0 = CFrame.new(0,-2,0)*CFrame.Angles(0,0,math.rad(180))
  923. }
  924. local spikMesh = Create("SpecialMesh"){
  925. MeshId = "http://www.roblox.com/asset/?id=1033714",
  926. Scale = Vector3.new(.9,0,.9),
  927. Parent=spik
  928. }
  929. coroutine.wrap(function()
  930. for i = 0, 1, .1 do
  931. wait()
  932. spikMesh.Scale = spikMesh.Scale + Vector3.new(0,.4,0)
  933. end
  934. end)()
  935. for i = 0, 1, 0.1 do
  936. Render:wait()
  937. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.03262377, 0.499999821, 0.0776929557, 0.954159379, 5.68723841e-08, 0.299299121, -5.96047016e-08, 1, 0, -0.299299151, -1.78396373e-08, 0.954159379),0.3)
  938. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.974237084, -0.971644759, 0.0593782961, 0.952423692, 0.0575263277, 0.299299121, -0.0602900609, 0.998180926, 0, -0.298754692, -0.0180447642, 0.954159379),0.3)
  939. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67572112e-06, 0.999969721, -1.90734909e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012),0.3)
  940. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.937546134, -0.969608068, -0.103131026, 0.95214504, -0.0619687811, 0.299299121, 0.0649459437, 0.997888863, 0, -0.298667282, 0.0194382649, 0.954159379),0.3)
  941. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.59716332, 0.405694842, -0.0804495215, -0.787500203, -0.608287811, -0.0991746783, 0.616313934, -0.777244568, -0.126725808, 4.17232513e-07, -0.1609236, 0.986967683),0.3)
  942. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.00855524838, 5.09932985e-10, 0.234931499, 0.954159379, -5.96047016e-08, -0.299299151, 5.68723841e-08, 1, -1.78396373e-08, 0.299299121, 0, 0.954159379),0.3)
  943. end
  944. wait(1)
  945. for i = 0, 1, 0.1 do
  946. Render:wait()
  947. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.83961904, 0.262459755, -0.408313513, 0.90130657, -0.385265261, -0.198038101, -0.0957074538, 0.268767089, -0.958438635, 0.422478259, 0.882803321, 0.205367789),0.3)
  948. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.828836083, -0.846793652, -0.774183393, 0.906985343, 0.0201243348, -0.420681447, -0.0561491959, 0.995718896, -0.0734244809, 0.417402804, 0.0902158469, 0.904232502),0.3)
  949. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.29794465e-06, 0.999969959, 2.93979747e-06, 0.927569628, 0, -0.37364763, 0, 1, 0, 0.373648614, 0, 0.927571833),0.3)
  950. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.889647722, -0.975549698, 0.307303488, 0.897107303, -0.0103198439, -0.441692501, 0.0649457797, 0.991947174, 0.108733073, 0.437013566, -0.126231283, 0.890553236),0.3)
  951. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.729797602, 0.490691334, 0.624226809, 0.944735527, -0.327856302, -4.40888107e-06, -0.0213314593, -0.0614544079, -0.997886777, 0.327161282, 0.942734718, -0.0650513321),0.3)
  952. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(2.08616257e-07, 1.24344979e-14, 0.180002525, 0.899005234, -5.96047016e-08, 0.437938124, 5.35849374e-08, 1, 2.61031712e-08, -0.437938124, 0, 0.899005234),0.3)
  953. end
  954. wait(1)
  955.  
  956. local asd = Instance.new("ParticleEmitter")
  957. asd.Parent = ts
  958. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  959. asd.LightEmission = .1
  960. asd.Size = NumberSequence.new(0.2)
  961. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  962. local aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  963. local bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  964. asd.Transparency = bbb
  965. asd.Size = aaa
  966. asd.ZOffset = .9
  967. asd.Acceleration = Vector3.new(0, -5, 0)
  968. asd.LockedToPart = false
  969. asd.EmissionDirection = "Back"
  970. asd.Lifetime = NumberRange.new(1, 2)
  971. asd.Rate = 1000
  972. asd.Rotation = NumberRange.new(-100, 100)
  973. asd.RotSpeed = NumberRange.new(-100, 100)
  974. asd.Speed = NumberRange.new(6)
  975. asd.VelocitySpread = 10000
  976. asd.Enabled=true
  977. game:service'Debris':AddItem(asd,3)
  978. DealDamage(ts,hum.MaxHealth,hum.MaxHealth)
  979. --Funcs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  980. NewSound(Sounds.Splatter,ts,10,.8)
  981. coroutine.wrap(function()
  982. wait(1)
  983. asd.Enabled = false
  984. end)()
  985. for i = 0, 1, 0.1 do
  986. Render:wait()
  987. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.815793931, 0.556805134, 0.432230413, 0.983558834, 0.161693007, 0.0804304853, 0.0306141376, 0.289640456, -0.956645846, -0.17797868, 0.943379164, 0.279928088),0.6)
  988. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-1.01584959, -0.968699098, -0.525063455, 0.986992538, 0.0442602821, -0.154553816, -0.0561491959, 0.995718896, -0.0734244809, 0.15064235, 0.081147477, 0.985252321),0.6)
  989. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(8.50338802e-06, 0.999969959, 2.23593474e-06, 0.999260426, 0, -0.0384474099, 0, 1, 0, 0.0384474099, 0, 0.999260426),0.6)
  990. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.939919233, -0.97554934, 0.0496133566, 0.982915521, -0.0447851829, -0.178525895, 0.0649457797, 0.991947174, 0.108733073, 0.172218636, -0.118469916, 0.97790885),0.6)
  991. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.337836921, 0.570898354, -0.727853239, 0.993010044, 0.116654187, -0.0179721266, -0.0105190175, -0.0641946197, -0.997882068, -0.117560819, 0.991095901, -0.0625188202),0.6)
  992. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-5.88595867e-07, -3.50830476e-14, 0.180002451, 0.984995008, -5.96047016e-08, 0.172582999, 5.87103344e-08, 1, 1.02867581e-08, -0.172582999, 0, 0.984995008),0.6)
  993. end
  994.  
  995. wait(1)
  996. ts.Anchored = false
  997. coroutine.wrap(function()
  998. for i = 0, 1, .1 do
  999. wait()
  1000. spikMesh.Scale = spikMesh.Scale - Vector3.new(0,.4,0)
  1001. spikWeld.C0 = spikWeld.C0 * CFrame.new(0,-.1,0)
  1002. end
  1003. spik:Destroy()
  1004. end)()
  1005. for i = 0, 1, 0.1 do
  1006. Render:wait()
  1007. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.03262377, 0.499999821, 0.0776929557, 0.954159379, 5.68723841e-08, 0.299299121, -5.96047016e-08, 1, 0, -0.299299151, -1.78396373e-08, 0.954159379),0.3)
  1008. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.974237084, -0.971644759, 0.0593782961, 0.952423692, 0.0575263277, 0.299299121, -0.0602900609, 0.998180926, 0, -0.298754692, -0.0180447642, 0.954159379),0.3)
  1009. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67572112e-06, 0.999969721, -1.90734909e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012),0.3)
  1010. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.937546134, -0.969608068, -0.103131026, 0.95214504, -0.0619687811, 0.299299121, 0.0649459437, 0.997888863, 0, -0.298667282, 0.0194382649, 0.954159379),0.3)
  1011. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.59716332, 0.405694842, -0.0804495215, -0.787500203, -0.608287811, -0.0991746783, 0.616313934, -0.777244568, -0.126725808, 4.17232513e-07, -0.1609236, 0.986967683),0.3)
  1012. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0.00855524838, 5.09932985e-10, 0.234931499, 0.954159379, -5.96047016e-08, -0.299299151, 5.68723841e-08, 1, -1.78396373e-08, 0.299299121, 0, 0.954159379),0.3)
  1013. end
  1014. wait(0.5)
  1015. Debounces.StopAnims = false
  1016. RootPart.Anchored = false
  1017.  
  1018. bodfly.maxForce = Vector3.new(0,10000,0)
  1019. wait(1)
  1020. Debounces.CanAttack = true
  1021. end
  1022. end
  1023. end
  1024. end)
  1025. Mouse.KeyDown:connect(function(k)
  1026. if not Debounces.CanAttack then return end
  1027. if k == 'l' then
  1028. if Debounces.Target then
  1029. Debounces.CanAttack=false
  1030. local rp = GetTorso(Debounces.Target)
  1031. local hum = Debounces.Target:FindFirstChildOfClass"Humanoid"
  1032. if rp and hum then
  1033. local HitPart, Position = MiscFunctions.RayC(rp.Position, (CFrame.new(rp.Position, rp.Position - Vector3.new(0, 1, 0))).lookVector, 10000000000, Debounces.Target)
  1034. if HitPart then
  1035. local MagicCircle = New("Part",rp.Parent,"MagicCircle",{Anchored=true,Transparency = 1,Transparency = 1,Size = Vector3.new(0, 0.100000001, 0),CFrame = CFrame.new(-47.1200218, -0.0499959588, -21.4949875, 1, 0, 0, 0, 1, 0, 0, 0, 1),Locked = true,CanCollide = false})
  1036. New("Decal",MagicCircle,"Decal",{Face = Enum.NormalId.Top,Texture = TargetCircle.Image,})
  1037. New("Decal",MagicCircle,"Decal",{Face = Enum.NormalId.Bottom,Texture = TargetCircle.Image,})
  1038. local rad = 0;
  1039. local a,b = hum.WalkSpeed,hum.JumpPower
  1040. coroutine.wrap(function()
  1041. repeat wait()
  1042. rad = rad + 2
  1043. hum.WalkSpeed = 0
  1044. rp.Anchored = true
  1045. hum.JumpPower = 0
  1046. if HitPart then
  1047. MagicCircle.CFrame = CFrame.new(Position)*CFrame.Angles(0,math.rad(rad),0)
  1048. end
  1049. until not MagicCircle.Parent
  1050. end)()
  1051. coroutine.wrap(function()
  1052. for i = 1, 10, .5 do
  1053. MagicCircle.Size = Vector3.new(i,0.1,i)
  1054. Render:wait()
  1055. end
  1056. end)()
  1057. wait(3)
  1058. local startpos = MagicCircle.CFrame.p;
  1059. local endpos = (MagicCircle.CFrame * CFrame.new(0,50,0)).p;
  1060. local length = 200;
  1061.  
  1062. local ray = Ray.new(startpos, (endpos - startpos).unit*length)
  1063. local hit, hitpos = workspace:FindPartOnRay( ray, rp.Parent )
  1064.  
  1065. local size = (startpos-hitpos).magnitude
  1066.  
  1067. local beam = Instance.new("Part", rp.Parent)
  1068. beam.BrickColor = BrickColor.new("Really red")
  1069. beam.FormFactor = "Custom"
  1070. beam.Material = "Neon"
  1071. beam.Transparency = 0.25
  1072. beam.Anchored = true
  1073. beam.Locked = true
  1074. beam.CanCollide = false
  1075. local m = Instance.new("CylinderMesh", beam)
  1076. coroutine.wrap(function()
  1077. for i = 1, length/2 do
  1078. DealDamage(rp,1,3,0,3)
  1079. wait()
  1080. end
  1081. end)()
  1082. for i = 1, length do
  1083. beam.Size = Vector3.new(5, i, 5)
  1084. beam.CFrame = CFrame.new(startpos, hitpos) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, i/2, 0)
  1085. Render:wait()
  1086. end
  1087. coroutine.wrap(function()
  1088. repeat Render:wait()
  1089. beam.CFrame = beam.CFrame * CFrame.new(0,1.5,0)
  1090. until not beam.Parent
  1091. end)()
  1092. Debounces.Target = nil
  1093. wait(1)
  1094. hum.WalkSpeed = a
  1095. hum.JumpPower = b
  1096. rp.Anchored = false
  1097. coroutine.wrap(function()
  1098. for i = 10,0, -.5 do
  1099. MagicCircle.Size = Vector3.new(i,0.1,i)
  1100. beam.Size = Vector3.new(i/2,beam.Size.y,i/2)
  1101. Render:wait()
  1102. end
  1103. beam:destroy()
  1104. MagicCircle:destroy()
  1105. end)()
  1106.  
  1107. wait(3)
  1108. Debounces.CanAttack = true
  1109. end
  1110. end
  1111. end
  1112. end
  1113. end)
  1114.  
  1115.  
  1116. Mouse.KeyDown:connect(function(k)
  1117. if k == 'b' then
  1118. Block.Value = not Block.Value
  1119. end
  1120. end)
  1121. Render:connect(function()
  1122. Timer = Timer + change;
  1123. TargetCircle.Rotation = TargetCircle.Rotation + 1
  1124. TargetCircle2.Rotation = TargetCircle2.Rotation + 1.5
  1125. local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 10000000000, Character)
  1126. local Velocity = RootPart.Velocity.y
  1127. if Debounces.Target and Debounces.Target.Parent and (GetTorso(Debounces.Target)) then
  1128. BBG.Adornee = (GetTorso(Debounces.Target))
  1129. BBG.Enabled = true
  1130. else
  1131. BBG.Enabled = false
  1132. end
  1133. if not Debounces.CanAttack then
  1134. Block.Value = false
  1135. Shield.Transparency = 1
  1136. end
  1137. Shield.CFrame = Torso.CFrame
  1138. if Staggered then
  1139. Debounces.StopAnims = false
  1140. end
  1141. if HitPart then
  1142. flyposy = Position.Y + Debounces.Height
  1143. bodfly.Position = Vector3.new(0,flyposy,0) + Vector3.new(0,math.sin(time()*2),0)
  1144. end
  1145. if Debounces.StopAnims == false then
  1146. if not Blocking and not Staggered then
  1147. Shield.Transparency = 1
  1148.  
  1149. if Debounces.Form == 1 then
  1150. bodfly.maxForce = Vector3.new(0,10000,0)
  1151. else
  1152. bodfly.maxForce = Vector3.new(0,0,0)
  1153. end
  1154. if Debounces.Form == 1 then
  1155. if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 1 then
  1156. Animation = "Walk"
  1157. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.43998528, -0.0200023949, 1.25887524e-07, 1.58933133e-08, 1, 8.74227766e-08, -1, 1.58933133e-08, 5.21080863e-15, 3.82137093e-15, -8.74227766e-08, 1),0.3)
  1158. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1159. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56694999e-06, 1.04764235, 0.0330726653, 1, -5.39217062e-08, -2.54001957e-08, 5.96047016e-08, 0.904655278, 0.426144153, 0, -0.426144153, 0.904655278),0.3)
  1160. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1161. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.50998449, 0.0300008059, -1.32007045e-07, -1.0331609e-07, -1, 8.74227766e-08, 1, -1.0331609e-07, 5.21080863e-15, 3.82137093e-15, 8.74227766e-08, 1),0.3)
  1162. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  1163.  
  1164. end
  1165. if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 then
  1166. Animation = "Idle"
  1167. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.43998528, -0.0200023949, 1.25887524e-07, 1.58933133e-08, 1, 8.74227766e-08, -1, 1.58933133e-08, 5.21080863e-15, 3.82137093e-15, -8.74227766e-08, 1),0.3)
  1168. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1169. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.56694999e-06, 1.04764235, 0.0330726653, 1, -5.39217062e-08, -2.54001957e-08, 5.96047016e-08, 0.904655278, 0.426144153, 0, -0.426144153, 0.904655278),0.3)
  1170. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1171. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.50998449, 0.0300008059, -1.32007045e-07, -1.0331609e-07, -1, 8.74227766e-08, 1, -1.0331609e-07, 5.21080863e-15, 3.82137093e-15, 8.74227766e-08, 1),0.3)
  1172. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  1173.  
  1174. end
  1175. elseif Debounces.Form == 2 then
  1176. local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1177. local RightLeg = CFrame.new(0.5,-1,0)
  1178. local LeftLeg = CFrame.new(-0.5,-1,0)
  1179.  
  1180. local lefth = (Torso.CFrame*LeftLeg)
  1181. local righth = (Torso.CFrame*RightLeg)
  1182.  
  1183. local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
  1184.  
  1185. local TiltOnAxis = (Torso.CFrame-Torso.CFrame.p):vectorToObjectSpace(speed/100)
  1186.  
  1187. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1188. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1189. if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 then
  1190. change = 1
  1191. animSpeed = 1
  1192. Animation = "Idle"
  1193. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.961833239, 0.440066099, 0.0780077577, 0.953329682, 0.100562967, 0.284692347, -0.113068029, 0.99319917, 0.027791908, -0.27996099, -0.0586844534, 0.958216727) * CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
  1194. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.91118443, -0.97164464, 0.22248897, 0.957737267, 0.0578472652, 0.281767905, -0.0602900609, 0.998180926, 0, -0.281255335, -0.0169878043, 0.95948261)* CFrame.new(0,-math.rad(3+3*math.cos(Timer/16)),0),0.3)
  1195. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(-0.0495610274, 0.999970198, -0.17531918, 0.95948261, 5.71896734e-08, 0.281767905, -5.96047016e-08, 1, 0, -0.281767905, -1.67946919e-08, 0.95948261),0.3)
  1196. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.933993161, -0.969608426, -4.23755137e-06, 0.997888803, -0.0649460182, 9.83476639e-07, 0.0649460182, 0.997888803, 5.11299618e-07, -1.01327896e-06, -4.45172191e-07, 1)* CFrame.new(0,-math.rad(3+3*math.cos(Timer/16)),0),0.3)
  1197. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.965822756, 0.469076186, -0.0408892557, 0.997545183, -0.0697716698, 0.00597444177, 0.0700270012, 0.993907094, -0.0851181746, 8.34465027e-07, 0.0853275955, 0.99635303) * CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
  1198. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(-0.00183804333, 2.38309013e-07, 0.18217741, 0.95948261, -5.96047016e-08, -0.281767905, 5.71896734e-08, 1, -1.67946919e-08, 0.281767905, 0, 0.95948261)* CFrame.new(0,math.rad(3+3*math.cos(Timer/16)),0),0.3)
  1199. Welds.RS.C1 = Nibba.RS.C1
  1200. Welds.LS.C1 = Nibba.LS.C1
  1201. Welds.RH.C1 = Nibba.RH.C1
  1202. Welds.LH.C1 = Nibba.LH.C1
  1203. end
  1204. if (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 1 then
  1205. Animation = "Walk"
  1206. change = 0.75
  1207. animSpeed = .5
  1208. sine = Timer
  1209. Welds.RJ.C0 = clerp(Welds.RJ.C0, CFrame.new(0, 0+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+RootPart.RotVelocity.Y/30, math.rad(0)+RootPart.RotVelocity.Y/30), 0.4)
  1210. Welds.NK.C0 = clerp(Welds.NK.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1211. Welds.RS.C0 = clerp(Welds.RS.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
  1212. Welds.RS.C1 = clerp(Welds.RS.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1213. Welds.LS.C0 = clerp(Welds.LS.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
  1214. Welds.LS.C1 = clerp(Welds.LS.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1215. Welds.RH.C0 = Welds.RH.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-RootPart.RotVelocity.Y/20),0.4)
  1216. Welds.RH.C1 = Welds.RH.C1:lerp(CFrame.new(0, 1, 0),.4)
  1217.  
  1218. --RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1219. Welds.LH.C0 = Welds.LH.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-RootPart.RotVelocity.Y/20),0.4)
  1220. Welds.LH.C1 = Welds.LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1221. end
  1222.  
  1223.  
  1224. end
  1225. elseif not Staggered and Blocking then
  1226. Shield.Transparency = 0.5
  1227. if Debounces.Form == 1 then
  1228. bodfly.maxForce = Vector3.new(0,10000,0)
  1229. else
  1230. bodfly.maxForce = Vector3.new(0,0,0)
  1231. end
  1232. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-1.63528585, 1.58541811, 0, -0.859554768, -0.511043787, -0, 0.511043787, -0.859554768, 0, 0, 0, 1),0.3)
  1233. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938791394, -1.00468874, 0.101413906, 0.998180866, 0.0602915287, -8.50855713e-07, -0.0583539344, 0.966105878, 0.251464456, 0.0151619976, -0.251006961, 0.96786654)*CFrame.Angles(math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1234. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999970436, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),0.3)
  1235. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.93399483, -1.09048808, 0.0457596183, 0.997888982, -0.0649424866, 9.59117983e-07, 0.0573230609, 0.88081795, 0.469972163, -0.030522, -0.468979955, 0.88268131)*CFrame.Angles(-math.rad(-5+10*math.cos((Timer)/16)),0,0),0.3)
  1236. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(1.48705506, 1.51609397, 0, -0.880973876, 0.473165005, 0, -0.473165005, -0.880973876, 0, 0, 0, 1),0.3)
  1237. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  1238. else
  1239. bodfly.maxForce = Vector3.new(0,0,0)
  1240. local HitPart, Position = MiscFunctions.RayC(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1241. Debounces.Height = 15
  1242. Humanoid.WalkSpeed = 0;
  1243. Humanoid.JumpPower = 0;
  1244. Block.Value = false
  1245. if HitPart then
  1246. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.640523791, 0.363386691, -0.187354088, 0.882178843, -0.469171077, 0.0405215099, 0.323820531, 0.541897535, -0.77556026, 0.341909051, 0.697303474, 0.629974127),0.3)
  1247. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.938798308, -0.181652665, -0.970001221, 0.998185337, 0.0602902696, 0, -0.0602902696, 0.998185337, 0, 0, 0, 1),0.3)
  1248. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(6.67573431e-06, 1.16696692, -0.0379120111, 1.00000215, -1.25410793e-12, 1.30739863e-12, 7.31859018e-13, 0.799952567, 0.600078225, -1.74815815e-12, -0.600076914, 0.799950838),0.3)
  1249. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.970071673, -1.45061886, -0.626533508, 0.997890949, -0.0595593862, -0.0258963984, 0.0411370844, 0.271099001, 0.961675525, -0.0502560101, -0.960708022, 0.272976518),0.3)
  1250. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.324166238, 0.491504431, -0.113374591, 0.787475705, 0.59367907, -0.165628135, -0.510979354, 0.478564709, -0.714058876, -0.344654739, 0.646933854, 0.68021971),0.3)
  1251. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0.930005014, 0, 1.00000429, 0, -0, 0, 1.00000429, 0, -0, 0, 1),0.3)
  1252. else
  1253. Welds.LS.C0 = clerp(Welds.LS.C0,CFrame.new(-0.94055295, 0.522880554, 0.0127705485, 0.991907895, 0.126959711, 1.80302391e-06, -0.118272923, 0.924034774, 0.363553584, 0.0461549945, -0.360611916, 0.931573272),0.3)
  1254. Welds.LH.C0 = clerp(Welds.LH.C0,CFrame.new(-0.875812769, -0.997663736, -0.177298278, 0.9927091, 0.120535254, 9.10893164e-07, -0.114734955, 0.944941044, -0.306467593, -0.0369410031, 0.304233015, 0.95188117),0.3)
  1255. Welds.NK.C0 = clerp(Welds.NK.C0,CFrame.new(7.62939453e-06, 0.999970436, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),0.3)
  1256. Welds.RH.C0 = clerp(Welds.RH.C0,CFrame.new(0.842404008, -0.969340682, 0.0743760765, 0.988412261, -0.151793584, -1.79151257e-07, 0.146990091, 0.957133949, 0.249576986, -0.0378840081, -0.246684983, 0.968355),0.3)
  1257. Welds.RS.C0 = clerp(Welds.RS.C0,CFrame.new(0.879104972, 0.418311387, 0.120524362, 0.954071641, -0.287687421, -0.0835666433, 0.299579889, 0.916202128, 0.266132116, 8.48108925e-07, -0.278944045, 0.960307479),0.3)
  1258. Welds.RJ.C0 = clerp(Welds.RJ.C0,CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1),0.3)
  1259.  
  1260. end
  1261.  
  1262. end
  1263. else
  1264. Shield.Transparency = 1
  1265. Block.Value = false
  1266. end
  1267. end)
  1268.  
  1269. while wait() do
  1270. for i,v in next, Effects do
  1271. if v[1] == 'Block1' then
  1272. v[2].Size = v[2].Size + Vector3.new(v[3],v[3],v[3])
  1273. v[2].Transparency = v[2].Transparency + v[4]
  1274. v[2].CFrame = v[2].CFrame * CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1275. if v[2].Transparency >= 1 or time() - v[5] >= v[6] then
  1276. table.remove(Effects,i)
  1277. v[2]:destroy()
  1278. end
  1279. end
  1280. end
  1281. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement