Advertisement
Createok

Untitled

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