ColdSpecs

LocalScript

Nov 2nd, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. local u1 = game:GetService("UserInputService")
  2. local u2 = game:GetService("ReplicatedStorage")
  3. local u3 = game.Players.LocalPlayer
  4. local u4 = {
  5. ["PG"] = {
  6. ["max"] = 75,
  7. ["walk"] = 16
  8. },
  9. ["SG"] = {
  10. ["max"] = 75,
  11. ["walk"] = 16
  12. },
  13. ["SF"] = {
  14. ["max"] = 70,
  15. ["walk"] = 16
  16. },
  17. ["PF"] = {
  18. ["max"] = 70,
  19. ["walk"] = 15.95
  20. },
  21. ["C"] = {
  22. ["max"] = 70,
  23. ["walk"] = 15.95
  24. }
  25. }
  26. local v5 = u3.Character or u3.CharacterAdded:Wait()
  27. local v6 = v5:WaitForChild("Humanoid")
  28. local v7 = v5:WaitForChild("HumanoidRootPart")
  29. local u8 = v5
  30. local u9 = v6
  31. local u10 = v7
  32. local u11 = u9:LoadAnimation(u2:WaitForChild("Animations"):WaitForChild("Dive"))
  33. local u12 = false
  34. local function u17(p13) --[[Anonymous function at line 31]]
  35. if not p13 then
  36. return nil
  37. end
  38. local v14 = p13:FindFirstChild("SkillOwned")
  39. if not v14 then
  40. return nil
  41. end
  42. local v15 = v14:FindFirstChild("defending")
  43. if not v15 then
  44. return nil
  45. end
  46. local v16 = v15:FindFirstChild("Dive I")
  47. return v16 and (v16:IsA("BoolValue") and v16.Value) and 1 or nil
  48. end
  49. local function u21() --[[Anonymous function at line 70]]
  50. --[[
  51. Upvalues:
  52. [1] = u8
  53. [2] = u9
  54. [3] = u10
  55. [4] = u17
  56. [5] = u3
  57. --]]
  58. if not (u8 and (u9 and u10)) then
  59. return false
  60. end
  61. if u9:GetState() == Enum.HumanoidStateType.Freefall then
  62. return false
  63. end
  64. if u17(u3) ~= 1 then
  65. return false
  66. end
  67. local v18 = u8:FindFirstChild("Pick")
  68. if v18 and v18:IsA("Folder") then
  69. local v19 = v18:FindFirstChildWhichIsA("BoolValue")
  70. if v19 and v19.Value then
  71. return false
  72. end
  73. elseif v18 and (v18:IsA("BoolValue") and v18.Value) then
  74. return false
  75. end
  76. local v20 = u8:FindFirstChild("Basketball")
  77. if v20 then
  78. v20 = v20:IsA("Folder")
  79. end
  80. return not v20
  81. end
  82. local function v23(_) --[[Anonymous function at line 85]]
  83. --[[
  84. Upvalues:
  85. [1] = u8
  86. [2] = u11
  87. --]]
  88. local v22 = u8:FindFirstChild("Basketball")
  89. if v22 then
  90. v22 = v22:IsA("Folder")
  91. end
  92. if v22 and u11.IsPlaying then
  93. u11:Stop()
  94. end
  95. end
  96. local function u27() --[[Anonymous function at line 91]]
  97. --[[
  98. Upvalues:
  99. [1] = u17
  100. [2] = u3
  101. [3] = u9
  102. [4] = u11
  103. [5] = u10
  104. [6] = u4
  105. --]]
  106. local u24 = u17(u3) == 1 and Vector3.new(0, 0, -20) or nil
  107. if u24 then
  108. u9.WalkSpeed = 0
  109. u9.JumpPower = 0
  110. u11:Play()
  111. task.spawn(function() --[[Anonymous function at line 59]]
  112. --[[
  113. Upvalues:
  114. [1] = u10
  115. [2] = u24
  116. --]]
  117. if u10 then
  118. local v25 = Instance.new("BodyVelocity")
  119. v25.MaxForce = Vector3.new(inf, inf, inf)
  120. v25.Velocity = u10.CFrame:VectorToWorldSpace(u24)
  121. v25.Parent = u10
  122. task.wait(0.8)
  123. v25:Destroy()
  124. end
  125. end)
  126. u11.Stopped:Wait()
  127. local v26 = u3.statistics
  128. if v26 then
  129. v26 = u3.statistics:GetAttribute("position")
  130. end
  131. if v26 and u4[v26] then
  132. u9.WalkSpeed = u4[v26].walk
  133. end
  134. u9.JumpPower = 50
  135. end
  136. end
  137. u1.InputBegan:Connect(function(p28, p29) --[[Anonymous function at line 106]]
  138. --[[
  139. Upvalues:
  140. [1] = u1
  141. [2] = u12
  142. [3] = u21
  143. [4] = u27
  144. --]]
  145. if p29 then
  146. return
  147. elseif u1:GetFocusedTextBox() == nil then
  148. if p28.UserInputType == Enum.UserInputType.Keyboard then
  149. if p28.KeyCode == Enum.KeyCode.F then
  150. if u12 then
  151. return
  152. elseif u21() then
  153. u12 = true
  154. u27()
  155. task.wait(3)
  156. u12 = false
  157. end
  158. else
  159. return
  160. end
  161. else
  162. return
  163. end
  164. else
  165. return
  166. end
  167. end)
  168. u8.ChildAdded:Connect(v23)
  169. u3.CharacterAdded:Connect(function(p30) --[[Anonymous function at line 122]]
  170. --[[
  171. Upvalues:
  172. [1] = u8
  173. [2] = u9
  174. [3] = u10
  175. [4] = u11
  176. [5] = u2
  177. --]]
  178. u8 = p30
  179. u9 = p30:WaitForChild("Humanoid")
  180. u10 = p30:WaitForChild("HumanoidRootPart")
  181. u11 = u9:LoadAnimation(u2:WaitForChild("Animations"):WaitForChild("Dive"))
  182. end)
  183.  
Advertisement
Add Comment
Please, Sign In to add comment