I’ve made a custom character, but I am unable to get it to jump.
I’ve tried:
Manual Jump activation through explorer
Increasing and Decreasing HipHeight property
How would I solve this?
Custom Animate script if that’s relevant:
local Humanoid = script.Parent.Humanoid
local walk = Humanoid:LoadAnimation(script:WaitForChild("Walk"))
local jump = Humanoid:LoadAnimation(script:WaitForChild("Jump"))
Humanoid.Running:Connect(function(speed)
if speed > 0 then
if not walk.IsPlaying then
walk:Play()
end
else
walk:Stop()
end
end)
local Humanoid = Instance.new("Humanoid")
Humanoid.Jumping:Connect(function()
jump:Play()
end)
Edit: Added a sprint thing, but once i activate it, jump can be used. Not sure why this happens, but I’d like to jump while not sprinting
You could try invisible legs. Like name two parts right and left leg and motor6D them together and bam, you might get it working. It could also be inside of humanoid like jump enabling and power.
The code requires animation ID’s, Your using LoadAnimation which certainly requires an actual Animation, if your using c-frame for your custom animations, you cannot use Humanoid:LoadAnimation It won’t work.