Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local u1 = game:GetService("UserInputService")
- local u2 = game:GetService("ReplicatedStorage")
- local u3 = game.Players.LocalPlayer
- local u4 = {
- ["PG"] = {
- ["max"] = 75,
- ["walk"] = 16
- },
- ["SG"] = {
- ["max"] = 75,
- ["walk"] = 16
- },
- ["SF"] = {
- ["max"] = 70,
- ["walk"] = 16
- },
- ["PF"] = {
- ["max"] = 70,
- ["walk"] = 15.95
- },
- ["C"] = {
- ["max"] = 70,
- ["walk"] = 15.95
- }
- }
- local v5 = u3.Character or u3.CharacterAdded:Wait()
- local v6 = v5:WaitForChild("Humanoid")
- local v7 = v5:WaitForChild("HumanoidRootPart")
- local u8 = v5
- local u9 = v6
- local u10 = v7
- local u11 = u9:LoadAnimation(u2:WaitForChild("Animations"):WaitForChild("Dive"))
- local u12 = false
- local function u17(p13) --[[Anonymous function at line 31]]
- if not p13 then
- return nil
- end
- local v14 = p13:FindFirstChild("SkillOwned")
- if not v14 then
- return nil
- end
- local v15 = v14:FindFirstChild("defending")
- if not v15 then
- return nil
- end
- local v16 = v15:FindFirstChild("Dive I")
- return v16 and (v16:IsA("BoolValue") and v16.Value) and 1 or nil
- end
- local function u21() --[[Anonymous function at line 70]]
- --[[
- Upvalues:
- [1] = u8
- [2] = u9
- [3] = u10
- [4] = u17
- [5] = u3
- --]]
- if not (u8 and (u9 and u10)) then
- return false
- end
- if u9:GetState() == Enum.HumanoidStateType.Freefall then
- return false
- end
- if u17(u3) ~= 1 then
- return false
- end
- local v18 = u8:FindFirstChild("Pick")
- if v18 and v18:IsA("Folder") then
- local v19 = v18:FindFirstChildWhichIsA("BoolValue")
- if v19 and v19.Value then
- return false
- end
- elseif v18 and (v18:IsA("BoolValue") and v18.Value) then
- return false
- end
- local v20 = u8:FindFirstChild("Basketball")
- if v20 then
- v20 = v20:IsA("Folder")
- end
- return not v20
- end
- local function v23(_) --[[Anonymous function at line 85]]
- --[[
- Upvalues:
- [1] = u8
- [2] = u11
- --]]
- local v22 = u8:FindFirstChild("Basketball")
- if v22 then
- v22 = v22:IsA("Folder")
- end
- if v22 and u11.IsPlaying then
- u11:Stop()
- end
- end
- local function u27() --[[Anonymous function at line 91]]
- --[[
- Upvalues:
- [1] = u17
- [2] = u3
- [3] = u9
- [4] = u11
- [5] = u10
- [6] = u4
- --]]
- local u24 = u17(u3) == 1 and Vector3.new(0, 0, -20) or nil
- if u24 then
- u9.WalkSpeed = 0
- u9.JumpPower = 0
- u11:Play()
- task.spawn(function() --[[Anonymous function at line 59]]
- --[[
- Upvalues:
- [1] = u10
- [2] = u24
- --]]
- if u10 then
- local v25 = Instance.new("BodyVelocity")
- v25.MaxForce = Vector3.new(inf, inf, inf)
- v25.Velocity = u10.CFrame:VectorToWorldSpace(u24)
- v25.Parent = u10
- task.wait(0.8)
- v25:Destroy()
- end
- end)
- u11.Stopped:Wait()
- local v26 = u3.statistics
- if v26 then
- v26 = u3.statistics:GetAttribute("position")
- end
- if v26 and u4[v26] then
- u9.WalkSpeed = u4[v26].walk
- end
- u9.JumpPower = 50
- end
- end
- u1.InputBegan:Connect(function(p28, p29) --[[Anonymous function at line 106]]
- --[[
- Upvalues:
- [1] = u1
- [2] = u12
- [3] = u21
- [4] = u27
- --]]
- if p29 then
- return
- elseif u1:GetFocusedTextBox() == nil then
- if p28.UserInputType == Enum.UserInputType.Keyboard then
- if p28.KeyCode == Enum.KeyCode.F then
- if u12 then
- return
- elseif u21() then
- u12 = true
- u27()
- task.wait(3)
- u12 = false
- end
- else
- return
- end
- else
- return
- end
- else
- return
- end
- end)
- u8.ChildAdded:Connect(v23)
- u3.CharacterAdded:Connect(function(p30) --[[Anonymous function at line 122]]
- --[[
- Upvalues:
- [1] = u8
- [2] = u9
- [3] = u10
- [4] = u11
- [5] = u2
- --]]
- u8 = p30
- u9 = p30:WaitForChild("Humanoid")
- u10 = p30:WaitForChild("HumanoidRootPart")
- u11 = u9:LoadAnimation(u2:WaitForChild("Animations"):WaitForChild("Dive"))
- end)
Advertisement
Add Comment
Please, Sign In to add comment