[OutDated]How to make a JoJo game Part 6: Smoother Stand Jumps Part 1
Channel: Clock Wise
Date: 2021-01-06

Today I will show you how to make a Smoother Stand Jump next tutorial we will make it you don't jump in the direction your mouse is in.

Jump Local Script:
local activate = game:GetService("ReplicatedStorage"):WaitForChild("Stand1").Jump
local debounce = false
local cd = 5
local UIS = game:GetService("UserInputService")
local Mouse = game.Players.LocalPlayer:GetMouse()
UIS.InputBegan:Connect(function(input, isTyping)
 if isTyping then
  return
 elseif input.KeyCode == Enum.KeyCode.Z then
  if debounce == false then
   debounce = true
   activate:FireServer(Mouse.Hit)
  end
 end
end)

activate.OnClientEvent:Connect(function(Player)
 wait(cd)
 debounce = false
end)

Jump Script:
local activate = game:GetService("ReplicatedStorage"):WaitForChild("Stand1").Jump
local TS = game:GetService("TweenService")
local Debris = game:GetService("Debris")
activate.OnServerEvent:Connect(function(Player, direction)
 local Character = Player.Character
 local Humanoid = Character.Humanoid
 local RootPart = Character.HumanoidRootPart
 local Animation = Instance.new("Animation")
 Animation.AnimationId = "rbxassetid://6195749813"
 
 
 
 local Stand = Character:FindFirstChild("Stand")
 if Stand then
  local Control = Stand:FindFirstChild("Control")
  local anim3 = Instance.new("Animation")
  anim3.AnimationId = "rbxassetid://6195799713"
  local loader3 = Control:LoadAnimation(anim3)
  local anim2 = Instance.new("Animation")
  anim2.AnimationId = "rbxassetid://6195774764"
  local loader = Humanoid:LoadAnimation(Animation)
  loader3:Play()
  loader:Play()
  RootPart.Anchored = false
  -- Tween the character so that he moves forward
  local tween
  local Velocity = Instance.new("BodyVelocity", RootPart)
  Velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  Velocity.Velocity = direction.lookVector * 100
  Debris:AddItem(Velocity, 2)
  Humanoid.WalkSpeed = 0
  Humanoid.JumpPower = 0
  wait(2)
  Humanoid.WalkSpeed = 16
  Humanoid.JumpPower = 50
 loader:Stop()
  
  activate:FireClient(Player)
 end
 
end