Advertisement
aaaay63746

Lenny

Jul 11th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.40 KB | None | 0 0
  1. function LoadLibrary(a)
  2. return loadstring(game:HttpGet("https://pastebin.com/raw/UfzKgS6T", true))()
  3. end
  4.  
  5. loadstring(game:GetObjects("rbxassetid://4480871791")[1].Source)()
  6.  
  7. local Player = game:GetService("Players").LocalPlayer
  8. local Character = workspace.CloneCharacter
  9. local Head = Character.Head
  10. local Torso = Character.Torso
  11. local Right_Arm = Character["Right Arm"]
  12. local Right_Leg = Character["Right Leg"]
  13. local Left_Arm = Character["Left Arm"]
  14. local Left_Leg = Character["Left Leg"]
  15. local Humanoid = Character.Humanoid
  16. local Animation = "Idle"
  17. local Damage = 0
  18. local Mouse = Player:GetMouse()
  19. local LeftShoulder = Torso["Left Shoulder"]
  20. local Left_Hip = Torso["Left Hip"]
  21. local RightShoulder = Torso["Right Shoulder"]
  22. local Right_Hip = Torso["Right Hip"]
  23. local Root = Character.HumanoidRootPart
  24. local RootJoint = Root.RootJoint
  25. local Attacking = false
  26. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  27. local WakeMeUp = false
  28. local cf = CFrame.new
  29. local WalkForward = false
  30. local Effects = {}
  31. local Color = "White"
  32.  
  33. Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  36. Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37.  
  38. Movemment = 1
  39. Walk = 0
  40.  
  41.  
  42. local Services = {
  43.  
  44. SoundService = game:GetService("SoundService");
  45. Players = game:GetService("Players");
  46. Debris = game:GetService("Debris");
  47. Workspace = game:GetService("Workspace");
  48. Lighting = game:GetService("Lighting");
  49. HttpService = game:GetService("HttpService");
  50. InsertService = game:GetService("InsertService");
  51.  
  52. }
  53.  
  54. MaxCooldown1 = 1
  55. MaxCooldown2 = 1
  56. MaxCooldown3 = 1
  57. MaxCooldown4 = 1
  58. MaxCooldownE = 1
  59.  
  60. Cooldown1 = MaxCooldown1
  61. Cooldown2 = MaxCooldown2
  62. Cooldown3 = MaxCooldown3
  63. Cooldown4 = MaxCooldown4
  64. CooldownE = MaxCooldownE
  65.  
  66. cf = CFrame.new
  67.  
  68. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  69. Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70. Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  71. Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  72. Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  73.  
  74. Movemment = 1
  75. Walk = 0
  76.  
  77. Left_Shoulder = Instance.new("Weld", Torso)
  78. Left_Shoulder.Part0 = Torso
  79. Left_Shoulder.Part1 = Left_Arm
  80. Left_Shoulder.Name = "Left Shoulder"
  81. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  82.  
  83. Right_Shoulder = Instance.new("Weld", Torso)
  84. Right_Shoulder.Part0 = Torso
  85. Right_Shoulder.Part1 = Right_Arm
  86. Right_Shoulder.Name = "Right Shoulder"
  87. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  88. wait()
  89. LeftShoulder.Parent = nil
  90. RightShoulder.Parent = nil
  91.  
  92.  
  93. wait(0.1)
  94. local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  95. HealthBarGUI.Name = "HealthBarGUI"
  96.  
  97. local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
  98. HealthBarP1.Name = "HealthBarPart1"
  99. HealthBarP1.Size = UDim2.new(0,300,0,40)
  100. HealthBarP1.Position = UDim2.new(0,350,0,550)
  101. HealthBarP1.Style = "RobloxRound"
  102.  
  103. local HealthBarP2 = Instance.new("Frame", HealthBarP1)
  104. HealthBarP2.Name = "HealthBarPart2"
  105. HealthBarP2.Size = UDim2.new(0,285,0,20)
  106. HealthBarP2.Position = UDim2.new(0,0,0,0)
  107.  
  108. local HealthBarText = Instance.new("TextLabel", HealthBarP1)
  109. HealthBarText.Name = "HealthBarText"
  110. HealthBarText.Size = UDim2.new(0,285,0,20)
  111. HealthBarText.Position = UDim2.new(0,0,0,0)
  112. HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
  113. HealthBarText.TextScaled = true
  114. HealthBarText.Text = "Health"
  115. HealthBarText.TextTransparency = 0
  116. HealthBarText.TextStrokeTransparency = 0
  117. HealthBarText.BackgroundTransparency = 1
  118. HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
  119. HealthBarText.TextColor3 = Color3.new(0,0,0)
  120. HealthBarText.Font = "SciFi"
  121.  
  122. local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
  123. CoolDownGUI.Name = "CoolDownGUI"
  124.  
  125. local CoolDowns = Instance.new("Frame", CoolDownGUI)
  126. CoolDowns.Name = "CoolDowns"
  127. CoolDowns.Size = UDim2.new(0,200,0,200)
  128. CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
  129. CoolDowns.Style = "RobloxRound"
  130.  
  131. local CoolDown1Frame = Instance.new("Frame", CoolDowns)
  132. CoolDown1Frame.Name = "CoolDown1Frame"
  133. CoolDown1Frame.Size = UDim2.new(0,80,0,50)
  134. CoolDown1Frame.Position = UDim2.new(0,0,0,0)
  135. CoolDown1Frame.BackgroundTransparency = 0.5
  136. CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
  137.  
  138. local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
  139. CoolDown1Bar.Name = "CoolDown1Bar"
  140. CoolDown1Bar.Size = UDim2.new(0,80,0,50)
  141. CoolDown1Bar.Position = UDim2.new(0,0,0,0)
  142. CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
  143.  
  144. local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
  145. CoolDown1Text.Name = "CoolDown1Text"
  146. CoolDown1Text.Size = UDim2.new(0,80,0,50)
  147. CoolDown1Text.Position = UDim2.new(0,0,0,0)
  148. CoolDown1Text.BackgroundTransparency = 1
  149. CoolDown1Text.TextScaled = true
  150. CoolDown1Text.Text = "z - WAKE ME UP INSIDE"
  151. CoolDown1Text.TextStrokeTransparency = 0
  152. CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
  153. CoolDown1Text.TextColor3 = Color3.new(0,0,0)
  154. CoolDown1Text.Font = "SciFi"
  155.  
  156. local CoolDown2Frame = Instance.new("Frame", CoolDowns)
  157. CoolDown2Frame.Name = "CoolDown2Frame"
  158. CoolDown2Frame.Size = UDim2.new(0,80,0,50)
  159. CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
  160. CoolDown2Frame.BackgroundTransparency = 0.5
  161. CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
  162.  
  163. local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
  164. CoolDown2Bar.Name = "CoolDown2Bar"
  165. CoolDown2Bar.Size = UDim2.new(0,80,0,50)
  166. CoolDown2Bar.Position = UDim2.new(0,0,0,0)
  167. CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
  168.  
  169. local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
  170. CoolDown2Text.Name = "CoolDown2Text"
  171. CoolDown2Text.Size = UDim2.new(0,80,0,50)
  172. CoolDown2Text.Position = UDim2.new(0,0,0,0)
  173. CoolDown2Text.BackgroundTransparency = 1
  174. CoolDown2Text.TextScaled = true
  175. CoolDown2Text.Text = "x - meme launch"
  176. CoolDown2Text.TextStrokeTransparency = 0
  177. CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
  178. CoolDown2Text.TextColor3 = Color3.new(0,0,0)
  179. CoolDown2Text.Font = "SciFi"
  180.  
  181. local CoolDown3Frame = Instance.new("Frame", CoolDowns)
  182. CoolDown3Frame.Name = "CoolDown3Frame"
  183. CoolDown3Frame.Size = UDim2.new(0,80,0,50)
  184. CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
  185. CoolDown3Frame.BackgroundTransparency = 0.5
  186. CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
  187.  
  188. local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
  189. CoolDown3Bar.Name = "CoolDown3Bar"
  190. CoolDown3Bar.Size = UDim2.new(0,80,0,50)
  191. CoolDown3Bar.Position = UDim2.new(0,0,0,0)
  192. CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
  193.  
  194. local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
  195. CoolDown3Text.Name = "CoolDown3Text"
  196. CoolDown3Text.Size = UDim2.new(0,80,0,50)
  197. CoolDown3Text.Position = UDim2.new(0,0,0,0)
  198. CoolDown3Text.BackgroundTransparency = 1
  199. CoolDown3Text.TextScaled = true
  200. CoolDown3Text.Text = "c - and his name is..."
  201. CoolDown3Text.TextStrokeTransparency = 0
  202. CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
  203. CoolDown3Text.TextColor3 = Color3.new(0,0,0)
  204. CoolDown3Text.Font = "SciFi"
  205.  
  206.  
  207. local CoolDown4Frame = Instance.new("Frame", CoolDowns)
  208. CoolDown4Frame.Name = "CoolDown4Frame"
  209. CoolDown4Frame.Size = UDim2.new(0,80,0,50)
  210. CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
  211. CoolDown4Frame.BackgroundTransparency = 0.5
  212. CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
  213.  
  214. local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
  215. CoolDown4Bar.Name = "CoolDown4Bar"
  216. CoolDown4Bar.Size = UDim2.new(0,80,0,50)
  217. CoolDown4Bar.Position = UDim2.new(0,0,0,0)
  218. CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
  219.  
  220. local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
  221. CoolDown4Text.Name = "CoolDown4Text"
  222. CoolDown4Text.Size = UDim2.new(0,80,0,50)
  223. CoolDown4Text.Position = UDim2.new(0,0,0,0)
  224. CoolDown4Text.BackgroundTransparency = 1
  225. CoolDown4Text.TextScaled = true
  226. CoolDown4Text.Text = "v - allahuekber"
  227. CoolDown4Text.TextStrokeTransparency = 0
  228. CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
  229. CoolDown4Text.TextColor3 = Color3.new(0,0,0)
  230. CoolDown4Text.Font = "SciFi"
  231.  
  232. local CoolDownEFrame = Instance.new("Frame", CoolDowns)
  233. CoolDownEFrame.Name = "CoolDownEFrame"
  234. CoolDownEFrame.Size = UDim2.new(0,180,0,50)
  235. CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
  236. CoolDownEFrame.BackgroundTransparency = 0.5
  237. CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
  238.  
  239. local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
  240. CoolDownEBar.Name = "CoolDownEBar"
  241. CoolDownEBar.Size = UDim2.new(0,180,0,50)
  242. CoolDownEBar.Position = UDim2.new(0,0,0,0)
  243. CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
  244.  
  245. local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
  246. CoolDownEText.Name = "CoolDownEText"
  247. CoolDownEText.Size = UDim2.new(0,180,0,50)
  248. CoolDownEText.Position = UDim2.new(0,0,0,0)
  249. CoolDownEText.BackgroundTransparency = 1
  250. CoolDownEText.TextScaled = true
  251. CoolDownEText.Text = "e - aaaa"
  252. CoolDownEText.TextStrokeTransparency = 0
  253. CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
  254. CoolDownEText.TextColor3 = Color3.new(0,0,0)
  255. CoolDownEText.Font = "SciFi"
  256.  
  257. --[[ transformixu ]]--
  258.  
  259. Head.face.Texture = "http://www.roblox.com/asset/?id=176699876"
  260.  
  261. for i,v in pairs(Character:children()) do
  262.  
  263. if v:IsA("Hat") then
  264.  
  265. v:Remove()
  266.  
  267. end
  268.  
  269. end
  270.  
  271.  
  272. --[[ perts andi effictiz fucktions ]]--
  273.  
  274. function NoOutlines(Part)
  275. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  276. end
  277.  
  278. local CreateVelocity = function(Parent,Velocity,Force)
  279.  
  280. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  281. BodyVelocity.Velocity = Velocity
  282. BodyVelocity.MaxForce = Force
  283.  
  284.  
  285.  
  286. return BodyVelocity
  287.  
  288. end
  289.  
  290. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  291.  
  292. local Part = Instance.new("Part", Parent)
  293. Part.Name = Name
  294. Part.BrickColor = BrickColor.new(Color)
  295. Part.Size = Size
  296. Part.Material = Material
  297. Part.Transparency = Transparency
  298. Part.Shape = Shape
  299. Part.CanCollide = false
  300. NoOutlines(Part)
  301.  
  302. return Part
  303.  
  304. end
  305.  
  306. local MakeSFX = function(Parent, Id, Volume, Pitch)
  307.  
  308. local SFX = Instance.new("Sound", Parent)
  309. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  310. SFX.Name = "SFX"
  311. SFX:Play()
  312. SFX.Volume = Volume
  313. SFX.Pitch = Pitch
  314. SFX.PlayOnRemove = true
  315. SFX:Remove()
  316.  
  317. end
  318.  
  319.  
  320. CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  321.  
  322. local Part = Instance.new("Part", Parent)
  323. Part.Transparency = Transparency
  324. Part.Name = "CircleEffect"
  325. Part.Size = Vector3.new()
  326. Part.Anchored = true
  327. Part.CanCollide = false
  328. Part.Position = Position
  329. Part.BrickColor = BrickColor.new(Brickcolor)
  330. Part.Material = Material
  331. NoOutlines(Part)
  332.  
  333. local Mesh = Instance.new("SpecialMesh", Part)
  334. Mesh.MeshType = "Sphere"
  335. Mesh.Scale = Vector3.new(0,0,0)
  336.  
  337. Services.Debris:AddItem(Part, Time)
  338.  
  339.  
  340. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  341.  
  342.  
  343. end
  344.  
  345. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  346.  
  347. local Part = Instance.new("Part", Parent)
  348. Part.Transparency = Transparency
  349. Part.Name = "BlockEffect"
  350. Part.Size = Vector3.new()
  351. Part.Anchored = true
  352. Part.Position = Position
  353. Part.CanCollide = false
  354. Part.BrickColor = BrickColor.new(Brickcolor)
  355. Part.Material = Material
  356. NoOutlines(Part)
  357.  
  358. local Mesh = Instance.new("BlockMesh", Part)
  359. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  360.  
  361. Services.Debris:AddItem(Part, Time)
  362.  
  363. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  364.  
  365.  
  366. end
  367.  
  368. --[[ customiz ]]--
  369.  
  370.  
  371. if Player:FindFirstChild("Custom") and Player.Custom.Customized.Value == true then
  372.  
  373. CoolDown1Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  374. CoolDown2Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  375. CoolDown3Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  376. CoolDown4Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  377. CoolDownEBar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  378. Color = Player.Custom.Co1.Value
  379.  
  380. end
  381.  
  382.  
  383. --[[ soumdiz ]]--
  384.  
  385. WakeMeUpInside = Instance.new("Sound", Character)
  386. WakeMeUpInside.SoundId = "http://www.roblox.com/asset?id=326429386"
  387. WakeMeUpInside.Name = "WAKE ME UP INSIDE!111!"
  388. WakeMeUpInside.Looped = true
  389.  
  390. Sad = Instance.new("Sound", Character)
  391. Sad.SoundId = "http://www.roblox.com/asset?id=254352182"
  392. Sad.Name = "Sad"
  393. Sad.Looped = true
  394.  
  395. JOHNCENAh = Instance.new("Sound", Character)
  396. JOHNCENAh.SoundId = "http://www.roblox.com/asset?id=272322032"
  397. JOHNCENAh.Name = "JOHNCENAh"
  398.  
  399.  
  400.  
  401. --[[ crerp decaratius ]] --
  402. function clerp(a,b,t)
  403. local qa = {QuaternionFromCFrame(a)}
  404. local qb = {QuaternionFromCFrame(b)}
  405. local ax, ay, az = a.x, a.y, a.z
  406. local bx, by, bz = b.x, b.y, b.z
  407. local _t = 1-t
  408. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  409. end
  410.  
  411. function QuaternionFromCFrame(cf)
  412. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  413. local trace = m00 + m11 + m22
  414. if trace > 0 then
  415. local s = math.sqrt(1 + trace)
  416. local recip = 0.5/s
  417. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  418. else
  419. local i = 0
  420. if m11 > m00 then
  421. i = 1
  422. end
  423. if m22 > (i == 0 and m00 or m11) then
  424. i = 2
  425. end
  426. if i == 0 then
  427. local s = math.sqrt(m00-m11-m22+1)
  428. local recip = 0.5/s
  429. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  430. elseif i == 1 then
  431. local s = math.sqrt(m11-m22-m00+1)
  432. local recip = 0.5/s
  433. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  434. elseif i == 2 then
  435. local s = math.sqrt(m22-m00-m11+1)
  436. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  437. end
  438. end
  439. end
  440.  
  441. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  442. local xs, ys, zs = x + x, y + y, z + z
  443. local wx, wy, wz = w*xs, w*ys, w*zs
  444. local xx = x*xs
  445. local xy = x*ys
  446. local xz = x*zs
  447. local yy = y*ys
  448. local yz = y*zs
  449. local zz = z*zs
  450. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  451. end
  452.  
  453. function QuaternionSlerp(a, b, t)
  454. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  455. local startInterp, finishInterp;
  456. if cosTheta >= 0.0001 then
  457. if (1 - cosTheta) > 0.0001 then
  458. local theta = math.acos(cosTheta)
  459. local invSinTheta = 1/math.sin(theta)
  460. startInterp = math.sin((1-t)*theta)*invSinTheta
  461. finishInterp = math.sin(t*theta)*invSinTheta
  462. else
  463. startInterp = 1-t
  464. finishInterp = t
  465. end
  466. else
  467. if (1+cosTheta) > 0.0001 then
  468. local theta = math.acos(-cosTheta)
  469. local invSinTheta = 1/math.sin(theta)
  470. startInterp = math.sin((t-1)*theta)*invSinTheta
  471. finishInterp = math.sin(t*theta)*invSinTheta
  472. else
  473. startInterp = t-1
  474. finishInterp = t
  475. end
  476. end
  477. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  478. end
  479.  
  480. function RayCast(Pos, Dir, Max, Ignore)
  481. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  482. end
  483.  
  484. --[[ debeigi fucktion ]]--
  485.  
  486.  
  487.  
  488. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  489.  
  490. local HitHumanoid = Hit.Parent.Humanoid
  491.  
  492.  
  493. local Damage = math.random(Min, Max)
  494.  
  495.  
  496. coroutine.resume(coroutine.create(function()
  497. HitHumanoid:TakeDamage(Damage)
  498. end))
  499.  
  500. if Type == "Normal" then
  501.  
  502. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  503. Services.Debris:AddItem(Push, 0)
  504. DamageLabel(Hit.Parent, Damage)
  505.  
  506. elseif Type == "Ranged" then
  507. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  508. Services.Debris:AddItem(Push, 0)
  509. DamageLabel(Hit.Parent, Damage)
  510.  
  511. elseif Type == "Knockdown" then
  512.  
  513.  
  514. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  515. DamageLabel(Hit.Parent, Damage)
  516. Services.Debris:AddItem(Push, 0.3)
  517.  
  518. coroutine.resume(coroutine.create(function()
  519.  
  520. HitHumanoid.PlatformStand = true
  521. wait(1)
  522. HitHumanoid.PlatformStand = false
  523.  
  524.  
  525. end))
  526. end
  527.  
  528. if HitSFX == "Penetration" then
  529.  
  530. MakeSFX(Hit, 199149269, 1 , 1)
  531.  
  532. elseif HitSFX == "Punch" then
  533.  
  534. MakeSFX(Hit, 278062209, 1 , 1)
  535.  
  536.  
  537.  
  538.  
  539. end
  540. end
  541.  
  542. function DamageLabel(HitCharacter, DamageDealt)
  543.  
  544. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  545. DamageShowingPart.Position = HitCharacter.Head.Position
  546.  
  547. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  548. DamageGui.Name = "Damage"
  549. DamageGui.AlwaysOnTop = true
  550. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  551.  
  552. local DamageNumber = Instance.new("TextLabel", DamageGui)
  553. DamageNumber.Size = UDim2.new(1,0,1,0)
  554. DamageNumber.TextStrokeColor3 = BrickColor.White().Color
  555. DamageNumber.TextColor3 = BrickColor.Black().Color
  556. DamageNumber.TextStrokeTransparency = 0
  557. DamageNumber.BackgroundTransparency = 1
  558. DamageNumber.Font = "SciFi"
  559. DamageNumber.TextScaled = true
  560. DamageNumber.Text = DamageDealt
  561.  
  562. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  563. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  564. BodyVelocity.Velocity = Vector3.new(0,2,0)
  565.  
  566. Services.Debris:AddItem(DamageShowingPart, 3)
  567.  
  568.  
  569. end
  570. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  571. for _,WorkspaceChildren in pairs(workspace:children()) do
  572.  
  573. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  574.  
  575. if HitHumanoid ~= nil then
  576. local Hit = WorkspaceChildren:findFirstChild("Torso")
  577.  
  578. if Hit ~= nil then
  579.  
  580. local Target = Hit.Position - Part.Position
  581.  
  582. local Magnitude = Target.magnitude
  583.  
  584. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  585.  
  586. local HitBlock = Hit.Parent:FindFirstChild("Block")
  587.  
  588. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  589.  
  590. local HitBlock2 = Hit.Parent.Block.BlockDurability
  591.  
  592. if HitBlock2.Value > 15 then
  593.  
  594. local HitN = math.random(1,5)
  595.  
  596. HitBlock2.Value = HitBlock2.Value - 15
  597.  
  598.  
  599. if HitN == 1 then
  600. MakeSFX(Hit ,199148971, 0.5, 1)
  601. end
  602.  
  603. if HitN == 2 then
  604. MakeSFX(Hit ,199149025, 0.5, 1)
  605. end
  606.  
  607. if HitN == 3 then
  608. MakeSFX(Hit ,199149072, 0.5, 1)
  609. end
  610.  
  611. if HitN == 4 then
  612. MakeSFX(Hit ,199149109, 0.5, 1)
  613. end
  614.  
  615. if HitN == 5 then
  616. MakeSFX(Hit ,199149119, 0.5, 1)
  617. end
  618. return
  619. end
  620. end
  621.  
  622. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  623.  
  624.  
  625.  
  626. end
  627. end
  628. end
  629. end
  630. end
  631.  
  632.  
  633. function Bars()
  634.  
  635. --[[ Cooldowns Bars ]]--
  636.  
  637. if Cooldown1 ~= MaxCooldown1 then
  638.  
  639. Cooldown1 = Cooldown1 + 1
  640.  
  641. end
  642.  
  643. if Cooldown1 >= MaxCooldown1 then
  644.  
  645. Cooldown1 = MaxCooldown1
  646.  
  647. end
  648.  
  649.  
  650.  
  651. if Cooldown2 ~= MaxCooldown2 then
  652.  
  653. Cooldown2 = Cooldown2 + 0.1
  654. end
  655.  
  656.  
  657. if Cooldown2 >= MaxCooldown2 then
  658.  
  659. Cooldown2 = MaxCooldown2
  660.  
  661. end
  662.  
  663.  
  664.  
  665. if Cooldown3 ~= MaxCooldown3 then
  666. Cooldown3 = Cooldown3 + 0.1
  667. end
  668.  
  669. if Cooldown3 >= MaxCooldown3 then
  670.  
  671. Cooldown3 = MaxCooldown3
  672.  
  673. end
  674.  
  675.  
  676.  
  677. if Cooldown4 ~= MaxCooldown4 then
  678. Cooldown4 = Cooldown4 + 0.1
  679. end
  680.  
  681. if Cooldown4 >= MaxCooldown4 then
  682.  
  683. Cooldown4 = MaxCooldown4
  684.  
  685. end
  686.  
  687.  
  688.  
  689. if CooldownE ~= MaxCooldownE then
  690. CooldownE = CooldownE + 0.1
  691. end
  692.  
  693. if CooldownE >= MaxCooldownE then
  694.  
  695. CooldownE = MaxCooldownE
  696.  
  697. end
  698.  
  699. --[[ Health Bar ]]--
  700.  
  701. local YellowZone = Humanoid.MaxHealth / 2
  702. local RedZone = Humanoid.MaxHealth / 4
  703.  
  704. if Humanoid.Health <= YellowZone then
  705.  
  706. HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
  707.  
  708. end
  709.  
  710. if Humanoid.Health <= RedZone then
  711.  
  712. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
  713.  
  714. end
  715.  
  716. if Humanoid.Health >= YellowZone then
  717.  
  718. HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
  719.  
  720. end
  721.  
  722.  
  723. --[[ Resize All Bars ]]--
  724.  
  725.  
  726. CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
  727. CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
  728. CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
  729. CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
  730. CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
  731. HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
  732.  
  733. end
  734.  
  735. --[[ attakis ]]--
  736.  
  737. function WAKEMEUPINSIDE()
  738.  
  739. for i = 1,3 do
  740. wait()
  741. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  742. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(10,20,3) * CFrame.Angles(-0.5,0,0),0.3)
  743. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(3, 10, 0) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  744. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(3, 0.1, 0) * CFrame.Angles(0.3,0.2,2), 0.3)
  745. Right_Hip.C0=clerp(Right_Hip.C0,cf(3,-2,9)*CFrame.Angles(2,1.6,-0.2),0.2)
  746. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0,-0,5)*CFrame.Angles(5,-1.6,0.2),0.2)
  747. end
  748.  
  749. ValidateDamage(Torso, 20, 1, 5, "Normal", "Punch", 50)
  750.  
  751. for i = 1,3 do
  752. wait()
  753. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,30,0)* CFrame.Angles(-0.3452,0,0),0.2)
  754. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(12,56,5) * CFrame.Angles(-0.5,0,30),0.3)
  755. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(10, 30, 5) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  756. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(34, 1, 32) * CFrame.Angles(0.3,0.2,22), 0.3)
  757. Right_Hip.C0=clerp(Right_Hip.C0,cf(5,-3,3)*CFrame.Angles(2,1.6,-0.342),0.2)
  758. Left_Hip.C0=clerp(Left_Hip.C0,cf(-53,-0,25)*CFrame.Angles(5,-41.6,0.52),0.2)
  759. end
  760. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  761.  
  762. for i = 1,3 do
  763. wait()
  764. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(-3,-30,0)* CFrame.Angles(0.3452,-0,-0),0.2)
  765. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(-12,-56,5) * CFrame.Angles(0.5,-0,-30),0.3)
  766. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(-10, -30, -5) * CFrame.Angles(0.23,-0.5,-0.2), 0.3)
  767. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-34, -1, -32) * CFrame.Angles(-0.3,-0.2,-22), 0.3)
  768. Right_Hip.C0=clerp(Right_Hip.C0,cf(-5,3,-3)*CFrame.Angles(-2,-1.6,0.342),0.2)
  769. Left_Hip.C0=clerp(Left_Hip.C0,cf(53,0,-25)*CFrame.Angles(-5,41.6,-0.52),0.2)
  770. end
  771. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  772.  
  773. end
  774.  
  775. function MemeLaunch()
  776.  
  777. memis = {294841732,474498947,474494834,519973850,291736664,513363123,94349155,379915109,331385631,387197836,304460548,196819764}
  778.  
  779. local meme = Instance.new("Part",game.Workspace)
  780. meme.Anchored = true
  781. meme.Position = Torso.Position + Vector3.new(0,5,0)
  782. meme.Rotation = Torso.Rotation + Vector3.new(0,-1,0)
  783. meme.Size = Vector3.new(5, 5, 0.2)
  784. meme.Transparency = 1
  785.  
  786.  
  787. meme.Touched:connect(function(hit)
  788.  
  789.  
  790. ValidateDamage(meme, 10, 1, 1, "Knockdown", "Punch", 130)
  791.  
  792.  
  793. end)
  794.  
  795.  
  796. game:GetService("Debris"):AddItem(meme, 30)
  797.  
  798. local memedecal = Instance.new("Decal", meme)
  799. memedecal.Texture = "http://www.roblox.com/asset?id=" .. memis[math.random(1, #memis)]
  800.  
  801.  
  802. local memedecal2 = memedecal:Clone()
  803. memedecal2.Parent = meme
  804. memedecal2.Face = "Back"
  805.  
  806.  
  807.  
  808. for i = 1,30 do
  809.  
  810. wait()
  811.  
  812.  
  813. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  814. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  815. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  816. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  817. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  818. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  819.  
  820.  
  821. end
  822.  
  823. meme.Anchored = false
  824.  
  825. meme.CFrame = CFrame.new(meme.Position, Mouse.Hit.p)
  826. local memevilocity = CreateVelocity(meme,meme.CFrame.lookVector * 250,Vector3.new(math.huge,math.huge,math.huge))
  827.  
  828.  
  829. for i = 1,30 do
  830.  
  831. wait()
  832.  
  833. ValidateDamage(meme, 1, 1, 33, "Knockdown", "Punch", 5)
  834.  
  835. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(0.8,0,0),0.2)
  836. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  837. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  838. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  839. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,0.8),0.2)
  840. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,-0.8),0.2)
  841.  
  842.  
  843. end
  844.  
  845. Attacking = false
  846. end
  847.  
  848. function JOHNCENA()
  849.  
  850. JOHNCENAh:Play()
  851.  
  852. Humanoid.WalkSpeed = 0
  853. Humanoid.JumpPower = 0
  854.  
  855.  
  856. for i = 1,60 do
  857.  
  858. wait()
  859. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,10)* CFrame.Angles(1.6,1.6,1.6),0.8)
  860. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  861. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  862. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  863. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  864. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  865.  
  866.  
  867. end
  868.  
  869. for i = 1,6 do
  870.  
  871. wait()
  872. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,-2)* CFrame.Angles(1.6,1.6,1.6),0.8)
  873. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  874. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  875. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  876. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  877. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  878.  
  879.  
  880. end
  881.  
  882. local Explosion = Instance.new("Explosion")
  883. Explosion.Parent = game.workspace.Terrain
  884. Explosion.Position = Right_Arm.Position
  885. Explosion.Name = "Boom!"
  886. Explosion.BlastRadius = 0
  887. Explosion.BlastPressure = 0
  888. Explosion.DestroyJointRadiusPercent = 0
  889. Explosion.ExplosionType = "NoCraters"
  890.  
  891. local dmgreference = Instance.new("Part", Services.Workspace)
  892. dmgreference.CFrame = Torso.CFrame
  893. dmgreference.Transparency = 1
  894. dmgreference.Size = Vector3.new()
  895. dmgreference.CanCollide = false
  896.  
  897.  
  898.  
  899. ValidateDamage(dmgreference, 1000, 10, 20, "Knockdown", "Penetration", 100)
  900.  
  901. Humanoid.WalkSpeed = 16
  902. Humanoid.JumpPower = 50
  903.  
  904. Attacking = false
  905.  
  906.  
  907. end
  908.  
  909. function allahuekber()
  910. Attacking = true
  911.  
  912. Sad:Remove()
  913. MakeSFX(Character,433848566, 1, 1)
  914.  
  915. Humanoid.WalkSpeed = 0
  916. Humanoid.JumpPower = 0
  917. wait(5)
  918. MakeSFX(Character, 134854740, 1 , 0.4)
  919. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  920. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  921. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  922. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  923. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  924. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  925. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  926. ValidateDamage(Torso, 1000, 77, 89, "Knockdown", "Penetration", 0)
  927. wait(5)
  928. Character:BreakJoints()
  929.  
  930. end
  931.  
  932. Mouse.KeyDown:connect(function(kei)
  933. if not Attacking then
  934.  
  935. if kei == "z" then
  936.  
  937.  
  938. WakeMeUp = true
  939.  
  940. if JOHNCENAh.IsPlaying == false then
  941. WakeMeUpInside:Resume()
  942. end
  943.  
  944. while WakeMeUp do
  945. WakeMeUp = true
  946. Attacking = true
  947. WAKEMEUPINSIDE()
  948. end
  949.  
  950.  
  951. end
  952. if kei == "x" then
  953.  
  954. Attacking = true
  955.  
  956.  
  957. MemeLaunch()
  958.  
  959.  
  960. end
  961.  
  962. if kei == "c" and JOHNCENAh.IsPlaying == false then
  963.  
  964. Attacking = true
  965.  
  966.  
  967. JOHNCENA()
  968.  
  969. end
  970.  
  971. if kei == "v" then
  972.  
  973. allahuekber()
  974.  
  975. end
  976. end
  977. end)
  978.  
  979. Mouse.KeyUp:connect(function(kei)
  980.  
  981.  
  982. if kei == "z" and WakeMeUp then
  983. Attacking = false
  984. WakeMeUp = false
  985. WakeMeUpInside:Pause()
  986.  
  987.  
  988. end
  989.  
  990. end)
  991.  
  992. Humanoid.Died:connect(function ()
  993.  
  994. Sad:Play()
  995.  
  996. end)
  997.  
  998. --[[ crerp animaxius ]]--
  999. while true do
  1000.  
  1001. wait()
  1002.  
  1003. Bars()
  1004.  
  1005. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1006. local Velderp = Root.Velocity.y
  1007. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1008.  
  1009. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1010. Anim = "Idle"
  1011.  
  1012. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1013. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1014. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1015. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1016. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1017. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1018.  
  1019. end
  1020.  
  1021.  
  1022. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1023. Anim = "Walking"
  1024. WalkForward = true
  1025. Walk = Walk + 1
  1026. if 15 - 5 * Movemment <= Walk then
  1027. Walk = 0
  1028. if WalkForward == true then
  1029. WalkForward = false
  1030. else
  1031. if WalkForward == false then
  1032. WalkForward = true
  1033. end
  1034. end
  1035. end
  1036.  
  1037. if Attacking == false then
  1038. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1039. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1040. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,0.2), 0.3)
  1041. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,-0.2), 0.3)
  1042. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1043. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1044.  
  1045. end
  1046.  
  1047.  
  1048. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0) * CFrame.Angles(0,1.6,0),0.2)
  1049. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.2)
  1050. end
  1051.  
  1052. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1053. Anim = "Jump"
  1054.  
  1055. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1056. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1057. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  1058. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  1059. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1060. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1061.  
  1062.  
  1063. end
  1064.  
  1065. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1066. Anim = "Fall"
  1067.  
  1068. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1069. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1070. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  1071. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  1072. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1073. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1074.  
  1075. end
  1076.  
  1077. if #Effects > 0 then
  1078. for E = 1, #Effects do
  1079. if Effects[E]~=nil then
  1080. local Effect = Effects[E]
  1081.  
  1082. if Effect ~= nil then
  1083.  
  1084. local Part = Effect[1]
  1085. local Mode = Effect[2]
  1086. local Time = Effect[3]
  1087. local SizeX = Effect[4]
  1088. local SizeY = Effect[5]
  1089. local SizeZ = Effect[6]
  1090.  
  1091. if Effect[1].Transparency <= 1 then
  1092. if Effect[2] == "Block" then
  1093. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1094.  
  1095. Mesh = Effect[1]:FindFirstChild("Mesh")
  1096. if Mesh ~= nil then
  1097. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1098. end
  1099.  
  1100. elseif Effect[2] == "Circle" then
  1101.  
  1102. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1103. Mesh=Effect[1].Mesh
  1104. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1105. end
  1106.  
  1107. else
  1108.  
  1109. Part.Parent=nil
  1110.  
  1111. table.remove(Effects, E)
  1112.  
  1113. end
  1114. end
  1115. end
  1116. end
  1117. end
  1118. end
  1119. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement