Advertisement
ItzInfern

memer go

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