Advertisement
Guest User

Untitled

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