Advertisement
Dark_Agent

ParkourV2 Unpatched Source.

Nov 15th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.00 KB | Gaming | 0 0
  1. --Emetimex.
  2. --[FE] Parkour V2 Script (Unpatched) [SOURCE]
  3. --(no rcd bypass, No permdeath or loopreanimation!)
  4. plr = game.Players.LocalPlayer
  5. local colormansup = 255
  6. local sliding = false
  7.  
  8. if plr:WaitForChild("PlayerScripts"):FindFirstChild("Player Stuff") then
  9.  
  10.     plr:WaitForChild("PlayerScripts"):FindFirstChild("Player Stuff"):Destroy()
  11.  
  12.     end
  13.  
  14. local camerakill = false
  15. mobile = false
  16. local downeddel= false
  17. local walkingmode = false
  18. char  = plr.Character
  19. if char:FindFirstChild("ClientInputHandler") then
  20.     char:FindFirstChild("ClientInputHandler"):Destroy()
  21. end
  22. if plr:FindFirstChild("Status") then
  23.     plr:FindFirstChild("Status"):Destroy()
  24. end
  25. if game.Workspace:FindFirstChild("Remote") then
  26. if game.Workspace:FindFirstChild("Remote"):FindFirstChild("TeamEvent") then
  27. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  28. end
  29. end
  30. local downed = false
  31. local combatmusic = Instance.new("Sound",char)
  32. combatmusic.Volume = 0
  33. combatmusic.PlaybackSpeed = 1
  34. combatmusic.Looped = true
  35.  
  36.  
  37.  
  38. local ambience = Instance.new("Sound",char)
  39. ambience.Volume = 0.5
  40. ambience.PlaybackSpeed = 1
  41. ambience.Looped = true
  42.  
  43. local winder = Instance.new("Sound",char)
  44. winder.SoundId = "rbxassetid://337604103"
  45. winder.Volume = 0
  46. winder.PlaybackSpeed = 1
  47. winder.Looped = true
  48. winder:Play()
  49. local windercloth = Instance.new("Sound",char)
  50. windercloth.SoundId = "rbxassetid://195879271"
  51. windercloth.Volume = 0
  52. windercloth.PlaybackSpeed = 1
  53. windercloth.Looped = true
  54. windercloth:Play()
  55. local explorationmusic = Instance.new("Sound",char)
  56. explorationmusic.Volume = 0
  57. explorationmusic.PlaybackSpeed = 1
  58. explorationmusic.Looped = true
  59.  
  60. local rannum = math.random(1,11)
  61. if rannum == 1 then
  62.    combatmusic.SoundId = "rbxassetid://4842424057"
  63. explorationmusic.SoundId = "rbxassetid://6092889291"
  64. ambience.SoundId = "rbxassetid://4842514147"
  65.  ambience:Play()
  66.  explorationmusic:Play()
  67.  combatmusic:Play()
  68. end
  69. if rannum == 2 then
  70.    combatmusic.SoundId = "rbxassetid://5167357719"
  71. explorationmusic.SoundId = "rbxassetid://5136807172"
  72. ambience.SoundId = "rbxassetid://5136807172"
  73.  ambience:Play()
  74.  explorationmusic:Play()
  75.  combatmusic:Play()
  76. end
  77. if rannum == 3 then
  78.    combatmusic.SoundId = "rbxassetid://5355007603"
  79. explorationmusic.SoundId = "rbxassetid://5192956194"
  80. ambience.SoundId = "rbxassetid://5192956194"
  81.  ambience:Play()
  82.  explorationmusic:Play()
  83.  combatmusic:Play()
  84. end
  85. if rannum == 4 then
  86.    combatmusic.SoundId = "rbxassetid://1591306349"
  87. explorationmusic.SoundId = "rbxassetid://5246801658"
  88. ambience.SoundId = "rbxassetid://5167384455"
  89.  ambience:Play()
  90.  explorationmusic:Play()
  91.  combatmusic:Play()
  92. end
  93. if rannum == 5 then
  94.    combatmusic.SoundId = "rbxassetid://5356631522"
  95. explorationmusic.SoundId = "rbxassetid://4502246491"
  96. ambience.SoundId = "rbxassetid://4502246491"
  97.  ambience:Play()
  98.  explorationmusic:Play()
  99.  combatmusic:Play()
  100. end
  101. if rannum == 6 then
  102.    combatmusic.SoundId = "rbxassetid://5183689299"
  103. explorationmusic.SoundId = "rbxassetid://538850338"
  104. ambience.SoundId = "rbxassetid://538850338"
  105.  ambience:Play()
  106.  explorationmusic:Play()
  107.  combatmusic:Play()
  108. end
  109. if rannum == 7 then
  110.    combatmusic.SoundId = "rbxassetid://5258344366"
  111. explorationmusic.SoundId = "rbxassetid://5079119831"
  112. ambience.SoundId = "rbxassetid://5079119831"
  113.  ambience:Play()
  114.  explorationmusic:Play()
  115.  combatmusic:Play()
  116. end
  117. if rannum == 8 then
  118.    combatmusic.SoundId = "rbxassetid://5995057631"
  119. explorationmusic.SoundId = "rbxassetid://477207390"
  120. ambience.SoundId = "rbxassetid://477207390"
  121.  ambience:Play()
  122.  explorationmusic:Play()
  123.  combatmusic:Play()
  124. end
  125. if rannum == 9 then
  126.    combatmusic.SoundId = "rbxassetid://4841933336"
  127. explorationmusic.SoundId = "rbxassetid://5114418235"
  128. ambience.SoundId = "rbxassetid://5114418235"
  129.  ambience:Play()
  130.  explorationmusic:Play()
  131.  combatmusic:Play()
  132. end
  133. if rannum == 10 then
  134.    combatmusic.SoundId = "rbxassetid://5132571388"
  135. explorationmusic.SoundId = "rbxassetid://5995060646"
  136. ambience.SoundId = "rbxassetid://5995060646"
  137.  ambience:Play()
  138.  explorationmusic:Play()
  139.  combatmusic:Play()
  140. end
  141. if rannum == 11 then
  142.    combatmusic.SoundId = "rbxassetid://5433879104"
  143. explorationmusic.SoundId = "rbxassetid://4692224051"
  144. ambience.SoundId = "rbxassetid://4692224051"
  145.  ambience:Play()
  146.  explorationmusic:Play()
  147.  combatmusic:Play()
  148. end
  149.  
  150. local tricksinarow = 0
  151. local tricktime = 0
  152. local timestanding = 0
  153. local combattime = 0
  154.  
  155.  
  156.  
  157. root = char:WaitForChild("HumanoidRootPart")
  158.  
  159. local slidingsound = Instance.new("Sound",root)
  160. slidingsound.SoundId = "rbxassetid://4086205029"
  161. slidingsound.PlaybackSpeed = 1.25
  162. slidingsound.Looped = true
  163. slidingsound.Volume = 0.75
  164.  
  165. local wallrunningsound = Instance.new("Sound",root)
  166. wallrunningsound.SoundId = "rbxassetid://401049343"
  167. wallrunningsound.PlaybackSpeed = 1
  168. wallrunningsound.Looped = true
  169. wallrunningsound.Volume = 0.75
  170.  
  171.  
  172. function randomclothrollsound(truth)
  173.     coroutine.resume(coroutine.create(function()
  174.         if truth ~= nil then
  175.              local s = Instance.new("Sound",root)
  176.         s.Volume = 0.8 +math.random(1,6)*0.05
  177.          s.PlaybackSpeed = 0.8 +math.random(1,6)*0.05
  178.        
  179.          local rannum = math.random(1,5)
  180.          if rannum == 1 then
  181.              s.SoundId = "rbxassetid://4086203738"
  182.              elseif rannum == 2 then
  183.              s.SoundId = "rbxassetid://4086203442"
  184.              elseif rannum == 3 then
  185.                  s.SoundId = "rbxassetid://4086203142"
  186.              elseif rannum == 4 then
  187.                  s.SoundId = "rbxassetid://4086203973"
  188.                  else
  189.              s.SoundId = "rbxassetid://4307029050"
  190.              end
  191.        
  192.        
  193.         s:Play()
  194.          game:GetService("Debris"):AddItem(s,4)
  195.             else
  196.              local s = Instance.new("Sound",root)
  197.         s.Volume = 0.25 +math.random(1,6)*0.05
  198.          s.PlaybackSpeed = 0.8 +math.random(1,6)*0.05
  199.        
  200.          local rannum = math.random(1,7)
  201.          if rannum == 1 then
  202.              s.SoundId = "rbxassetid://3929467229"
  203.              elseif rannum == 2 then
  204.              s.SoundId = "rbxassetid://3929467449"
  205.              elseif rannum == 3 then
  206.                  s.SoundId = "rbxassetid://3929467655"
  207.              elseif rannum == 4 then
  208.                  s.SoundId = "rbxassetid://3929467888"
  209.                              elseif rannum == 5 then
  210.                  s.SoundId = "rbxassetid://4458760046"
  211.                              elseif rannum == 6 then
  212.                  s.SoundId = "rbxassetid://4458760518"
  213.                  else
  214.              s.SoundId = "rbxassetid://4458759938"
  215.              end
  216.        
  217.        
  218.         s:Play()
  219.          game:GetService("Debris"):AddItem(s,4)
  220.             end
  221.        
  222.     end))
  223.    
  224.     end
  225.  
  226.  
  227. local rollingsound = Instance.new("Sound",root)
  228. rollingsound.SoundId = "rbxassetid://2985734522"
  229. rollingsound.PlaybackSpeed = 1
  230. rollingsound.Volume = 0.75
  231.  
  232. local bodymovesound = Instance.new("Sound",root)
  233. bodymovesound.SoundId = "rbxassetid://152206206"
  234. bodymovesound.PlaybackSpeed = 0.945
  235. bodymovesound.Volume = 2.35
  236.  
  237.  
  238. local downedsound = Instance.new("Sound",root)
  239. downedsound.SoundId = "rbxassetid://178088040"
  240. downedsound.PlaybackSpeed = 1
  241. downedsound.Volume = 3
  242.  
  243.  
  244.  
  245. local jumplandsoundthingy = Instance.new("Sound",root)
  246. jumplandsoundthingy.SoundId = "rbxassetid://6079431954"
  247. jumplandsoundthingy.PlaybackSpeed = 0.785
  248. jumplandsoundthingy.Volume = 2
  249.  
  250. hum = char:WaitForChild("Humanoid")
  251. hum.JumpPower = 50
  252.     local colorparkourkill = Instance.new("ColorCorrectionEffect",game.Lighting)
  253.     colorparkourkill.Saturation = 0
  254.     colorparkourkill.TintColor = Color3.new(1,1,1)
  255. if game.Lighting:FindFirstChild("COLORPARKOURKILL") then
  256.     game.Lighting:FindFirstChild("COLORPARKOURKILL"):Destroy()
  257.  
  258.  
  259. end
  260. torso = char:WaitForChild("Torso")
  261. local gyro = Instance.new("BodyGyro",torso)
  262. gyro.D = 200
  263. gyro.P = 1800
  264. local cameratilterman = 0
  265. local springjumpdel  =false
  266. local gobackroll = false
  267. local befpower = gyro.P
  268. gyro.P = befpower
  269. gyro.MaxTorque = Vector3.new(0,0,0)
  270. local runvel = Instance.new("BodyVelocity",root)
  271. runvel.MaxForce = Vector3.new(0,0,0)
  272. runvel.P = 9999999999999999999999
  273. hum.WalkSpeed =20
  274.  
  275. local flowmax = 35
  276. local flowmin = 16
  277. local dodgedel = false
  278. local crouchspeed = 8
  279. local flow = flowmin
  280. for i,v in pairs(workspace:GetDescendants()) do
  281.     if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "MeshPart" then
  282.         if v.ClassName == "UnionOperation" then
  283.             v.CollisionFidelity = Enum.CollisionFidelity.PreciseConvexDecomposition
  284.         end
  285.         if v.Transparency == 1 then
  286.             v.CanCollide = false
  287.         end
  288.  
  289.     end
  290.  
  291. end
  292. floorpositiony = 0
  293. local UIS = game:GetService("UserInputService")
  294. local GuiService = game:GetService("GuiService")
  295.  
  296. if UIS.TouchEnabled and not UIS.KeyboardEnabled and not UIS.MouseEnabled
  297.     and not UIS.GamepadEnabled and not GuiService:IsTenFootInterface() then
  298.  
  299.     mobile = true
  300.     jb = plr.PlayerGui:WaitForChild("TouchGui"):WaitForChild("TouchControlFrame"):WaitForChild("JumpButton")
  301.     jb.MouseButton1Down:Connect(function()
  302.         wallrunabletrue()
  303.         wallruncheck()
  304.     end)
  305. end
  306. local leftwallrunanim = Instance.new("Animation",char)
  307. leftwallrunanim.AnimationId = "rbxassetid://180426354"
  308. local leftwallrunanimplay = hum:LoadAnimation(leftwallrunanim)
  309.  
  310.  
  311. local downedanim1 = Instance.new("Animation",char)
  312. downedanim1.AnimationId = "rbxassetid://282574440"
  313. local downedanim1play = hum:LoadAnimation(downedanim1)
  314.  
  315.  
  316.  
  317.  
  318. local rightwallrunanim = Instance.new("Animation",char)
  319. rightwallrunanim.AnimationId = "rbxassetid://180426354"
  320. local rightwallrunanimplay = hum:LoadAnimation(rightwallrunanim)
  321.  
  322.  
  323. local verticalwallrunanim = Instance.new("Animation",char)
  324. verticalwallrunanim.AnimationId = "rbxassetid://180426354"
  325. local verticalwallrunanimplay = hum:LoadAnimation(verticalwallrunanim)
  326.  
  327. local roll = Instance.new("Animation",char)
  328. roll.AnimationId = "rbxassetid://180612465"
  329. local rollplay = hum:LoadAnimation(roll)
  330.  
  331.  
  332. local crouching = Instance.new("Animation",char)
  333. crouching.AnimationId = "rbxassetid://287325678"
  334. local crouchingplay = hum:LoadAnimation(crouching)
  335.  
  336. local springjump = Instance.new("Animation",char)
  337. springjump.AnimationId = "rbxassetid://287325678"
  338. local springjumpplay = hum:LoadAnimation(springjump)
  339.  
  340.  
  341. local dodging = Instance.new("Animation",char)
  342. dodging.AnimationId = "rbxassetid://287325678"
  343. local dodgingplay = hum:LoadAnimation(dodging)
  344.  
  345. local slidinganim = Instance.new("Animation",char)
  346. slidinganim.AnimationId = "rbxassetid://132546884"
  347. local slidingplay = hum:LoadAnimation(slidinganim)
  348. local rollering = false
  349.  
  350.  
  351. hum.Died:Connect(function()
  352. if game.Workspace:FindFirstChild("Remote") then
  353. if game.Workspace:FindFirstChild("Remote"):FindFirstChild("TeamEvent") then
  354. Workspace.Remote.TeamEvent:FireServer("Bright orange")
  355.  
  356. end
  357. end
  358.     camerakill = true
  359.     colorparkourkill:Destroy()
  360.     for i = 20,1,-1 do
  361. wait()
  362. combatmusic.PlaybackSpeed = combatmusic.PlaybackSpeed-0.05
  363. ambience.PlaybackSpeed = ambience.PlaybackSpeed-0.05
  364. explorationmusic.PlaybackSpeed = explorationmusic.PlaybackSpeed-0.05
  365. end
  366.  
  367. end)
  368.  
  369. local tappeda = false
  370. local tappeds = false
  371. local tappedd = false
  372. local tappedw = false
  373. UIS.InputEnded:Connect(function(input,gamestuff)
  374.     if input.KeyCode == Enum.KeyCode.S then
  375.         if gamestuff then return end
  376.  
  377.         gobackroll  = false
  378.     end
  379. end)
  380.  
  381.  
  382. UIS.InputBegan:Connect(function(input,gamestuff)
  383.             if input.KeyCode == Enum.KeyCode.N then
  384.         if gamestuff then return end
  385.  
  386. if walkingmode == false then
  387. walkingmode = true
  388. else
  389. walkingmode = false
  390. end
  391.     end
  392.             if input.KeyCode == Enum.KeyCode.M then
  393.         if gamestuff then return end
  394.         if ambience.PlaybackSpeed ~= 0 then
  395.             ambience.PlaybackSpeed  = 0
  396.              combatmusic.PlaybackSpeed  = 0
  397.               explorationmusic.PlaybackSpeed  = 0
  398.               else
  399.                         ambience.PlaybackSpeed  = 1
  400.              combatmusic.PlaybackSpeed  = 1
  401.               explorationmusic.PlaybackSpeed  = 1
  402.             end
  403.        
  404.         end
  405.    
  406.  
  407.     if input.KeyCode == Enum.KeyCode.S then
  408.         if gamestuff then return end
  409.  
  410.         gobackroll  = true
  411.     end
  412.         if downed == true then return end
  413.     if sliding == true then return end
  414.     if input.KeyCode == Enum.KeyCode.A then
  415.         if hitfloor == false then return end
  416.         if gamestuff then return end
  417.         if tappeda == false then
  418.             tappeda = true
  419.             wait(0.25)
  420.             tappeda = false
  421.         else
  422.             if dodgedel == false then
  423.                 dodgedel = true
  424.                 dodgingplay:Play()
  425.                 randomclothrollsound()
  426.                 local bv = Instance.new("BodyVelocity",char:WaitForChild("Head"))
  427.                 bv.Velocity = root.CFrame.RightVector*-flow*2+Vector3.new(0,flow/2,0)
  428.                 bv.MaxForce = Vector3.new(99999,99999,99999)
  429.                 bv.P = 99999999999999
  430.                 wait(0.1)
  431.                 bv:Destroy()
  432.                 wait(0.2)
  433.                 dodgingplay:Stop()
  434.                 dodgedel = false
  435.             end
  436.  
  437.         end
  438.  
  439.     end
  440.     if input.KeyCode == Enum.KeyCode.S then
  441.         if hitfloor == false then return end
  442.         if gamestuff then return end
  443.         if tappeds == false then
  444.             tappeds = true
  445.             wait(0.25)
  446.             tappeds = false
  447.         else
  448.             if dodgedel == false then
  449.                 dodgedel = true
  450.                 dodgingplay:Play()
  451.                     randomclothrollsound()
  452.                 local bv = Instance.new("BodyVelocity",char:WaitForChild("Head"))
  453.                 bv.Velocity = root.CFrame.LookVector*-flow*2+Vector3.new(0,flow/2,0)
  454.                 bv.MaxForce = Vector3.new(99999,99999,99999)
  455.                 bv.P = 99999999999999
  456.                 wait(0.1)
  457.                 bv:Destroy()
  458.                 wait(0.2)
  459.                 dodgingplay:Stop()
  460.                 dodgedel = false
  461.             end
  462.  
  463.         end
  464.  
  465.     end
  466.     if input.KeyCode == Enum.KeyCode.D then
  467.         if hitfloor == false then return end
  468.         if gamestuff then return end
  469.         if tappedd == false then
  470.             tappedd = true
  471.             wait(0.25)
  472.             tappedd = false
  473.         else
  474.             if dodgedel == false then
  475.                 dodgedel = true
  476.                 dodgingplay:Play()
  477.                     randomclothrollsound()
  478.                 local bv = Instance.new("BodyVelocity",char:WaitForChild("Head"))
  479.                 bv.Velocity = root.CFrame.RightVector*flow*2+Vector3.new(0,flow/2,0)
  480.                 bv.MaxForce = Vector3.new(99999,99999,99999)
  481.                 bv.P = 99999999999999
  482.                 wait(0.1)
  483.                 bv:Destroy()
  484.                 wait(0.2)
  485.                 dodgingplay:Stop()
  486.                 dodgedel = false
  487.             end
  488.  
  489.         end
  490.  
  491.     end
  492.     if input.KeyCode == Enum.KeyCode.W then
  493.         if gamestuff then return end
  494.         if hitfloor == false then return end
  495.         if tappedw == false then
  496.             tappedw = true
  497.             wait(0.25)
  498.             tappedw = false
  499.         else
  500.             if dodgedel == false then
  501.                 dodgedel = true
  502.                 dodgingplay:Play()
  503.                     randomclothrollsound()
  504.                 local bv = Instance.new("BodyVelocity",char:WaitForChild("Head"))
  505.                 bv.Velocity = root.CFrame.LookVector*flow*2+Vector3.new(0,flow/2,0)
  506.                 bv.MaxForce = Vector3.new(99999,99999,99999)
  507.                 bv.P = 99999999999999
  508.                 wait(0.1)
  509.                 bv:Destroy()
  510.                 wait(0.2)
  511.                 dodgingplay:Stop()
  512.                 dodgedel = false
  513.             end
  514.  
  515.         end
  516.  
  517.     end
  518. end)
  519.  
  520. hum:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
  521. hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  522.  
  523. --rollplay:AdjustSpeed(0)
  524. --rollplay.TimePosition = 1
  525.  
  526. local player = game.Players.LocalPlayer
  527. local character = player.Character
  528. local hum = character:FindFirstChild("Humanoid")
  529. if not character or not character.Parent then
  530.     character = player.CharacterAdded:wait()
  531.       if camerakill == true then return end
  532. end
  533. local torso = character:WaitForChild("Torso")
  534. local rightShoulder = torso:WaitForChild("Right Shoulder")
  535. local leftShoulder = torso:WaitForChild("Left Shoulder")
  536. local camera = game.Workspace.CurrentCamera
  537.  
  538. updateSpeed = 0.5/2
  539.  
  540.  
  541. local plr = game.Players.LocalPlayer
  542. local char = plr.Character
  543.     local ignorelist = {plr.Character}
  544.     for i,v in pairs(workspace:GetDescendants()) do
  545.         if v.ClassName == "Part" or v.ClassName == "MeshPart" or v.ClassName == "UnionOperation" then
  546.             if v.CanCollide == false or v.Transparency == 1 then
  547.                
  548.                 ignorelist[#ignorelist+1] = v
  549.                 end
  550.             end
  551.         end
  552. leftarm = char:WaitForChild("Left Arm")
  553. rightarm = char:WaitForChild("Right Arm")
  554. leftleg = char:WaitForChild("Left Leg")
  555. if char:FindFirstChild("Head"):FindFirstChild("BillboardGui") then
  556.     char:FindFirstChild("Head"):FindFirstChild("BillboardGui"):Destroy()
  557. end
  558. local flowermax = flowmax-flowmin
  559. local killermancamfov = 0
  560. rightleg = char:WaitForChild("Right Leg")
  561. local hum = char:WaitForChild("Humanoid")
  562.  
  563. local rootpart,head = char:WaitForChild("HumanoidRootPart"),char:WaitForChild("Head")
  564.  
  565. game:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement